{"author_name":"Tuism","cat":"LD #31","comments":[{"author_name":"pht59x","time":"December 26, 2014 5:07 am","epoch":1419588420,"text":"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&#8217;t simply be played\/rated by many people.","spam":"N"},{"author_name":"","time":"December 26, 2014 6:46 am","epoch":1419594360,"text":"plus there is cInput on the LudumDeals, which allows the player to change controls within the game (though that has to be implemented)","spam":"N"}],"epoch":1419586380,"likes":1,"metadata":{"p_key":"21776","p_author":"Tuism","p_authorkey":"35114","p_urlkey":"57136","p_title":"How is everyone doing their controller support?","p_cat":"LD #31","p_event":"LD31","p_time":"1419586380","p_likes":"1","p_comments":"3","p_status":"UPD5","us_key":"35114","us_name":"Tuism","us_username":"\/author\/tuism\/","event_start":"1417737600","event_key":"26","event_name":"LD31"},"text":"<p>Hey guys<\/p>\n <p>Seeing quite a few multiplayer games, I haven&#8217;t had the time to play them all, but I&#8217;m wondering if you guys have any tips on how best to implement controller support (for Unity)?<\/p>\n <p>My own game <a href=\"http:\/\/ludumdare.com\/compo\/ludum-dare-31\/?action=preview&amp;uid=35114\" target=\"_blank\">No More Boxes<\/a> 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.<\/p>\n <p>This has many shortfalls:<\/p>\n <ol>\n <li>The Xbox 360 controller button mapping is different between OS X and Windows natively&#8230; Weird.<\/li>\n <li>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.<\/li>\n <li>Which means the web build is not necessarily the best solution for multiplayer games&#8230; Which sucks.<\/li>\n <\/ol>\n <p>Does anyone have insights into a better way to do controller support on web version Unity?<\/p>\n <p>Thanks guys <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>","time":"December 26th, 2014 4:33 am","title":"How is everyone doing their controller support?"}