Time to end your story with a cool animationand the words "The End".
To do this, you'll add some costumesto one of your sprites,each one slightly different from the one before it.
You'll also add lettersto spell out "The End".
Then, you'll quickly change between the costumes,creating an animated effect.
Each picture that makes up an animationis called a frame.
In each frame, the character changes a tiny bitto create an animated effectwhen the frames are run one after another.
First, click the sprite you will use.
This example, we use the knight.
Then, click the "Costumes" tab.
Note that this add-on only works with vector sprites.
Duplicate one of the sprite's costumesby right-clicking on it, then clicking "duplicate".
Next make small changes to the new costumeto create a frame.
In this example, the knight will raiseits helmet plume and arms,then drop its sword in celebration.
Use the Zoom tool to zoom into the spriteso it's easier to work with.
Then, click the sprite.
You can't edit the knight's arms or helmet separately.
To change this, click the "Ungroup" tool.
Neat.
Now you can work with the knight's head, body,limbs, and sword individually.
Click and drag each part to move itor use the handle to rotate it.
Don't worry if you make a mistake.
Just use the Undo tool to take the sprite backto how it looked previously.
To preview what you've made,click back and forth between the original costumeand the new costume.
Move the knight's arm, plume, and sword slightly upwards.
But wait, the knight's head moves as a whole,but only the plume should move.
You can ungroup it further.
Click the knight's head, then use the "Ungroup" tool again.
Neat.
Now you can move just the plume.
Use the Text tool to write the letter "T"in your favorite font and colorsomewhere next to the sprite.
This is the start to the words "The End".
Once you're done with this frame, duplicate it.
Then edit the new frame the same way.
Add more letters.
(silence)
Duplicate this again and repeat editing these costumesuntil the animation is completeand you've spelled out "The End".
For the last frame in this example,the knight will move its right arm to the side.
To do this, select the arm,then click the "Flip" left-right button.
Drag the flipped arm into place.
Cool.
Next, create code to animate this.
Drag out a "next costume" block.
Since there are five costumes in this example,the knight will need to switch costumesfour times to cycle through all the costumes.
To do this, add a "repeat" blockaround the next "costume" blockand change its value to four.
Click the stack to test it out.
Whoa, that was fast.
Use a "wait" block to slow down the animation.
Tinker with the value in this blockuntil the animation looks good to you.
To make sure that the story starts on the right costume,add a "switch-costume" blockafter the "wind-flag click" blockand select the first costume in the dropdown.
Click the flag to test it.
The story plays, but not the animation.
That's because there's no broadcast messagetelling the animation to play.
Add a "broadcast" block to the end of the story.
Open the dropdown and click "New message".
Name this message "The End".
Then add a "When I receive The End" blockto the block stack that animates the ending.
Click the flag to test again.
(silence)
Great, it works.
Now it's your turn.
Create the new animation frameby duplicating a sprite's costume,ungrouping it, and making small changes.
Add the first one or two letters of "The End".
Duplicate this costume and add more letters.
Repeat this process until you createall of the frames for the ending animation.
Animate the sprite using the "next costume","wait", and "repeat" blocks.
Make sure the program starts with the right costumeby adding a "switch costume" block.
Start the ending animation with a broadcasted messageusing a "broadcast" and "when I receive" block.
Choose an Add-On
play_circle_filled
Escape!
Program your character to escape the scene!
arrow_forward
play_circle_filled
Dynamic Dialogue
Make a conversation happen between two characters in your story.
arrow_forward
play_circle_filled
Between the Scenes
Program a fading transition to change the scene in your story!
arrow_forward
play_circle_filled
Deus Ex Machina
Add a new sprite that fixes the conflict and resolves the premise in your story.