I have recently been developing a multiplayer tank game called Tanks Multiplayer. I have not started on the actual multiplayer programming yet, I'm working on the workshop. The workshop is the first page you will see when you open the game (similar to most similar games such as World of Tanks Blitz or War Robots). In this layout, you will be able to upgrade and modify your tank.
On the left of the page are (at this point) nine buttons. When you click one, I would like it to pull up a scroll-able list of upgrades related to the button category on the left. In the list there will be a section for each upgrade(e.g. for turrets, there will be machine gun, cannon, etc.) In each section, there will be an icon at the top, a description, stats, upgrade/purchase cost, and an upgrade/purchase button.
I am not sure how the best way to accomplish this is. Should I try to make an array with all the data for the lists? Should I hard code it? I don't want to do a layer for each button.
Thanks in advance,
Give me a Pixel