[feature request] Creating variables

Discussion and feedback on Construct 2

Post » Sun Mar 08, 2015 9:18 pm

There are some cases while writing your mighty expressions you suddenly realize that you forgot to add a variable (instance/local/global) to your project. Then you need to close the expression window, add a variable (in case of objects you need to find it in the project first), find an event you were working on and retype (or paste) expression. It's not hard or difficult, but it can take some time to do.

What I want to propose is to create a variables on the fly (in the editor only of course).

Objects: If you are writing an expression for specific object, then this object is already selected, like on image below.

All you need to do is, for example press right mouse button and click on "add instance variable" - then well know popup window will show up to add it. After you finish you can just simply continue writing your expression including just made variable.

Global/local variables - same as above but with one difference. Newly made variable will be place above current event - so it's easy to find and move after.

This could speed up a lot our workflows, because you would not have to remember to create all your needed variables before making your events. Just make them while you writing expressions.
You do not have the required permissions to view the files attached to this post.
Posts: 2,586
Reputation: 34,412

Post » Sun Mar 08, 2015 9:24 pm

Kind of nice suggestion actually, I approve it, nothing ground breaking but useful when you forgot to do it.
Game design is all about decomposing the core of your game so it becomes simple instructions.
Posts: 2,108
Reputation: 16,465

Return to Construct 2 General

Who is online

Users browsing this forum: Elliott and 10 guests