Multiplayer online trading card game (turns) (123455)

Hello , we’re making an online trading card game and we’ve come to the point of making the turns. But we’re not really sure how to make them.

Do we have to use different scenes for each player or its possible with 1 scene.
Searching through the forums and answers on the unity website , we’ll have to use “yield” to make the turns as a whole ?

Any tips and suggestions are more than welcome.
Thank you in advance.

oh boy.... it can be done in many ways. of course you may not be able to find specific answers for TCG, but you can find tons of solutions for turn based games. It really depends on your game, will it be multiplayer, etc.. I think this is a topic to be discussed at the forums, where there is no true answer and you may benefit from lots of ideas.

–

Yeah its a multiplayer TCG. I'll post it in the forums as you suggested. Any suggestion you can give me ? If there are "many ways" , some of the easier ones would be better. Thank you.

–

No offense, but you have posted 2 questions today. You still don't fully understand how getcomponent works. And you are asking how to make Online game ? You'll have to spend much more than that to even start thinking about programming online games.

–

Also crosslinking here : http://forum.unity3d.com/threads/multiplayer-online-trading-card-game-turns.282592/

–

1 Answer

1

You should look into making a state machine to handle what should be going on in the game at any given time. There’s a very thorough tutorial on making a Turn-Based Combat state machine for an RPG that you can watch HERE. You’ll just have to make adjustments to make it suit your needs.