pwsdc / playdate-runner

MIT License
0 stars 3 forks source link

Add resetting high scores, fix some bugs #15

Closed paulshriner closed 3 months ago

paulshriner commented 3 months ago

You can now reset the leaderboard. To do this press Up and B at the same time on the title screen.

If you hit into an obstacle while in the jumping sequence, the jumping animation will not persist after restarting. This was done by resetting the variables related to jumping in reset().

High scores are now actually limited to 5. The issue here was actually much stupider than I was thinking, it was due to improper use of greater/less than vs greater/less than or equal to. Also the high score msg was erroneously showing when getting a normal score (solved using an extra return statement)

Fixes #10 #12 #13