Santa Clicker

by Max 24 in Circuits > Computers

746 Views, 0 Favorites, 0 Comments

Santa Clicker

20.png

This is a medium effort to put in, it took me about an hour to make it.

Costume

26.png
Santa.png

You will need to pick a sprite for clicking, mine is Santa. Copy and paste it twice for the cloning. This download will give you the sprite.

Sizing

1.png

Your first going to make it so when your mouse hovers over the sprite it enlarges. You will also create 2 messages that will be used later.

Sound

21.png
22.png
23.png
10.png

Next add a variable, CLICKED for all sprites. Then go into the sound editor, the top of the page says sound click it. When you get into the sounds page it may have a sound in it, that is okay and you can delete it. Now click the "Choose a Sound" button, it has a magnifying glass on it. When you get into it search for "finger snap". Then click it.

Clicked

17.png

Then code in the When this sprite clicked block.

Enlarging

2.png
3.png

Next use this rotating piece to make it so it can rotate. This Rotate block does not use screen refresh.

Sprites

4.png
5.png
6.png

Create variables x, y and speed y for this sprite only.

Cloning

24.png
25.png

Next code in this big block of code. This controls the clones when you press Santa. You change the costume so it will not glitch. The pick random blocks that say pick random from 2 to 7 and -2 to -7 can be changed. They just should be the same ex: 9 to 15 and -9 to -15. This controls how far away the Santa cloning can go, the less gap the less the varied changing for x.

Record

12.png
13.png
8.png

Add a record block to the bottom of the when green flag clicked. Then make the RECORD variable for cloud variable (all sprites). BEWARE NEW USERS CAN NOT DO THIS AND WILL NEED TO SKIP THIS STEP. Then make the Records Code.

Sprites

27.png
Automatically +1.png
Increase Clicks.png

In Scratch clicking games there are 2 things to usually buy, increase click power and increase automatic points. These 2 I will show you. These downloads will give you the sprites.

Shop

18.png

First, code the Green flag clicked.

Shop +1 Code

19.png
28.png

Next create this for the automatically changing your clicking rate. Change the 2 circled blue numbers to change the price.

Shop Auto +1 Code Variable

31.png

Next make a variable named auto click, make it for THIS SPRITE ONLY.

Shop Auto +1 Code

29.png
30.png

Finally do the 2 costume and the auto-click code.