Crate bevy_animations

Source

Modules§

prelude

Structs§

AnimatingEntity
Animation
AnimationEvent
Send a request to animate the Entity with the animation dictated by the AnimationName
AnimationTimer
Animations
AnimationsConfig
AnimationsPlugin
A plugin for Bevy that adds support for animations.
Animator
EntitesToRemove
FXAnimationEvent
Send a request to start an FX animation. This will spawn a new animation for and FX then immediately despawn it
FXBasedDirection
FlipBasedDirection
Used to define the direction index. If you don’t have sprites with multiple directions this will flip them when the AnimationDirection changes
Handles
IndexBasedDirection
Used to define the direction indexes for the animations
LinearTimedAnimation
This Is Primarily For Animations on objects, for example doors to open and close
LinearTransformAnimation
This Is Primarily For Animations on objects, for example a projectile
NewAnimation
ResetAnimationEvent
Send a request to reset the animation of an Entity
SingleFrameAnimation
Single Frame Animations. These are easy versatile animations to add to any entity or FX animation
TimedAnimation
This Is Primarily For Animations on players or NPCs, for example shooting a bow or reloading a gun
TransformAnimation
This Is Primarily For Animations on players or NPCs, for example walking or running

Enums§

AnimationDirection
AnimationDirectionIndexes
This will determing which y index will be in the animating calculation So if we have a sprite sheet like this
AnimationType
YIndex
Used to be a sortof Option type for getting the y-index of a sprite on a sprite sheet

Type Aliases§

AnimationName