animations
A reference skill published in the Phaser game framework's own repository for creating and controlling sprite animations in Phaser 4.
スキルの内容
A reference skill published in the Phaser game framework's own repository for creating and controlling sprite animations in Phaser 4. It separates the game-wide animation manager from each sprite's animation state and covers building animations from spritesheets, texture atlases and Aseprite files, playback with reverse, delays, chaining and staggered starts across a group, mixes between pairs of animations, pausing, stopping on a frame and time scaling. Configuration tables list the animation settings and per-play overrides, and an events section gives the order of start, update, repeat and complete events. A list of pitfalls explains, for example, that global animations persist across scenes and that endlessly repeating animations never fire complete.
できること
- Create animations from spritesheets and atlases
- Chain and stagger sprite animations
- Listen for animation events
- Import animations from Aseprite
概要
- 公開元
- Phaser
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/phaserjs/phaser · 根拠となる項目:スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/phaserjs/phaser · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(animations)github.com/phaserjs/phaser · 根拠となる項目:スクリプトを含む2026年11月10日