I've been researching the following thing for a few days, but with absolutely no success. I don't even know if it's possible, but I am hoping somebody might have an idea on how to approach this.
I have a 64x64 TileMap with my (2D platformer) tiles for designing the map; I want a 2nd TileMap containing only decorative rocks to place inside the ground, 64x64 as well. What I aim for is to place all rocks around the map and in the 2nd TileMap's script to manipulate the texture of EACH grid cell containing a rock to modify its offset and rotation in order to simulate a "random" placement.
I know I can grab all used cells with getusedcells() but this returns an Array of Vector2 with the X and Y of each cell in the grid. Is it possible to access the texture in every cell and individually modify them? I don't want to modify the texture inside the TileSet because it will apply that one change to all tiles using that one texture.
I don't know if this is doable, whether in Godot 3.3 (which I am using), Godot 4 or even at all. Thanks for your time and looking forward to any possible suggestions!