73ee5e554bbdfe583cdc7d68a9166d5785e7bb80
When the player gets a game-over, the debris is spawned and then frozen in place as the physics system gets turned off. I can make sure it never appears by writing the state change and returning early from the function. This means the asteroid despawning needs to happen before that point, otherwise the asteroids would be left on screen.
Description
Languages
Rust
86.5%
HTML
7.3%
Makefile
5.5%
Dockerfile
0.7%