Hello! Could you help me?
I'm trying to figure out how to create a sprite over a specific tile (like tile 0), but randomly. Like, there are many tiles 0 on the tilemap.
Another criteria: it can't be occupied by another solid sprite.
To get clearer, let me tell you what it would represent in the game:
The player cuts a tree -> after X time another tree has to grow in somewhere -> but not anywhere, it has to be over grass or mud and not over other trees,
That's all. Thanks for your time.