-
Notifications
You must be signed in to change notification settings - Fork 204
Open
Labels
Description
I think a desirable feature would be the ability to change the non-Power animations, such as run and die at will.
Use cases:
- a different walk cycle could be used during an ability that changes the movement speed
- various death animations based on status effects (e.g. burning)
This should probably be implemented as part of the effect system. While the effect is active, we can swap the animation like so:
setAnimation(stats.effects.getSwappedAnimation("run"));
When there are no animation swapping effects active, getSwappedAnimation() will just return what was passed to it. There'd need to be slightly different behavior for death animations, since we clear status effects on death.