Skip to content

Royal Defenders is a strategic Tower Defense Game developed in Unity, where players protect a kingdom using various towers, enriched by three distinct pathfinding algorithms: Breadth First Search, Uniform Cost Search, and A* Search.

License

Notifications You must be signed in to change notification settings

ALLIA12/Royal-Defenders

Repository files navigation


Royal Defenders

This project is a video game called Royal Defenders, which is a Tower Defense Game (TDG). The main goal of the game is to defend a kingdom from waves of enemy attackers using various towers. The player can build these towers and upgrade them to improve their effectiveness. The game also includes three different pathfinding algorithms that the enemies use to navigate the game world: Breadth First Search, Uniform Cost Search, and A* Search. The game was developed using the Unity game engine and follows the Sprint methodology. The game includes a main menu, settings menu, level select menu, in-game interface, and pause menu. The project aims to compare the performance of different pathfinding algorithms and determine which is the most effective in the context of a TDG.

Availability

The game is playable on Windows, Linux and MacOS it can be downloaded here
It will be avilable on steam soon TM

Systems

  • Abilities: Players can use a special ability, a comet attack, to instantly destroy enemies.
  • Bank: This system keeps track of the player's health and gold.
  • Enemy: This system handles the health, movement, and other properties of the enemies in the game.
  • Main menu: This is the first screen that players see when they open the game, and it allows them to access the different parts of the game.
  • Object spawner: This system is responsible for spawning waves of enemies.
  • Particle handling: This system manages the particle effects that are used when towers attack enemies.
  • Pathfinding: We have implemented three different pathfinding algorithms in our game: Breadth First Search, Uniform Cost Search, and A* Search.
  • Pause menu: Players can access this menu at any time during gameplay by pressing the "P" or "ESC" keys. It allows them to resume, return to the main menu, or quit the game.
  • Player controller: This system handles all player inputs, such as building towers and using abilities.
  • Score tracking: This system keeps track of the player's scores for each level on each difficulty setting.
  • Target locating: This system helps the towers locate and attack the enemies.
  • Tile system: This system manages the grid of tiles on which the game takes place.
  • Tower: This system allows players to build and upgrade towers, and it also handles the destruction of towers.

Screenshots

Level select: Level select Settings menu: Settings Menu Level 1: Level 1 Level 2: Level 2 Level 4: Level 4

Contact

Ali H - twitter - allia1999@hotmail.com
Feras H - Add it later if you want.
Khalid G - Add it later if you want.

Project Link: REPO

Acknowledgments

This project was inspired by the Complete C# Unity Game Developer 3D online course offered by GameDev.tv.

Some of the features of this project were built using some of the videos by the following youtube channels:

License

Distributed under the AGPL-3.0 license.

About

Royal Defenders is a strategic Tower Defense Game developed in Unity, where players protect a kingdom using various towers, enriched by three distinct pathfinding algorithms: Breadth First Search, Uniform Cost Search, and A* Search.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published