Hello, does anyone has ever made a card game like magic or similar here on playcanvas?
I can’t find where I put it, but I had some deck shuffling code for a card wizard I could re-make or tell you how to make.
I don’t know a lot about magic, but I think if you have the shuffling code (which uses arrays) you just take object 0 in the array and “draw” it and use the action of that card. If you have “attacks” like pokemon, you can just add buttons and conditions for attacks (like having a certain amount of energy.
I hope this helps!
Making a card game is definitely on my bucket list. I already have some game ideas, but I need to work this out a lot more.