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.
Hello guys, thanks for the tips, I asked coz popped in my mind to make a battle cards game, to be honest i donāt know if i will have the clear mind to develop it on my own. Recently my mom passed away so I am not really present. Anyway the main idea would be to make fantasy battles card game, with different armies (orcs, humans, elves, dwarves, etc) and with random lands forming a battlefield. This same system can be easy modified to obtain many different scenarios like WW1 or WW2 or also applied to some sci fi scenario. Once the basic system is lay down the applications are endless. Since it would be better to make it as 1vs1 it would be nice to have a point system for Commanders to have a ranking. Let me know if that can be of your interest to develop that together.
First of all, my condolences, I am sorry to hear about your mom. Second, I am at a weird little lull in game development, so I would love to help while I can. If you tell me something you want done, I can try and do it. I should be available for the next month or so to help.
Thanks a lot. I am not sure about the roadmap yet, I guess we need the shuffling code, for the 3 decks, the two armies and the lands. the table positions. Each land must have a time value for the crossing, but more values are needed so itās better if I lay down a sketch of database for lands and armies. We also need the code for 1vs1 multiplayer with turn based handler. Wizards and spells or magic items can be added in a second phase.
I will try to make a sketch of a card also and post it here. Thanks @Codeknight999
That sounds very similar to what I personally had in mind. At the moment, Iām tied up with unfinished masterpieces, but despite that, Iād love to participate in some way if you wish!
Iāll work on the shuffling code and get back to you. Iāll make it easy to add cards to a deck and such. Iāll make a project and add you.
https://playcanvas.com/editor/scene/2217810
You can add card names to the list with the addcard button, you can press S to shuffle the cards.
I can also add more data to these cards.
That looks cool, ill work more on the card system today.
I plan on adding a lot and making it very easy to make new cards.
Nice, the main point is to make separate decks. So it would be nice to have a āfaction nameā that identify the cards for each army.
As well each faction should have some terrain cards favorable to the faction. That will be drawn when forming the terrain for the battle. In this way each battle will be different.
A value for attack, defence, movement will be needed for each unit. The flight option should be included if we want to add viverns or dragons or some other flying unit.
Heroes, spells, and magic items can wait.
Sorry I am a giving you too much inputs all together lol
No its fine! Im actually on now. If you want I can add you to my project
sure
Added
Hello @Codeknight999 i just dropped an MP3 file that i made in the game that can be added to the game, itās an original music so there is no problem using that.
Oh thanks. Iāll be working on it tomorrow a bit.
Im on right now.