Discuss Scratch

Atlanta--Braves1792
Scratcher
7 posts

Cookie Clicker

I am making a cookie clicker game and I want to use the same numbers over and over every time you click the cookie to keep increasing the total number of cookies. I want to recycle the numbers 1 through 9 but don't know how to increase it to ten and above. I really need help. And I don't know how to use variable lists.
codeywhizz
Scratcher
100+ posts

Cookie Clicker

Atlanta--Braves1792 wrote:

I am making a cookie clicker game and I want to use the same numbers over and over every time you click the cookie to keep increasing the total number of cookies. I want to recycle the numbers 1 through 9 but don't know how to increase it to ten and above. I really need help. And I don't know how to use variable lists.
do u know how to use clones tho…
Atlanta--Braves1792
Scratcher
7 posts

Cookie Clicker

codeywhizz wrote:

Atlanta--Braves1792 wrote:

I am making a cookie clicker game and I want to use the same numbers over and over every time you click the cookie to keep increasing the total number of cookies. I want to recycle the numbers 1 through 9 but don't know how to increase it to ten and above. I really need help. And I don't know how to use variable lists.
do u know how to use clones tho…
Yes. Depends. I don't know how to refer back to a certain clone after making a new one

This is the link to my project so you know what I mean, I only made ten costumes, 0 through 9, and once you click it 9 times it goes back to 0. I want it to go to 10. Can you please help?
https://scratch.mit.edu/projects/1115992838/

Last edited by Atlanta--Braves1792 (Jan. 2, 2025 19:23:53)

DragonPlusMaster
Scratcher
100+ posts

Cookie Clicker

Atlanta--Braves1792 wrote:

I am making a cookie clicker game and I want to use the same numbers over and over every time you click the cookie to keep increasing the total number of cookies. I want to recycle the numbers 1 through 9 but don't know how to increase it to ten and above. I really need help. And I don't know how to use variable lists.
You could just have a variable (score), then have a text engine write that variable. Text engines are rather simple, and as I've posted in the other topic, I do have a tutorial that could help you.

Last edited by DragonPlusMaster (Jan. 2, 2025 21:06:26)

Atlanta--Braves1792
Scratcher
7 posts

Cookie Clicker

DragonPlusMaster wrote:

Atlanta--Braves1792 wrote:

I am making a cookie clicker game and I want to use the same numbers over and over every time you click the cookie to keep increasing the total number of cookies. I want to recycle the numbers 1 through 9 but don't know how to increase it to ten and above. I really need help. And I don't know how to use variable lists.
You could just have a variable (score), then have a text engine write that variable. Text engines are rather simple, and as I've posted in the other topic, I do have a tutorial that could help you.
Thanks!

Powered by DjangoBB