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 there,

I just developed a game with Air for iOS using Starling extensively.

When it comes to supporting both landscape and portrait mode it is all fine on iOS. The iOS operating system handles this perfectly.

However when it comes to Android it is a terrible mess. Every time someone rotates the device the complete graphic context gets lost. That means that every texture and graphic you have in the GPU memory gets suddenly lost. Thus you have to reupload all your assets to the GPU again. Since this uploading to the GPU is a quite expensive operation and may take a lot of time I finally came to the conlusion that my new game will not be available on the Android. Shame on it!

Has someone heard about a practical solution to this? I know it is on the Adobe Air issues list. But if I code in native Java for Android do we have the same issue?

Regards, Devarai

66 posts
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Contributed a free file of the month
  • Made it to the Authors' Hall of Fame
+3 more
yuanhao_viva says

you should post this on starling forum,i think they will tell you how to fix this.

1162 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Had an item featured in an Envato Bundle
+4 more
FlashTang says

I’m curious

How many sizes the Android phones have ?

Is there a most popular size ?

1839 posts
  • Has referred 10+ members
  • Has sold $40,000+ on Envato Market
  • Had an item featured in an Envato Bundle
  • Has collected 1+ items on Envato Market
+4 more
Bedros says

Hi Devarai , maybe you’re already aware of this but, anyway, iPhone doesn’t change its screen size to both landscape or portrait modes. It simply uses the same screen width as it does at the portrait mode for both landscape and portrait. It only zooms the content a little bit at the landscape mode on IOS iPhone.

Wish you the very best and keep up the fantastic work ! :)

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