Skip to content

jxavierjorge/godot-png-to-tilemap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PNG to TileMap - Godot Script

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.


How to Use It:

  1. Draw your level on your favorite image editor

Step1

  1. Drag and drop your map on the Map Texture field

Step2

  1. On the Colors field you can increase the array value and set the color code according to your map.

Step3

  1. The script will link the tilemap index with the colors index

Result

Final Result

RawBiggerMap

GenBiggerMap

Releases

No releases published

Packages

No packages published