How do I create dynamic sized array.

Get help using Construct 2

Post » Wed Mar 12, 2014 9:22 am

Hi guys. I'm quite new to construct 2 and wonder if there's any way to create dynamic sized array in construct 2 ?
My design supposes to push each letter in various words into an array, so I think in would be great if I can create dynamic array to do this task.
Thanks !
B
4
Posts: 2
Reputation: 204

Post » Wed Mar 12, 2014 9:46 am

Hi,

You can found all the information related to arrays here.
https://www.scirra.com/manual/108/array

Salut,
Josep M
B
18
S
2
G
2
Posts: 64
Reputation: 1,225

Post » Wed Mar 12, 2014 9:51 am

Also the Tutorials will get you started.
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Wed Mar 12, 2014 12:39 pm

push will automatically resize the array to fit the new value, i frequently start an array with 0 width (x) and push new values on it
ImageImage
B
71
S
22
G
7
Posts: 827
Reputation: 10,177

Post » Thu Mar 13, 2014 7:22 am

Thanks to all of you guys for quick response. I think I can continue my work now. Thanks a lot !
B
4
Posts: 2
Reputation: 204


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 33 guests