Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Tabs for Dress-up game?/Copying
- zoemar8
-
Scratcher
3 posts
Tabs for Dress-up game?/Copying
Hi Everyone!
Does anyone know how to make multiple tabs for something (i.e. a tab for shoes, a tab for tops, etc) but still have the sprite i'm dressing up keep the clothes you already put on her on?
Also, is there a way to copy something from one project to another?
Does anyone know how to make multiple tabs for something (i.e. a tab for shoes, a tab for tops, etc) but still have the sprite i'm dressing up keep the clothes you already put on her on?
Also, is there a way to copy something from one project to another?
- ycul33438
-
Scratcher
4 posts
Tabs for Dress-up game?/Copying
Hi! I can answer your second question! In order to carry things from one project to another, you need to put the sprite/backdrop/costume in your backpack. To open/close your backpack go into the Scratch editor, and there will be a tab on the bottom of the screen that has a little up arrow. Then go into another project and open your backpack and just drag the thing you put in there into the project 

- pastelistic
-
Scratcher
500+ posts
Tabs for Dress-up game?/Copying
To answer the first question, let's say your model sprite is on the left of your screen. Then you have how many ‘button’ sprites (effectively just words with a background behind them which makes them easier to click) which each one saying ‘Clothes’, ‘Shoes’ etc. Then you put a script on each of the buttons saying:
And so on with all the buttons, but broadcasting the message ‘Shoes has been clicked’ and so on. Now, go back to your model sprite and put in the scripts:
So the model will appear every time. Then, get your clothes sprites and your shoes sprites and make the scripts look like this:
when this sprite clicked
broadcast [Clothes has been clicked v]
And so on with all the buttons, but broadcasting the message ‘Shoes has been clicked’ and so on. Now, go back to your model sprite and put in the scripts:
when green flag clicked
show
when I receive [Clothes has been clicked v]
show
when I receive [Whatever other buttons/tabs you havev]
So the model will appear every time. Then, get your clothes sprites and your shoes sprites and make the scripts look like this:
when green flag clicked
hide
when I receive [Shoes has been clicked v]
make all of the shoes show
- pastelistic
-
Scratcher
500+ posts
Tabs for Dress-up game?/Copying
And yeah, use the backpack if you want to copy something.
- Discussion Forums
- » Help with Scripts
-
» Tabs for Dress-up game?/Copying






