Skip to content
SkillModel-led2,241 tokens in use

phaser-arcade-physics

Phaser 4 Arcade Physics for your coding agent: bodies, velocity and gravity, colliders versus overlaps, groups and pooled bullets, with a runtime probe to confirm it works.

9,684 stars on the repository Apache License 2.0gamedev-skills/awesome-gamedev-agent-skills · skills/web-engines/phaser-arcade-physics
npx skills add gamedev-skills/awesome-gamedev-agent-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing phaser-arcade-physics costs

92tokens idle
2,241tokens in use
3,890tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter8/15
  • Structure23/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity92
  • Maintenance96
  • Community60
  • Maturity24
  • Momentum40

This skill teaches an agent to move and collide sprites with Phaser 4 Arcade Physics, the fast axis-aligned engine behind most browser platformers, shooters and top-down games. It covers creating bodies through the physics factory, moving them by velocity, registering colliders and overlaps once, and pooling projectiles.

It lists the problems behind most Arcade questions: a sprite that ignores physics, onFloor that is always false, platforms that get shoved around, fast bullets that pass through thin walls, and colliders added every frame.

What You Get

  • A workflow that starts with debug outlines and velocity lines so collision problems are visible
  • Patterns for enabling Arcade, top-down movement with even diagonals, a platformer ground check, collider versus overlap, and pooled projectiles
  • A runtime probe that reads body counts, onFloor and player position from the running scene
  • A gotcha list covering static bodies that moved, collision categories and masks, drag, and pools that stop handing out bullets
  • A reference on drag, bounce, hitboxes, collision categories, touching versus blocked and worldbounds events

Common Use Cases

  • Building a Phaser platformer or top-down movement controller
  • Fixing a sprite that ignores gravity or colliders because it has no body
  • Making pickups, hurtboxes and triggers with overlaps
  • Stopping fast bullets from tunnelling through thin walls

What Makes It Unique

The skill is specific to Arcade Physics in Phaser 4.2 and notes where Arcade stops: no rotation in collision, no joints, and Matter bodies never collide with Arcade bodies. It carries version-checked details such as the default step rate and collision category masks, and sends jump feel, scene setup and tunnelling theory to sibling skills.

Under The Hood

The agent loads the SKILL.md and reads the bodies and collision reference when it tunes hitboxes or categories. It edits your game’s JavaScript or TypeScript, runs the build or type check, and probes the running game by evaluating a snippet in the page, which can reuse the headless browser script from the Phaser core skill. It may take a screenshot with debug drawing on. It does not call outside services.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers