Clicker Game on Scratch

by Chyna081309 in Craft > Digital Graphics

5619 Views, 1 Favorites, 0 Comments

Clicker Game on Scratch

Screenshot 2023-02-27 4.16.11 PM.png

I decided to make a clicker game on Scratch because it is a very simple game to code. So let's get started!

Supplies

For this project, you will need:

  • A device (computer works best)
  • A Scratch account

Create the Project

Screenshot 2023-02-27 3.25.00 PM.png

On the Scratch home page, press the Create button next to the Scratch logo.

Choose Your Sprite

Screenshot 2023-02-27 3.32.34 PM.png
Screenshot 2023-02-27 3.30.16 PM.png

To choose your sprite (the object you're going to click), press the "choose a sprite" button in the bottom-right corner of your screen (the button is shown in the picture above). I chose the Balloon sprite (as shown above).

Make the Sprite Move and Set a Score

Screenshot 2023-02-27 3.43.54 PM.png

Copy the code above. This will make the sprite move to a new spot every second. If you want the sprite to move slower, change the "glide 1 secs" to a bigger number. For more of a challenge, decrease the "glide 1 secs" to a smaller number to make the sprite move faster.

Change What the Sprite Does When Clicked

Screenshot 2023-02-27 3.48.28 PM.png

Copy the code above. This will make the sprite disappear for one second after it's clicked.

OPTIONAL: Choose a Sound

Screenshot 2023-02-27 3.52.07 PM.png
Screenshot 2023-02-27 3.52.29 PM.png
Screenshot 2023-02-27 3.51.11 PM.png
Screenshot 2023-02-27 3.53.25 PM.png

To make a sound when the sprite is clicked, go to the Sound tab and press the "choose a sound" button to select a sound (the button is shown above). Then return to the Code tab and add the "play sound ___ until done" block to the previous code (the new code is shown above; make sure the "play sound ___ until done" block is equipped with your selected sound).

OPTIONAL: Choose a Backdrop

Screenshot 2023-02-27 3.52.59 PM.png
Screenshot 2023-02-27 4.58.47 PM.png
Screenshot 2023-02-27 4.59.53 PM.png

To add a backdrop, select the "choose a backdrop" button in the bottom-right corner (the button is shown above) and choose a background. Then go to the Backdrop tab and select that backdrop. I chose the Rays backdrop (as shown above).

You're Done

Screenshot 2023-02-27 4.15.25 PM.png

Enjoy the clicker game you just made! Press the green flag to start the game. If you want to allow others to play your game, share it by pressing the Share button at the top of your screen.