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 Das Model posieren lassen


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.

Erweiterung auswählen
Hintergrundmusik hinzufügen
Eurem Programm Musik hinzufügen, die abgespielt wird, wenn euer Model den Laufsteg betritt.
Das Model posieren lassen
Das Model so programmieren, dass es in der Mitte der Bühne posiert.
Die Kleidung individuell gestalten
Die Garderobe eures Models anpassen.
Einen Fotografen programmieren
Einen Kameramann programmieren, der Fotos von den Models macht, wenn sie die Bühne betreten.
Einen sich öffnenden Vorhang hinzufügen
Einen Vorhang für eure Modenschau programmieren.
Eine Ballon-Party programmieren (Herausforderung)
Fliegende Ballons während eurer Modenschau programmieren.
arrow_backward Zurück
Weiter arrow_forward
  1. Schaut euch das Einführungsvideo an.
  2. Scrollt nach unten zu den Erweiterungs-Optionen.
  3. Wählt eine Erweiterung aus und werdet kreativ!
  4. Programmiert danach ruhig noch andere Erweiterungen.