Closed Noah2610 closed 3 years ago
See AnimationKey
variant doc comments for details on how to configure animations and when which animations are played.
https://github.com/Noah2610/deathfloor/blob/855d0526ff7131f5707073f2a7b17867d0758725/src/animation_key.rs#L4-L39
Instead of Jumping
and InAir
animations, maybe we should have something like Ascending
and Descending
animations, for when the entity is moving upwards/downwards respectively.
Closing for now, because this it's working.
Add Rising
and Falling
animations. Played when y is positive/negative respectively.
Add new animation keys for jumping and in-air animations (
Jump
,Jumping
,InAir
(?)).