46 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+7 more
ChristianKragh says

Hi everyone,

I’ve started playing around with developing apps/games for Android using Flash CS5 .5 (export AIR for Android).. Tried a few simple apps and no problem. Then I tried converting one of my games http://activeden.net/item/collect-the-falling-apples-game/124994 to be played on an Android mobile device. It all works but it is amazingly slow and lags so much it’s unplayable. I’ve researched it a bit and viewed the tutorials on gotoandlearn.com about Flash and Android and blitting. Seems like blitting is really the way to go for performance heavy games on Android. But is it really the only way? Can Android simply not handle a Flash AS3 non-blitted game? Wanted to know what the developers around here that have ventured into Flash games for mobile devices think/know.

Thanks, CK

76 posts
  • Has been part of the Envato Community for over 3 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Romania
xPhantom says

Hello, Try to use vector instead of bitmap files and make as lightweight as you can! Also did you try it on other devices maybe the phone CPU is not very good.

2010 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
bitfade says

For games and visuals, no matter the platform, blitting is always the way to go if you want best flash performances .

1633 posts fueledweb.com
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
RimmonTrieu says

Circ is an AIR mobile app that doesn’t use blitting. There are many resources on optimizing flash mobile content, check out these articles from adobe:

http://help.adobe.com/en_US/as3/mobile/index.html

As bitfade recommends for game it’s best to use blitting to boost performance.

1633 posts fueledweb.com
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
RimmonTrieu says
xPhantom said
Hello, Try to use vector instead of bitmap files and make as lightweight as you can! Also did you try it on other devices maybe the phone CPU is not very good.

Vector is slow and definitely no-go for AIR mobile, use bitmap as much as you can.

76 posts
  • Has been part of the Envato Community for over 3 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in Romania
xPhantom says
RimV said
xPhantom said
Hello, Try to use vector instead of bitmap files and make as lightweight as you can! Also did you try it on other devices maybe the phone CPU is not very good.
Vector is slow and definitely no-go for AIR mobile, use bitmap as much as you can.

yeah sorry my mistake.

8302 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Moderator says
RimV said
xPhantom said
Hello, Try to use vector instead of bitmap files and make as lightweight as you can! Also did you try it on other devices maybe the phone CPU is not very good.
Vector is slow and definitely no-go for AIR mobile, use bitmap as much as you can.

+1!!!

110 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+3 more
Devarai says

Hi,

my experience with blitting on Android is a “no go”. It seems so on the present AIR 2 .6 pixel operations are disastrous just like using vector assets. I tried to get Majid Abdul’s “Caverun Game” to run on my Nexus S1 with using blitting and it was even slower than without blitting. As well I tried to draw in my maze puzzle the path with Graphics.line and a bitmap pattern… OMG the whole thing was unplayable after this.

Devarai

1633 posts fueledweb.com
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+6 more
RimmonTrieu says
Devarai said
Hi,

my experience with blitting on Android is a “no go”. It seems so on the present AIR 2 .6 pixel operations are disastrous just like using vector assets. I tried to get Majid Abdul’s “Caverun Game” to run on my Nexus S1 with using blitting and it was even slower than without blitting. As well I tried to draw in my maze puzzle the path with Graphics.line and a bitmap pattern… OMG the whole thing was unplayable after this.

Devarai

Make sure you set render mode to “gpu”. Bitmap blitting only makes sense in gpu mode. Also if you have to use lot of vector “cpu” is the only right mode.

110 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
+3 more
Devarai says

Switching to “gpu” mode means mostly to get back to the basics and sacrifice most of the cool things that makes AIR a mature development platform like filters and things. If I switch to GPU mode most of my apps don’t work correctly any more and have many inconsistences on the screen. It is like “gpu”/”cpu” are two different worlds. It would be much nicer to have one world with everything put together and that is accelerated by hardware as much as possible. Concerning the “CaveRun” game: I was not able to convert it to a true GPU mode game because in some places vectors are necessary and colorTransforms and filters are used…. :-|

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by