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.

This Add-On will help you plan how to make a sprite shoot across the stage.

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

Then, it's up to you to use your creativity and the computer science skills you've learned in this club to complete the Add-On.

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 sprites x and y position on the stage.

While the glide block makes the 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.

Now it's your turn.

Program a sprite to shoot across the stage.

Good luck.

Choose an Add-On
Color Change
Create a sprite that changes colors when the mouse hovers over it.
Drift
Create a sprite that will perform different actions in response to its surroundings.
Hidden Surprise
Code a hidden surprise in your display window.
Go Crazy
Code your sprite to go crazy when the mouse-pointer touches it.
Talk about it (Challenge)
Add talking sprites in your program.
Shooting Sprites (Challenge)
Make a sprite shoot across the stage.
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!
Attributions
  • "Grand Opening' by csf11191 (https://scratch.mit.edu/projects/44999602/) -- Licensed by CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)
  • "Window Shopper Starter Project remix" by csf18500 (https://scratch.mit.edu/projects/40063188/) -- Licensed by CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)
  • "Window Shopper Starter Project remix" by csf3400 (https://scratch.mit.edu/projects/43007680/#editor) -- Licensed by CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)
  • "Window Shopper Starter Project remix" by csf21653 (https://scratch.mit.edu/projects/50079138/) -- Licensed by CC BY-SA 2.0 (https://creativecommons.org/licenses/by-sa/2.0/)