Skip to content

AndersonGACFilho/The-Invasion-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 

Repository files navigation

The Invasion

"The Invasion" is a classic arcade-style space shooter developed from the ground up in C++ using the Allegro 5 library. This project was undertaken during my first semester of college, serving as a testament to a foundational passion for game development and a drive to learn core programming principles from day one.

How to Run

  1. Download and unzip the files.
  2. Navigate into the created folder.
  3. Run the The Invasion.exe executable to play the game.

Features

  • Classic Arcade Gameplay: Survive endless waves of invading enemy ships.
  • High Score System: Compete against yourself to beat your high score, which is saved locally.
  • Dynamic Difficulty: As your score increases, the enemies become more numerous and difficult to defeat.
  • Power-ups: Defeating enemies has a chance to reward you with an extra life.
  • Engaging Visuals and Audio: Features animated sprites, a starfield background, and sound effects that enhance the gameplay experience.

How to Play

  • Controls:
    • W, A, S, D: Move your ship up, left, down, and right.
    • Spacebar: Fire your weapons.
    • Escape: Return to the main menu.
  • Objective:
    • Destroy as many enemy ships as you can to increase your score.
    • Avoid colliding with enemy ships and projectiles.
    • You have three lives. The game ends when you lose all your lives.

Technical Details

  • Language: C++
  • Library: Allegro 5
  • Platform: Windows

Development

This game was built as a foundational project to showcase a deep understanding of computer science principles, including:

  • Game loop architecture
  • 2D rendering and graphics
  • Collision detection
  • Input handling
  • Memory management
  • Software design in C and C++

Remarkably, this entire project was conceived and executed during my first semester, demonstrating an early and dedicated dive into the world of software engineering and game development.

About

A retro arcade space shooter built from scratch in C/C++ with Allegro, featuring player movement, shooting, enemy waves, collision, score and dynamic difficulty.

Topics

Resources

Stars

Watchers

Forks

Contributors