0 Favourites

Let's make OUYA games! (Requesting help)

  • Hey, so I've put together some very quick tests for the Ouya. I won't get an Ouya until April, so I can't test 'em! Can anyone help out?

    I'm mostly wondering IF gamepad events get recognized, and if so, which gamepad indexes relate to which Ouya buttons.

    If you'd like to help, could you run these test apps? Let us know if they run at all, and which buttons/axes related to which buttons/axes.

    Here's an HTML5 test: test.planetio.net

    Here are the APKs, published through CocoonJS and PhoneGap.

    dropbox.com/l/LJpQB24lumhdPAZNeEK2u9

    (edit: there's a simple capx here too)

    I'm new to Android native code, so even though I included all necessary ODK files, I'm not sure if I did the appropriate magic to get the apps recognized on an Ouya.

    Other notes: so far, I'm impressed with PhoneGap, but confused with CocoonJS. Why does it automatically add ALL permission requests? It's ridiculous lol.

    I know some game designers out there have gotten C2 games on the Ouya... but I haven't seen any open source help yet. :-) Anyway, here's hoping we're one step closer to seeing more Construct 2 games on the Ouya.

    Thanks! <img src="smileys/smiley10.gif" border="0" align="middle" />

  • Great to see this.

    I'm also get my Ouya on next April, so i can't test your sample for now.

    So, from your testing result, PhoneGap give a better result than CocoonJS?

  • Last I heard is that CJS hangs in black screen on the Ouya. However CJS has updated since the last check and though requested no one has posted any news. Even if it did work CJS is closed source and have no way adding effective controllers. However, CJS team is working on Ouya support.

    forums.ouya.tv/discussion/comment/8065

    forums.ouya.tv/discussion/comment/8104

    forums.ouya.tv/discussion/797/fixed-webview-ouyacontroller/p1

    PhoneGap buttons are mapped to the standard Android controller which is crummy.

    0,1 is cancel and leaves the app

    3, acts as 0

    4, acts as 1

    left analog is not working

    and there are others that just don't work so well.

    It's in a horrible sate. However there are people working on it.

    rfisher(C2) is working on a phone gap controller plugin

    James320(Ouya dev) is working on a phone gap controller plugin

    psema4(Ouya dev) is creating a minimal Ouya wrapper

    If nothing is ready when my game is done. I'm going to see if I can work with Game Closure to add controller and IAP to that system. Though I'm hoping CJS will be ready when I'm done :P

  • PhoneGap buttons are mapped to the standard Android controller which is crummy.

    0,1 is cancel and leaves the app

    3, acts as 0

    4, acts as 1

    left analog is not working

    and there are others that just don't work so well.

    Ugh, that's horrible. Hopefully there's some way around this... I haven't tried Game Closure, so I'd be interested to hear how that goes.

    In regards to CocoonJS vs. PhoneGap... performance-wise I didn't test them out, but I was just put off by the automatic requests for ALL Android permissions. I'm not the first to see this, though... scirra.com/forum/remove-permissions-on-cocoonjs-games_topic61863.html

    The wrapper for PhoneGap seems to be much smaller, too. The size for my extremely tiny app, pushed through PhoneGap ended up being 1.8 MB, while in CocoonJS it ended up being 6.1 MB.

    Of course, CocoonJS seems to offer a lot more for their "free" option. Bleh. Anyway, none of this is OUYA specific, it's just what I noticed.

  • I'm testing my new approach in a couple of hours. I let you know if it works.

    I'm taking the work that psema4 did and making it work with Phonegap. It turns out its not a Phonegap plugin.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Does OUYA have a web browser that could point to an HTML5 game? And do buttons get recognized in my sample?

  • Any updates? <img src="smileys/smiley1.gif" border="0" align="middle" />

  • oes OUYA have a web browser that could point to an HTML5 game?

    Yes it does and Construct 2 games do load on it - really slow though. However, if you have a keyboard attached then you can control the game.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread sticky
763 305,746
asikanddestroy's avatar
asikanddestroy
Unread hot topic
232 177,713
Tetriser's avatar
Tetriser
Unread hot topic
167 14,518
DMT2005's avatar
DMT2005