
Video
Damaged Time
I was a part of 3-man team. This was our entry for Ludum Dare 43 game jam.
Team size: 3
Duration: 48 hours
Damaged time is a race against the clock platformer created as our entry for Ludum Dare 43 game jam.
I mainly worked on enemy AI.
Everything in this game was created using C# in Unity Engine.
My Contribution
I created a generic Enemy class which acted as the parent for all the other Enemy classes which in turn only included the specific functions of each enemy type those classes represent.
All enemies:
Patrol when they cannot see the player.
Attack when the player is close enough.
Have a wind up timer before they attack. This timer is different for each enemy.
Detect the end of the ground or when blocked by a wall and flip to the opposite direction in both cases
Differences between enemies:
Enemy 1: Shoots the player every 2 seconds.
Enemy 2: Jumps towards the player every 2 seconds.
Enemy 3: Charges at the player every 2 seconds.