Spritecook Generate Tilesets

SpriteCook/skills/skills/spritecook-generate-tilesets

作者 SpriteCookfb6d4eeffa3f256e05e0f01ebead772ec581d9cd無授權條款收錄於 2026年10月9日更新於 2026年10月9日

Tileset generation guide for SpriteCook. Use with spritecook-workflow-essentials when generating autotile tilesets through SpriteCook MCP tools, choosing tile sizes, using reference/edit/style asset IDs, and saving generated tileset asset IDs.

僅含說明Design & Creative
AI 產生的概覽

指導透過 SpriteCook MCP 工具產生可直接用於遊戲的自動拼接圖磚集,涵蓋選項、參數與輸出處理。

功能
此技能是一份僅含說明的指南,用於透過 SpriteCook MCP 工具產生可直接用於遊戲的自動拼接圖磚集。內容說明 list_tileset_options 與 generate_tileset 兩個工具、其參數與預設值,以及俯視、平台跳躍與等距圖磚集的建議設定。也涵蓋提示詞寫法、參考/編輯/風格素材 ID、輪詢回傳的工作,以及儲存產生的素材 ID。
適用情境
適用於透過 SpriteCook 產生自動拼接圖磚集、選擇圖磚尺寸、組件集、視角或邊緣模式,或引用與編輯既有圖磚集素材的情況。此技能設計為搭配 spritecook-workflow-essentials 使用,以處理額度、清單與素材追蹤。
執行需求
需要將 SpriteCook MCP 伺服器連接到編輯器,可透過 npx spritecook-mcp setup 完成設定。產生圖磚集以及引用帳號所屬素材,需要連線至 SpriteCook 服務的網路存取與 SpriteCook 帳號。不含指令碼,僅為說明文件。

SpriteCook Generate Tilesets

Use this skill for SpriteCook tileset generation. Pair it with spritecook-workflow-essentials for credits, manifests, safe downloads, and asset tracking.

Requires: SpriteCook MCP server connected to your editor. Set up with npx spritecook-mcp setup or see spritecook.ai.

Tools

list_tileset_options

Call this when you need current supported perspectives, piece sets, tile sizes, elevations, edge modes, output dimensions, or defaults.

generate_tileset

Generate a game-ready tileset. The tool returns a job immediately by default; follow the returned poll.tool and poll.arguments until canonical assets entries are ready.

ParameterTypeDefaultDescription
promptstringrequiredTerrain/material request, e.g. mossy dungeon floor
style_modestringpixelpixel or detailed
perspectivestringtopdowntopdown, platformer, or isometric
piece_setstringregistry default15-piece, 17-piece-base, autotile-16-set, isometric-3x5-32, or isometric-2x4-64
tile_sizeintregistry defaultFinal tile size in pixels
elevationstringregistry defaultno-elevation or minimal where supported
edgesstringtransparenttransparent or two_surfaces; two_surfaces only works for 15-piece top-down
variationsint1Number of variations, 1-4
modelstringnullOptional model override. Omit to use SpriteCook's tileset default
colorsstring[]nullOptional hex color guidance, max 64
force_enabledboolfalseForce the output toward force_colors
force_colorsstring[]nullOptional forced hex palette, max 64
reference_asset_idstringnullExisting tileset asset to use as source/reference; tileset settings are inherited
edit_asset_idstringnullExisting tileset asset to edit; tileset settings are inherited
style_asset_idstringnullExisting asset to use as visual style guide only
wait_secondsint0Optional bounded wait from 0-90 seconds before returning the polling contract

reference_asset_id and edit_asset_id are mutually exclusive. The referenced asset must belong to the SpriteCook account.

Recommended Defaults

  • For top-down pixel autotiles, start with style_mode="pixel", perspective="topdown", piece_set="15-piece", tile_size=32, edges="transparent".
  • For top-down inner-corner base tiles, use piece_set="17-piece-base" and keep edges="transparent".
  • For side-view platformers, use perspective="platformer", piece_set="autotile-16-set", edges="transparent".
  • For detailed top-down tilesets, use style_mode="detailed" and call list_tileset_options before choosing size/elevation.
  • Use model only when the user explicitly wants to compare models.

Reference Workflow

  • When the user asks to use a saved tileset preset, use list_presets(mode="tileset", query=...) and get_preset_settings first, then map the returned tileset settings into generate_tileset.
  • If the user has a local image file path, use spritecook-upload-assets first, then pass the returned asset ID as reference_asset_id, edit_asset_id, or style_asset_id.
  • If the user supplies a small data URL or raw base64 value, call import_asset first, then pass the returned asset ID as reference_asset_id, edit_asset_id, or style_asset_id.
  • Use reference_asset_id when the existing tileset should guide a new generation while preserving its tile size/layout.
  • Use edit_asset_id when the user wants a direct change to an existing tileset.
  • Use style_asset_id as a style guide image when the image should affect only visual style, palette, proportions, and rendering, not tileset layout. The prompt does not need to repeat that the image is a style guide unless the user asks to emphasize a specific detail.
  • When referencing or editing a tileset, do not change style_mode, perspective, piece_set, tile_size, or elevation; SpriteCook inherits and locks those settings.

Prompting

  • Keep prompts short and material-focused: snowy stone path, muddy swamp grass, volcanic rock, clean wooden floor.
  • For single-surface tilesets, name one main material.
  • For two_surfaces, name both surfaces clearly: grass and water, volcanic rock and lava.
  • Avoid asking for labels, UI, characters, props, or scene composition inside the tileset.

Output Handling

  • Follow the returned polling contract with check_job_status until the job reaches a terminal state.
  • Save each returned asset_id in the project manifest or task notes.
  • Use sprite_url as the canonical downloadable tileset image.
  • Treat url, pixel_url, and raw_url as compatibility aliases.
  • If a successful response contains warning.code="asset_output_unavailable", execute the supplied warning.recovery tool call.

來源與署名

來源:SpriteCook/skills位於skills/spritecook-generate-tilesets提交fb6d4ee

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架