karl5252 / Toolio

n this game, players guide a character through a series of dynamic environments filled with obstacles, enemies, coins, and hazardous beer pits.
MIT License
1 stars 0 forks source link

Add death anmimation to player when killed. #22

Closed karl5252 closed 7 months ago

karl5252 commented 7 months ago

To add death animation simlar to Mario https://youtu.be/FhTHXL9vEKU image

Outline: To introduce new state.

currently we have: "playing", "won","lost". Probably would suffice to add state 'dying' Player: freeze frame 10 block interaction player move up then move down quickly ignoring collisions.

karl5252 commented 7 months ago

https://github.com/karl5252/Toolio/assets/32590103/48cfe33d-b789-41b9-b264-0e093d962920

There is a random bug with death not being counted properly during simultaneous collisions.