This site requires JavaScript, please enable it in your browser!
Greenfoot back
Napler
Napler wrote ...

2013/5/23

Snapping onto a cell

Napler Napler

2013/5/23

#
Some people might wonder if there is a quick way to snap an object to a cell on the background, well here it is: for a 60 x 60 cell background, this object will snap right into the middle of the cell. first, the number of cells is counted and rounded to a whole number. then it is set to the closest cell that it was dragged to (My objects are dragged and when they are dropped, this executes).
You need to login to post a reply.