Sorry, we don't support your browser.  Install a modern browser

Card images multy language support#3105

E

I wish to have a proper way to handle translations to card images by changing only the texture either to a single card or to a composit deck (for example a deck that has many cards, and so multiple textures)
Also very important the GUID of the object must remain the same during this process.
Right now its possible to swap image to a single card but cant chose the index.

1) the best way would be for you to create a function that does this by simply passing a link to the image OR a list of images (in case of a composit deck) and the engine swaps the images based on each card index: swapImages(links)

2) second option: Create a setData() function. Right now its possible to get all the data from a object, like indexes etc. you can change that data, but cant apply. the only chose is to recreate the object but you are losing the GUID.

3) last option: let us edit the guid of a new spawned object so that i can destroy the old and spawn a new with the same guid.

i think we really need this feature for the new version. I dont like the other workaround like creating multiple decks and swap them.

let me know if i am missing something and what i want is already possible to achieve.

4 hours ago