Space Shooter
This is a port to go of the pygame Space Shooter (https://github.com/tasdikrahman/spaceShooter) game using the ebiten library.
Index
Demo
You can directly play this using web assambly compiled version here: https://jespino.github.io/spaceshooter/
Screenshots
Game Features
- Health bar for the space ship
- Score board to show how you are faring so far
- Power ups like
- shield: increases the space ships life
- bolt: increases the shooting capability of the ship by firing 2 to 3 bullets instead of one at time.
- Custom sounds and sprite animation for things like
- meteorite explosion
- bullet shoots
- player explosion
- 3 lives per game
- Fun to play :)
Controls
Button | |
---|---|
Move Left | left |
Move right | right |
Fire bullets | spacebar |
Quit game | q |
Installation
Option 1: Download the executable file
If your download was saved on the ~/Downloads
folder
$ cd ~/Downloads
~/Downloads $ chmod +x spaceshooter
~/Downloads $ ./spaceshooter
Option 2: Build from source
$ git clone https://github.com/jespino/spaceshooter.git
$ cd spaceshooter/
$ go build -o ./ ./...
$ ./spaceshooter
To-do
- Add feature to pause to the game.
- add feature to replay the game after all players die
Issues
You can report the bugs at the issue tracker
Credits
The original game is a fork of the video instructions given by KidsCanCode. I have made several additional enhancements to it. Do check out their Channel!
License
The original version was build by Tasdik Rahman(@tasdikrahman) under MIT License
This port to go is build by Jesús Espino under MIT License
- The images used in the game are taken from http://opengameart.org/, more particulary from the Space shooter content pack from @kenney.
License for them is in Public Domain
- The game sounds were again taken from http://opengameart.org/. The game music, Frozen Jam by tgfcoder licensed under CC-BY-3