Some of you’ve might played Clash of Clans or Simpsons tapped out? I’m not trying to make a game like them, but they have one feature I like. They’re grid system. I’m familiar with the math around squares and grids, a * a = b(square). So that’s no problem for me. My real problem is how I would transfer this into unity. Say I’d like the squares to be 3 units times 3 units, which makes 9 units in area. How do I create this in Unity and loop it over the terrain? This would be good to know, because I need to create a grid system for my game, but as I said, the game is not going to be as any of those examples, it’s just an idea how the grid would be. Any examples, tutorials or just logic is appreciated, I just want to get moving with this. Also, I prefer code.
Thanks!