Good Design für dynamic GUI / Reusable Elements

Hello together. I have a prototyp GUI where a user can activate cards and inside each card are elements that repeat per attribute. There are + / - Buttons available to spend points on the shown attributes. Cards are a kind of items the player can get and by this GUI he can customize/swap them.

My question: What would be a good GUI Design / Script structure to implement the gui.
Remember: The Cards with the shown parts are dynamic. 1 Card has 2-4 attribute elements. 1 Card has an individual number of spendable coins.

1 Like

As a quick response I can recommend you Gooey. It has a dynamic list so you can check it out :wink: The main idea is that you are creating one node that will be then cloned

2 Likes

You mean one node for the major card layout. One node for attribute subelements. then clone them on the fly (depending on amount needed)? could work. i dont know the gooey but will look at the module.

2 Likes

Yes :wink: If something of those is an image you can also change an animation (look at gui flipbooks) so there will be no need to premade every image, but instead you can create one node with every image in one texture and then change the actual image :wink:

2 Likes