Introduction:
Hello, I’m trying to create a grid system. In the past, I’d done this by using parts. When the user hovered over the part, I would move the part they are placing on top of that tile. This works, yet becomes very laggy. This is especially true in cases with many plots of large land.
How would I create a grid system without using parts?
I was thinking of predicting the tile they are by using a code but no actual code being there. There is some difficulty doing this however. Should I save all the possible tile positions into a table then compare the users current mouse to the closest position or should I predict it?
I feel like predicting it would be a lot less laggier but I can’t figure out how I would do this. Any ideas?
example of predicting the tile position: