Asteroids game from the boot.dev course "Build Asteroids using Python and Pygame"
- Run
python main.py
to play - Chose a game-mode from the main menu
- Left Right turn the ship
- Up accelerates
- Space shoots
- Q exits the game or goes back to the main menu
- P pauses/unpauses the game
Asteroids spawn continuously from the edges of the screen. Try to survive as long as possible! If your ship flies into the void (leaves the screen) or an asteroid hits it, it's game over!
You start at Level 1 and progress by destroying all the asteroids. For each level, 2 large asteroids will spawn at the edges of space. When an asteroid hits you, it's game over! How far can you go? Both asteroids and your ship can go over the edge of the screen to reappear on the other side.
When you finish a level, press N to progress to the next!
In this variant of Endless Mode, you take control of the mighty Taurus-Class Mobile Defense Platform to protect the terran sector from asteroids!
The Taurus doesn't turn, but can accelerate in any direction due to its multi-thruster array. Its many gun-emplacements allow it to fire in any direction, and the large onboard-reactor can even power the mighty Mjolnir Defense Cannon.
You control movement with the Arrow-Keys or WASD and fire using the mouse. Mouse-LEFT fires the normal plasma gun, Mouse-RIGHT fires the Mjolnir Cannon on a 5 second cooldown.
Access the desired version by checking out main
at the indicated tag.
v1.0.0
Base version after the Course goal was reachedv1.1.0
Code and technical improvementsv1.1.1
Gameplay improvements (score display and aceleration)v1.2.0
Graphics updatev1.2.1
Level-Mode and Menusv1.2.2
Better font and Taurus-Class player ship
Changes planned or already implemented
- Exit with Q
- Cleaning up group-assignment logic
- Replace the asteroid-generation logic
- Track and destroy out-of-screen objects
- Stateful game loop
- Acceleration
- Score Display
- Wrap-Around for ship & asteroids
- Game-Over Screen
- Background image
- Restart
- Pause and Resume
- New ship available
- New asteroid classes
- Magnetite
- Titanium
- Black Hole
- Better Endless Mode rules
- Ship selection
- Sprites for asteroids and spaceship
- Spaceship exhaust while accelerating
- Shot sprites
- EXPLOSIONS!
- Better font
Licensed under "The Unlicense". For more information, see LICENSE
This Project uses the following amazing open source projects:
Monogram font by Vinícius Menézio - https://datagoblin.itch.io/monogram
For more information, see NOTICE.txt