this is an oldish post so i didnt read the whole thing again. but how about just centralising the origin? its what most people have...
right, that's all fine and dandy, and what most people do. But when i get this working, I am going to need it to snap to a grid, the size of the sprite. And when it snaps, it snaps at the origin. if the origin is in the center, then it won't snap to where it belongs, and will be off the grid. For a little clarification, I am intending on building a Battleship clone, and when the ships are dragged over, to be placed on the board, they need to snap to the grid when they are placed. the best way to do this is to keep the origin up in the corner, at (x=0, y=0).



Find content
Male
