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 La modella che cammina disinvolta

Transcript

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.

Scegli un’estensione
Il tema musicale
Aggiungi della musica al tuo programma da riprodurre durante la sfilata delle modelle.
La modella che cammina disinvolta
Programma la tua modella affinché cammini con disinvoltura quando raggiunge il centro del palco.
Personalizza il guardaroba
Personalizza il guardaroba delle tue modelle
Per i fotografi
Programma un cameraman in modo che scatti fotografie alle modelle quando entrano sul palco.
Il sipario
Programma un'apertura del sipario per la tua sfilata.
Il festeggiamento con i palloncini (Sfida)
Programma un festeggiamento con i palloncini durante la tua sfilata.
arrow_backward Indietro
Avanti arrow_forward
Istruzioni
  1. Guarda il video di introduzione.
  2. Scorri verso il basso per visualizzare i componenti aggiuntivi scelti.
  3. Seleziona un componente aggiuntivo e inizia a creare!
  4. Scegli un altro componente aggiuntivo e continua a costruire.