Categorygithub.com/friendlyuser/spaceshooter
modulepackage
0.0.0-20190925001537-2cf02599ac0d
Repository: https://github.com/friendlyuser/spaceshooter.git
Documentation: pkg.go.dev

# README

Documentation

Space Shooter Game
  1. Read SpriteSheet using xml
  2. Have basic game.

The game uses CC0 basic sprites and sounds. alt text

Todo Right now

  • Let enemies shoot bullets, random spawning enemy function, health bar, player damaged by bullets, enemy destroyed and creates explosion class.

alt text

Current Tasks

  1. Create Enemy Class, types corresponding to images and/or movement speeds, maybe random number that represents sprites.
  2. Allow collisions between player & enemy
  3. Allow enemy to shoot bullets
  4. Allow bullets to destroy enemies
  5. Random spawning of enemies
  6. level based system
  7. Health per shoot
  8. Health bars
  9. Powerups

# Packages

No description provided by the author

# Functions

check if bodies have collided.
No description provided by the author
No description provided by the author
make the background scroll.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
hardcoded animation and sprite numbers from resources/sheet.xml.
hardcoded animation and sprite numbers from resources/sheet.xml.
hardcoded animation and sprite numbers from resources/sheet.xml.

# Structs

consider having a laser type to deal with orientation, etc basic information to draw sprites, track position and update position.
No description provided by the author
in the future have a laser type struct, spriteImgNum, and number of animations.
No description provided by the author

# Type aliases

No description provided by the author