How do you get the mouse to be "choppy" so when you place a block, it will go exactly on top of the one beneath it?
Please help!
Offline
You need rounding:
(([floor v] of ((mouse x)/(width))) * (width)) (([floor v] of ((mouse y)/(height))) * (height))should work.
Last edited by Hardmath123 (2012-10-10 10:51:27)
Offline
From my understanding, you need to do what Hardmath said in every block sprite? Isn't that correct?
Offline
Hardmath123 wrote:
You need rounding:
(([floor v] of ((mouse x)/(width))) * (width)) (([floor v] of ((mouse y)/(height))) * (height))should work.
Hardmath, the floor blocks don't exist.
Use the round block instead:
((round ((mouse x)/(width))) * (width)) ((round ((mouse y)/(height))) * (height))
Offline
Oops, they do in Scratch 2.0. I'm playing too much with the Alpha prototype.
Offline
Well, oops.
Offline