Hi All,
I’m thinking of using a tilemap/grid instead of creating a 2d array with code. This is a puzzle game where object from a panel on the left can be moved to the right into the tilemap/grid and can be snapped. Do you think tilemaps are a good option for this or should I stick with the 2d array?
Anyone who has worked with tilemaps in place of a regular 2d array, I need your help!
Why not use both? Use the game objects to manipulate them to the game area and the tiles to represent the final position of the game objects you drag.
so for example you have a strip on the left full of the game objects, then you take one and drag it to the game zone, so when you release the game object, you disable it (or return it to its position on the strip) and put a desired tile in the grid coordinate.