A simple game of asteroids made with go and raylib.
The game is a simple take on the classic asteroids game. The player controls a spaceship and has to destroy asteroids to gain points. The game is over when the player runs out of lifes. The game also features powerups that can help the player destroy asteroids faster. The game is made with go and raylib.
I also added some features like a highscore system and reloading your weapons after a certain amount of bullets are shot.
- clone the repository
$ git clone https://github.com/Pazl27/Asteroids.git
- make sure you have go installed
$ go --verions
- run the game with go
$ go run cmd/main.go
- this step can take a while, as go will download all the dependencies
W
to move forwardA
to rotate leftD
to rotate rightS
to stopR
to reloadSpace
to shoot
- smoother movement
- spawn new asteroids when one is destroyed
- add music
- add sound effects
- highscore system
- powerups
- reload system
- boss fights?
- new enemy types
- more powerups (destroy on inpact)
- asteroid sprites
- background image
- add lifes
- waves of asteroids (level)