Discuss Scratch
- Discussion Forums
- » Project Ideas
- » Project Idea: Simple Clicker Game
- 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!!
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
39 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
- violet_raven
- Scratcher
100+ posts
Project Idea: Simple Clicker Game
this is a simpler way to do it it is faster to set upwhen 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.
- spodermen837
- Scratcher
39 posts
Project Idea: Simple Clicker Game
this is a simpler way to do it it is faster to set upwhen 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
- Discussion Forums
- » Project Ideas
- » Project Idea: Simple Clicker Game