
phaser-arcade-physics
Use Phaser 4 Arcade Physics: enable the world, give sprites bodies
by gamedev-skillsFree
Description
Phaser Arcade Physics is an agent skill for moving and colliding sprites with the Arcade physics engine in Phaser 4. It covers enabling the physics world, giving sprites bodies, setting velocity, acceleration and gravity, and resolving collisions with colliders, overlaps, groups and tilemap layers. It also covers bullet pools and the bounce and world-bound behaviour that platformers and shooters need. Arcade physics uses axis-aligned rectangles and circles, with no rotation during collision and no joints. The skill says that is enough for most platformers, shooters and top-down games, and that it is fast. It notes that games needing hinges, springs, slopes or rotated polygons should use the separate Matter engine, whose bodies do not collide with Arcade bodies. New projects target Phaser 4.2, and the skill asks the agent to check the installed major version before editing an existing project. It does not cover scene structure and loading, jump-feel rules such as coyote time, or fixed timestep and tunnelling in general, which other skills in the collection address. It is part of the awesome-gamedev-agent-skills collection by gamedev-skills and is for developers building 2D platformers and arcade games in Phaser.…
Highlights
- Arcade bodies with velocity, gravity and bounce
- Colliders and overlaps across sprites, groups and tilemaps
- Bullet pools and world bounds
- Checks the installed Phaser major version first
Ratings & Reviews
No ratings yet
Be the first to rate phaser-arcade-physics.
People also visit
phaser-arcade-physics FAQ
What is the Phaser Arcade Physics skill?
An agent skill for movement and collision in Phaser 4 using the Arcade physics engine.
How do I install it?
Run npx skills add https://github.com/gamedev-skills/awesome-gamedev-agent-skills --skill phaser-arcade-physics in your project.
What are the limits of Arcade physics?
Collisions use axis-aligned rectangles and circles with no rotation, and there are no joints. Hinges, springs, slopes and rotated polygons need the Matter engine.
Which Phaser version does it target?
New projects target Phaser 4.2, and the skill checks the installed major version before editing an existing project.
Which security audits has it passed?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best phaser-arcade-physics alternatives?
Popular alternatives to phaser-arcade-physics include godot-physics, phaser-core and physics-tuning. See all phaser-arcade-physics alternatives










