[Suggestion] Mark instance variable as 'non-configurable'

  • While working on a project, I find that I create several instance variables whose values get set by events while the game is running, and have no purpose being configured in the layout editor. At the same time, those same objects will have a couple variables that DO need to be configured in the layout editor, and those runtime-only variables clutter up the properties window and get in the way. It would be great if I could hide those runtime-only variables from the layout editor, so as to avoid confusing other people who also work on the project.

    This is pretty minor in the grand scheme of things, but would still be nice to have.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Variable grouping would serve the same purpose, you could hide the non-configurable variables under an "internal" group or something like that. That also has the benefit of allowing you to configure variables in a sane way for other use-cases, such as my other post and followup

    currently my solution is to name them _varname

  • Fimbul

    I like this idea, though I think "Variable Namespaces" would be a more appropriate name.

  • "Namespaces" sounds too much like proper namespaces, which I guess is a worthwhile feature in it's own right.

    Variable grouping, however, is purely cosmetic, and wouldn't affect the way variables work at all.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)