In this video,
you will add more images and animation to your Studio Logo.
Once you've created the conditional statement,
it becomes easy to add more clones
or designs to your project.
Go to the Costumes tab and create a new costume.
Keep in mind that Vector Mode makes images easier to edit.
You can add any words or images you like for your logo.
This example adds the text Studio,
and adjusts the size and colors.
Give the costume a descriptive name.
This example uses Studio.
Because you added a unique costume,
you need to create a new clone.
Add a Switch Costume block above the Hide block.
In the drop-down menu, choose the name of your new costume.
Next, add a Create Clone block and place it
under the new Switch Costume block.
That creates the clone.
Then, program the clone to do something.
Right-click on the If block and select Duplicate.
Put the new code stack under the first If block,
change the value from two to three.
Now you can animate the clone of the new costume!
You may have to show the sprite again to do so.
In this example, the new clone
starts at the top of the screen and glides to the middle.
Create your own action, then test it out.
Follow these same steps for each costume you make.
Switch the costume and create a clone.
Duplicate the If statement and change the value
in the Equals block to match the costume.
Nice job!
The Studio Logo clones animate and hide after four seconds.
The different parts of the code are included in one sprite,
which will make it easy to copy your Logo to other projects.
There is one last thing to add to the project.
This example shows what happens when the Studio Logo
is added to another project.
When you add the Studio Logo sprites to a project,
the layering of the sprites may not be correct.
The sprites in the other project may appear
on top of the Studio Logo.
Fix this by adding a Go To Front block
under the When I Start As A Clone block.
This makes the clones go in front of all sprites
in your other projects.
Test it!
Looks great!
In your Studio Logo project, add the same block.
You can now use the Backpack to move the Studio Logo sprites
to any of your other Scratch projects.
Click the Backpack and drag the Studio Logo sprite into it.
Navigate to a project where you wanna add the Studio Logo.
Open the Backpack again and drag the Studio Logo
into the sprites area.
Replace all of the When Flag Clicked blocks
with a When I Receive Start Program block.
Now it's your turn!
Create more costumes to clone.
Add Switch Costume and Create Clone blocks.
Duplicate the conditional statement,
and change the value to the correct costume number.
Add a Go To Front block.
Add the Studio Logo sprite to any other project.
Replace all When Flag Clicked blocks
with When I Receive blocks.