Echoes Between Dimensions
Hybrid third/first-person shooter built around a NavMesh enemy state machine with line-of-sight detection, camera-mode switching that preserves look direction, and a weapon heat model.
- C#
- Game AI
- State Machines
- Unity
Keyboard and mouse · 37 MB download

Where the level starts. The robots hold the far end of the port. 
Further into the port, past the tower. 
Taking a hit. The screen edges flash and the lost health plate bursts. 
The main menu, which is also the pause screen.
Systems implemented
- Robot AI as a state machine on a NavMesh: sleeping, chasing, attacking and patrolling. A robot wakes up after a delay, gives up the chase if you get out of range or out of sight, and picks a new patrol point if it gets stuck.
- Line of sight that ignores things that shouldn't block it: trigger volumes, lasers in flight and the robot's own colliders. Robots only shoot when they can see you, so hiding behind cover actually works.
- Switching between third and first person without the camera snapping. You keep looking in the same direction.
- Root-motion movement on a CharacterController, so the animation decides how far the character moves and the feet don't slide.
- Tower scanning only completes if the tower stays in view and in range for the full three seconds. Look away, or let something block the view, and it starts over.
- Gun heat and overheating, so how fast you can fire depends on how you manage the heat, not on a fixed cooldown.
- Winning and dying shut the whole player down at once: input, weapons and incoming damage all stop together, and only once.
- A HUD with the current objective, health, a heat gauge next to the crosshair, a minimap and an inventory panel.
Built for ECE4208 (Game Programming). All gameplay scripts, systems and animation state logic are mine; models, terrain heightmaps, particle prefabs and animation clips were supplied by the course.