Closed ernesgonzalez33 closed 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.
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