How do I get the resolution just right for an OUYA game?

Get help using Construct 2

Post » Mon Sep 01, 2014 4:11 am

I created a simple game called OUYAtest to test out the resolution on my OUYA, but I can't seem to get it right.

The window size is 800x600 (for no particular reason).
I'm using CocoonJS as the wrapper (please point it out if there's something better that I should be using).
When compiling on Ludei, I first chose portrait fit for the aspect. The result was a rectangle the shape of a phone on my HDTV with my game taking up the top half of it; the bottom half was all whitespace.
Ludei says "When in doubt, choose all aspects." So I tried again choosing them all. This time the left and bottom solid blocks were cut-off, with the collision being perfectly aligned with the left and bottom of the TV screen. The right block was kind-of in the middle of the screen.

Anyone here have much success porting their C2 games to OUYA? I don't see a whole lot of documentation at all on this. Please if anyone here is seasoned in this I can really use your wisdom!
B
6
S
1
Posts: 31
Reputation: 703

Post » Tue Sep 02, 2014 1:34 am

B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Tue Oct 21, 2014 3:36 am

I posted new documentation for an alternative way to publish on the OUYA.
https://github.com/ouya/docs/blob/master/construct_2.md

Image
https://www.youtube.com/watch?v=HXf0Gp_i9ew

As for the safe area, I've exposed the methods to JavaScript and my next step is to add actions and events so that you can manipulate the safe area and do IAP calls. I expect that I'll have events for requestProducts, requestPurchase, requestReceipts, and requestGamerInfo.
B
3
Posts: 7
Reputation: 189


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 26 guests