- Author had a File in an Envato Bundle
- Author had a Free File of the Month
- Author was Featured
- Bought between 10 and 49 items
- Exclusive Author
- Has been a member for 4-5 years
- Interviewed on the Envato Notes blog
- Microlancer Beta Tester
- Referred between 50 and 99 users
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
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.
- Sold between 100 000 and 250 000 dollars
- Author had a File in an Envato Bundle
- Has been a member for 4-5 years
- Author had a Free File of the Month
- Won a Competition
- Author was Featured
- Item was Featured
- Bought between 10 and 49 items
For games and visuals, no matter the platform, blitting is always the way to go if you want best flash performances .
- Envato Staff
- Reviewer
- Sold between 100 000 and 250 000 dollars
- Author had a Free File of the Month
- Featured in a Magazine
- Author was Featured
- Item was Featured
- Bought between 10 and 49 items
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.htmlAs bitfade recommends for game it’s best to use blitting to boost performance.
- Envato Staff
- Reviewer
- Sold between 100 000 and 250 000 dollars
- Author had a Free File of the Month
- Featured in a Magazine
- Author was Featured
- Item was Featured
- Bought between 10 and 49 items
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.
RimV said
xPhantom saidVector is slow and definitely no-go for AIR mobile, use bitmap as much as you can.
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.
yeah sorry my mistake.
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
RimV said
xPhantom saidVector is slow and definitely no-go for AIR mobile, use bitmap as much as you can.
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.
+1!!!
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
- Envato Staff
- Reviewer
- Sold between 100 000 and 250 000 dollars
- Author had a Free File of the Month
- Featured in a Magazine
- Author was Featured
- Item was Featured
- Bought between 10 and 49 items
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.
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…. 
