Skip to content
EzzElDin Salah — home
← Games
Games

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
Play in your browser

Keyboard and mouse · 37 MB download

  • The start of the level: the player in dark armour on a plank dock in the rain, facing a round brick tower and a beached rowing boat. The objective at the top reads Find the remote scanner, a circular minimap sits in the top right, and the health panel in the corner shows 5 of 5.
    Where the level starts. The robots hold the far end of the port.
  • The player further along the quay, between barrels, a rowing boat and a bare tree in a stone planter, with the brick tower behind and lanterns on a post.
    Further into the port, past the tower.
  • The same spot a moment after the player is hit: the screen edges flash red, the health number drops to 3 in red, and of the five health plates three are amber, one is bursting red and one is empty.
    Taking a hit. The screen edges flash and the lost health plate bursts.
  • The main menu: the title Echoes Between Dimensions over a painting of a glowing portal at the end of a rainy dock, with a one-line premise, Play and Restart Level buttons, and the controls listed along the bottom.
    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.

The story

You're stuck in an ocean port overrun by robots. Find the remote scanner, use it to switch on three signal towers, then get to the portal that opens once all three are on.

How to play

Find the scanner, switch on all three towers, then reach the portal.

W A S D
Move
Shift
Run
Space
Jump
E
Pick up the scanner or the gun
Hold right mouse
Aim (switches to first person)
1 / 2
Hold the scanner / hold the gun
Left click
Scan a tower or shoot (while aiming)
Tab
See what you're carrying
M
Show or hide the minimap

The text at the top of the screen tells you what to do next. To switch on a tower, aim at it from within about ten metres and hold left click for three seconds. If you look away, it starts over. Robots stop chasing you if you break line of sight or get far enough away. The gun overheats if you fire too fast; the arc next to the crosshair shows how hot it is. Falling in the water puts you back on the dock and you keep your progress.