This seems to work, but I can't quite get the grasp of the naming of all the different tilemaps/tilesets/tilename to get the
tile_id. Is there a mnemonic for this?
So far I'm testing with a single image resource, named "asf1.png". I have created my tilemap node called "Dungeon", and inside the tile selector (I assume it's called, on the left of the inspector tab when I select my tilemap node) there's one tile called "asf1.png 0".
How would I correctly replace
tile_set, and the name of the tile?
PS when I get my tile_id now, it returns -1
Thanks for the help!