Hello! Im making a tower defense game where you place turrets on a grid based system but what is the best way to do that? I want to make it so that you can click on a turret and place it on a tile in the grid where once placed no other turrets can be put there. Thanks for reading this!
Hi,
There are two example projects that could be interesting for you. I don’t know if those examples represent the “best way how to do it” and if there is anything like the best way. Generally I would say best is what works for you.
Here is an example for different kinds of grids:
And the city builder shows how to place only one object on a cell/tile of the grid: