Search found 2274 matches

by VilleK
Wed May 03, 2023 6:01 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 38
Views: 149569

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: 149569

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: 62184

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: 149569

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: 149569

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: 62184

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: 62184

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: 5514

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: 11209

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: 6431

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: 6431

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: 8539

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...
by VilleK
Sat Dec 31, 2022 11:54 am
Forum: General discussion
Topic: How to retrieve what kind of model
Replies: 7
Views: 8539

Re: How to retrieve what kind of model

Just a guess but maybe in this case you get a model that has been deleted so this is why it crash.

Please make sure that you remove all the zgebullet handles for a model when a model is deleted.

Also make sure you are actually setting the model with zbtSetUserModel too.
by VilleK
Thu Dec 08, 2022 8:25 am
Forum: Feature requests
Topic: ZExpression "minimap" instead of showing the first line only
Replies: 2
Views: 12655

Re: ZExpression "minimap" instead of showing the first line only

Hi,

This is a good idea. It will have to go on the list of things to do maybe in the future, as I'm not sure how much work it would be.
by VilleK
Tue Nov 29, 2022 1:01 pm
Forum: General discussion
Topic: HOW TO REGISTER
Replies: 2
Views: 6338

Re: HOW TO REGISTER

Yes that would be good but I don't want to customize the phpbb install to achieve this (and messing with php/html always cause me grief :) ). In general, users who want to register have found a way to do so. And it is not like there are 100s of users waiting to register either.