Author: Robert Dionian
Posted: 2/26/2024
Problems:
Boss not playing any animations after playing AOE animation. This was more of an oversight on my part, I had assumed the boss would go back to his original animation state after playing the attack animation. So I had just played the animation directly in the attack function. Another problem I had been having was the players indicator tiles would show up during the bosses turn and the tiles would not turn back to blue if they were included in the bosses AOE attack.
Solution:
Fixing the animation problem was simple, all I did was add another state to the combat enemies animation state machine. I took out the function playing the animation in the attack function and set bools for the state machine instead. For the tile indicators I had to move the attack function in the boss attack node to be the first to be called and extend the bosses turn a few seconds to give the attack some time to play since the tile indicators are triggered by whose turn it is.
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.