Closed johneastman closed 1 year ago
After consideration, I decided to remove the pause button. It wasn't providing any value to the game, and the remaining pause/unpause logic was not doing anything.
Commit: 39632a4f915703b3a37cf9707b4e16d4be06059d
Fixes bug with infinite recursion and re-rendering: 9d21222080b1e82d1b4181eb038d9e52f6c28b2e
Fix bug with game not pausing under new rendering model.
This is because the canvas is rendering independently of the game state, and is no longer taking the pause/unpause state into account. Fixing this will also be challenging because there is not one centralized list of all sprites.
If this cannot be fixed, consider removing the pause button and state.