Open chelBot opened 8 years ago
Do you have any code that could us replicate this bug?
Thanks!
Well here is the repo if this helps: https://github.com/chelBot/SpaceInvader.git
I am loading in a tmx file from tiled that has the collision layer in it. If you clone the repo and play the game a bit, making sure to bounce high and fall long off of other sprites you will eventually fall through the game.
I wish I could be more specific about where the bug is actually happening in my code but I really have no idea. I think it may be a quintus issue? Honestly I am not super familiar with the framework.
A clue: if I turn the player's gravity way up she falls through the collision layer much more frequently.
I'd guess it's related to the speed. Maybe there isn't enought time between two frames to see that the player is bumping against a collision layer.
I'm not an expert on this part of the code, but I think that could be it.
When the player jumps exceptionally high off of an enemy or falls from a high place she sporadically falls through the collision layer. Not sure why this is happening.