Skip to content

A simple Tower Defence game built in Unity, featuring tower placement, enemy waves, and resource management. Designed as a tutorial project for learning game development.

Notifications You must be signed in to change notification settings

Ismaillhb/TowerGame-2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฐ Tower Defence Tutorial

This repository contains a Tower Defence game project built as a learning exercise and foundation for further development in game programming. The project demonstrates core mechanics of tower defence games implemented step by step, making it a great resource for both beginners and intermediate developers.


๐ŸŽฎ Project Overview

  • Genre: Tower Defence (Strategy)
  • Engine/Framework: Unity (C#)
  • Core Mechanics:
    • Placing and upgrading defensive towers
    • Enemy pathfinding and wave spawning
    • Resource management (currency/points earned by defeating enemies)
    • Increasing difficulty with progressive waves
    • Basic UI (health, score, wave counter)

๐Ÿ› ๏ธ Features Implemented

  • Grid-based placement system for towers
  • Multiple tower types with different attack ranges and damage
  • Enemy AI with waypoint-based movement
  • Health system for both enemies and the player base
  • Wave manager to control spawning difficulty
  • Simple game loop: Start โ†’ Defend โ†’ Win/Lose condition

๐Ÿ“š Learning Goals

This tutorial project is designed to:

  1. Teach fundamentals of game architecture (managers, controllers, prefabs).
  2. Explore real-time strategy mechanics like enemy spawning and pathfinding.
  3. Practice clean C#/OOP principles in a practical project.
  4. Provide a starter template for more advanced tower defence games.

๐Ÿš€ Future Improvements (Ideas)

  • Add more tower types (sniper, splash damage, slow/ice tower).
  • Introduce enemy variety (flying, fast, armored).
  • Implement tower upgrades and skill trees.
  • Add animations, sound effects, and visual polish.
  • Save/load game progress.
  • Multiplayer or online leaderboard integration.

๐Ÿ“ฆ Installation & Usage

  1. Clone the repository:
  2. Open the project in Unity (tested with Unity 2021.x or later).
  3. Press Play to start the game.

๐Ÿค Contributing

Contributions are welcome! Feel free to fork the project, create a feature branch, and submit a pull request.


๐Ÿ™Œ Acknowledgements

This project was inspired by classic Tower Defence games and built as part of a hands-on learning journey into game development with Unity.

About

A simple Tower Defence game built in Unity, featuring tower placement, enemy waves, and resource management. Designed as a tutorial project for learning game development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published