Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player sporadically falling through collision layer on high fall #181

Open
chelBot opened this issue Mar 15, 2016 · 4 comments
Open

Player sporadically falling through collision layer on high fall #181

chelBot opened this issue Mar 15, 2016 · 4 comments
Labels

Comments

@chelBot
Copy link

chelBot commented Mar 15, 2016

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.

@viki53 viki53 added the bug label Mar 15, 2016
@viki53
Copy link
Collaborator

viki53 commented Mar 15, 2016

Do you have any code that could us replicate this bug?

Thanks!

@chelBot
Copy link
Author

chelBot commented Mar 15, 2016

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.

@chelBot
Copy link
Author

chelBot commented Mar 15, 2016

A clue: if I turn the player's gravity way up she falls through the collision layer much more frequently.

@viki53
Copy link
Collaborator

viki53 commented Mar 15, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants