Change hero animations when a powerup attribute is true
Which is the best way to change the hero animations to give a different look when a powerup is active?
Now, I have the animations controlled by instructions like:
Actor Receives an event >
Key / touch (to move left-right, etc.) >
Then I have rules for:
A powerup attribute (boolean) that changes to true when the counter reaches 1000 points.
And what I do after is:
When atribute game.powerup is true >
Spawn Actor "Powerup hero" (the same hero actor with same controls/animations but with different design)>
But with this method, switching from one to another hero is very abrupt, does not match the frame of the animation neither orientation (for example, if it was moving to the left, the hero appears with powerup looking right).
I have seen many tutorials about powerups, but I haven't found info about changing a complete group of animations when a powerup rule is true.
If anyone can help me it would be great ...