SDL Shooter

Simple space shooter game created using SDL (Simple DirectMedia Layer) and C.  Sprites created with Aseprite.

Energy meter added.  Using any weapon will deplete energy, but it will gradually refill over time.   Each weapon has three strength levels and energy consumption increases with the strength of the shot used.

Below are the weapons in the game.

 

Weapon Name Weak Attack Mid Attack Strong Attack
Speed Shot Slightly increases fire rate Moderately increases fire rate Greatly increases fire rate
Multi Shot Shoots in two directions Shoots in three directions Shoots in four directions
Wave Shot Shoots one wave projectile Shoots two wave projectiles Shoots four wave projectiles
Blast Shot Damages all enemies on impact within a small radius Damages all enemies on impact within a medium radius Damages all enemies on impact within a large radius
Spin Shot Four projectiles rotate around the ship Eight projectiles rotate around the ship Sixteen projectiles rotate around the ship
Freeze Shot Freezes an enemy in place for 1 second Freezes an enemy in place for 4 seconds Freezes an enemy in place for 20 seconds
Seek Shot Locks on enemies within a small range Locks on enemies within a medium range Locks on enemies within a large range

 

 

Enemies will drop various bonuses, such as refill energy, increased attack power, increased defense power, and health refill.

Create your own levels by editing level_00.txt.  Separate waves with a single equal sign ‘=’ on a line.  Place enemies using the numbers 1, 2, 3, and 4.

Create Linux build by running ‘make linux’.  Tested and works on Ubuntu Linux.

Get the source code at https://github.com/gatechgrad/SDLShooter

 

Enemies

  • Alpha – Moves left and right in a horizontal motion
  • Bravo – Moves to the right at constant speed
  • Charlie – Moves downward in a wave motion
  • Delta – Moves in a circle motion
  • Echo – Moves to random locations;  Vulnerable only when eye is opened

Weapons

  • Normal shot – 5 energy
  • Fast shot – 8 energy
  • Triple spread shot – 15 energy

 

Released