B
Biddum
Guest
I am trying to think of the most efficient way to create a grid in which each square is something a player can select (using the arrow keys). The two main pieces would be the grid and then the grid selection.
Creating X amount of objects for each grid square seems inefficient and I am trying to think of a more efficient solution to create the grid. I was not able to find any video tutorials of this in GMS2.
For the selection piece, I figured I would need a separate object for that. But the part I am not certain on is how to move about the grid. I could move it X pixels and Y pixels based on the the up/down/left/right direction the player inputs, but I'm worried that moving in the amount of pixels may not be the most efficient way.
Any suggestions or tutorial links would be greatly appreciated.
Creating X amount of objects for each grid square seems inefficient and I am trying to think of a more efficient solution to create the grid. I was not able to find any video tutorials of this in GMS2.
For the selection piece, I figured I would need a separate object for that. But the part I am not certain on is how to move about the grid. I could move it X pixels and Y pixels based on the the up/down/left/right direction the player inputs, but I'm worried that moving in the amount of pixels may not be the most efficient way.
Any suggestions or tutorial links would be greatly appreciated.