ThemeForest

Air and Android

105 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Germany
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
  • Sold between 10 000 and 50 000 dollars
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

65 posts
  • Bought between 1 and 9 items
  • China
  • Exclusive Author
  • Has been a member for 2-3 years
  • Sold between 100 and 1 000 dollars
yuanhao_viva says

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

1128 posts
  • Author had a File in an Envato Bundle
  • Has been a member for 4-5 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Referred between 10 and 49 users
  • Bought between 50 and 99 items
FlashTang says

I’m curious

How many sizes the Android phones have ?

Is there a most popular size ?

699 posts
  • Author had a File in an Envato Bundle
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Europe
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
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 ! :)

by
by
by
by
by