No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-09-07 13:30:49 -05:00
addons/tilemap_templates rename plugin 2025-09-07 13:29:06 -05:00
assets remove context menu, add save image btn 2025-09-07 13:20:43 -05:00
.gitattributes proof of concept 2024-07-18 23:57:09 -05:00
.gitignore Initial commit 2024-07-18 23:54:36 -05:00
LICENSE Initial commit 2024-07-18 23:54:36 -05:00
project.godot rename plugin 2025-09-07 13:29:06 -05:00
README.md Update README.md 2025-09-07 13:30:49 -05:00
terrain-tilemap-template.png moar 2025-05-16 21:58:34 -05:00
terrain-tilemap-template.png.import moar 2025-05-16 21:58:34 -05:00
terrain-tilemap.aseprite new assets and code updates 2024-07-22 20:26:50 -05:00
test.tscn remove context menu, add save image btn 2025-09-07 13:20:43 -05:00

Automated-Terrain-Bitmasks

An extremely rough proof of concept for generating terrain bitmasks autmatically from a template png image.

Roadmap

Bugs:

  • Make sure the tilemap template ui listens for updates to the tilemap. specifically source changes. update lists / uis so it's not stale
  • use godot file picker instead of native

Features:

  • add tool to save the current bitmaps to an image
  • add ui to remap colors in the image to specific terrains from the tilemap
  • have the tool auto select a template image based on file paths. if a source is res://source.png and a res://source.template.png exists, preselect it for the ui, and default to that for saving templates
  • add default templates for simple 2x2 and 3x3 with ui to support

Usage

The terrain template is currently loaded from addons/tilemap_templates/terrain-tilemap-template.png

Select a TileMapLayer in the node editor and choose "Terrain Templates" in the bottom menu.

Pick the source you want to apply the template to and then click apply.

image