110 posts
  • Top Monthly Author
  • Weekly Top Seller
  • 6 Years of Membership
  • Author Level 5
+5 more

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
  • Author Level 2
  • Collector Level 1
  • Freebie
  • Featured Author
+3 more

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

1163 posts
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 3
  • Top Monthly Author
+7 more

I’m curious

How many sizes the Android phones have ?

Is there a most popular size ?

2234 posts
  • Elite Author
  • Weekly Top Seller
  • Trendsetter
  • Bundle Boss
+6 more

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 ! :)