Search Unity

TCP or UDP for synchronizing animation in turn based multiplayer games?

Discussion in 'Unity Reflect' started by VINNUSAURUS, Nov 9, 2020.

  1. VINNUSAURUS

    VINNUSAURUS

    Joined:
    Jul 6, 2017
    Posts:
    21
    Hi, I am making a multiplayer turn-based card game like Hearthstone, I've stuck at a junction where I am unable to decide which internet protocol to use for data transfer between clients and server, I have animations in-game

    My question is should I use UDP to sync animation to players or just use TCP to just trigger events to play animations?
     
  2. DavidMenard

    DavidMenard

    Unity Technologies

    Joined:
    Jun 3, 2019
    Posts:
    121
  3. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,769