tinyswords-tilemap

Instructions for building tilemaps using the Tiny Swords asset pack. Supports 64x64 tile grids, elevation layers, water foam animations, shadow placement, and terrain color variants; suitable for creating game maps, level editors, or rendering terrain with the Tiny Swords tileset.

Last repository push
GitHub Stars
157
Forks
45
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "tinyswords-tilemap" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bcca418ce4b4219ce68535902c907c4144fd45dcf609cc1718d3c3e29bd51f94. Verify the upstream source and version against https://github.com/chongdashu/vibejam-starter-pack before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Instructions for building tilemaps using the Tiny Swords asset pack. Supports 64x64 tile grids, elevation layers, water foam animations, shadow placement, and terrain color variants; suitable for creating game maps, level editors, or rendering terrain with the Tiny Swords tileset.

0 Downloads

Introduction source: third_party · chongdashu · 0.0.1 Reference

SkillPi interpretation

Tasks
Create beautiful, layered tilemaps using the Tiny Swords asset pack with proper elevation, shadows, and animated water effects.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: tinyswords-tilemap
description: >
  Build tilemaps using Tiny Swords asset pack. Handles 64x64 tile grid, elevation layers,
  water foam animation, shadow positioning, and terrain color variants. Use when creating
  game maps, level editors, or rendering terrain with the Tiny Swords tileset.

Tiny Swords Tilemap

Create beautiful, layered tilemaps using the Tiny Swords asset pack with proper elevation, shadows, and animated water effects.

Philosophy: Elevation as Visual Storytelling

Tilemaps are not just grids of images—they are layered compositions that create depth and dimensionality. The Tiny Swords tileset uses a clever layering system where shadows and elevation work together to create the illusion of 3D terrain on a 2D plane.

Before placing tiles, ask:

  • What elevation levels does this area need?
  • Where will the player's eye be drawn?
  • How do shadows reinforce the sense of height?
  • Does the water feel alive with staggered foam animations?

Core principles:

  1. Layers create depth: Every elevation level adds Shadow + Elevated Ground layers. The stack builds visual height.
  2. Shadows anchor elevation: A shadow one tile below the walkable surface makes cliffs feel real.
  3. Animation breaks uniformity: Water foam sprites starting at different frames prevent the "wallpaper effect."
  4. Color distinguishes levels: Using different terrain colors for each elevation helps players parse the map instantly.

Tile Specifications

Element Size Notes
Standard tile 64x64 px Base grid unit for all terrain
Shadow sprite 128x128 px Placed on 64x64 grid, overlaps adjacent tiles
Animation frame 64x64 px Water foam frames in sprite sheets

The Six Terrain Components

  1. BG Color - Water background fill (bottommost layer)
  2. Water Foam - Animated waves where terrain meets water
  3. Flat Ground - Lowest walkable terrain adjacent to water
  4. Shadows - Depth sprites placed below elevated areas
  5. Elevated Ground - Raised terrain with cliff edges
  6. Stairs - Connectors between elevation levels

Layer Ordering (Bottom to Top)

┌─────────────────────────────────────────┐
│  Elevated Ground (Level N)              │  ← Repeat for each
│  Shadow (Level N)                       │    elevation level
├─────────────────────────────────────────┤
│  Elevated Ground (Level 2)              │
│  Shadow (Level 2)                       │
├─────────────────────────────────────────┤
│  Elevated Ground (Level 1)              │
│  Shadow (Level 1)                       │
├─────────────────────────────────────────┤
│  Flat Ground                            │
│  Water Foam (animated)                  │
│  BG Color (water background)            │
└─────────────────────────────────────────┘

Shadow Positioning

Shadows create the illusion of height. Position each shadow sprite one 64x64 tile below the walkable elevated ground it belongs to.

Grid visualization:
    ┌────┬────┬────┐
    │    │WALK│    │  ← Elevated walkable area
    ├────┼────┼────┤
    │    │SHAD│    │  ← Shadow positioned here (one tile down)
    └────┴────┴────┘

The 128x128 shadow sprite is placed on the 64x64 grid, allowing it to overlap and create soft depth transitions.

Water Foam Animation

Water foam is animated and requires staggered frame starts to look natural.

Implementation pattern:

// Each foam sprite instance starts at a random/offset frame
foamSprites.forEach((sprite, index) => {
  sprite.animationOffset = index % totalFrames;
  // OR
  sprite.animationOffset = Math.floor(Math.random() * totalFrames);
});

This prevents the synchronized "breathing" effect where all water animates in lockstep.

Stair Configurations

Stairs connect elevation levels with two configurations based on adjacent terrain:

Adjacent Terrain Stair Pieces Description
Walkable ground Single center piece Minimal connection
Cliff edges Two pieces (top + bottom) Full stair with cliff transitions

Terrain Color Variants

Five terrain colors are available (Tilemap_color1.png through Tilemap_color5.png). Use different colors for different elevation levels to enhance visual distinction:

Level 3: color5 (purple/dark)
Level 2: color3 (brown)
Level 1: color1 (green)
Flat:    color2 (sand/beach)

Mix colors intentionally—there's no required order, but contrast between adjacent levels improves readability.

Anti-Patterns to Avoid

Flat layering: Placing all terrain on a single layer

  • Why bad: Loses depth, looks like a flat texture
  • Better: Use the full layer stack with shadows

Synchronized water animation: All foam sprites on the same frame

  • Why bad: Creates artificial "pulsing" effect
  • Better: Stagger animation start frames

Shadow misalignment: Shadows directly under or beside elevated ground

  • Why bad: Breaks the height illusion
  • Better: Shadow exactly one tile below walkable surface

Monotone elevation: Same terrain color for all levels

  • Why bad: Hard to visually parse map depth
  • Better: Distinct colors per elevation level

Ignoring cliff types: Using wrong cliff edge for context

  • Why bad: Visual discontinuity at terrain boundaries
  • Better: Use water-facing cliffs near water, terrain-facing cliffs near lower ground

Variation Guidance

Maps should vary based on context:

  • Island maps: More water foam, fewer elevation levels
  • Mountain maps: Multiple elevation levels, less water
  • Mixed terrain: Blend all elements with color variety

Avoid converging on:

  • Always using color1 for everything
  • Exactly 2 elevation levels every time
  • Identical stair placement patterns
  • Uniform shadow density

Asset Paths Reference

See references/asset-paths.md for complete file paths in this project.

Remember

The Tiny Swords tileset is designed for layered depth. Every shadow, every foam animation offset, every color choice contributes to a map that feels alive and dimensional. Trust the layer system—it's engineered to create beautiful results when used correctly.

Version history

  1. v1.2.1 GitHub ↗
    Original release notes

    ## [1.2.1] - 2026-04-12 ### Added - CHANGELOG.md - Phaser 4 game dev agent skill (`phaser4-gamedev`) — WebGL-first renderer, filters, lighting, shaders, SpriteGPULayer, TilemapGPULayer, and Phaser 3 → 4 migration guidance - "How I'm Vibe Coding A Game For the Vibe Jam" tutorial video

  2. v1.1.0 GitHub ↗
    Original release notes

    Updated starter pack with .agents layout, improved README/START-HERE guidance, and refreshed release zip.

  3. v1.0.0 GitHub ↗
    Original release notes

    Free Vibe Jam starter pack — battle-tested ThreeJS and Phaser agent skills, starter projects, and prompts.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供完整的瓦片地图构建方法论,涵盖高程层、阴影定位、水面泡沫动画等专业功能
  • 适用于游戏地图创建、关卡编辑器等实际开发场景,具有明确实用价值
Trigger Precision95/100

Highlights

  • description 明确描述了使用 Tiny Swords 素材包构建瓦片地图的功能
  • 触发词精准完整,边界清晰
Structure and Standards90/100

Highlights

  • 文档结构清晰,包含 Philosophy、Tile Specifications、Terrain Components 等多个章节
  • 逻辑完整,有详细的示例和说明,frontmatter 完整
Execution Reliability88/100

Highlights

  • 提供了详细的实现指导,包括图层顺序、阴影定位规则、动画实现模式等
  • 工具来源明确,参数正确,覆盖了主要的使用场景和常见错误
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.