TileMap Brush

An asset by vitmush
The page banner background of a mountain and forest
TileMap Brush hero image

Quick Information

0 ratings
TileMap Brush icon image
vitmush
TileMap Brush

Provides editor's brush drawing functionality over TileMapHow to use it:0. Install, and activate plugin1. Add new child node to scene tree - called TileMapBrush2. Configure 'Script Variables' in inspector: * Draw/Erase Size (1 is default, and equals to 1 tile) * Draw/Erase Brush Type3. Now, in editor - press 'Left Mouse Button' to draw, 'Right Mouse Button' to eraseKnown issues:1. There's no UndoRedo for what you draw with brush - it supposed to be original TileMap workflow; but seems - it saves only 9 rounding tiles for undo, rest cannot be undone - use manual erase instead(I hope, solution will be found in future for that)2. Some drawing points may be missed - due to mouse movement can be faster, than _physics_process' delta; TileMap still draw single tiles (can be fixed with line drawing between last and new mouse position; probably other solution can be found)3. Some optimization can be done on get_cell_info() - refresh once per mouse holdAdditional info:1. Some optimization can be enabled in TileMapBrushPlugin, by OPTIMIZE field (you may not like to use it due to how it optimizes)(not sure it actually adds performance)

Supported Engine Version
3.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
5 years ago
Git URL
Issue URL

godot-addon-TileMapBrush

Godot's addon - provides editor's brush drawing functionality over TileMap

Provides editor's brush drawing functionality over TileMap

How to use it:
0. Install, and activate plugin
1. Add new child node to scene tree - called TileMapBrush
2. Configure 'Script Variables' in inspector:
* Draw/Erase Size (1 is default, and equals to 1 tile)
* Draw/Erase Brush Type
3. Now, in editor - press 'Left Mouse Button' to draw, 'Right Mouse Button' to erase

Known issues:
1. There's no UndoRedo for what you draw with brush - it supposed to be original TileMap workflow; but seems - it saves only 9 rounding tiles for undo, rest cannot be undone - use manual erase instead(I hope, solution will be found in future for that)
2. Some drawing points may be missed - due to mouse movement can be faster, than _physics_process' delta; TileMap still draw single tiles (can be fixed with line drawing between last and new mouse position; probably other solution can be found)
3. Some optimization can be done on get_cell_info() - refresh once per mouse hold

Additional info:
1. Some optimization can be enabled in TileMapBrushPlugin, by OPTIMIZE field
(you may not like to use it due to how it optimizes)
(not sure it actually adds performance)

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
TileMap Brush icon image
vitmush
TileMap Brush

Provides editor's brush drawing functionality over TileMapHow to use it:0. Install, and activate plugin1. Add new child node to scene tree - called TileMapBrush2. Configure 'Script Variables' in inspector: * Draw/Erase Size (1 is default, and equals to 1 tile) * Draw/Erase Brush Type3. Now, in editor - press 'Left Mouse Button' to draw, 'Right Mouse Button' to eraseKnown issues:1. There's no UndoRedo for what you draw with brush - it supposed to be original TileMap workflow; but seems - it saves only 9 rounding tiles for undo, rest cannot be undone - use manual erase instead(I hope, solution will be found in future for that)2. Some drawing points may be missed - due to mouse movement can be faster, than _physics_process' delta; TileMap still draw single tiles (can be fixed with line drawing between last and new mouse position; probably other solution can be found)3. Some optimization can be done on get_cell_info() - refresh once per mouse holdAdditional info:1. Some optimization can be enabled in TileMapBrushPlugin, by OPTIMIZE field (you may not like to use it due to how it optimizes)(not sure it actually adds performance)

Supported Engine Version
3.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
5 years ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers