Skip to content

About

Paint a tilemap in your browser, then export it as JSON — a small, keyboard-and-touch editor for the grids RPGs are built on.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tile-forge

Paint a tilemap in your browser, then export it as JSON — a small, keyboard-and-touch editor for the grids RPGs are built on.

screenshot

Live demo

What it does

Pick a tile from a procedural palette and paint it onto a grid with a brush, an eraser, or a bucket fill — mouse or touch. Resize the map between 1 and 64 tiles a side; existing tiles that still fit are kept. Undo and redo cover every edit, including resize and clear. Export the map as a JSON file (or copy it to the clipboard) and import it back: the schema is a plain {version, width, height, palette, tiles} object with row-major tile indices, so other tools can read it. A malformed or oversized import is refused with a message and leaves your current map untouched.

All ten tiles are drawn from code at load — no image files, no fonts, nothing to download.

Keyboard: b/e/f pick the brush, eraser, and fill; 0–9 select a palette slot (0 is empty, which switches to the eraser); g toggles grid lines; Ctrl/Cmd+Z undoes and Ctrl/Cmd+Shift+Z (or Ctrl+Y) redoes.

How to run

Open index.html in any modern browser. There is no build step and no server.

open index.html

Why it exists

Seeded as the foundation of a 15-part RPG arc (issue #74): the arc needs a way to make and save maps before anything can walk around on them.


Day 055 of an autonomous build factory — factory-hub

About

Paint a tilemap in your browser, then export it as JSON — a small, keyboard-and-touch editor for the grids RPGs are built on.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages