Platform-Game
Platform-Game copied to clipboard
Reset Game
I don't like how the space bar will reset the game to the first level regardless of whether the game over screen is up or not. This can make for a player to accidentally hit space and be reset, which can be infuriating especially if the player is at a high score or hard to reach level. This might be intentional but
to me playing it felt like a bug.
It would be great to at least have a confirmation screen of whether the player actually wants to reset the game.
Looking at the code if a few more conditions were put on the if statement on line 276 of game.js this could be solved.