Hi,
First: Sry for my bad english
Problem: I try to make a turredbased game with pathwalking monsters and player-builded turrets. I want the turrets to snap to a grid while "inHand". My grid is 64,64 and i have a tiledBackground with 64,64 squares. I want the turrets to snap to a 64,64 grid but offset 32,32 so they snap in the middel of my backgroundsquares. I have a solution that works but "feels" bad by moving the tower "inHand" arround, u will understand while runing the app.
"Code":
Solution: Is there a way u set a second grid with a offset 32,32 or a way to do it like i did without that feeling by moving the mouse arround when turret "inHand"?
Thanks for help!