Asteroids game from p5.play examples. See Repl.it and blog post.
Built with:
Clone repository:
git clone https://github.com/remarkablegames/asteroids.git
cd asteroids
Start a static server:
python -m SimpleHTTPServer
Open http://localhost:8000/:
open http://localhost:8000/
To stop the server, press Ctrl + C
.
- Decrease
ship
andparticle
friction so they can move - Improve text readability by giving it a stroke and putting it in front of the layers
- Render the game full screen
- Generate asteroids based on screen size
- Destroy the ship on asteroid collision
- Improve bounding box collision detection
- Improve ship speed
- Randomize the speed of sprites (asteroids and particles)
- Control ship using arrow keys or WAD; fire bullet with space
- Refactor to local scope so globals aren't polluted