Twilight Soldier Dusk
Final Year Project (FYP)
​
Twilight Soldier is a 3D hack and slash action game. Play as the general of Sol and reclaim what was once theirs. The game takes place in a ruined city which is involved in an invasion from the Throne empire who wishes to take over the rare resource found by them.
Experience the fantastic art in the game and slash through the enemies to reclaim the land once more.
Team Size : 6 Artists, 3 Designers and 6 Programmers
​
Engine Used : Unreal Engine 4
​
​
What I Worked On
Combo System
-
The combo system is created based on the concept of linked list
-
Different attack will be linked together using linked list.
-
On button press, the next attack will be stored and will be played when the current animation reached its transition state
-
Weapon switch is also implemented in the combo system
-
Animation Notify is used to set current state of attack animation

Combo Attack Example

Animation Notifies Implementation

Example of Combo Code
Special Moves
-
Special attack of character is done in entirely Unreal Blueprints.
-
Each weapons has their own special moves, etc Sword has block, Hammer has charge attack and Spear have a gap closer.
-
Special moves can be used by either tap or holding the special buttons.
-
Block will reduce player damage taken, charge attack will deal higher damage and knockback enemy and gap closer can attack and move player closer to the enemy.

Blocking

Gap Closer

Charge Attack
Movement Mechanics
-
There are 3 different movement mechanics which is dash, sprinting and in and out combat movement
-
Dash can be used to travel a short distance in a short time and can be used to dodge enemies attack.
-
Sprinting allow player to run faster but will consume stamina over time
-
In and out combat : Player will move faster when out of combat and will slow himself when he's in combat. Animation blend space is used to blend the movement animation smoothly.
-
All movement mechanics is done inside blueprint.

In Combat Movement

Out Combat Movement

Dash

Code For Dashing

Additional work and In Progress Work​
-
Various Animation Implementation
-
Tutorial Functionality