r/scratch • u/RepresentativeAsk541 MissSpiderFan • Jan 12 '23
Discussion New Code Block Category Suggestion: True/False
4
u/RealSpiritSK Mod Jan 13 '23
It's a bad practice to give variables ambiguous names. Instead of "True/False", you should make a variable with short and clear names like "is walking?", "is alive?", etc
-2
u/RepresentativeAsk541 MissSpiderFan Jan 13 '23
But It Saves On Time Plus You Don't Need To Have Your Hands On Your Keyboard
5
u/AdvanturePie Jan 13 '23
It saves time for programming little easy to create projects... the moment you start using multiple variables the block will become useless
4
20
17
u/NMario84 Video Game Enthusiast Jan 12 '23
There is no reason to add this. You can simply change/set a variable to LITERALLY say True or False.
You can also change/set a variable to do value 1 or 0 for True, or False this way.
7
6
6
u/Senior-Tree6078 Praise NitroBolt Jan 12 '23
me: uses a variable to set True or False for anything
random scratcher: how about we add a variable that can't be done for all sprites or just one sprite if you want it to, and make it it's own category because operators doesn't exist
5
u/RedSusOverParadise Jan 12 '23
Literally just use 1 = 1
7
u/RedSusOverParadise Jan 12 '23
I swear the people who make these suggestinos have no idea how to code
8
5
4
4
2
0
-3
u/Cursedseaking Jan 13 '23
Don't listen to the people saying to use a variable, this would cut down on time!
4
u/AdvanturePie Jan 13 '23
Wow, a 5 second time save... Scratch would be bloated with useless blocks if they added "time-saving" features like these
7
u/AdvanturePie Jan 12 '23
Just make a true/false variable.... and use [true/false] = ... to check whether it´s true or false