ScratchData LogoScratchData
Back to sc-animations's profile

“Simple” Snap to Grid Demonstration

SCsc-animations•Created June 15, 2021
“Simple” Snap to Grid Demonstration
2
2
32 views
View on Scratch

Description

This is a simple script that allows a sprite to be dragged, but snaps it to a cubic invisible grid when let go of. This is a very compact way of accomplishing this, so I hope you’ll be able to find a use for this (maybe in Mario Maker-like projects, and other tile based things) I used the 20 pixel grid size and backdrop so that it’s easy to see it in action. You don’t need the backdrop, and the size can be changed. All code by me. Use with credit, or else an evil kumquat will wake you up at 3 am and call the Among Us imposter and they will meet up and discuss plans for a nice meal. That may not sound bad, but they’ll forget the sweet and sour sauce, and pick barbecue. Meanwhile, someone will knock on your door to let you know about your car’s extended warranty, which is bad I suppose, and then the imposter will become sus. After the imposter becomes sus, Tiky will appear and ask for some sweet and sour sauce. You won’t have any, as a I mentioned before, there is only barbecue. This will disappoint him, so you’ll have to go to Malwart and buy a 19 dollar Fortnite card. Then Spike from Super Mario Bros 3. will descend from the gamer heavens and give you drip. Using the drip, you can become Super Saiyan and The Imposter will evaporate. However, the evil kumquat is still there. There’s nothing you can do about it. In this essay, I will

Project Details

Project ID544443969
CreatedJune 15, 2021
Last ModifiedJune 15, 2021
SharedJune 15, 2021
Visibilityvisible
CommentsAllowed