todo
- implement https://paste.rs/7i9Ra.rs
- Review PR
- Shooting an asteroid turns it into 2 smaller asteroids
- When asteroids spawn, they don't immediately kill the ship
- When something dies, it explodes
- Remove the explosions so we don't fill up memory if we play a long time
- screens
- start
- get ready
- playing
- game over
- boss (when the boss walks in and we have to hide)
- score
- track score in a resource
- display score on screen
- track high score in resource
- display high score
- save high score on game over
- load high score on startup
- update game over screen with correct score
- get ready should show correct high score
- when restarting game score should reset
- After destroying all asteroids, level increases
- detect all asteroids are gone
- increase the number of asteroids
- switch to get ready state
- teleport ship
- rewrite collision system to use Rasmusgo's style
- ufo
- spawn ufo x seconds into a level
- ufo moves randomly
- ufo fires bullets towards the current location of player
- ufo bullets can kill player
- ufo bullets can kill asteroids
- ship bullets can kill ufo
- sounds
- firing bullet
- explosion
- ufo
- thrusting
-
set speed of game to really fast
- toggle speed on number key input
- set speed
- display speed
-
toggle bot mode
-
ai
- loop
- create population
- for each individual
- start a new game
- play until it dies
- next gen the bots
- save the weights at the end of every gen
- load weights from file
All sounds created by chiptone.
- loop