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 doesn't side step correctly when being pushed from behind #5

Open
T0astBread opened this issue Nov 4, 2018 · 0 comments
Open
Labels
bug Something isn't working

Comments

@T0astBread
Copy link
Owner

5a527753d05d3d3a18d40f80ce1a8647c11bf322_bug
The problem (see description below)

An enemy steps on the player's tile from the south-west direction while the player is facing north-east causing the player to side step. The player does change sprite directions however, he does not move to the side of the tile and instead stays centered and just jumps.

@T0astBread T0astBread added the bug Something isn't working label Nov 4, 2018
T0astBread referenced this issue Nov 4, 2018
This implementation isn't perfect yet (there are still glitches sometimes, especially when the player or multiple entities are involved) but it works for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant