CodeCafeOpenShiftGame / PodEscape

Endless runner of a pod trying to escape from a project being deleted.
https://podescape.io
Apache License 2.0
29 stars 16 forks source link

Fix collision bug #59

Closed ernesgonzalez33 closed 4 years ago

ernesgonzalez33 commented 4 years ago

Sometimes when dashing and falling just before an obstacle, the death animation doesn't play and the game was waiting for it to be ended. In this commit, we now wait in seconds for the animation to end and when it doesn't play, the game finishes itself too.

This is a hack that needs to be solved later with the animation actually playing

RoddieKieley commented 4 years ago

@ernesgonzalez33 This is an improvement however the issue remains only partially addressed with these additions. Will need to review the bigger picture of stage change between Dash, Slide, and the other States to ensure state is correctly set and reset.

Will merge but leave issue 57 open.