Unity/C# tower defense game built as the codebase for my bachelor's thesis. This repository is the base game; the VR interaction layer and additional content were continued in licenta2.
A grid-based tower defense game:
- Custom A* pathfinding (
Assets/Scripts/Pathfinding/Pathfinding.cs) computes enemy routes across a tile map with entry/exit gates. - Wave-based enemy spawning with increasing health/reward multipliers per wave
(
Assets/Scripts/Game.cs). - Tower placement and targeting: laser tower (continuous beam, damage-over-time, turret
rotation) and machine gun tower, each with independent range/attack behavior
(
Assets/Scripts/Units/Towers/). - Enemy health bars, audio, and particle/lightning effects.
- Early VR scaffolding: the project already ships Unity's XR Interaction Toolkit and OpenXR
packages and a teleport-plane transform in
Game.cs, laying the groundwork completed in licenta2.
Unity 2022.3.4f1, C#, Unity XR Interaction Toolkit / OpenXR.
Requires Unity 2022.3.4f1 (or a compatible 2022.3 LTS patch). Open the project folder in Unity
Hub, then open Assets/Scenes/TowerDefense.unity and press Play.
Coursework project, developed 2023-07 to 2023-08 as part of a bachelor's thesis. Not maintained.