tilemap-palette-create
Creates a Tile Palette asset with a rectangular, hexagonal, or isometric Grid layout. Use when the user wants to organize tiles for 2D level design.
Install
npx skills add https://github.com/unity-technologies/skills --skill tilemap-palette-createSKILL.md
Tilemap Palette Creation
Workflow
Step 1: Parameter Gathering
WAIT for the user to specify the following parameters if not already provided:
- Palette Name: The name of the asset.
- Grid Type: Rectangular, Hexagonal, or Isometric.
- Cell Size: Optional (defaults based on Grid Type).
- Sort Axis: Required for Isometric palettes.
Step 2: Asset Creation
Utilise UnityEditor.Tilemaps.GridPaletteUtility.CreateNewPalette to create the Tile Palette asset.
Branching Logic (Grid Types)
Path A: Rectangular
- Use Automatic cell sizing. Use cell size:
(1, 1, 0)as a default.
Path B: Hexagonal
- Use cell size:
(0.8659766, 1, 1).
Path C: Isometric
- Use cell size:
(1, 0.5, 1). - Use a Custom Sort Axis with value
(0, 0, 1).
Path D: Isometric Z As Y
- Use cell size:
(1, 0.5, 1). - Use a Custom Sort Axis with value
(0, 0, 1).
Post-Creation
Ensure that there is a GridPalette as a sub-asset of the Tile Palette asset.
References
Code Template: "scripts/CreatePaletteTemplate.cs"
Related skills
godot-gdscript-patternswshobson16KMaster Godot 4 GDScript patterns including signals, scenes, state machines, and optimization. Use when building Godot games, implementing game systems, or learning GDScript best practices.game-enginegithub13KExpert skill for building web-based game engines and games using HTML5, Canvas, WebGL, and JavaScript. Use when asked to create games, build game engines, implement game physics, handle collision detection, set up game loops, manage sprites, add game controls, or work with 2D/3D rendering. Covers techniques for platformers, breakout-style games, maze games, tilemaps, audio, multiplayer via WebRTC, and publishing games.unity-ecs-patternswshobson11KMaster Unity ECS (Entity Component System) with DOTS, Jobs, and Burst for high-performance game development. Use when building data-oriented games, optimizing performance, or working with large entity counts.msw-defaultplayermsw-git7.9KMSW DefaultPlayer (character) management. Use the msw-general ModelBuilder to inspect/patch DefaultPlayer.model and Player.model, add/remove components, configure movement speed / jump force / HP / camera, and per-map-mode movement components. Use for DefaultPlayer model, player components, movement speed, jump force, HP, camera, physics. Keywords: player, DefaultPlayer, speed, jump, HP, camera, gravity, revive, respawn, character.