Discuss Scratch

Skmish
Scratcher
85 posts

Is there a MAX amount of Variables you can have in a Scratch Game?

I keep sweating over being conservative over this because I thought the max was 50… Right? Google says there is no limit to how many variables a project can have?
k7e
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

Skmish wrote:

I thought the max was 50
I don't think there is a limit, even if there is, you can have a list and use each item like its own variable.
-Valtren-
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

There is no limit on normal variables. However, you can only have up to 10 cloud variables.
coder2045
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

There's no limit, although at around 24 it becomes nearly impossible to change the dropdown on the set and change variable blocks.
hi875230163394
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

coder2045 wrote:

There's no limit, although at around 24 it becomes nearly impossible to change the dropdown on the set and change variable blocks.
Scroll Wheel?
asdfperson135
Scratcher
500+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

me omw to make seventeen thousand variables
blablablahello
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

asdfperson135 wrote:

me omw to make seventeen thousand variables
json file limit:

Last edited by blablablahello (April 26, 2023 02:52:12)

medians
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

blablablahello wrote:

asdfperson135 wrote:

me omw to make seventeen thousand variables
json file limit:
Omg I just remembered about that being in 3.0 rather than the 50MB limit
Also, LOL, reminds me of my project that has hundreds of variables and some names of ScratchX blocks.

Last edited by medians (April 26, 2023 02:56:34)

ajskateboarder
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

You aren't allowed to name browser extensions

Also you might want to consider lists depending on your use-case

Last edited by ajskateboarder (April 26, 2023 11:40:43)

medians
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

ajskateboarder wrote:

You aren't allowed to name browser extensions
Uhm, what are you talking about?

Last edited by medians (April 26, 2023 13:11:08)

Knightbot63
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

medians wrote:

(#10)

ajskateboarder wrote:

You aren't allowed to name browser extensions
Uhm, what are you talking about?
The post got dustbinned and the OP said you can use a certain extension as a scroll wheel.
medians
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

Knightbot63 wrote:

medians wrote:

(#10)

ajskateboarder wrote:

You aren't allowed to name browser extensions
Uhm, what are you talking about?
The post got dustbinned and the OP said you can use a certain extension as a scroll wheel.
Oh okay then.
Also, can't you test this by just typing some variable's name, enter, then just some letter, enter, etc? Sorry if this explanation was horrible.

Last edited by medians (April 26, 2023 13:13:38)

ARandomNumberIs7482
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

Skmish wrote:

I keep sweating over being conservative over this because I thought the max was 50… Right? Google says there is no limit to how many variables a project can have?
There is no limit, but if you add a lot of variables, it can possibly lag your project, as shown in this project made by my old account. https://scratch.mit.edu/projects/559329450
Bruh_Plus
Scratcher
1 post

Is there a MAX amount of Variables you can have in a Scratch Game?

I am making a 3d engine, and it currently has 53 single variables and 12 lists. Is there any limitations I should be watching out for?
BigNate469
Scratcher
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

Bruh_Plus wrote:

I am making a 3d engine, and it currently has 53 single variables and 12 lists. Is there any limitations I should be watching out for?
1. Create your own topic
2. There is a 5 megabyte maximum size for the UNcompressed project.json file, which points to (but does not contain) all of your costumes and sounds, stores all of your sprites, and stores all of your blocks and comments. Some people will say that the maximum size for the entire project it 50 megabytes, this was correct in Scratch 2.0, but is no longer true.
MountY_Backup
Scratcher
100+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

I am going to report the topic to be closed as answered and due to necroposts.

Last edited by MountY_Backup (April 28, 2024 17:33:56)

cheddargirl
Scratch Team
1000+ posts

Is there a MAX amount of Variables you can have in a Scratch Game?

BigNate469 wrote:

Bruh_Plus wrote:

I am making a 3d engine, and it currently has 53 single variables and 12 lists. Is there any limitations I should be watching out for?
1. Create your own topic
2. There is a 5 megabyte maximum size for the UNcompressed project.json file, which points to (but does not contain) all of your costumes and sounds, stores all of your sprites, and stores all of your blocks and comments. Some people will say that the maximum size for the entire project it 50 megabytes, this was correct in Scratch 2.0, but is no longer true.

MountY_Backup wrote:

I am going to report the topic to be closed as answered and due to necroposts.
Please stop necro-responding to necroposts and report silent going forwards.

Powered by DjangoBB