Skip to content

return5/Simple-Space-Shooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Simple Space shooter is a simplistic 2D shooter set in space.
The player controls a single ship. Player flys their ship through space shooting other ships and attempting to not be shot themself.
There are a variety of enemy types and models. With each new game the types and models are randomly selected.
The number of Enemy ships and their attributes are all randomly assigned at the start of a new game.
The Background of each new game is also randomized with each new game.

Game can be played on the web at: itch.io

Game includes tick module and Lume module both files included under 'aux_files' directory.

controls

'w' - moves player ship forward.
'left mouse button' - fire ship weapon.
move mouse cursor to move ship.
'right mouse button' - enables free movement of mouse cursor. ship no longers follows mouse cursor.press button again to return to normal mode.
'a' and 'd' - rotate ship left/right after player presses 'right mouse button'.

Power Ups

Restore health

screenshot_restorehealth
This power up restores 2 health when collected.

Invulnerability

screenshot_temphealth
This power up grants temporary invulnerability when collected.

Increases speed

screenshot_increasespeed
This power up gives a temporary boost to ship speed when collected.

Spread Shot

screenshot_multishot
This power up gives a temporary spread shot when collected.

Mouse Aiming

screenshot_targetmouse
This power up gives a temporary ability ot aim with the mouse.
After collecting, press right mouse button and shots will target the mouse cursor.
also gives a temporary boost in firing speed.

Dependencies

Screenshots

screenshot1

screenshot2

screenshot3

To Do

  • add gameover screen.
    • gameover happens when either player health drops to 0 or all enemies are destroyed.
  • add counter to show # of enemies left.
  • when only a few enemies left add arrow to screen pointing to nearest enemy.
  • add sounds.
    • add sounds for lasers.
    • add sounds for ship destroyed.
    • add sound for picking up power up.
    • add sound for ship thrusters.
    • add ufo flying noise.
  • add background music.
  • add powerups to game.
    • powerup icons.
    • add randomly selected powerups to game at random intervals.
    • powerups disappear after a given time interveral.
    • powerup functions which last for a limited time.
  • add explosion when ship is destroyed.

CREDITS

credit for the graphic and sound assets as well as the included modules goes to:

All Assets are subject to their own Licenses seperate from that of the code.

License

All code in this project written by me (that is everything except for lume and tick) is license under the GPL 3.0 license.
Licenses for graphics,sounds,and included modules is to be found in the hyperlinks given above.

About

A simple 2D space shooter written using Lua and Love2D.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages