pawap90 / space-commit

The game where contributors become literal heroes! 🏆 Winner of the GitHub Actions Hackathon 2021
https://pawap90.github.io/space-commit/
MIT License
38 stars 9 forks source link

Allow the player to Pause the game #35

Open pawap90 opened 2 years ago

pawap90 commented 2 years ago

Pause the game when the player presses "Enter" during the GameScene execution.

The logic and strategy implemented for the "Game over" #10 feature should provide some guidance on this and possibly code to reuse.

AmrManas commented 2 years ago

I add the pause menu in the game, using "Caps Lock" to pause the game and "Backspace" to resume it