Discuss Scratch

Failord
Scratcher
1000+ posts

How to make a better draggable sprite!

We all know that draggability is built into sprites, so coding isn't that necessary. Or is it?

What if you want to turn it on or off? Then, my friends, I have a scripted solution.

Look here to see how to make your sprite dragging work like people expect it to, without any pressing Space to pick up or annoying, nauseating jumping to the center point.

Since doubt may be present surrounding its claim to superiority, I have added a sample from 1.4 for comparison. Spacebar makes it appear and b makes it go away.

Hope this helps!

Last edited by Failord (July 5, 2013 19:54:11)

andre_rifaut
Scratcher
100+ posts

How to make a better draggable sprite!

You should make a project that is a tutorial about that.
Then you can put it in some studio.
Failord
Scratcher
1000+ posts

How to make a better draggable sprite!

I wish it could be made a sample sprite…
Failord
Scratcher
1000+ posts

How to make a better draggable sprite!

Bump!

Powered by DjangoBB