When programatically adding tilemap tiles to a scene (using set_cell()), is there an easy way to avoid needing to specify 'magic' numbers as the atlas coordinates?
I thought about defining constants for the coordinates I use, but then I'd end up with dozens of them, and I wonder if that's even helping or not...
Has anyone else done this? What was your solution?