First you want to go to choose a sprite which will be the one which will be clicked by either choosing in the Scratch costume library or upload from your files.

Using upload

Once you have that sprite then you go to the variable section and create a new variable and name it "Points".

Name a variable "Points"

Once you are done, drag out a "When Green Flag Clicked" event block and place the set "Points" to 0 so that the game will restart when you press green flag. You also want to drag out the "When Sprite Clicked" event block and click it on with a wait 0.1 seconds block ,then add the change "Points" by 1.

Code

Then there you are done with a simple clicker game 😀

But if you want to do something more advanced you may continue reading down:

To make the clicker game more fun, you might want the sprite to have some sound / become big and small as if it is popping.

First you want to find the sound pop in the Scratch sound library.

Secondly you want to copy this code:

Extra Code

The red arrows are for the exploding effect and the blue arrows are for the sound effect.

Bye

Thanks for reading, see you soon and happy December holidays XD .


This free site is ad-supported. Learn more