Search found 2251 matches

by VilleK
Mon Jan 09, 2023 8:15 am
Forum: General discussion
Topic: [Solved] Detecting generic Gamepad D-Pad on Android
Replies: 9
Views: 350

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

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

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

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

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

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

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.
by VilleK
Mon Nov 28, 2022 1:04 pm
Forum: General discussion
Topic: HOW TO REGISTER
Replies: 2
Views: 144

HOW TO REGISTER

Because of high amount of spam accounts, registering of new accounts have been disabled. If you want to be a member of these forums then please contact me directly (via email or social media).
by VilleK
Wed Nov 23, 2022 12:08 pm
Forum: Extensions
Topic: 3D Physics with ZgeBullet
Replies: 92
Views: 96215

Re: 3D Physics with ZgeBullet

@Ats: I heard back from Rado1. If you make a pull request of your changes then he can merge it to main repository. I'm not exactly sure how to make a pull request on github but it should be straightforward I hope.
by VilleK
Tue Nov 22, 2022 2:48 pm
Forum: Extensions
Topic: 3D Physics with ZgeBullet
Replies: 92
Views: 96215

Re: 3D Physics with ZgeBullet

Thanks to Kjell for fixing the impossible once again and to Ats who doesn't give up when it comes to difficult problems :)
by VilleK
Mon Oct 31, 2022 2:43 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 25
Views: 2261

Re: ZGE on Mac

Alpha 8:

- fixed a problem that stopped binaries working on Mac OS Ventura.
by VilleK
Mon Oct 03, 2022 2:56 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 25
Views: 2261

Re: ZGE on Mac

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
by VilleK
Fri Sep 30, 2022 2:37 pm
Forum: General discussion
Topic: ZGE on Mac
Replies: 25
Views: 2261

Re: ZGE on Mac

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 persist...
by VilleK
Fri Sep 30, 2022 7:54 am
Forum: General discussion
Topic: ZGE on Mac
Replies: 25
Views: 2261

Re: ZGE on Mac

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.
by VilleK
Tue Sep 13, 2022 1:27 pm
Forum: General discussion
Topic: Fickering issues on some Android devices
Replies: 16
Views: 624

Re: Fickering issues on some Android devices

The flickering problem appears on the terrain, but also on big blocks that constitute the walls, roof and ceiling of the Mothership stage. Those are the only few models that are generated with ZGE, and not imported. But they are also the biggest models in the game. I believe the flickering comes fr...