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 Shooting Sprites (Challenge)

Transcript

Welcome to a challenge add-on!

Rather than walking you through every step, this video will give you some suggestions to help you get started.

To start, add a new sprite to your program. You can use the “when space key pressed” event to get started with your code. Recall that the “go to” block sets the sprite’s x and y position on the stage, while the “glide” block makes a sprite move smoothly to a particular x and y position on the screen.

Also, the “show” and “hide” blocks will make your sprite show and hide at specific times during your code. Use these blocks to program your sprite to shoot across the stage. You can have your sprite shout out a reminder like “Only a few Hippos left in Stock!” You may need to add another “when space key pressed” event so that the code will run at the same time.

Choose an Add-On
play_circle_filled
Color Change
Create a sprite that changes colors when the mouse hovers over it.
arrow_forward
play_circle_filled
Drift
Create a sprite that will perform different actions in response to its surroundings.
arrow_forward
play_circle_filled
Hidden Surprise
Code a hidden surprise in your display window.
arrow_forward
play_circle_filled
Go Crazy
Code your sprite to go crazy when the mouse-pointer touches it.
arrow_forward
play_circle_filled
Talk about it (Challenge)
Add talking sprites in your program.
arrow_forward
play_circle_filled
Shooting Sprites (Challenge)
Make a sprite shoot across the stage.
arrow_forward
arrow_backward Back
Next arrow_forward
Instructions
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!