Skip to content

Please update your browser

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

Transcript

This add-on will walk you through how to program your models to make a colorful cartwheel when they come on stage. Notice that the starter project contains a “when I start as a clone” block. You will add your code under this event block.

First, program the model to do a cartwheel. Drag out a “turn left” block. When you click this, the sprite turns. To make it do a full rotation, add a “repeat” loop.

Tinker with the values in these blocks until the they equal 360 when multiplied together.

This will allow your model to do a full cartwheel. Great! Next, add a “stamp” block from the Pen menu inside the repeat loop. Test this out.

cool! To clear the stage, place a “clear” block to the outside of the repeat loop. Now, when the model does a cartwheel, it makes a trail that disappears after it’s finished. To make a cool rainbow effect, place a “change color effect by” block inside the repeat loop.

Great! To change the model back to normal, add a “clear graphic effects” block to the outside of the “repeat” loop under the clear block.

Now, whenever the sprite does a cartwheel and changes its color, the “clear” and “clear graphic effects” blocks reset the model to its original look.

Add this code to the “when I start as a clone” event.

Now.. every time a model comes onto the stage, it does a snazzy cartwheel!

Now, it’s your turn: Make your model cartwheel using the “turn” block and the “repeat” loop. Add “stamp” and “change color effect by” blocks for a cool rainbow effect. Finally, reset your model using “clear” and “clear graphic effects” blocks. Add the code under the “when I start as a clone” event. If you have a question, ask your neighbor or put up your sticky to get the attention of your CS First guru!

Scegli un’estensione
La modella stilosa
Programma un'apertura del sipario per la premiazione.
Conversazione tra modelle
Crea un elenco che i tuoi sprite useranno ogni volta che faranno il loro ingresso sul palco.
Sagome saltellanti
Programma un pubblico che compaia al termine della sfilata per festeggiare!
Il trofeo animato (Sfida)
Programma il tuo trofeo in modo che si animi durante il programma.
Applausi e musica (Sfida)
Aggiungi un loop musicale o un applauso al tuo programma.
Lo sfondo luccicante (Sfida)
Fai lampeggiare il tuo sfondo!
arrow_backward Indietro
Avanti arrow_forward
Istruzioni
  1. Fai clic su qualsiasi casella per andare sul video dei componenti aggiuntivi.
  2. Quando hai terminato, torna sulla schermata dei componenti aggiuntivi e prova un altro componente aggiuntivo!