Starship

  • Asteroids Clone | Personal Engine C++

The player controls their starship as asteroids and aliens attack in waves. Flying about the player must avoid being crushed while firing back with their lasers. After destroying an enemy, they leave behind energy that the player can use to increase their ship’s power.

 

Features

  • Starship uses acceleration-based physics

  • The player is bound to the world (i.e., they will bounce off the walls) while asteroids will wrap around the edges

  • When the player increases their energy meter, the glow around them gets larger. When the player reaches the next energy level, the glow gets smaller, but changes to a different color

  • The player can shoot small laser pulses, display a targeting laser, and fire a giant laser pulse

  • As the player’s energy color increases the ship becomes more maneuverable and the laser pulses travel more quickly

  • Starship has a parallax star field background

  • When enemies are destroyed the leave behind a debris field

C++ code to update the player, their energy and their energy level

C++ code to update the player, their energy and their energy level

C++ code for rendering an entities oscillating energy aura

C++ code for rendering an entities oscillating energy aura

 
doomenstein_screenshot3.png

Post-Mortem

Starship was the first game I worked on at SMU Guildhall as well as the first game I made using my personal C++ engine. This project taught us the basics of the openGL rendering pipeline and entity management.