Skip to content

Please update your browser

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

6. Extensions Jeu de lancer

Transcript

Congratulations on coding today’s computer science project! But the fun isn’t over!

Computer scientists often continue to work on projects after the basic programming is in place, to make them more original and interesting. Now, you get the chance to do the same with add-ons. This screencast will explain the add-ons you can choose to customize your project.

Just like in the main screencasts for this project, watch the screencast first to learn how to build the add-on, then try programming it on your own. To get started, simply click on one of the add-on choices after you watch this screencast.

In “Finish Line Cheer,” program a sound to play if the player touches the finish line.

Add a second player to the game in “Play with a Friend.”

Increase the difficulty in “Challenge a Friend,” as you program a second player that can control the enemies. In “Shrinking Finish Line,” program the finish line to get smaller as the player scores more points.

Create a sprite that, when touched, gives the player extra points in “Bonus Points!”

In “Changing Level Design,” program the backdrop to change every time the player scores 5 points.

Before you start playing around with these add-ons, though, save a copy of your base project.

Computer scientists often save copies of their projects before they tinker with them, to ensure that they can always return to a working version of their code. To save a copy, go to “file” and select “save as a copy.”

Once you have done that, take some time to explore the add-ons that interest you.

If you want to continue to create and explore after today’s club is over, you can access Scratch and CS First from any computer that has access to the internet. Have fun creating, customizing, and making this project your own!

Choisir une extension
Hourras de la ligne d'arrivée
Programme un son à jouer si le joueur touche la ligne d'arrivée.
Jouer avec un ami
Ajoute un second joueur au jeu.
Défier un ami
Défie un ami en le laissant contrôler les ennemis.
Réduire
Programme la ligne d'arrivée pour qu'elle rapetisse à mesure que le joueur marque des points.
Points bonus !
Crée un lutin qui, lorsqu'il est touché, apporte au joueur des points supplémentaires.
Changer la conception des niveaux
Programme l'arrière-plan pour qu'il change chaque fois que le joueur marque 5 points.
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 page des extensions et essaies-en une autre !