physics-arcade

Configure Arcade Physics in Phaser 4 for movement, collisions, gravity, and world bounds.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Raphe-dev/phaser-cozy-mmo --skill physics-arcade
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: physics-arcade
Source: https://github.com/Raphe-dev/phaser-cozy-mmo/tree/main/skills/physics-arcade
Command: npx skills add https://github.com/Raphe-dev/phaser-cozy-mmo --skill physics-arcade

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Arcade Physics in Phaser 4 provides a robust, ready-to-use physics system for managing movement, collisions, gravity, and world bounds in 2D games, eliminating the need to implement physics from scratch.

Core Features & Use Cases

  • Enable both dynamic and static bodies, collisions and overlaps, and per-body properties like bounce, gravity, and drag.
  • Manage world bounds, groups, and collision categories to build complex interactions in platformers, shooters, and puzzles.
  • Use the provided World, Body, StaticBody APIs to craft responsive player movement, platform collisions, and triggers in various scenes.

Quick Start

Create a dynamic player sprite, a static platform, and enable Arcade Physics in the game config to observe gravity-driven movement and collisions.

Frequently Asked Questions about physics-arcade

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

FAQPage Schema
How do I configure gravity and collisions for a 2D game in Phaser?

To configure gravity and collisions in Phaser, you enable the Arcade Physics system in your game config and apply per-body properties like bounce and drag to dynamic and static sprites.

What is Arcade Physics in Phaser used for?

Arcade Physics in Phaser is a ready-to-use system for managing movement, gravity, and world bounds in 2D games, eliminating the need to implement custom physics logic from scratch.

How do I set up collision events between dynamic sprites and static platforms?

You set up collision events by creating dynamic and static bodies, then using the provided World, Body, and StaticBody APIs to manage interactions and overlaps between these game objects.

Can I use Arcade Physics to build platformers and shooters in Phaser 4?

Yes, you can use Arcade Physics in Phaser 4 to build dynamic gameplay for platformers, shooters, and puzzle games by managing world bounds, groups, and responsive player movement.

Does Arcade Physics support collision categories and world bounds?

Arcade Physics supports collision categories and world bounds, allowing you to manage complex interactions and restrict gameplay areas within your 2D game scenes.