Discuss Scratch

MPES1100
Scratcher
10 posts

Project Idea: Simple Clicker Game

Please add these scripts to your character.
1.Choose sprite 2.Make variable “Money” 3. Done!!



when green flag clicked
set [Money] to [0]
forever
if <<<touching [mouse pointer ]> and <mouse down?>>> then
change [Money] by (1)
wait (0.1) secs
wait until <not<mouse down?>>



end

Last edited by MPES1100 (Jan. 26, 2018 01:32:24)

spodermen837
Scratcher
38 posts

Project Idea: Simple Clicker Game

this is a simpler way to do it it is faster to set up
when this sprite clicked
change [money v] by (1)

when I receive [ read this post]
forever
you're awsome
end
MPES1100
Scratcher
10 posts

Project Idea: Simple Clicker Game

Thanks for the tip, spodermen837
violet_raven
Scratcher
100+ posts

Project Idea: Simple Clicker Game

spodermen837 wrote:

this is a simpler way to do it it is faster to set up
when this sprite clicked
change [money v] by (1)

Actually, spodermen837, I don't think that's right. The reason I disagree is because you need the “wait until not mouse down”. Without this block, you wouldn't even need to click; you could just hold down the object you're clicking and you'll still receive points. I have made a clicker game (where my powerup is glitchy) so I have some experience.

when green flag clicked
forever
stop [whatever you're doing and go click the links below!]
end


Open “Mid-Air” PMV | Lemonade Tycoon | Art Dump | Pun Wars | Scratch World Animation


spodermen837
Scratcher
38 posts

Project Idea: Simple Clicker Game

violet_raven wrote:

spodermen837 wrote:

this is a simpler way to do it it is faster to set up
when this sprite clicked
change [money v] by (1)

Actually, spodermen837, I don't think that's right. The reason I disagree is because you need the “wait until not mouse down”. Without this block, you wouldn't even need to click; you could just hold down the object you're clicking and you'll still receive points. I have made a clicker game (where my powerup is glitchy) so I have some experience.

Well I used this script for my clicker game and it works fine.

when I receive [ read this post]
forever
you're awsome
end
violet_raven
Scratcher
100+ posts

Project Idea: Simple Clicker Game

K sorry, whatever works for you!

when green flag clicked
forever
stop [whatever you're doing and go click the links below!]
end


Open “Mid-Air” PMV | Lemonade Tycoon | Art Dump | Pun Wars | Scratch World Animation


Powered by DjangoBB

Standard | Mobile