VARIABLE REPLACER Idea

Discussion and feedback on Construct 2

Post » Sun Jan 05, 2014 12:35 pm

I would be great to have a functionality to replace used global variable with instance variable
OR
replace instance variable with global variable

For example if I use 20x same global variable in my event sheet
& I want to replace them all with intancevariable of my object

It could be power toll for eventsheet to save a lot of time if U change
your mind in a big project
(PICK which variable U want to replace)=>

( pick variable to replace------ replace with)   (DONE)


Thanks !

                  Ralph2014-01-05 13:01:19
B
14
S
2
Posts: 82
Reputation: 1,059

Post » Sun Jan 05, 2014 12:37 pm

It could be done with sprites, also
B
14
S
2
Posts: 82
Reputation: 1,059

Post » Sun Jan 05, 2014 7:04 pm

Well there is a replace Object already, but var's are not objects. I doubt there will be a variable replacer. The best suggestion is to just start with local/object variables.

But I did the same thing when I first got the tool. I vars as globals only to realize it would have been better as sprite or local.

I don't believe this implementation would have long term merit as this is mostly just a stop gap for newer developers.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,013


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests