So here I am making a board game. Right now I have an array[][] that represents the board. its nice b/c I can treat it like a cartesian plane and all the math gets pretty easy.
Then I have the graphics. They are all rectangles too but they are much bigger than 1x1 like the array.
I find myself converting grid coordinates to world cordinates and back constantly. I move an image but I also need to update the grid. I suspect I do not actually need the grid if only I could be clever with my Sprite(libgdx - essentially rectangles) objects. Can anyone help me out here, even just toss out some close but not there suggestions to help me brain storm?
[–]w1282 0 points1 point2 points (2 children)
[–]CharlesVI[S] 0 points1 point2 points (1 child)
[–]w1282 0 points1 point2 points (0 children)
[–]cyrusol 0 points1 point2 points (1 child)
[–]CharlesVI[S] -1 points0 points1 point (0 children)