Hey folks,
I'm trying to create several item databases for my game, all of which I want to be able to display as separate scrollable lists on different Layouts:
- Inventory A - Items that are dynamically-generated from an Array of 'characters with attributes' that is populated by a JSON File in my project folder, in combination with some randomization of properties of each item
- Inventory B - Items generated as a result of a mini-game but the player can modify the names of before finalizing
- Inventory C - A 'currently equipped Inventory B items' bucket that can be viewed separately from Inventory A
- Inventory C - Items that are crafted from combining items in Inventory B
- Inventory E - Items that have been purchased from Inventory A, and deleted from Inventory D upon purchase
Now, I think that Inventory A is actually the first one that I have to build, since it's pulling its data from a static JSON source. Then I would have to do Inventory B, and so on. Imagine this is the first three sheets of the Array:
Sheet 1:
Boom Stick |
3 |
Shotgun |
450 |
George |
Sheet 2:
Pew Laser |
10 |
Rifle |
1000 |
Sarah |
Sheet 3:
Ratatat |
8 |
Machine Gun |
850 |
Bilbo |
And each of these sheets would be a scrollable list item somewhere on a Layout (I 'think' I know how to make a scrollable list, just downloaded an example CAPX that has everything I need, but might need to know how to instantiate each list item from these Array sheets).
I wanted to ask specifically instead of combing through a bunch of 'kinda the answer' posts that aren't easy to fit together. I can't finish my game without these scrollable lists, and they need to have solid data delivery systems so I figured Arrays would be the best way. For what it's worth, I had this figured out in C2 by just using rexrainbow's TaffyDB C2 plugin and For loops, but that plugin is not available for C3.
Any help is appreciated!!!
Thanks!