[C2/C3 Suggestion] Instance Variable Tags/Colors

Discussion and feedback on Construct 2

Post » Wed Jul 20, 2016 12:01 pm

(Would be nice for C2 but will probably have to wait for C3 if the idea is supported.)

The ability to tag and/or color instance variables would be very helpful, especially if you've got teammates working on levels that aren't familiar with all of them. Some examples...

Editor: These are variables that can be freely modified in the layout editor, like the contents of a treasure chest or the item a particular enemy instance should drop.
Private: "Internal" variables that are only modified via events and should not be touched in the layout editor.
Family: These variables are inherited by a family and are not unique to this object. (These should be automatically separated from the rest, really)
States: These variables control the object's states or mechanics like Attacking, Climbing, Dashing, etc.
Stats: These variables define the object's stats, like HP, MP, ATK, DEF, etc.

Currently you can add prefixes or whatever to help define the variables, like E_Contents, Private_Timer, Mech_Jumping, etc. but that can get messy and make expressions really long or hard to read.
Image
B
243
S
30
G
13
Posts: 1,787
Reputation: 18,770

Post » Wed Jul 20, 2016 5:31 pm

If the user also has the option to customize these categories in both name and colour, then I think it can be a nice addition. Since C2 is a visual programming engine, more visual elements that help developers see through the project more easily is always a good idea imho.
B
137
S
33
G
17
Posts: 1,560
Reputation: 20,797


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest