I have programmed a MarioBros clon in LibGdx with the help of a Tutorial. While the game works perfect on the desktop and a Galaxy S7, i encountered some collision callback problems on my Galaxy S2. In my ContactListener i don't get around 1/15 of the callbacks, while the collisions works perfect. So i get sometimes problems like: the player don't get killed on enemy contact, enemys don't bounce off walls or eachother and so on.
My first thought was that mayby the device is overloaded with the Box2D calculation, but when i measure the steping time i get something in between 0-3 ms.
My guess is, that Box2D discontinues the step for any reason. If that's the case how can i force Box2D to finish the step?
I'm not sure which part of the code i should post, so if you have any guess where the problem is i will post it afterwards.
Thanks for your help in advance
Here's the place to get help and discuss features. The focus is on the C++ version, but generic questions are welcome.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest