I tried porting a game I made for LD48 competition to the OUYA
Shorty & The Big Deal 2600
The porting process was really easy, but unfortunately...
AIR is running really stupid-slow. There is also a latency on the game-pad.
Anyone have advice other than to ditch AIR?
Comments
I'm making an Air Android game for my Xperia Go which is running smoothly, and the Xperia Go is a fairly low end device with a Dual-core 1 GHz Cortex-A9 and 512 MB RAM. Though it also has a very low resolution at 320 x 480 pixels which should mean it needs less processing power.
Either there's something about your game that makes it very demanding, or the OUYA is very bad at running AIR.
I use FlashDevelop for coding but make graphics and publish in Flash CS5, as I like having a stage to place stuff on instead of doing everything through code, but if you're the kind of developer that likes to do everything through code you might want to check out using Stage3D and Starling which is made to optimize performance.
http://gamua.com/starling/
It uses the blitting method for drawing as opposed to stage objects and is relatively optimized. Click here to play Shorty & The Big Deal 2600 for the Browser.
FlashDevelop caveat discovered
I went into the Project->AIR App Properties->Initial Window->Non Window Platform->Render Mode->GPU
I thought the compiler flag -use-gpu=true would work, but apparently it did not. My game runs like a CHARM.
w00000000tt
All you need is Air SDK 3.5
Download it and extract it to your current flex-sdk folder
http://www.adobe.com/devnet/air/air-sdk-download.html