[Feature sugestion] Array plugin

Discussion and feedback on Construct 2

Post » Tue Dec 03, 2013 8:31 pm

It would be nice if the array object had a text box for each dimension. So I could edit the array using "[a, b, c, d]".
Thiago Rocha
[email protected]
B
17
S
4
G
5
Posts: 41
Reputation: 4,269

Post » Tue Dec 03, 2013 10:07 pm

You could always write a function for this... although it would be a bit fiddly since functions can't take arrays as parameters.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,699

Post » Tue Dec 03, 2013 10:15 pm

@sqiddster sure they can, put the UID as a parameter then pick using that in the function.
B
47
S
14
G
7
Posts: 603
Reputation: 8,141

Post » Tue Dec 03, 2013 11:04 pm

Yeah, but that's a bit fiddly because the function would only work for one specific array or a family of arrays. The other way to do it would be to use the .asJSON as the function parameter.
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,699


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests