Webtile gets you from a blank screen to a painted tilemap in just a few steps. This guide walks through signing in, setting up a project, importing a tileset, painting tiles, and exporting your map as aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/johnlobo/webtile/llms.txt
Use this file to discover all available pages before exploring further.
.tmx file ready for your game engine.
Sign in
Navigate to your Webtile instance. You will land on the login page (
#/login) because the editor is behind a protected route.Choose one of the two sign-in methods:- Sign in with Google — click the Google button to open an OAuth popup. Approve the prompt and you will be redirected to the editor automatically.
- Email and password — enter your email address and password, then click Sign In. If you don’t have an account yet, use the registration form on the same page. Forgot your password? Follow the Forgot password link to
#/forgot-password.
Create a new project
Once you are signed in you will see the EmptyWorkspace view. Every map and sprite in Webtile belongs to a project, so the first thing to do is create one.
- Open the PROJECTS menu in the top navigation bar.
- Click New.
- Enter a project name in the dialog that appears and confirm.
Create a new map
- Open the MAPS menu.
- Click New.
- Fill in the map configuration fields:
| Field | What it controls |
|---|---|
| tileW | Width of a single tile in pixels |
| tileH | Height of a single tile in pixels |
| mapW | Map width in tiles (number of columns) |
| mapH | Map height in tiles (number of rows) |
| doubleWidth | When enabled, each tile is rendered at double its pixel width — useful for CPC Mode 0 aspect-ratio correction |
- Confirm to create the map. The editor switches to TilemapGrid view and the centre breadcrumb shows the map name and its total pixel dimensions.
Import a tileset PNG
The grid is empty until you load a tileset image. The right sidebar is where you manage tilesets.
- Locate the import tileset button in the right sidebar (the sidebar that appears on the right edge of the editor).
- Click it and select a PNG file from your machine. The PNG should contain your tiles arranged in a regular grid where each cell is
tileW × tileHpixels. - Once imported, the right sidebar displays the tileset as a clickable grid. Individual tiles can also be edited directly inside the sidebar’s per-tile pixel editor.
Select a tile and paint the grid
With a tileset loaded you can start painting:
- Select a tile — click any tile in the right sidebar tileset panel. A highlight indicates the active selection.
- Paint — click and drag on the main grid to stamp the selected tile onto cells. A hover preview shows where the tile will be placed before you click.
- Erase — right-click on any cell to erase it. Erased cells render as a checkerboard pattern indicating they are empty.
- Zoom — scroll the mouse wheel over the grid to zoom in and out, or use
Ctrl++/Ctrl+-.
image-rendering: pixelated so tiles stay crisp at every zoom level.Switch between tools
Webtile provides three main painting tools you can switch between at any time:
- Stamp (
S) — the default tool. Click or drag to place the selected tile. - Fill (
F) — flood-fills all contiguous cells that share the same tile as the clicked cell, replacing them with the selected tile. Uses a breadth-first search so it wraps correctly around irregular shapes. - Eraser (
E) — click or drag to clear cells back to empty.
Export the map as TMX
When you are happy with your map:
- Open the MAPS menu.
- Click Export TMX.
- Webtile generates a Tiled-compatible
.tmxXML file with the tileset image path embedded and the tile data encoded as CSV. Your browser downloads the file automatically.
.tmx file later via MAPS → Import TMX to continue editing.Webtile saves your map automatically — you do not need a save shortcut. Every time you paint a tile, a 2-second debounce timer starts. When it fires, the current state of the map (tiles, config, and tileset) is written to Firestore. The toolbar displays a save-status indicator so you can see when a save is in progress or has completed.
Keyboard Shortcuts
| Key | Action |
|---|---|
S | Activate Stamp tool |
F | Activate Fill tool |
E | Activate Eraser tool |
D | Toggle double-width rendering |
Ctrl+Z | Undo last tile operation |
Ctrl++ | Zoom in |
Ctrl+- | Zoom out |