Handles all the tilemap plumbing in Phaser 4, from loading Tiled JSON to setting up collision and rendering layers. You get two layer types: the standard TilemapLayer for flexibility and TilemapGPULayer for performance when you can live with a single tileset and orthographic maps only. The collision setup is straightforward with methods like setCollision, setCollisionByProperty, and setCollisionByExclusion. One thing to watch: GPU layers don't auto-update when you edit tiles, so you need to call generateLayerDataTexture() manually. The documentation covers the usual pain points like matching layer names from Tiled and linking tileset images correctly. Solid reference if you're building tile-based games and don't want to dig through source code.
npx -y skills add phaserjs/phaser --skill tilemaps --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
juliusbrussee/caveman
mattpocock/skills
shadcn/improve
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills