> thank you very much it worked you are amazing, now tell me how do i resize the tile in real time after being selected just like in this image?
I want the player to be able to resize some tiles to make it easier, and prevent the CPU from getting overloaded with hundreds of mini tiles on the screen
Np glad it was helpful)
I suppose you are referring to resizing a TileMap instance, not a single sprite?
Here is one way of doing it:
Not sure the logic you had in mind to trigger the Tile Auto Resizing but here I did it by:
Shift Is Down
---Touch Is in Touch: >>>> Resize TileMap
You can change it to your like if you had something else in mind
Note:
Here there is just one TileMap so its easy to pick it up but if you think you gonna have more than one Tile in the layout you will need to pick the right one before you resize, I will just put a simple Boolean "Active" and on Tile clicked set Active = True
And deactivate all the other ones.
https://www.dropbox.com/s/ifvuhv477rmw430/Resize%20Map.c3p?dl=0