actions-and-utilities
A skill published in the Phaser repository on the batch actions and helper utilities of Phaser 4.
スキルの内容
A skill published in the Phaser repository on the batch actions and helper utilities of Phaser 4. Actions take an array of game objects, such as a group's children, set or increment a property on each with an optional step per item, and return the same array; they cover placing objects on circles, lines and shapes, grid alignment and fitting to a region, spreading a value across items, rotating around a point, shuffling and playing animations, plus newer bloom, shine and mask effects. It also covers the array, object and string utilities, such as stable sorting, deep copies, dot-path lookups and padding. Gotchas include geometry actions needing Phaser geometry objects and shuffle changing arrays in place.
できること
- Set properties on groups of game objects
- Align game objects in a grid
- Place objects along shapes
- Use Phaser's array and object helpers
概要
- 公開元
- Phaser
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/phaserjs/phaser · 根拠となる項目:スクリプトを含む2026年11月10日
- GitHubリポジトリgithub.com/phaserjs/phaser · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(actions-and-utilities)github.com/phaserjs/phaser · 根拠となる項目:スクリプトを含む2026年11月10日