Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to make a clicks per second upgrade in a scratch game?
- ThyFunniGuy
-
3 posts
How to make a clicks per second upgrade in a scratch game?
I am trying to make a CPS feature in a clicker game. I am currently using Griffpatch's number counter code for the score, and i tried the “increase clicks by score method.” Like this:
but when I run this code, the cps is set to nine and the score shoots up way more than nine every second. The index variable for the score is nine, so that has something to do with it. Any help?
but when I run this code, the cps is set to nine and the score shoots up way more than nine every second. The index variable for the score is nine, so that has something to do with it. Any help?
Last edited by ThyFunniGuy (Jan. 17, 2025 16:52:23)
- jmb1293634
-
500+ posts
How to make a clicks per second upgrade in a scratch game?
try this:
if that is what you mean by
then sorry can you share the project too allow us to test it
- ThyFunniGuy
-
3 posts
How to make a clicks per second upgrade in a scratch game?
try this:if that is what you mean bythen sorry can you share the project too allow us to test it
Okay, i'll tell you how to get to the clicker section. https://scratch.mit.edu/projects/1099576460/
Once you launch it, hover your cursor at the middle-top section of the screen until you see a white box with a question mark. Click that, and there you go.
- Discussion Forums
- » Help with Scripts
-
» How to make a clicks per second upgrade in a scratch game?