Skip to main content
Inspiring
August 30, 2017
Question

Android performance very bad !

  • August 30, 2017
  • 1 reply
  • 815 views

I made ten mini games and test each of them one by one on android,all it's work fine.But problem is when I put ten games in to the one game.The some games extremely slow in mobile.I'm using Adobe Flash Professional CS6 and main fla size about 31 Mb and 48 mb with AIR.How can I fix that ? By the way,I tried with every render mode CPU,GPU,Direct but nothing change.

This topic has been closed for replies.

1 reply

Colin Holgate
Inspiring
August 30, 2017

If you mean 10 different games, does the first game play ok the first time you use it? If it does, and it only becomes slow after playing other games, check to make sure that when you leave a game you remove all the event listeners the game needed.

Another tip, if you are using timers a lot you could think about changing to an enterframe listener instead. Timers will add to the duration of the current frame, whereas enterframe runs during the showing of the current frame.

KucuKekoAuthor
Inspiring
August 31, 2017

I have played slow game first from main menu.So another scenes exist other games but I not play any of them before the that game.I could remove timers and use event frame.But I have the same problem another game and it's not have any timer it's just motion effect about 40 frame and just rotation.