InputHelper class used for a 4 player game with Xbox, Ouya and Keyboard support

55 views
Skip to first unread message

Jonatan Van Hove

unread,
Mar 10, 2014, 8:07:00 PM3/10/14
to haxef...@googlegroups.com
This is all of our controller logic we use in the game LAZA KNITEZ!!.
It's pretty rough, but it helped us a lot. Basically all of our controller logic is abstracted from the game thanks to InputHelper.hx.
It works on OUYA (Xbox, ps3, ouya controllers), Windows native (Xbox controllers and keyboard) and flash (keyboard).

Hope this helps anybody. I wouldn't use it verbatim, cause it's rough, but it's full of useful details. Feel free to contact me if you need anything clarified.

https://gist.github.com/joonjoonjoon/f105e64029d32de76488

Samuel Batista

unread,
Mar 13, 2014, 10:27:26 AM3/13/14
to haxef...@googlegroups.com
Thank you! Your game is awesome btw :D

Here's the link to the games website in case anyone is interested: http://www.lazaknitez.com/

SruloArt

unread,
Mar 13, 2014, 10:57:47 AM3/13/14
to haxef...@googlegroups.com
BTW, is Ouya worth investing in? (both dev and "un"dev wise) I saw some horrible reviews about the controller, Tegra 3, possible income, etc. It's like everyone doesn't seem to like the device...Can you share a little about your experience with the store and the device itself? 

Pier

unread,
Nov 20, 2014, 1:44:41 PM11/20/14
to haxef...@googlegroups.com
Hey Jonatan, thanks for sharing this!

I had a blast with my nephews last week playing Laza Knitez. We had to stop playing because we awoke everyone else in the house at 1 am because of our laughs...

I saw you have support for Xbox and Ouya in you manager but not for PS3. I played the game on Windows with PS3 controllers so I know they work. In your manager there's nothing related to PS3. Is it compatible with Ouya or Xbox mappings?

Did you have any major issues supporting multiple gamepads on desktop?
Reply all
Reply to author
Forward
0 new messages