16 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
xnamex says

Hey maybe this will help you out http://gskinner.com/talks/resource-management/

It’s a great presentation! My game was using around 120MB and after learning about how can you improve your memory management, now uses in debug mode 40MB and release about 25MB.

So good luck, and also do not rely on the flash drawing API . As much as you can use bitmap, bitmap-caching and also bitmap sprite-sheets. This is the way of doing it for mobile platforms.


Yeah, I spent 5 days trying to optimize my code to run better using some of those techniques with VERY little increase in performance. I’m using the latest AIR build. The performance wasn’t HORRIBLE , but it wasn’t even close to the performance of a native objective-c app, sadly. So, I’m learning Objective-C now. It’s challenging, but I’ll get there.

Actually, I have found some tips about increasing performance for AIR on iOS and Android. Also, after Air 2.7, the Air platform becames more faster on these system. Also, I have not strong programming language skill except as3 :D
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
+7 more
RimmonTrieu says

AIR has great future as long as you’re really into it. It’s the choice to learn a total new native platform or else take advantage of your current flash skill but tons of optimization tricks also need to be learned.

69 posts
  • Has been part of the Envato Community for over 3 years
  • Has sold $10,000+ on Envato Market
  • Had an item featured in an Envato Bundle
  • Has collected 10+ items on Envato Market
+5 more
junus says

Thank you for your all suggestions :)

My game is almost ready :)

270 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
+1 more
magickaito says

My honest feedback is you can try for one project but I really think you will decide to go native in next project.

1234 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 50+ items on Envato Market
+5 more
MBMedia says

When it comes to writing any app for any platform the decision for native vs. using a runtime always has to be approached project by project, it’s not a one is better than the other thing. And it’s definitely not an issue/decision that is new, things such as java vs. c++ have been in this situation for many years.

If it’s a 2d puzzle game, or a note taking app, etc. – use a runtime (like AIR ) so that you can easily deploy to multiple platforms, easily update them all to keep your program always bug free and patched up with minimal expenditure, etc etc.

If it’s something like a 3D first person shooter game, or something else that pushes the resource abilities of a system – then you need to go native because only native lets you truly utilize the speed/rendering possibilities of any given system.

The answer of portability vs. performance can only be answered on a case by case basis, just understand both and choose wisely. But regardless, both methods will stay big players in any form of application development because both methods have their situations where they are better.

16 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
xnamex says

Very well put MBMedia!

I never considered my apps in this perspective, but makes total sense.

Thanks!

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
+7 more
RimmonTrieu says

Notice that Stage3D is coming soon on AIR 3 .2 mobile so it is not impossible to develop 3D mobile game with Flash in recent future:

http://blogs.aerys.in/jeanmarc-leroux/2012/02/02/air-3-2-stage3d-and-minko/

Still, it’ll take sometime to become mature enough, don’t expect any mobile game framework like Unity anytime soon.

1312 posts
  • Has referred 200+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+8 more
LGLab says

Notice that Stage3D is coming soon on AIR 3 .2 mobile so it is not impossible to develop 3D mobile game with Flash in recent future: http://blogs.aerys.in/jeanmarc-leroux/2012/02/02/air-3-2-stage3d-and-minko/ Still, it’ll take sometime to become mature enough, don’t expect any mobile game framework like Unity anytime soon.

But stage3D is not just for 3D, I’ve been testing the Starling framework on desktop with particle emitters and the performance is way better. I just hope it performs as well on mobile as my game depends on it :P

406 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+5 more
ryanterry says

Would you mind going into detail about the nature of the app you were trying to build? More specifically, did it use a lot of vector graphics, were there a lot of objects being instantiated, how you went about bench-marking the performance of your app when run on an iOS devices etc…

The app I’m trying to build has game mechanics similar to the Doodle Jump game. I only would display items on the screen when needed and would use object pooling. It worked okay, but the frame rate just couldn’t get as smooth as the native apps.

I’ve been playing with objective-c and it’s so much smoother. I can do an alpha dissolve and it’s smooth as butter. With Flash it’s impossible. Super clunky.

812 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
iamthwee says

Yeah it would be interesting to see what opinion the elite authors’ make of this.

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