Discuss Scratch

powerleah
Scratcher
3 posts

How do you make a clicker?

whenclicked
sayHow do you make ac licker?for2secs
Nerd4EverHS
Scratcher
1 post

How do you make a clicker?

The most basic clicker game can easily be made with one value.

Get the sprite you want the player to click. Make the one value.

When this sprite is clicked
Change (Your Value) by 1

If you want the player to buy upgrades for more per click, make another value called per click. Change the earlier script from 1 to (Per Click Value). Add more sprites that you can spend money to buy for more per click value.

When this sprite is clicked
Check if

If so, change Per Click by (Boost Amount.)
Change (Currency) by (Actual cost of boost).

btw, I know this might have been hard to read, but I am not good at explaining things. srry.
PastaMario
Scratcher
38 posts

How do you make a clicker?

Nerd4EverHS wrote:

The most basic clicker game can easily be made with one value.

Get the sprite you want the player to click. Make the one value.

When this sprite is clicked
Change (Your Value) by 1

If you want the player to buy upgrades for more per click, make another value called per click. Change the earlier script from 1 to (Per Click Value). Add more sprites that you can spend money to buy for more per click value.

When this sprite is clicked
Check if

If so, change Per Click by (Boost Amount.)
Change (Currency) by (Actual cost of boost).

btw, I know this might have been hard to read, but I am not good at explaining things. srry.
I'll give it a shot.

For the thing to be clicked…

whenthisspriteclickedchangeclick amountby0

If you want the player to buy upgrades, and they have to click a separate sprite to access the item to buy…
On that other sprite…
whenthisspriteclickedif(click amount)v>49thenpurchaseitemchangeclick amountby-50

Last edited by PastaMario (Aug. 7, 2016 07:50:29)

rick_ds
Scratcher
100+ posts

How do you make a clicker?


This is how to make a clicker
First Make a Sprite to click

Then Put the Code underneath on the project

Very Simple Example

whenclickedsetClicksto0
whenthisspriteclickedchangeClicksby1

Studio42
Scratcher
500+ posts

How do you make a clicker?

TheDiamondArmoured
Scratcher
41 posts

How do you make a clicker?

whenclicked
set coinsvto0

whenthisspriteclicked
change coinsvby1
CodingLama27
Scratcher
17 posts

How do you make a clicker?

You Just gave me a light bulb thanks!
Julian_Machiga
New Scratcher
1 post

How do you make a clicker?

But what if you don't have enough money and it still buys?
deck26
Scratcher
1000+ posts

How do you make a clicker?

Julian_Machiga wrote:

But what if you don't have enough money and it still buys?
Please start your own topic rather than necroposting.

If you have X amount of money and want to buy an item costing Y you can only do so if X is not less than Y.

ifnotX<Ythen
If you prefer you can do X>Y or X=Y.
TheScratchGod5
Scratcher
5 posts

How do you make a clicker?

I have made a tutorial on this please visit the following project:
https://scratch.mit.edu/projects/227188631/
Happysoul05
Scratcher
100+ posts

How do you make a clicker?

TheScratchGod5 wrote:

I have made a tutorial on this please visit the following project:
https://scratch.mit.edu/projects/227188631/
Do not necropst this is an old project from 2016.
Scratchuseroof
Scratcher
2 posts

How do you make a clicker?


I am making a doge clicker how do u make 1?
whenclicked
?

Last edited by Scratchuseroof (Jan. 13, 2019 15:22:21)

Scratchuseroof
Scratcher
2 posts

How do you make a clicker?

deck26
Scratcher
1000+ posts

How do you make a clicker?

Scratchuseroof wrote:

I am making a doge clicker how do u make 1?
whenclicked
?
Please start your own new topic if you have a question. This topic is old.
ujt5
Scratcher
1 post

How do you make a clicker?

@Scratchuseroof you would do this:
whenclickedsetdogesto0
whenthisspriteclickedchangedogesby1

Last edited by ujt5 (Feb. 7, 2019 14:42:49)

GREENMOUSETRAP
Scratcher
1 post

How do you make a clicker?

how do you make click multiplyers?
codeman1044
Scratcher
1000+ posts

How do you make a clicker?

GREENMOUSETRAP wrote:

how do you make click multiplyers?
Please do not necropost. This topic is old and does not need any more posts. If you need a question to be answered, create your own topic.
nothing-happened
Scratcher
3 posts

How do you make a clicker?

How do you make it to where if you press a upgrade more than once it wil add more
SpideyPlaysMC
Scratcher
500+ posts

How do you make a clicker?

Topic is old and most likely resolved so I'm closing this. nothing-happened, please create your own topic about your problem rather than necroposting (posting on old topics).

Powered by DjangoBB