Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » how do i make a clicker game that doesnt let you hold down and get a billion points
- rocky95
-
Scratcher
5 posts
how do i make a clicker game that doesnt let you hold down and get a billion points
how m8
- ShinigamiBlacky
-
Scratcher
100+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
wait until <not <mouse down?>>
- deck26
-
Scratcher
1000+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
forever
wait until <mouse down?>
whatever
wait until <not <mouse down?>>
end
- TheLogFather
-
Scratcher
1000+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
Or:
Note that using above will still run the script on a click even after the project was stopped (unless you put in some scripting to detect and prevent that…)
when this sprite clicked // or maybe "when stage clicked", if that's more appropriate for your situation
...whatever... :: grey
Note that using above will still run the script on a click even after the project was stopped (unless you put in some scripting to detect and prevent that…)
- badatprogrammingibe
-
Scratcher
500+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
This might be more suitable:forever
wait until <mouse down?>
whatever
wait until <not <mouse down?>>
end
forever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <<mouse down?> and <touching [mouse pointer v]?>>>
end
- deck26
-
Scratcher
1000+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
If they want the click to be on a particular spite, yes, but that wasn't actually specified. The key is the ‘wait until not’ anyway.This might be more suitable:forever
wait until <mouse down?>
whatever
wait until <not <mouse down?>>
endforever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <<mouse down?> and <touching [mouse pointer v]?>>>
end
- TheLogFather
-
Scratcher
1000+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
This might be more suitable:Also note this gets triggered by holding down the mouse button while shaking the cursor on & off the sprite (which may or may not be acceptable for the project in question…)forever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <<mouse down?> and <touching [mouse pointer v]?>>>
end
- badatprogrammingibe
-
Scratcher
500+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
Oops, this should work:This might be more suitable:Also note this gets triggered by holding down the mouse button while shaking the cursor on & off the sprite (which may or may not be acceptable for the project in question…)forever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <<mouse down?> and <touching [mouse pointer v]?>>>
end
forever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <mouse down?>>
end
- coderKingsley
-
Scratcher
54 posts
how do i make a clicker game that doesnt let you hold down and get a billion points
when this sprite clicked
...
wait until <not <touching [ mouse-pointer] ?>>
- notabot113
-
Scratcher
20 posts
how do i make a clicker game that doesnt let you hold down and get a billion points
when this sprite clickedHope I helped!
change [clicks v] by (1)
- TheGypsie
-
New Scratcher
9 posts
how do i make a clicker game that doesnt let you hold down and get a billion points
how would i get the … block?Oops, this should work:This might be more suitable:Also note this gets triggered by holding down the mouse button while shaking the cursor on & off the sprite (which may or may not be acceptable for the project in question…)forever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <<mouse down?> and <touching [mouse pointer v]?>>>
endforever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <mouse down?>>
end
- TheAnomalousPseudo
-
Scratcher
1000+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
This topic is from 2018. Please make your own topic rather than reviving an old one.
- TheGypsie
-
New Scratcher
9 posts
how do i make a clicker game that doesnt let you hold down and get a billion points
This topic is from 2018. Please make your own topic rather than reviving an old one.how? sorry i just got scratch
- TheAnomalousPseudo
-
Scratcher
1000+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
No problem! Go to the relevant subforum (Help With Scripts is right in this case) and click the blue “New Topic” button near the top right of the screen.This topic is from 2018. Please make your own topic rather than reviving an old one.how? sorry i just got scratch
Last edited by TheAnomalousPseudo (May 25, 2021 12:40:17)
- GalactekWasTaken
-
Scratcher
12 posts
how do i make a clicker game that doesnt let you hold down and get a billion points
try this:
when this sprite clicked
change [...] by (...)
Last edited by GalactekWasTaken (Dec. 6, 2021 01:06:40)
- leonsasha
-
Scratcher
1 post
how do i make a clicker game that doesnt let you hold down and get a billion points
I don't think that any of them work because I tried some of them in my project.
And by the way what block is dot dot dot?
And by the way what block is dot dot dot?
- Fieryunicat-1
-
Scratcher
1 post
how do i make a clicker game that doesnt let you hold down and get a billion points
can someone please tell me how to make it to where when you hold the mouse button you don't get points but when you click you do get points.
- chriscreators14
-
Scratcher
500+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
(#11)what?how would i get the … block?Oops, this should work:This might be more suitable:Also note this gets triggered by holding down the mouse button while shaking the cursor on & off the sprite (which may or may not be acceptable for the project in question…)forever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <<mouse down?> and <touching [mouse pointer v]?>>>
endforever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <mouse down?>>
end
- medians
-
Scratcher
1000+ posts
how do i make a clicker game that doesnt let you hold down and get a billion points
This was necroposted on by the way, look at the dates. I realized when I saw “TheLogFather” as a username.
what?They were asking about the grey block that shows up in scratchblocks when you type 3 dots.
- Discussion Forums
- » Help with Scripts
-
» how do i make a clicker game that doesnt let you hold down and get a billion points













