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…)
Siggy the Kumquat slayer:
Main account: DadOfMrLog –– Frameworks for basic pen-rendered 3D in scratch (see studio). Examples:
- - - - 3D Text - - - - - - Simple shapes - - - Controllable structures - - - On the ground - - - - - - In space - - - -
- - - - 3D Text - - - - - - Simple shapes - - - Controllable structures - - - On the ground - - - - - - In space - - - -
- 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
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…) This might be more suitable:forever
wait until <<mouse down?> and <touching [mouse pointer v] ?>>
...
wait until <not <<mouse down?> and <touching [mouse pointer v]?>>>
end
Siggy the Kumquat slayer:
Main account: DadOfMrLog –– Frameworks for basic pen-rendered 3D in scratch (see studio). Examples:
- - - - 3D Text - - - - - - Simple shapes - - - Controllable structures - - - On the ground - - - - - - In space - - - -
- - - - 3D Text - - - - - - Simple shapes - - - Controllable structures - - - On the ground - - - - - - In space - - - -
- 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: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…) This might be more suitable: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] ?>>
THIS is a bad signiture
;
- 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 to Scratch
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: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…) This might be more suitable: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.
We ought to be careful with that octopus that takes over the servers. He's well armed.
- TheGypsie
- New to Scratch
9 posts
how do i make a clicker game that doesnt let you hold down and get a billion points
how? sorry i just got scratch This topic is from 2018. Please make your own topic rather than reviving an old one.
- 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.how? sorry i just got scratch This topic is from 2018. Please make your own topic rather than reviving an old one.
Last edited by TheAnomalousPseudo (May 25, 2021 12:40:17)
We ought to be careful with that octopus that takes over the servers. He's well armed.
- 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: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…) This might be more suitable: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
See that line over there? Everything below it is my signature. You can advertise here.
Ctrl+Alt+Down or thingo do NOT ask to scroll
(/) // This is Kumqa, who sends evil kumquats back to their camp.
<[<>]::sound> // This is Orba, who dizzies enemies by rotating.
[hi] \/\/ This is Glitchya, who glitches thingos. // Oh, I fixed the comment bug now.
block haven {block gun (ammo::grey) (ammo::grey)::sensing} <true :: operators> // This is Signa, which makes letter guns.
define block haven (block thingo) <auto fire?>
forever
if <enemies? :: sensing> then
if <not <auto fire?>> then
if <key [space v] pressed> then
set [fire? v] to <true :: operators>
else
set [fire? v] to <true :: operators>
end
else
set [fire? v] to <true :: operators>
end
else
set [fire? v] to <false :: operators>
end
if <fire? :: variables> then
repeat (10)
create clone of [signa blocks]
end
broadcast (fire signa blocks v)
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.
They were asking about the grey block that shows up in scratchblocks when you type 3 dots. what?
Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that
Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.
Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @straightforwardness
i trolled redcat LOL
if you see this
{what method did you use::control hat;
answer on profile ::motion
} ::operators
- Discussion Forums
- » Help with Scripts
- » how do i make a clicker game that doesnt let you hold down and get a billion points