Idea · Jul 24, 2026
Tilemap Story Generator
Describe a 2D game world and get back a Tiled-compatible tilemap JSON plus AI-written narrative descriptions for each zone, ready to drop straight into Phaser or RPG Maker.
What it would do
Designing a game world by hand is slow; writing the narrative for each zone even slower. Tilemap Story Generator takes a plain-English world description (e.g., 'a medieval village at the edge of a haunted forest with a ruined keep to the north') and uses Claude to generate a plausible 2D map layout as a Tiled-compatible JSON file, complete with layer definitions, tile placement heuristics, and a named zone list. For each zone it also writes a short narrative blurb — the kind of text that populates a game design document or in-game sign. The output can be pasted directly into the Tiled editor or imported via Phaser's tilemapTiledJSON loader. A React + Vite interface shows a rendered ASCII preview of the generated map alongside the narrative cards, with a 'Regenerate zone' button per area. Great for rapid game-jam prototyping or for game development students who want to iterate on world layouts without manual tile-painting.
Key features
- Claude API generates Tiled-compatible tilemap JSON from a free-text world description
- Per-zone narrative cards with lore blurbs, mood keywords, and suggested encounter types
- ASCII preview of the map layout in-browser before export
- One-click re-generation of individual zones without discarding the rest of the world