Feature Request: Folder Goups for instance variables

Discussion and feedback on Construct 2

Post » Fri Sep 05, 2014 6:17 pm

Hey Everyone!

I think construct 2 needs to allow one to be able to group instance variables.

For example

Group Constants could contain acceleration, deceleration, jump power. You would access these in the event sheets by... SomeObject.Constants.acceleration.

This isn't needed for small scale projects but as soon as you need more complex behaviors you need tons and tons of instance variables. I used to just make multiple objects to store different info (like playerState and playerMath) - but given constructs limitations in polymorphism you can't simply scale a project built like that...

anyway... it would help with organization. My hunch is that those of you who disagree either haven't attempted anything grand in scale or found a better way to organize data in construct 2 (in which case I am all ears!)

Thanks!
Image
B
33
S
11
G
2
Posts: 563
Reputation: 5,141

Return to Construct 2 General

Who is online

Users browsing this forum: Nagval333 and 8 guests