Search Unity

  1. We have added sub-forums for the experimental MLAPI and Unity Transport Package. Please use the new forums to discuss related topics.
    Dismiss Notice
  2. All Pro and Enterprise subscribers: find helpful & inspiring creative, tech, and business know-how in the new Unity Success Hub. Sign in to stay up to date.
    Dismiss Notice
  3. Dismiss Notice

What's the solution to create a 2 people FPS game offline or in local area network

Discussion in 'Multiplayer' started by joeyxiong1994, Aug 11, 2019.

  1. joeyxiong1994

    joeyxiong1994

    Joined:
    Apr 18, 2017
    Posts:
    20
    Hi, I'm creating a FPS game, and I wonder to have my friend join me in the game and we can fight against each other. And I don't think I will make it big as a multiplayer game which has a server running to deal with multiple requests via network.

    I wonder if I can create two people game offline or in local area network.

    As it would be a FPS game, I can't have two people play in one scene like some two people 2D game. I wish I could have keyboard control and camera control by mouse separately for two of us.

    Would it be possible?
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    8,797
    Consider, you can use only one mouse on PC. But you could use multiple pads.

    You should decide, weather you want make split screen, or multilayer. Split screen is technically simpler to do.
     
  3. joeyxiong1994

    joeyxiong1994

    Joined:
    Apr 18, 2017
    Posts:
    20
    Could it possibly split screen to two PC or mac via Local Area Network?
     
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    8,797
    Then you need to build network solution. Is up to you.
     
    Joe-Censored likes this.
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,237
    If you're going to do a split screen game, you'll probably want to support xbox or similar controllers. Implementing split screen will be significantly different from networked multiplayer. Yes you can do either or both, but this is non-trivial stuff.
     
unityunity