ggarredondo / Carnem-Levare-Prototype

To-be-released action RPG about boxing. This prototype was made as part of our undergraduate final projects, for the Computer Engineering degree at University of Granada. All information about the development and design of the game can be found in the corresponding dissertations.
0 stars 0 forks source link

Move Animation Events still triggering when state has changed and is no longer MoveState #119

Closed ggarredondo closed 1 year ago

ggarredondo commented 1 year ago

The character receives a hit right before EndMove animation event, enters Hurt State, but during the animation transition EndMove animation event triggers and transitions instantly to walking/blocking/move

ggarredondo commented 1 year ago

Make Animation Event functions only trigger action events that will be subscribed in MoveState.Enter() and unsubscribed in MoveState.Exit()