Quantcast
Channel: Adobe Community : Unanswered Discussions - AIR Development
Viewing all articles
Browse latest Browse all 2010

Air - poor performance on Android. is Starling a solution?

$
0
0

Hi,

 

I develop an endless running game for android with flash pro cs6 and AIR 3.2 for Android. Since the game is very simple, I cannot run at 60fps.

The game has a static background(180x240px), a scrolling floor and 4(max 6) obstacles 32x32px at a time on stage.

The stage objects are scaled up by an integer factor to full fill the screen resolution like that:

 

bitmap.cacheAsBitmap = true;
bitmap.cacheAsBitmapMatrix = new Matrix(multiplier, 0, 0, multiplier);
bitmap.scaleX = multiplier;bitmap.scaleY = multiplier;

 

The app is set to work in gpu mode. Any framerate under 60 looks unsmooth.

 

Is there something else to do in order to gain few more fps? Can I get a better performance using Starling?

Thank you

 

PS. When is have no animations on screen, the fps hits 60.


Viewing all articles
Browse latest Browse all 2010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>