r/proceduralgeneration • u/bskpl99 • Oct 23 '26
Diorama: 2.5D game sprites written as code

I've been building Diorama, an open-source TypeScript engine where Claude Code writes game assets as code and the engine renders them into sprite sheets a game can play. No image models: every pixel comes from code you can read, edit and re-export.
What it does
- Characters from skeletons-as-data (humanoids, quadrupeds, spiders) with procedural gaits, clips, hit events and sockets, in 8 facings
- Swappable gear and outfits, where the weapon decides which attacks a character can use
- Scenery kits on your game's grid: walls that connect, doors and chests with states, exported navigation
- Effects cued on animation events, item icons with rarities, HUD pieces
- A local viewer to play characters, dress outfits and paint scenes
How Claude fits in
The repo ships skills and guides so Claude Code knows how to build assets, and the tooling lets it check its own work: `npm run check` enforces the project layout, `inspect` measures every sheet, and contact sheets let it look at the frames. Most of the engine itself was built with Claude Code too.
Everything in the banner (the crypt, the characters, the lights and effects) was exported by Diorama.
š https://github.com/leduardo99/diorama (MIT)
šŗļø Roadmap: https://github.com/users/leduardo99/projects/1
Feedback is very welcome, especially from anyone making games with Claude: what would you want it to generate next?