Help with pushing objects?

I am trying to learn phaser 3 and want to creates boxes that can be pushed from a Tiled map. I have tried all sorts of concepts with Tile Layers, Object Layers, createFromObjects, createDynamicLayer and have confused the heck out of myself.

How you approach a player pushing blocks across a map with arcade physics? I assume I have to add physics to the tile or create a sprite from the tile?

1 Like

Make it an object in Tiled and use createFromObjects . Apply physics, possible collision with tilelayer and gravity to it. To make the box stop after being pushed you can add some drag. If also your player is moving with physics, then basic pushing is automatic.