Discuss Scratch

_Icicle-Cube_
Scratcher
500+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

medians wrote:

_Icicle-Cube_ wrote:

medians wrote:

Why…
because maybe you wanna have all variables change at a certain point in a project?
No I mean why.
I just answered it. what do you mean?
medians
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

_Icicle-Cube_ wrote:

medians wrote:

_Icicle-Cube_ wrote:

medians wrote:

Why…
because maybe you wanna have all variables change at a certain point in a project?
No I mean why.
I just answered it. what do you mean?
This is not April Fools…

Last edited by medians (Jan. 7, 2023 23:31:28)

PkmnQ
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

medians wrote:

And maybe an option for a + so you can add onto the variables that don't get hidden or shown?
Or possibly tiny arrows?
_Icicle-Cube_
Scratcher
500+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

_Icicle-Cube_ wrote:

basically, they would work like this:
set all variables to []::variables // sets every variable to a certain value.
change all variables by []::variables // changes every variable by a certain value.
let me know if this is a dupe
wait a minute, how the heck was my topic moved here??
_Icicle-Cube_
Scratcher
500+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

medians wrote:

_Icicle-Cube_ wrote:

medians wrote:

_Icicle-Cube_ wrote:

medians wrote:

Why…
because maybe you wanna have all variables change at a certain point in a project?
No I mean why.
I just answered it. what do you mean?
This is not April Fools…
I'm genuinely asking you what you mean -_-
I hate you 60 second rule. /srs
cookieclickerer33
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

_Icicle-Cube_ wrote:

medians wrote:

_Icicle-Cube_ wrote:

medians wrote:

_Icicle-Cube_ wrote:

medians wrote:

Why…
because maybe you wanna have all variables change at a certain point in a project?
No I mean why.
I just answered it. what do you mean?
This is not April Fools…
I'm genuinely asking you what you mean -_-
I hate you 60 second rule. /srs
Scratch servers went haywire for a sec that could be why
medians
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

yeah i think they found it to be a lot similar to this topic LOL
Anyway..
gdfsgdfsgdfg
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

Can be useful for debug functions
RSF-2
Scratcher
2 posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

hide all lists :: lists
medians
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

RSF-2 wrote:

hide all lists :: lists
That one should be like:

rip last dropdown lol
UpwindRoyce
Scratcher
4 posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

Use this

define Hide all variables
hide variable [Score v]
hide variable [Random v]
hide variable [Amoung us v]
hide variable [Tan v]
hide variable [Smile v]
hide variable [Letter v]
hide variable [Value v]

and add a new block every time you make a new varuble
medians
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

UpwindRoyce wrote:

Use this

define Hide all variables
a bunch of hide variable blocks ::variables

and add a new block every time you make a new varuble
That would be tedious to do, which is why they’re suggesting this block in the first place.

Last edited by medians (Feb. 22, 2023 19:35:20)

Knightbot63
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

UpwindRoyce wrote:

Use this

define Hide all variables
hide variable [Score v]
hide variable [Random v]
hide variable [Amoung us v]
hide variable [Tan v]
hide variable [Smile v]
hide variable [Letter v]
hide variable [Value v]

and add a new block every time you make a new varuble
But nobody, even the time consumer will want to copy and paste all variables.
hobbes21C
Scratcher
6 posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

eat-sleep-softball wrote:

Once upon a time, I was making a project that had about, say, 15 variables. But, all of them had to be hidden at some times, and shown at some times. My suggestion is a “Hide All Variables” block, as well as a “Show All Variables” block.
duplicate (sorry couldnt get the link to work)

Last edited by hobbes21C (Feb. 23, 2023 00:59:14)

medians
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

hobbes21C wrote:

eat-sleep-softball wrote:

Once upon a time, I was making a project that had about, say, 15 variables. But, all of them had to be hidden at some times, and shown at some times. My suggestion is a “Hide All Variables” block, as well as a “Show All Variables” block.
duplicate (sorry couldnt get the link to work)
Where is the link? Just copy and paste it here.

Last edited by medians (Feb. 23, 2023 01:03:03)

-ElectronicArts-
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

Bum dup.
Anyways good for variable management.
Vovon25
Scratcher
100+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

OH THIS IS PERFECT!
Starry_Animations
Scratcher
36 posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

Amazing idea, however there is one problem that I can see with your blocks: What if someone names a variable “all”?

In my opinion, better blocks for this would be:

hide all variables

show all variables

(Someone's probably already said this, but I'm too lazy to look at all the other replies XD)
medians
Scratcher
1000+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

Starry_Animations wrote:

Amazing idea, however there is one problem that I can see with your blocks: What if someone names a variable “all”?

In my opinion, better blocks for this would be:

hide all variables

show all variables

(Someone's probably already said this, but I'm too lazy to look at all the other replies XD)
They didn't make the blocks, someone else did.
Anyway, maybe it could also be “all variables”, since: will anyone actually name their variable “all variables”?
Also, you can name sprites “Stage” and the ([property v] of [sprite v]) sensing category block will still work and show both (it used to not work but because of a bug).

Last edited by medians (June 20, 2023 21:23:40)

the_awsome_penguinja
Scratcher
500+ posts

A "Hide All Variables" Block [includes discussion about "Show all Variables" as well]

Support(I had to show and hide 10 variables for each time you simply played a round)

Powered by DjangoBB