I am experimenting with some random level generation and am using objects with basic movement instructions to help me place geometry in a scene.
It works quite well but isn't very performant because I end up placing thousands of 32x32 objects in the level. I thought it might be smarter to use the tilemap object.
This is what it currently looks like:
So I have these little objects that move around and when they collide with an invisible 32x32 object they change it's 'tile type' to 1 - and when a tile type is 1, that object spawns the geometry object. Instead of spawning the geometry object however I'd like to place a tile from a tilemap.
From what I can tell, I need to feed tilemap coordinates into the object, what I can't work out is how to reference the tilemap coordinate based on the position of a non-tilemap object.
I'm sure the way I'm doing this is the ramblings of a mad man and there are much better ways of doing this lol
ps - this is for a highly experimental mode for Brute