For various reasons, I’m currently moving away from using tilemaps, to building my levels at runtime using lua files exported from Tiled.
I’m stuck on the collision though – I’d been using the tilemap collision shape, but obviously that won’t work anymore if I’m not using tilemaps.
My current setup is I have a simple “Tile” collection just has a sprite on it. I spawn that & set the tileset & animation. (there may very well be a better way, but this is what I’ve got so far). What I’d like to do is set the collision for these tiles based on the tileset, but I can’t find a way to do that without using a tilemap.