top of page

3rd Character Controller

Unity Game Dev

  • State Machine (player and opponents)

  • Dialogue system

  • Equipment system 

  • Combat system 

Unity_Technologies_logo.svg.png

Finite State Machine

This prototype began with my interest in FSM. I used this pattern for both the player and the enemies. 

 

States are scripts that inherit a basic state. They have 3 stages: an input, a tick and an output. These states transition between each other according to parameters defined in the State Machine: a distance, an input, a condition of any kind.

 

States: Move, Attack, Assassinate, Target, Dodge, Parry, Wound, Die, Chat, Jump, Interact, Fall, Climb...

combat-low.gif
assassinat-low.gif
moves-low-min.gif

Dialogue

Centralized generic dialog system. Used here in conjunction with a spatialized, input-driven interaction system.

Dialogue.gif
bottom of page