Skip to content

SkeletonAnimationController

the-batfish edited this page Sep 1, 2026 · 2 revisions

The SkeletonAnimationController handles the animations for the Skeleton entity.

There are four animations for this :-

  • Idle Left
  • Idle Right
  • Walk Left
  • Walk Right

The algorithm for triggering these animation states are handled within the SkeletonAnimationController by overriding the update function within the component class.

This update function checks the current animation state, the entity's velocity and direction and updates to a new animation state based on it.

Credits

Credits for the animated skeleton sprites are given to Immunity on itch.io

Clone this wiki locally