Godot Version
v4.2.2
Question
Hi. I’m making an isometric tile based game. I’ve seen many tutorials that how can I draw a tile on the TileMap by using the set_cell() function. But, in order to use set_cell(), we need an organized atlas system. The lots of tutorials suggest to drag the png file (which involves many tiles) and drop to the empty spot in the TileSet - Tile. Once I drop the png file into the empty spot, then godot automatically create tiles in the atlas, and allocate the source_id as well. Then I could easily use the set_cell() function. But, I want to do this process by the script code. How can I do this? So thank you for your advice.