Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Clicker Game Coins
- 27ndolieslager3
-
73 posts
Clicker Game Coins
Hi!
I made a clicker game and I have a coin variable to show the coins. I want to make it so when you hit 1 million(for ex) it says 1m.
Thanks!
I made a clicker game and I have a coin variable to show the coins. I want to make it so when you hit 1 million(for ex) it says 1m.
Thanks!
Scratch On!
![](http://cdn.scratch.mit.edu/scratchr2/static/__03550696c41ed0b9c8e860c6cb190a16__/djangobb_forum/img/smilies/cool.png)
- D-ScratchNinja
-
1000+ posts
Clicker Game Coins
That is the idea, but you'll need to use a separate variable that displays the coin count, otherwise you'll break the real number. This should work…when green flag clicked
forever
if <(Coins) > [999,999]> then
set [Coins v] to (join ((Coins) / [1,000,000]) [ m])
stop [This script v]
end
end
D-ScratchNinja • he/him
- The following is my signature, which always shows up below my posts. -
New! Filter through my projects with my website.
Need to fix an issue? Check out this studio for solutions to some common problems!
OS: Windows 11 / Browser: Microsoft Edge / Time zone: PST/PDT
- 27ndolieslager3
-
73 posts
Clicker Game Coins
I want to do it for all things EX 2b
Scratch On!
![](http://cdn.scratch.mit.edu/scratchr2/static/__03550696c41ed0b9c8e860c6cb190a16__/djangobb_forum/img/smilies/cool.png)
- Discussion Forums
- » Help with Scripts
-
» Clicker Game Coins