Folders for scene and global variables

Please make sure to follow the forum’s rules before posting.
:cross_mark: Posts that do not follow the rules will be ignored, closed and archived.

Your variables list can quickly get very huge, so I think it would be great to be able to pack them into folders. I know there’s the trick of using structures for this, but I don’t think its an elegant solution to put unrelated things into the same structure.

That is why you are creating many structures same as you would create many folders

Only thing that would differ is syntax
Folders would not require you to type parent folder in front of child variable

Structures would

BUT if you start to follow some rules you will quickly see you don’t need that much folders/structures

For example i go with ZX structure and store there all info i gonna re use that will not change for exampe
ZX.ButtonWidth
ZX.SpawnX
ZX.SpawnY
ZX.DefaultHP
ZX.AmmoUpgrade
And so go on

For S i go with whatever i save
S.VolMusic
S.VolSound
S.FullScreen
And so go on

And you can quickly build your own rules which will help you keep your vars organized

I am not against your idea
I just think we have enough to manage it right now on its own

I did say you can use structures. But its a workaround, putting unrelated variables in the same structure just to be able to hide them in a list is very unelegant.

With the recent update to the variable list UI for global/scene/etc, I agree with ZeroX that structures functionally work as folders for your use case.

Combined with the search bar on all of the variable views across scopes, I’m not sure that folders would add anything over current state. Not saying it’d never get done, mind you, I’d just not vote for it over a more database style editing for structures, if we’re talking about Variable UI updates.

Nobody expects you to place everything under same or few structures you can have as many as you want

And looking how right now ppl often confuse object groups with object folders
They create folder and then in events try to call object group by object folder name which does not exist since they only created folder (for organizing in list view) and not group (which have actual in events sheet functionality)

I would see many ppl create folders and expect to be able to call vars by folders via events

AGAIN i am not against your idea
Cause ppl who would know how to use it would find it very useful
But at the same time i am pointing out you already have means to deal with it
You just want other way of doing it

And cause of that fact (that we can shove vars under structures) i doubt we get var folders anytime soon

BUT i need to add i always opt in for options
I don’t use object folders
I can but i don’t need to
But if i want its there for me
So i would not mind having folders for variables
I would just want warning when creating folder that its pure for organization purposes and have no functionality in events sheet
And now every1 would be happy