tinyswords-tilemap — Claude Code skill: layered Tiny Swords tilemaps
Builds Tiny Swords tilemaps: 64x64 grid, height levels with shadows, animated water foam and five terrain colour variants.
no license 1 installs ★ 37 updated 2026-01-16
npx skills add chongdashu/phaserjs-tinyswords --skill tinyswords-tilemap -a claude-codeWhat tinyswords-tilemap does
The skill splits a map into six parts: water fill, foam, flat ground, shadows, raised ground and stairs. The agent stacks them from the bottom up and adds a pair of layers for every height level. Tiles are 64x64, shadow sprites are 128x128 and sit on the same grid, so their edges overlap the neighbouring cells.
A shadow belongs on the tile directly beneath the surface you can walk on. Push it flush against the cliff and the height reading collapses. Foam has its own catch: give every sprite a separate start frame, or the shoreline pulses in lockstep.
Five terrain colours ship as Tilemap_color1.png through Tilemap_color5.png. Any order works, though neighbouring levels read better with contrast between them. Stairs take one centre piece next to walkable ground and two pieces when cliffs flank them. Full file paths are listed in references/asset-paths.md.
What it helps with
- stack terrain into height layers with shadows
- offset foam frames so the shoreline stops pulsing
- choose a terrain colour per elevation
- match the stair piece to the surrounding cliff
- place shadows one tile below walkable ground
Example prompts for the agent
- Build an island map on
Tilemap_color2.pngwith a flat beach, two raised levels and a stair between them. - Check the layer order in my scene and point out shadows that sit off the tile below the platform.
- Give each foam sprite a different start frame so the waves stop moving together.
How to install tinyswords-tilemap
1Skills CLI (Vercel)
npx skills add chongdashu/phaserjs-tinyswords --skill tinyswords-tilemap -a claude-code2Manually: put the files in place
~/.claude/skills/tinyswords-tilemap/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/tinyswords-tilemap/
1Skills CLI (Vercel)
npx skills add chongdashu/phaserjs-tinyswords --skill tinyswords-tilemap -a codex2Manually: put the files in place
.agents/skills/tinyswords-tilemap/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add chongdashu/phaserjs-tinyswords --skill tinyswords-tilemap -a cursor2Manually: put the files in place
.cursor/skills/tinyswords-tilemap/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install chongdashu/phaserjs-tinyswords .claude/skills/tinyswords-tilemap2Manually: put the files in place
.github/skills/tinyswords-tilemap/SKILL.md1Skills CLI (Vercel)
npx skills add chongdashu/phaserjs-tinyswords --skill tinyswords-tilemap -a gemini-cli2Platform CLI
gemini skills install https://github.com/chongdashu/phaserjs-tinyswords --path .claude/skills/tinyswords-tilemapManually: put the files in place
.devin/skills/tinyswords-tilemap/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add chongdashu/phaserjs-tinyswords --skill tinyswords-tilemap -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about tinyswords-tilemap
How do I install tinyswords-tilemap in Claude Code?
Run npx skills add chongdashu/phaserjs-tinyswords --skill tinyswords-tilemap -a claude-code. The skill lands in ~/.claude/skills/tinyswords-tilemap/SKILL.md.
What does tinyswords-tilemap do?
It guides the agent through building a layered map on the Tiny Swords tileset: elevation levels with shadows, foam animation and stairs that link the levels.
Which terrain colours can I use?
Five files, Tilemap_color1.png through Tilemap_color5.png. There is no fixed order, but contrast between adjacent levels makes the map easier to read.