physics-arcade

Set up Arcade Physics and manage collisions in Phaser 4 games.

3|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/Autinhorse/levelcraft --skill physics-arcade-autinhorse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: physics-arcade
Source: https://github.com/Autinhorse/levelcraft/tree/main/games/docs/phaser-skills/physics-arcade
Command: npx skills add https://github.com/Autinhorse/levelcraft --skill physics-arcade-autinhorse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires phaser, and includes scripts (resource) and references (resource) components.

What problem does it solve?

It streamlines the setup and management of Arcade Physics in Phaser 4, simplifying physics configuration for 2D game development.

Core Features & Use Cases

  • Physics setup: Enable physics in the game configuration and create physics-enabled sprites, images, and groups for dynamic and static bodies.
  • Physics interactions: Handle collision detection, overlaps, and collision categories to create complex interactions like platforms, enemies, and collectibles.
  • Performance optimization: Configure world bounds, debug rendering, and spatial partitioning to ensure optimal performance in physics simulations.
  • Use Case: A developer builds a platformer game where characters interact with static platforms, respond to forces, and collide with enemies using precise physics behaviors.

Quick Start

Enable Arcade Physics in your Phaser game config and set up collision between a player and platforms to create a basic physics-driven game scene.

Frequently Asked Questions about physics-arcade

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

FAQPage Schema
How do I set up collision detection in a Phaser 2d game?

To set up collision detection in a Phaser 2d game, enable Arcade Physics in your game configuration and configure interactions between dynamic and static bodies. This manages overlaps and collision categories for platforms, enemies, and collectibles.

What is Arcade Physics in Phaser used for?

Arcade Physics in Phaser is used for physics simulation in 2d games, providing core implementations for object movement, world bounds, and interaction management. It is highly suitable for building platformers, arcade-style shooters, and physics-based puzzles.

How do I optimize physics simulation performance for multiple sprites in Phaser?

Optimize physics simulation performance in Phaser by configuring world bounds and utilizing spatial partitioning. You can also enable debug rendering to monitor physics behaviors and ensure optimal execution across multiple dynamic sprites.

Can I use Arcade Physics for both static and dynamic bodies in Phaser 4?

Yes, you can use Arcade Physics for both static and dynamic bodies in Phaser 4. It ensures compatibility for creating physics-enabled sprites, images, and groups, allowing precise physics behaviors for characters and static platforms.

Does this physics simulation implementation support collision categories?

Yes, this physics simulation implementation supports collision categories. It handles complex interactions by managing collision categories and overlaps, allowing developers to define specific interaction rules between enemies, collectibles, and platforms.