This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-09-15 23:34:17

lucky_cri_kee
Scratcher
Registered: 2007-09-13
Posts: 3

How Do I Script a Drag and Drop Dress Up Doll?

I just made some stuff for a dress up doll... but I don't know how to script it. This is my first time trying to make something, so, I'm not very good at this yet. Please help~!!! ><;;


omoidaseba haruka haruka, mirai wa doko made mo kagayaiteta, kirei na aozora no * de, bokura wa sukoshi dake obitete ita

Offline

 

#2 2007-09-16 06:51:38

GeneralX3000
Scratcher
Registered: 2007-06-24
Posts: 24

Re: How Do I Script a Drag and Drop Dress Up Doll?

<when green flag clicked>
<forever>
<if><touching[ mouse pointer ]
<if><mouse down?>
<go to[ mouse pointer ]

Last edited by GeneralX3000 (2007-09-16 06:55:43)

Offline

 

#3 2007-09-16 11:31:14

Llamalover
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: How Do I Script a Drag and Drop Dress Up Doll?

Check out mine


Be nice, I'm an old lady  wink

Offline

 

#4 2007-09-16 13:14:57

lucky_cri_kee
Scratcher
Registered: 2007-09-13
Posts: 3

Re: How Do I Script a Drag and Drop Dress Up Doll?

I just tried that... but whenever I click all the clothes go to the mouse... oo;;;


omoidaseba haruka haruka, mirai wa doko made mo kagayaiteta, kirei na aozora no * de, bokura wa sukoshi dake obitete ita

Offline

 

#5 2007-09-18 21:22:24

Vanslar
Scratcher
Registered: 2007-03-17
Posts: 100+

Re: How Do I Script a Drag and Drop Dress Up Doll?

<when[ Insert sprite name here ]clicked><forever><if><(<distance to[ mouse pointer  <>> 1 )><go to[ mouse pointer<if><mouse down?><stop script>

dunno if the script will show up, if not ill make a starter project


  I am a royal pain in the butt, I am ~Vanslar~       
      Want better gravity? Go to
Realistic Gravity, By Vanslar 2-D
Want a better way to spend your spare time? CubeField

Offline

 

#6 2007-09-19 09:17:44

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: How Do I Script a Drag and Drop Dress Up Doll?

You might want to look at my architecture rubber stamps, some of whose scripts could be adapted for a drag-and-drop dress up sprite.
http://scratch.mit.edu/projects/kevin_karplus/12280

Or the peg dragging in my mastermind game.
http://scratch.mit.edu/projects/kevin_karplus/12236

Offline

 

#7 2007-09-22 13:19:12

Vanslar
Scratcher
Registered: 2007-03-17
Posts: 100+

Re: How Do I Script a Drag and Drop Dress Up Doll?

here, try this http://www.scratch.mit.edu/projects/Vanslar/37506


  I am a royal pain in the butt, I am ~Vanslar~       
      Want better gravity? Go to
Realistic Gravity, By Vanslar 2-D
Want a better way to spend your spare time? CubeField

Offline

 

Board footer