ScratchData LogoScratchData
Back to TheLogFather's profile

Improved drag 'n' drop

THTheLogFather•Created May 1, 2014
Improved drag 'n' drop
79
62
2374 views
View on Scratch

Description

Improvements to deal with potential glitches that can occur with the way it was done in the original drag 'n' drop demo project. Enjoy! :D What are the benefits of doing it this way...? 1. You don't 'lose' the sprite you're dragging if you drag quickly 2. It only activates when you press the button down while actually over the sprite (in the original you could click outside sprite and then drag cursor over the sprite, and it would 'pick it up') 3. The offset means it drags from where you click the costume. 4. No unexpected behaviour when sprite is hidden (what, you didn't know that "touching mouse-pointer?" works for hidden sprites...? http://scratch.mit.edu/projects/20212721 ) 5. I get to use the "Dragon Drop" pun :D

Project Details

Project ID21512101
CreatedMay 1, 2014
Last ModifiedMay 2, 2014
SharedMay 1, 2014
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root