Write an Aseprite plugin with Claude to automate isometric world building
To avoid manually drawing hundreds of grass map tiles, a game artist had Claude write a Lua script to develop an Aseprite plugin. The plugin supports drawing hills, trees, and other terrain by dragging like SimCity, and implements localized real-time redrawing.
Reddit r/vibecoding/u/antahonist
ClaudeAsepriteGodot
Added 2026-10-31 · originally published 2026-10-29
Steps
- 1Design plugin features: Define a SimCity-like brush tool to implement (such as hills, mountains, roads, ponds, trees, etc.).
- 2Have Claude write Lua code: Ask Claude to write the Lua script required for the Aseprite plugin to implement terrain drawing logic.
- 3Test and iterate: Perform rigorous testing on the plugin, correcting the code by pointing out specific pixel and visual errors (such as resolving coordinate system confusion, tree 3D generation vs. pixel drawing, and Godot terrain solver concave cliff breakage).
- 4Optimize performance: Ensure the plugin only redraws modified parts when handling large maps to maintain real-time responsiveness.
Copy-ready prompt
I am a game artist developing an Aseprite plugin to automate isometric world building. Please help me write a Lua script to implement a SimCity-like drag-to-paint brush function (including [enter the type of terrain you want to draw, e.g., mountains, trees, roads]). Make sure the code supports localized real-time redrawing, and be careful to avoid [enter known errors, e.g., coordinate system confusion or edge misalignment] when handling [enter specific technical difficulties, e.g., tree generation or coordinate alignment].
#AI Programming#Game Development#Aseprite#Claude
Related use cases
Summarized by AI from the original source - refer to the original post for details. Copyright belongs to the original author.