Skip to content

greenturtlefrank/TowerDefense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tower Defense (2022 IP2 Project 2)

A classic Tower Defense game built using the Allegro 5 game engine. Strategy is key as you build defenses to stop waves of enemies from reaching your base.

Controls

Menu

  • Start Game: Click Start on the main menu.
  • Unit Selection: Choose Soldiers based on the available space.
  • Settings: Click the Settings icon to adjust volume.
  • Reset: Press Reset to reset the current level or game state.
  • Final Step: Press ENTER to officially begin the game.

Technical Setup

  • Language: C++
  • Game Engine: Allegro 5.2.6.0 (Automatically handled via Makefile)
  • Compiler: MinGW-w64 / g++

Project Structure

  • src/: Core game logic and object implementations.
    • main.cpp: Entry point of the application.
    • GameEngine.cpp: Handles the main event loop and engine initialization.
    • PlayScene.cpp: Manages level logic, spawning, and collision detection.
    • Army.cpp / Defense.cpp: Base classes for enemies and towers.
  • resources/: Contains all game assets (images, audios, fonts).
  • allegro/: Streamlined Allegro 5 library components (install throught makefile).

How to Build & Run

make setup

make

./TowerDefense.exe

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors