jespino / spaceshooter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

[Back to top]

You can directly play this using web assambly compiled version here: https://jespino.github.io/spaceshooter/

Screenshots

[Back to top]

Screen 1 Screen 2
Screen 3 Screen 4

Game Features

[Back to top]

  • 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

[Back to top]

Button
Move Left left
Move right right
Fire bullets spacebar
Quit game q

Installation

[Back to top]

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

[Back to top]

  • Add feature to pause to the game.
  • add feature to replay the game after all players die

Issues

[Back to top]

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

[Back to top]

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

License for them is in Public Domain

About

License:Other


Languages

Language:Go 98.3%Language:Makefile 1.7%