How could I have missed Dictionaries?

Discussion and feedback on Construct 2

Post » Mon May 27, 2013 3:34 am

Growing up on C, I seem to suffer from what I'll call an excessive love of structs. It took me a lot longer than it should have to find dictionaries in C2. But now that I know they are available, I can feed my love of structs. I was quite happy to rid myself of that pile of globals I had. I've also converted to dictionaries some of my sprites that I was using as variable containers.

So anyway, just figured I'd post my discovery of a feature that's been around longer than I have, in case anyone else missed it. Has anyone else missed a useful feature only to happily discover it further down the road?dben4282013-05-27 03:35:07
B
14
S
1
Posts: 10
Reputation: 1,375

Post » Mon May 27, 2013 4:01 am

Forgive me as a programming n00b, but are you referring to the dictionary object from the manual, or a different capability?
B
50
S
15
G
11
Posts: 366
Reputation: 12,043

Post » Mon May 27, 2013 4:11 am

Yes, the dictionary object from the manual. It's actually more of a hash table than a struct.dben4282013-05-27 04:12:28
B
14
S
1
Posts: 10
Reputation: 1,375

Post » Mon May 27, 2013 4:48 am

@dben428 can you explain, maybe using an example, why you are so excited about the dictionary object? How is it different than webstorage and what challenges does it help you overcome?
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Thu Jun 06, 2013 12:46 am

@dben428 no joy?
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Fri Jun 07, 2013 12:41 am

webstorage + dictionary = win.
B
18
S
5
G
4
Posts: 568
Reputation: 5,079


Return to Construct 2 General

Who is online

Users browsing this forum: ocmar and 19 guests