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 Déhanché de mannequin


In this add-on, you’ll program your model to sashay when it reaches the middle of the stage. First, you’ll need the model to do a little groove. Click on the model sprite. The “change effect by block” from the Looks menu has different effects that will help achieve this. Drag out this block. Right now, it says “change color effect by 25.” Click on the drop down menu to see the different options, and select “whirl.” Click the block to try it out.

If you keep clicking it, your model changes it’s structure to look like it’s shrugging or twisting. Drag out another “change effect by” block and select “whirl.” For this block, change the value to negative 25. Click this block.

It reverses the whirl effect. You’ll want your sprite to whirl a little, then go back to normal. Snap both “change effect by” blocks together, and test your code by clicking on the stack. The code runs so quickly that you can't see it working. Drag out a “wait” block from the control menu to fix this. Place the “wait” block between both whirl effects. Now test your code! When you click on the block stack, the model twists, waits 1 second, and then goes back to normal. Tinker with the values in these blocks to get something you like.

This example will use positive and negative 50 in the “change effect“ blocks, and use 0.4 for the “wait” block. Now you’ll want to place this set of code inside the block stack that tells your model to walk on stage. Place it right after your model makes it to the middle of the stage, which is after the first glide block.

Click the green flag to test your code. Nice! You now have a sashaying model.

Now it’s your turn: Add two “change effect by” blocks and select the “whirl” effect. Then add a “wait” block in between these two blocks.

Add this block stack under your first glide block.

For an added challenge, use multiple whirl effect blocks so your model can dance back and forth.

Choisir une extension
Thème musical
Ajoute une musique à ton programme qui sera jouée pendant que tes mannequins défilent.
Déhanché de mannequin
Programme ton mannequin pour qu'il se déhanche au centre de la scène.
Personnaliser la garde-robe
Personnalise la garde-robe de tes mannequins.
Pour le photographe
Programme un photographe pour qu'il prenne des photos du mannequin lorsqu'il monte sur scène.
Lever de rideau
Programme un lever de rideau pour ton défilé de mode.
Lâcher de ballons (Défi)
Programme un lâcher de ballons pendant ton défilé de mode.
arrow_backward Retour
Suivant arrow_forward
  1. Regarde la vidéo de présentation.
  2. Défile vers le bas pour voir les extensions proposées.
  3. Sélectionne une extension et commence la création !
  4. Choisis une autre extension et continue à créer.