Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

arrow_back Entrée fracassante


In this add-on, you'll learn fun ways to add another sprite to your story. A sprite can express its personality through the way it moves. For example, a funny sprite might hop onto the stage, a cool sprite might drop from the sky, or a heroic sprite might zoom in.

First, add a new sprite. Your starter project contains special sounds you can use to give emotion to your sprite's entrance. To hear those sounds, click on the Stage, click on the sounds tab, and use the play button.

When you find a sound you like, drag it from the list onto your sprite.

Drag out a “play sound” block, and choose the sound you just added.

Next, program the sprite’s movement. Click on the Motion menu. The blocks in the Motion menu update each time you move the sprite on the stage to show the sprite's current X and Y position.

To make your sprite enter at a specific point on the stage, drag the sprite to where it will start its movement. Add a "go to" block. Drag the sprite to the next point it will move to on the stage. Drag out a “Glide” block, and snap it to the “goto” block.

The “Go To” block and the “Glide” block have different X and Y values because each block shows the position the sprite was in when the block was selected from the menu.

Move the sprite again, and add another “Glide” block. Test it out.

That's a very slow move! Change the values in the “glide” blocks to smaller numbers to speed up the sprite’s movement. Add the “play sound” block to the stack.

Repeat these steps to create the entire path of the Sprite's entrance. Move the sprite to the next point, drag out a “Glide” block. Move the sprite to another spot, drag out another “Glide” block. Test your code often to make sure you like how the sprite is moving.

When you have a movement you like, click on the "events" menu and add a “When I receive” block to the top of the stack. Click on the dropdown, choose new message, and name the message. Next, click on the sprite that contains the rest of your story, and add a “broadcast” block to tell the new sprite when it is time to make an entrance. Test it out!

That looks great. If you want your sprite to hide until it is time for its entrance, add a "When flag clicked" event and a “hide” block, then put a “Show” block under the “When I receive” block. Now, the sprite will hide when the project starts, show up when it is time to enter the story, and make an entrance onto the stage.

Your sprite can enter your story in many ways. Code a movement for your sprite that shows its personality, emotional state, or energy level. Explore and play with the types of movement you can create.

Now, it's your turn. Add a sprite to your story. Drag a sound from the stage onto your sprite.

Drag the sprite to different locations on the stage, and use “Go to” and “Glide” blocks to control the sprite's speed and movement onto the stage.

Choisir une extension
Programme ton personnage pour qu’il s'échappe de la scène !
Dialogue dynamique
Crée une conversation entre deux personnages de ton histoire.
Entre les scènes
Programme une transition en fondu pour changer la scène dans ton histoire !
Deus Ex Machina
Ajoute un nouveau lutin qui dénoue le conflit et résout la prémisse de l'histoire.
Termine ton histoire par une animation sympa.
Entrée fracassante
Ajoute un autre lutin à ton histoire.
arrow_backward Retour
Suivant arrow_forward
  1. Sélectionne les modules qui t'intéressent !