top of page

AlterKnight

AlterKnight is a Hack N Slash, Dungeon Crawler, 3D game made using Unity 3D. It is inspired by popular hack n slash games like Diablo 3.

Roles

Enemy AI Programmer:

As the Enemy AI Programmer of the team, I was responsible for the implementation of the enemy behaviour in the game, including the Boss. This includes utilizing Unity's NavMesh Surface Component for the enemy pathfinding, as well as implementing the state machine based on the design requirements of the enemy type. 

Features

Melee and Range Enemy Mobs AI:

The Enemy AI was implemented by using a simple finite state machine which allows the enemies to display different behaviours.

It goes through every update of each state script and change its current state according to the situation of the game. Both the Melee and Range enemy share the same state machines, but have varying behaviour based on its type, providing the player different experiences when facing them.

Boss AI:

The Boss AI was implemented by using a different finite state machine than the enemy mobs, with its states changes based on its current health conditions.

The Boss has 3 phases, each phase is determined by the current health of the boss. Each phase has different stages, which extends the lifetime of the boss fight, preventing the players from easily defeating the boss.

 

The boss also has the ability to spawn enemy mobs, supporting it throughout the boss fight and giving it advantage over player. 

bottom of page