Copy link to clipboard
Copied
I'm creating a platforme game on AIR (AS3 code). Everything work smoothly on computer but when I install the apk file on an Android device (tablet or phone), the game is very laggy... (when the background doesn't scroll everything is smooth but when the player is walking and the background scrolls, it becomes very laggy) Any idea why ? What can I do in order to make the game smoother ? Thank you for your help
Copy link to clipboard
Copied
this is part of a 70 page chapter devoted to optimizing game performance from book i wrote (Flash Game Development: In a Social, Mobile and 3D World)
Unfortunately, I know of no completely satisfactory way to organize this information. In what follows, I discuss memory management first with sub-topics listed in alphabetical order. Then I discuss CPU/GPU management with sub-topics listed in alphabetical order.
That may seem logical but there are, at least, two problems with that organization.
Anyway, I am going to also list the information two other ways, from easiest to hardest to implement and from greatest to least benefit.
Both of those later listings are subjective and are dependent on developer experience and capabilities, as well as, the test situation and test environment. I very much doubt there would be a consensus on ordering of these lists. Nevertheless, I think they still are worthwhile.
16. Stop Sounds to enable Sounds and SoundChannels to be gc'd.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now