Combo System
Combo System
One of the few things that I have worked on is the Combo-System. The combo system allows the user to chain attacks together resulting in a combo in which the enemy gets trapped.
The Combo-System is divided into four parts
1. The Combo-System itself. This part takes care of the animator properly switching the animations. It also takes care of switching the correct booleans to tell the game it is currently in combo or showing if the combo has succeeded or failed.
2. A scriptable object with an array of multiple scriptable objects. This part is responsible for creating the order of a combo. The array allows for easily switching the combo's in and out.
3. The scriptable object for each individual attack This scriptable object is responsible for quite a lot of things at once. On this scriptable object there are settings for each attack
4. The Combo-State-Checker. This is an expanded version of the Freeze-Frame script specially made for the Combo-System. This allows the player to get out of the Combo without any errors, this also allows the scriptable objects to override the original freeze frame settings. It also allows the Combo settings to control the hitbox