How is everyone doing their controller support?

Hey guys

Seeing quite a few multiplayer games, I haven’t had the time to play them all, but I’m wondering if you guys have any tips on how best to implement controller support (for Unity)?

My own game No More Boxes basically just uses two keyboard control sets for P1 and P2, and then set up two joystick supports for joystick 1 and 2, mapped directly to xBox 360 controller buttons. For Mac.

This has many shortfalls:

  1. The Xbox 360 controller button mapping is different between OS X and Windows natively… Weird.
  2. People with non-360 controllers (or on the wrong platform) can only change controls via downloading the offline build and going through the Unity built-in launcher.
  3. Which means the web build is not necessarily the best solution for multiplayer games… Which sucks.

Does anyone have insights into a better way to do controller support on web version Unity?

Thanks guys :)

Comments

pht59x
26. Dec 2014 · 10:07 UTC
For a jam, I think multiplayer keyboard-based controls should be enough: WASD for P1 and arrows for P2. If you go for something more complicated, your game won’t simply be played/rated by many people.
26. Dec 2014 · 11:46 UTC
plus there is cInput on the LudumDeals, which allows the player to change controls within the game (though that has to be implemented)