animations

Create and control Phaser 4 sprite animations with spritesheets and atlases.

3|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/Autinhorse/levelcraft --skill animations-autinhorse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: animations
Source: https://github.com/Autinhorse/levelcraft/tree/main/games/docs/phaser-skills/animations
Command: npx skills add https://github.com/Autinhorse/levelcraft --skill animations-autinhorse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of building, managing, and controlling sprite animations in Phaser 4, enabling developers to animate characters and objects efficiently.

Core Features & Use Cases

  • Animation Creation: Define animations from spritesheets and atlases with various frame configurations.
  • Playback Control: Play, pause, stop, reverse, and chain animations on sprites for dynamic visual effects.
  • Event Handling: Respond to animation events like start, complete, update, repeat, and stop to synchronize game logic.
  • Use Case: Animate a character running, attacking, and idling flowlessly, with precise timing and event triggers.

Quick Start

Use the Phaser 4 sprite animation skill to load a spritesheet, define an animation, and play it on a sprite.

Frequently Asked Questions about animations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create sprite animations from spritesheets and atlases in Phaser 4?

To create sprite animations in Phaser 4, you define them from loaded spritesheets and atlases by configuring custom frames and timing options, enabling dynamic character movements and interactive game visuals.

Can I control sprite animation playback like play, pause, and reverse in Phaser?

Yes, Phaser animation control allows you to play, pause, stop, reverse, and chain animations on sprites. This provides precise playback manipulation for dynamic visual effects during game development.

How do I trigger game logic events when a sprite animation completes or repeats?

You can synchronize game logic by responding to Phaser animation events such as start, complete, update, repeat, and stop. These events let you trigger actions precisely when specific animation frames or cycles occur.

What is the best way to animate a character running and attacking seamlessly in Phaser?

The best way to animate character movements in Phaser is by chaining animations and using event triggers. Defining precise timing for running, attacking, and idling states ensures flawless transitions and interactive responses.

Do I need preloaded assets to use spritesheet animations with this Phaser framework?

Yes, full functionality requires Phaser's animation framework and related assets. You must load your spritesheets or atlases into the scene before defining and playing custom frame animations on your sprites.

Can I set custom frame timing for individual sprites in a Phaser atlas animation?

Yes, Phaser supports spritesheet and atlas animations with custom frames and timing options. You can specify precise timing configurations for individual frames to achieve dynamic sprite behavior and exact visual pacing.