Godot Script that turns pixel sized images into tilemaps, inspired by this Tutorial from Brackeys.
This Script uses the Tilemap Node functionalities, so it gets the PNG data and run each pixel and inserts the tile index according to the color asigned.
- Draw your level on your favorite image editor
- Drag and drop your map on the
Map
Texture field
- On the
Colors
field you can increase the array value and set the color code according to your map.
- The script will link the tilemap index with the colors index