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

#1 2011-12-13 14:39:05

Vanilla_Creme
New Scratcher
Registered: 2011-12-13
Posts: 2

Help please...

I am new to this site and I am looking for some help.
I have recently made a click 'n drag dress up game, but I forgot to put the script to make the items draggable on the original sprite that all the other sprites came off. I now have around 60-70 sprites and I need to put the click and drag script on all of them.
Is there an easy way to do this without going through and putting the script on EVERY sprite?
I need the sprites to be draggable in presentation mode.

Cheers

Vanilla_Creme  smile

Offline

 

#2 2011-12-13 15:16:12

TRocket
Scratcher
Registered: 2009-08-18
Posts: 1000+

Re: Help please...

hi! welcome to scratch!
sorry there is no way to directly add a script to multiple scripts. at the top centre of the scratch window there is a padlock;this makes sprites draggable in presentation mode. try doing this for all of your sprites.


http://i.imgur.com/1QqnHxQ.png

Offline

 

#3 2011-12-13 15:41:22

Codebreaker
Scratcher
Registered: 2011-10-03
Posts: 100+

Re: Help please...

Hello, and welcome!

Well, for your first problem, you can right click on the script, press duplicate, and put it on a different sprite. That's the easy way. The Hard way is to just keep making the script over and over again. For your second problem, there is a lock right above the place where you put your Scripts. If it's open, the sprites are draggable. If it's closed, they are not draggable. Click on it to toggle it. Can't wait to see your game!


Latest project: Pixelation/Upcoming project(s): M.A.Z.E Runner

Offline

 

#4 2011-12-13 16:58:24

Garr8
Scratcher
Registered: 2011-08-10
Posts: 1000+

Re: Help please...

click on the padlock to make all sprites movable, i do not think that requires a script


What I scored on Pokemon Quiz: Porygon

Offline

 

#5 2011-12-13 20:52:09

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Help please...

You can click the padlock, or if you have to, make the script on the first one, the drag the script to the sprites section of the screen. When the script is above another sprite, a grey box will appear around it. Releasing it will duplicate the script onto that sprite. Repeat as needed.


Hai.

Offline

 

#6 2011-12-13 22:14:14

mcpNOVA
Scratcher
Registered: 2011-12-05
Posts: 100+

Re: Help please...

Hello, Vanilla_Cream, and welcome to scratch!
Anyway, to make it so you can drag your sprite in Presentation Mode, you have do this:
1-Click on the sprite you want to be drag-able (so you can see its scripts and sounds, etc)
2-Look next to your sprite's name (it might be Sprite n n meaning the number of your sprite, if you haven't named it)
3-It will look like a padlock. Click it so it looks unlocked.
4- You're done!

Hope this helped you.  smile


http://i43.tinypic.com/n5fqcz.jpg

Offline

 

#7 2011-12-14 11:45:32

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Help please...

Yep, you should simply use the Draggable Sprite Featuresmile

Offline

 

#8 2011-12-14 12:45:11

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Help please...

@copying scripts to multiple sprites:
You can just drag a script to the sprite you want in the sprite area, and when the bord shows let go of the left-mouse button and drop the script on the sprite and the script will go into the sprite automatially. SCREENSHOT:
http://img829.imageshack.us/img829/4627/helptopic01.jpg


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

Board footer