Instance Variables vs Arrays

Discussion and feedback on Construct 2

Post » Sun Nov 03, 2013 10:21 pm

hmm dictionaries, well

thanks o/
B
48
S
5
G
6
Posts: 210
Reputation: 6,297

Post » Sun Nov 03, 2013 10:51 pm

So, it seems like the consensus here is use dictionaries, of some sort.
B
9
Posts: 12
Reputation: 351

Post » Sun Nov 03, 2013 11:13 pm

I would prefer the dictionnary on an array , as a dictionnary has no fixed size , so you can add a key without affecting your code much , but otherwise , I don't see any other difference between the two , Imagine the array as a table of a fixed size , and the dictionnary as an infinite list
B
42
S
17
G
17
Posts: 2,247
Reputation: 17,471

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: dop2000 and 9 guests