actions-and-utilities

Batch-manage Phaser Game Objects with actions for grid layouts and group operations.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/arnaudruffin/dvx-phaser-game --skill actions-and-utilities-arnaudruffin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: actions-and-utilities
Source: https://github.com/arnaudruffin/dvx-phaser-game/tree/main/.agents/skills/actions-and-utilities
Command: npx skills add https://github.com/arnaudruffin/dvx-phaser-game --skill actions-and-utilities-arnaudruffin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Batch-manage Phaser Game Objects using actions and utilities to simplify grid layouts and group operations.

Core Features & Use Cases

  • Provides a collection of batch actions for Phaser.GameObjects, including GridAlign, PlaceOnCircle, Spread, IncX, and more, to streamline common layout and property-update tasks.
  • Enables consistent, repeatable object positioning and alignment across scenes, groups, and arrays of objects.
  • Supports chaining by returning the input array, allowing seamless integration into existing game logic.

Quick Start

Position twenty sprites in a 5x4 grid and apply a staggered alpha increase using Phaser.Actions.GridAlign and Phaser.Actions.Spread.

Frequently Asked Questions about actions-and-utilities

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

FAQPage Schema
How do I align multiple Phaser game objects in a grid layout?

Batch actions like GridAlign systematically position arrays of Phaser game objects or Group children into consistent rows and columns within Phaser 4 scenes, returning the input array for seamless chaining.

What is the best way to batch update properties across a group of Phaser objects?

Batch updating properties across Phaser objects is best handled by stateless utility functions like Spread and IncX, which apply staggered or uniform property changes to arrays and return them for immediate chaining.

Can I use Phaser Actions to arrange sprites on a circular path?

Yes, you can use Phaser Actions to arrange sprites on a circular path. The PlaceOnCircle action positions arrays of game objects evenly around a circle, simplifying radial layout tasks in your scenes.

Do I need to use getChildren() when applying batch operations to a Phaser Group?

Yes, when applying batch operations to a Phaser Group, you need to use getChildren() to pass the resulting array of game objects into stateless actions for layout, alignment, or property updates.

Does chaining Phaser Actions return the modified array for further processing?

Chaining Phaser Actions returns the modified input array for further processing. These one-shot, stateless operations mutate object properties and positions, then pass the array directly to the next action.