spaceshooter

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2022 License: MIT Imports: 17 Imported by: 0

README

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 *.go
$ ./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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL