Phaser 3 · 4 / 6

Dashboard
Creative coding · Phaser 3

Arcade Physics — motion that feels physical

Enable physics: { default: 'arcade' } in your game config, then promote drawable objects with this.physics.add.existing(sprite). Tune bounce, per-body gravity, and world bounds for playful toy simulations without writing collision maths by hand.

Tap to spawn — circles collide with screen edges.

this.physics.add.existing(ball);
ball.body.setCircle(radius);
ball.body.setCollideWorldBounds(true);
ball.body.setBounce(0.85);
ball.body.setGravity(0, 420);
Matter.js?

Phaser also ships a Matter plugin for richer rigid-body stacks — Arcade is the gentle on-ramp for workshops.

Next

Motion design with tweens — easing graphs without physics bodies.