Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Split-Screen Multiplayer Help

Discussion in 'Multiplayer' started by Tecosaurus, Sep 22, 2017.

  1. Tecosaurus

    Tecosaurus

    Joined:
    Jul 15, 2016
    Posts:
    1
    Hey, sorry if this isn't in the right spot, it's multiplayer related but not networking related.

    I've been developing my game for quite some time now and I have decided I want to implement split-screen multiplayer.

    I set up the cameras, the xbox controllers & keyboards and the two characters except when I hit 'W' on my keyboard, both characters move forward. I move the Xbox Left joystick, both characters move forward. I know what the issue is, both the controller and keyboard using the exact same Input Setting but I feel that I have gone too far into development to simply change everything just for split screen multiplayer.

    I'm wondering if there's a way that Player 1 will only detect when Keyboard & Mouse buttons are pushed and Player 2 will only detect when Controller buttons are pressed...or is it a lost cause?

    Thanks!
     
  2. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,462
    It's really as simple as making Player 1 look at different inputs than Player 2.