Skip to content

Pazl27/Asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroids

A simple game of asteroids made with go and raylib.

Description

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. gameplay gameplay

Installation

  • 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

Controls

  • W to move forward
  • A to rotate left
  • D to rotate right
  • S to stop
  • R to reload
  • Space to shoot

Todos

  • 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)

About

Asteroids game in go with raylib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages