rust-tilemap-camera-rendering
Installation
SKILL.md
Rust Tilemap Camera Rendering
Use this skill to build grid-based maps and camera-relative rendering in Rust. Keep map storage, coordinate conversion, movement validation, and draw order explicit before adding richer art or themes.
Core Workflow
- Define map dimensions, tile types, and coordinate/index conversion.
- Add bounds and walkability checks before player or entity movement.
- Keep map generation behind a builder or constructor boundary.
- Render visible tiles through a camera-relative coordinate transform.
- Draw layers in deterministic order: base terrain, entities, effects, UI.
- Add themes only after the map and camera rules are stable.
Read Next
Read references/tilemap-camera-patterns.md for data shapes, render order,
camera math, and review checks.