ZGE on Mac

All topics about ZGameEditor goes here.

Moderator: Moderators

User avatar
Ats
Posts: 764
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: ZGE on Mac

Post by Ats »

I have that and would gladly help you to run the thing on Linux :wink:
User avatar
VilleK
Site Admin
Posts: 2356
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: ZGE on Mac

Post by VilleK »

Posted alpha4 in first post.

News:
- The OpenGL view is no longer in a detached window. There were huge problem with this, I hope it works now.
- Search/replace in xml editor now works.
- Right-click menu in xml editor shows correctly.
- Drag/drop in tree does not copy unless ctrl is pressed.
- Spritesheet and tileset editors no longer crash during load (but are not yet fully working either).
Imerion
Posts: 200
Joined: Sun Feb 09, 2014 4:42 pm

Re: ZGE on Mac

Post by Imerion »

I have that and would gladly help you to run the thing on Linux :wink:
Oh, that would be awesome! :D
User avatar
VilleK
Site Admin
Posts: 2356
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: ZGE on Mac

Post by VilleK »

Posted alpha5 in first post.

News:
- Keypress and mouse now works in preview.
- Toolbar button sizes adjusted
- Hide malplaced tab-button on preview panel
- Order of vector properties was wrong in property editor.
- Import png and jpeg bitmaps now work. Also when using drag/drop from Finder.
- Tile and spritesheet editors work.
- About dialog now work.
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

Re: ZGE on Mac

Post by rrTea »

I tested all the listed features and it all works!
User avatar
VilleK
Site Admin
Posts: 2356
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: ZGE on Mac

Post by VilleK »

Lazarus 2.2.4 was just released and this seems to solve the problems I ran into where I was getting strange crashes in ZGE on Mac.

I now hope to be able to look at the bug reports rrTea made on github and fix those.
User avatar
VilleK
Site Admin
Posts: 2356
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: ZGE on Mac

Post by VilleK »

Updated first post with alpha 6. The alpha 5 is still there if there are big issues with the new build.

I mainly want to see if the new Lazarus environment is stable.

Issues that should be fixed in this build:
- Clicking within a Project Tree from ZExpression crashes (MacOS) #31
- Editing a persistent array often loses values
- Unexpected Tab behavior in IDE input fields (MacOS) #32
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

Re: ZGE on Mac

Post by rrTea »

That's great news!
VilleK wrote: Fri Sep 30, 2022 2:37 pm - Clicking within a Project Tree from ZExpression crashes (MacOS) #31
It's still misbehaving on my end:
Clicking on any component in Project Tree before clicking on "Compile" crashes.
Clicking on any component in Project Tree before clicking on "Compile" crashes.
ZGE crash when switching to project tree 2.gif (240.24 KiB) Viewed 52662 times
- Unexpected Tab behavior in IDE input fields (MacOS) #32
This one seems to work properly!
User avatar
VilleK
Site Admin
Posts: 2356
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: ZGE on Mac

Post by VilleK »

rrTea wrote: Fri Sep 30, 2022 7:31 pm It's still misbehaving on my end:
Please try alpha 7. Attached to first post.

Fixes:
- Crash when leaving unsaved expression (should now be properly fixed)
- Mouse input not registered in standalone
- Escape not working in standalone
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

Re: ZGE on Mac

Post by rrTea »

All three work from what I managed to test, that's fantastic! :D
User avatar
VilleK
Site Admin
Posts: 2356
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: ZGE on Mac

Post by VilleK »

Alpha 8:

- fixed a problem that stopped binaries working on Mac OS Ventura.
User avatar
VilleK
Site Admin
Posts: 2356
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: ZGE on Mac

Post by VilleK »

Alpha 9:

- audio now works. Both in designer in runtime.
- fix for bug #40 (spritesheet/tileset sometimes will not load)
- fix for bug #23 (copy/paste in project tree won't work)
- also includes the fix that makes the project tree stay expanded after using the xml-editor

Fun fact: I got ChatGPT to help write the audio support on Mac. It got a few things wrong but it still saved a bit of time.
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

Re: ZGE on Mac

Post by rrTea »

wowo! Great job!!! Wasn't there a selector for various wave types in this part or am I remembering it wrongly? Right now only the square type can be played from within the editor.
Attachments
Wave type selector
Wave type selector
スクリーンショット 2023-04-27 23.23.15.png (13.09 KiB) Viewed 52029 times
User avatar
VilleK
Site Admin
Posts: 2356
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: ZGE on Mac

Post by VilleK »

rrTea wrote: Thu Apr 27, 2023 3:24 pm wowo! Great job!!! Wasn't there a selector for various wave types in this part or am I remembering it wrongly? Right now only the square type can be played from within the editor.
You are right, the wave type dropdown got missing for some reason. I did not notice that.

Please check alpha9b in first post.

- Osc1 waveform dropdown now visible
- OnKeyDown/OnKeyUp should now work
- Fix for issue #30 (file open dialog does not filter .zgeproj files)
User avatar
rrTea
Posts: 475
Joined: Sat Feb 15, 2014 9:54 am

Re: ZGE on Mac

Post by rrTea »

Thanks so much Ville :D

I still didn't manage to test everything, so far I only found that on my end #30 is still not filtering zgeproj files. Will report more tomorrow!
Attachments
builds are mixed with zgeproj files
builds are mixed with zgeproj files
スクリーンショット 2023-04-29 0.00.56.png (60.6 KiB) Viewed 52025 times
Post Reply