#Card Upgrade system, any ways to instance nodes like scenes / better way to do this?

3 messages · Page 1 of 1 (latest)

dusk radish
#

I am working on an upgrade system for my card game where you are able to upgrade individual cards. However, the current way i "store" cards in my deck is to store the name of the corresponding node, which I then find that node using its name and call a function to use it.

#

However, I planned for my cards to be able to be upgraded to have better stats. problem is that each card would have multiple upgrades resulting in different combination, so I can't just make every possible result into their own card. I also can't just change the stats of the cards, since that will change the stat of all cards in my deck instead of this one instance of the card in my deck/

#

I oringinally planned to have instances of each cards, allowing me to edit the stats of each card individually. However I forgot that instance is only for scenes, not nodes.