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 Douche à la boisson sportive (Défi)

Transcript

Have you ever seen players dump a sports drink onto the coach at the end of a game? It’s a much deserved victory celebration, even if it is ice-cold. This add-on will animate a Gatorade shower on your favorite athlete. First, unhide the gatorade sprite and make this sprite follow your mouse pointer, then start the pouring animation. Start the sprite's stack with a "when flag clicked" block. Make the gatorade sprite follow the mouse using a "forever" loop from the control menu and a "go to mouse pointer" block from the motion menu. Place a “wait” block before the forever loop to wait before the sprite starts following the mouse. Eventually, the gatorade sprite should pour on the athlete, rather than just moving around. To make this happen, use an “if” block with the condition that will make the sprite pour - in this example by clicking the mouse.

Each of the costumes required to animate the gatorade shower exist in your program. You can switch costumes between these using “next costume” or “switch costume to” blocks.

Adding a “wait” block may help timing between showing these costumes.

To make the gatorade sprite stop following the mouse pointer, from the control menu, use the “stop” block after the sprite is finished switching costumes.

You may also wish to set the gatorade’s starting and ending location using the “go to x y” block. Try to find where to put each of these blocks!

Here’s the game plan: Program the Gatorade sprite to look like it’s giving the athlete a Gatorade shower. Have fun!

Choisir une extension
Sur la sellette
Fais répondre l'utilisateur à une question d'interview !
Moments forts
Montre l'action la plus cool de l'athlète pendant le jeu.
Phrases cool
Fais dire des choses au hasard à ton athlète !
Photobombe (Défi)
Programme un lutin pour qu'il apparaisse sur scène et interrompe l'interview.
Douche à la boisson sportive (Défi)
Arrose la tête de ton athlète d'une boisson sportive.
Photos avec flash
Fais prendre des photos de l'athlète victorieux par les fans.
arrow_backward Retour
Suivant arrow_forward
Instructions
  1. Clique sur l'une des fenêtres pour accéder à la vidéo sur les extensions.
  2. Quand tu as fini, reviens à la fenêtre des extensions et essaies-en une autre !