How do I get to the source code of the game pad object? (Ouya game pad object needed)

0 favourites
  • 4 posts
From the Asset Store
5 levels with simple coding Source-code (.c3p) + HTML5 Exported
  • Hi everyone, I'm exploring making games for the Ouya for fun and ultimately it's an android system but it's game controller doesn't line up with the game pad.

    I'm reaching out to the ouya discord dev community to perhaps get some help with the javascript to line it up right and then get that back into construct 3.

    The last time I made games for the Ouya, construct 2 was a locally installed program making it easy to get to the objects and get that source to the Ouya dev support guy who helped me then.. but C3 is browser based so I'm not sure how that would work or how i would update (or rather add an alternative) game pad object.

    Tagged:

  • All Android controllers I've seen (Moga, Nvidia Shield portable, Sony Xperia play etc.) work as generic HID controllers or keyboards. I'm surprised Ouya is different.

    Check out this project - it queries all pressed buttons on connected keyboards and gamepads.

    dropbox.com/s/fid513eo83ge26u/KeysCollect2.c3p

  • Ouya was apparently discontinued in 2015, I'm surprised it's still in any kind of use!

    So long as it uses the standard gamepad spec it should work with the existing gamepad plugin, but I guess being 7 years out of date means it's way behind on supporting that. I'm sure you'll run in to loads of similar problems if it's that far out of date.

    It's very much our intention not to expose the built-in plugin/behavior code in C3. In C2 it was not meant to be used, but people found it in the install directory and so started making tweaks, which we never wanted to happen because it causes appalling compatibility nightmares, and that's exactly what happened. It will cause more problems than it solves. If you want to do something custom, write a new plugin or use JavaScript coding.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hey people are making games (me aspiring) for the 1978 Odyssey 2! I've made a hello world for it. :) Seriously though virtually any console you've ever played on has a homebrew scene.. I just learned about the VIDE an IDE for the vectrex including a built in emulator and source code for numerous original games. Assembly baby..

    OK so I did manage to launch two games on the Ouya with Construct 2. One of them being this one.. youtube.com/watch

    Back at the time I worked with Tim who was on the Ouya development team. He was instrumental in making this possible. We had to use Chromium at the time to produce the APK and all that..

    The Ouya had it's own slightly different button configuration so yes out of the box some of the things worked but not everything did and not everything did line up right.

    If it would help I very likely still might have the gamepad control object from Construct 2.

    There is a discord group "Ouya Saviors" and this is a whole scene not just of game devs but folks who've managed to get the original servers somehow back online in a private manner. Pretty impressive.

    Well my intent wouldn't be to hack the old one, but rather just make an alternate one. I can't write plugins or work in JavaScript.

    I've had some people ask me how i wrote games for the Ouya and I've told them Construct 2. However I was also telling them I'm looking into how C3 might work since it's obviously a better version than C2.

    However, thanks for confirming this is intentionally obfuscated that at least clears up.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)