Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

move symmetrically the object in multiplayer game

Discussion in '2D' started by miccinov, Oct 5, 2019.

  1. miccinov

    miccinov

    Joined:
    Apr 25, 2019
    Posts:
    3
    Hi guys. Sorry for my english. i try to expose my problem. I build a board multiplayer for smartphone. I would that player play always in same side, like clash royale. So, how i can implement this? for example, i move my object from 0,0 to -1,-1 and my enemy player see my object move 1,1. Thx.
     
    Last edited: Oct 5, 2019
  2. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    883
    Hello Miccinov,
    An important feature you need in any multiplayer game is a way to differentiate between the local and remote player. As long as you know which object represents the local player, and which object represents a remote player, you could solve this spawning problem by rotating the camera (or the world) to fit the spawning requirement your game needs.
     
  3. miccinov

    miccinov

    Joined:
    Apr 25, 2019
    Posts:
    3
    Hi ted, ty for ur answer. It's a remote multiplayer. Now i try to create another camera that rotare the view on field of war.