Discuss Scratch

Ausername57
Scratcher
100+ posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

I've tried everything like other discussions and looking through them to see if someone could help, to looking through YouTube to find a tutorial! If you know a lot about scratch, please help me i wanna improve my clicker game Sweden clicker! Image: file:.///home/chronos/u-0507787c4f76a7bfca7155cef500fd13f662947f/MyFiles/Downloads/Screenshot%202023-11-01%202.29.24%20PM.png

Last edited by Ausername57 (Nov. 1, 2023 21:32:11)

matt4kj
Scratcher
76 posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

What do you need help with
Ausername57
Scratcher
100+ posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

@matt4kj I need help making a 2x clicks for my game/project and if you get it it still has +1 click even if you buy it. also you can buy any item at any amount of clicks and i need that to be fixed!
matt4kj
Scratcher
76 posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

Can you send a project link?
Ausername57
Scratcher
100+ posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

Link: https:.//scratch.mit.edu/projects/917160671/ c+p the link then remove the period in front of the colon and the other thingy and that's the game/project.
Jlerpy
Scratcher
1000+ posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

Ausername57 wrote:

Link: https:.//scratch.mit.edu/projects/917160671/ c+p the link then remove the period in front of the colon and the other thingy and that's the game/project.

https://scratch.mit.edu/projects/917160671 for people who don't want to mess around with pointless cut and paste.

Last edited by Jlerpy (Nov. 1, 2023 23:55:17)

matt4kj
Scratcher
76 posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

It don't work
matt4kj
Scratcher
76 posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

Jlerpy wrote:

Ausername57 wrote:

Link: https:.//scratch.mit.edu/projects/917160671/ c+p the link then remove the period in front of the colon and the other thingy and that's the game/project.

https://scratch.mit.edu/projects/917160671/, for people who don't want to mess around with pointless cut and paste.
It don't work
Jlerpy
Scratcher
1000+ posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

Ausername57 wrote:

@matt4kj I need help making a 2x clicks for my game/project and if you get it it still has +1 click even if you buy it.

Okay, so what you need to do is have a variable that represents how many Clicks you get each time you click. Let's call that Power. Inside “images (5)”, under the green flag script, add

set [(Power) v] to [1]

and where you have
change (Clicks) by (1)

into

change (Clicks) by (Power)

Then in “Sprite3”, you can have buying it change Power.

also you can buy any item at any amount of clicks and i need that to be fixed!

You're on the right track that you need an IF check for whether the price is higher than Clicks.
I find a neat way to handle that is to use

if <not <(Clicks) < (Price)>> then
change (Clicks) by <0-(Price)>
end
Ausername57
Scratcher
100+ posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

It still dosent give me the 2x clicks but the buy only with enough works! and for the cursor it just sends you to the negatives if you click it without enough! do you have a solution for that?

Last edited by Ausername57 (Nov. 1, 2023 23:56:30)

Jlerpy
Scratcher
1000+ posts

Help! I am new to scratch and I need help making a clicker game! I've tried everything!

It's not changing Power because you've removed the important bits of the code from Sprite3, like “When this sprite is clicked”…

Powered by DjangoBB