Search found 2277 matches

by VilleK
Thu May 11, 2023 7:45 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 152873

Re: ZGE on Mac

Some more minor fixes. Alpha 9d: - Fix for pressing Esc crashes editor - Cmd + c/v shortcut to copy/paste now works both in tree and code editor (previous it was ctrl in code editor) - Tab behavior in code editor should now be like Windows version. - Fix for possible crash when closing editor while ...
by VilleK
Tue May 09, 2023 11:26 am
Forum: General discussion
Topic: Dynamic terrain
Replies: 6
Views: 39437

Re: Dynamic terrain

That's a very nice example Kjell.
by VilleK
Sun May 07, 2023 6:14 pm
Forum: General discussion
Topic: Dynamic terrain
Replies: 6
Views: 39437

Re: Dynamic terrain

I'm sure Kjell has a demo of this somewhere but he doesn't want to share it ;)

Searching for "terrain" on these forums does show a few interesting hits. Have you read those posts?
by VilleK
Wed May 03, 2023 6:01 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 152873

Re: ZGE on Mac

Alpha9c:

- The icons are now improved. I found a way to export all icons from Windows version and import them in Lazarus. It is not perfect but look a lot better than before.
by VilleK
Sat Apr 29, 2023 2:36 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 152873

Re: ZGE on Mac

I still didn't manage to test everything, so far I only found that on my end #30 is still not filtering zgeproj files. I think it is normal that they show the applications because on Mac they are actually subfolders (you can right click and choose show bundle contents). But any other file types sho...
by VilleK
Fri Apr 28, 2023 10:25 am
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 63636

Re: Edit XML with an external editor

For starters, I'm not really convinced by the node tree being reopened. It's super slow now. It looks like the whole project is being reopened from scratch. Or maybe it's the same speed as before and I emphasize on it, I'm not sure. Was it that slow before? I did not notice this. Maybe your project...
by VilleK
Fri Apr 28, 2023 7:01 am
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 152873

Re: ZGE on Mac

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...
by VilleK
Thu Apr 27, 2023 2:36 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 152873

Re: ZGE on Mac

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 h...
by VilleK
Wed Apr 26, 2023 9:27 am
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 63636

Re: Edit XML with an external editor

Please try new build: http://www.zgameeditor.org/files/ZGameEditor_beta.zip - attempt to keep nodes opened after xml editor is used - build project from command line using syntax "/b zgeproj-filename exe-filename". Example: ZGameEditor.exe /b "C:\MyProjects\NesEmu.zgeproj" C:\Tem...
by VilleK
Fri Apr 21, 2023 6:35 am
Forum: Feature requests
Topic: Edit XML with an external editor
Replies: 13
Views: 63636

Re: Edit XML with an external editor

That is a very nice example Kjell! You just have to remember to make sure the script is loaded before generating a binary since the setStringProperty function is not available in the runtime. A build "/b" switch sounds like a good idea. I can also look in to keeping project tree nodes open...
by VilleK
Wed Feb 08, 2023 5:20 pm
Forum: Feature requests
Topic: A map editor?
Replies: 1
Views: 5678

Re: A map editor?

Hey so I know Z game editor was originally based around using procedural generation, for much of the process of building games and demos n such, and I think this is a cool paradigm, and there's much to be said for limitations making things intereasting, and it's really cool that Z game editor is ve...
by VilleK
Mon Jan 09, 2023 8:15 am
Forum: General discussion
Topic: [Solved] Detecting generic Gamepad D-Pad on Android
Replies: 9
Views: 11506

Re: Detecting generic Gamepad D-Pad on Android

Ats wrote: Sun Jan 08, 2023 6:29 pm Anyway, those Android D-pads are now working. I'm going to adapt my game to that while waiting for Ville to see if my fix is ok, or if it could mess with the memory.
Looks fine to me! As long as you update the MAX_AXES constant then I don't see there should be any risk of overwriting memory.
by VilleK
Tue Jan 03, 2023 8:42 am
Forum: General discussion
Topic: Vibrations on Android
Replies: 3
Views: 6585

Re: Vibrations on Android

Ats wrote: Mon Jan 02, 2023 4:51 pm Ok. So I would need to create a library just for shaking the Android, like rado1 did for tilting the sensors?
https://github.com/Rado-1/ZgeSensor
Yes I think that is the best way forward if you decide to do this.
by VilleK
Mon Jan 02, 2023 1:48 pm
Forum: General discussion
Topic: Vibrations on Android
Replies: 3
Views: 6585

Re: Vibrations on Android

The problem with Android libraries is that they are in Java and it is complicated to call Java methods from native code. You can look at this page: https://stackoverflow.com/questions/519 ... in-android
by VilleK
Mon Jan 02, 2023 9:34 am
Forum: General discussion
Topic: How to retrieve what kind of model
Replies: 7
Views: 8794

Re: How to retrieve what kind of model

Indeed the "Name" property won't work in release builds. All names are removed from the final executable to minimize binary size. We can change this, but it seemed like the best choice at the time. It is better to find some other way to distinguish models such as using different categories...