Let's make OUYA games! (Requesting help)

Post your work in progress addons and get feedback

Post » Fri Mar 15, 2013 2:58 am

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: http://test.planetio.net/

Here are the APKs, published through CocoonJS and PhoneGap.
https://www.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! nightmaretaco2013-03-15 03:01:41
B
10
S
1
Posts: 19
Reputation: 1,444

Post » Fri Mar 15, 2013 2:07 pm

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?
Enlik Tjioe
Game Programmer

Image

www.touchten.com
B
45
S
11
G
6
Posts: 176
Reputation: 7,289

Post » Fri Mar 15, 2013 3:04 pm

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.
http://forums.ouya.tv/discussion/comment/8065/
http://forums.ouya.tv/discussion/comment/8104/
http://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
B
87
S
18
G
9
Posts: 2,455
Reputation: 14,834

Post » Fri Mar 15, 2013 6:16 pm

[QUOTE=jayderyu]
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.
[/QUOTE]

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... http://www.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.
B
10
S
1
Posts: 19
Reputation: 1,444

Post » Fri Mar 15, 2013 6:38 pm

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.rfisher2013-03-15 18:39:56
B
17
S
9
G
7
Posts: 249
Reputation: 6,922

Post » Tue Mar 19, 2013 8:49 pm

Does OUYA have a web browser that could point to an HTML5 game? And do buttons get recognized in my sample?
B
10
S
1
Posts: 19
Reputation: 1,444

Post » Tue Mar 26, 2013 10:58 pm

Any updates?
B
10
S
1
Posts: 19
Reputation: 1,444

Post » Tue Apr 02, 2013 3:38 am

[quote]Does OUYA have a web browser that could point to an HTML5 game?[/quote]
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.
B
37
S
9
G
5
Posts: 147
Reputation: 5,615


Return to Work in Progress Addons

Who is online

Users browsing this forum: No registered users and 0 guests

cron