tinyswords-tilemap
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "tinyswords-tilemap":https://skillpi.com/zh/skills/deepskill-bcca418ce4b4219ce68535902c907c4144fd45dcf609cc1718d3c3e29bd51f94。安装前核对上游来源和版本:https://github.com/chongdashu/vibejam-starter-pack。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
用于使用 Tiny Swords 素材包构建瓦片地图的说明。支持 64x64 瓦片网格、高程层、水面泡沫动画、阴影定位与地形颜色变体,适合用于创建游戏地图、关卡编辑器或使用 Tiny Swords 瓦片集渲染地形的场景。
介绍来源: third_party · chongdashu · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
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:
- Layers create depth: Every elevation level adds Shadow + Elevated Ground layers. The stack builds visual height.
- Shadows anchor elevation: A shadow one tile below the walkable surface makes cliffs feel real.
- Animation breaks uniformity: Water foam sprites starting at different frames prevent the "wallpaper effect."
- 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
- BG Color - Water background fill (bottommost layer)
- Water Foam - Animated waves where terrain meets water
- Flat Ground - Lowest walkable terrain adjacent to water
- Shadows - Depth sprites placed below elevated areas
- Elevated Ground - Raised terrain with cliff edges
- 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.
版本历史
-
v1.2.1
GitHub ↗
原版更新说明
## [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
-
v1.1.0
GitHub ↗
原版更新说明
Updated starter pack with .agents layout, improved README/START-HERE guidance, and refreshed release zip.
-
v1.0.0
GitHub ↗
原版更新说明
Free Vibe Jam starter pack — battle-tested ThreeJS and Phaser agent skills, starter projects, and prompts.
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供完整的瓦片地图构建方法论,涵盖高程层、阴影定位、水面泡沫动画等专业功能
- 适用于游戏地图创建、关卡编辑器等实际开发场景,具有明确实用价值
亮点
- description 明确描述了使用 Tiny Swords 素材包构建瓦片地图的功能
- 触发词精准完整,边界清晰
亮点
- 文档结构清晰,包含 Philosophy、Tile Specifications、Terrain Components 等多个章节
- 逻辑完整,有详细的示例和说明,frontmatter 完整
亮点
- 提供了详细的实现指导,包括图层顺序、阴影定位规则、动画实现模式等
- 工具来源明确,参数正确,覆盖了主要的使用场景和常见错误
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。