Mobile performance issue (android)

0 favourites
  • 13 posts
From the Asset Store
Firebase: Analytics, Dynamic Links, Remote Config, Performance, Crashlytics on Android, iOS & Web Browser
  • Hi guys, the game I am prototyping runs fine on most PCs and the latest Iphone, but once it's tested on Android device, the performance hit becomes significant.

    Probably a very dump thing to ask, but using alot of Every tick is a bad idea for mobile games?

    I am trying to do an endless scrolling background and it seems like making it scroll all the time is a very bad idea?

  • Android's browser is just very slow. Try Chrome for Android or publishing via CocoonJS.

  • Thanks Ashley for the tips! After numerous testing, it seems it's partly my fault as I have Every Tick command for a lot of stuffs. I managed to get more FPS out of my older Android after tweaking some stuffs to evaluated only when necessary.

  • Hi guys, the game I am prototyping runs fine on most PCs and the latest Iphone, but once it's tested on Android device, the performance hit becomes significant.

    Probably a very dump thing to ask, but using alot of Every tick is a bad idea for mobile games?

    I am trying to do an endless scrolling background and it seems like making it scroll all the time is a very bad idea?

    It depends also on the device. It should run smooth on high end devices.

  • I tested it on a Xperia x10 which is pretty old, so I understand and expected the performance, but I was getting bad performance from nexus 7 and also samsung note 2 as well (had friends to test it).

    Probably because they tested it using the Android browser

  • try to test it with CocoonJs you should get 30-40 fps.

  • Tested it with Cocoonjs, the performance is incredible! I managed to get a smoother fixed 17 FPS on the old machine.

    Thanks a lot for the help!

    On a side note, it seems Appmobi pales in comparison thus far. The directcanvas export didn't work for me. I haven't tested Phonegap though, but judging by what Cocoonjs did, I am happy to stick with it.

  • Tested it with Cocoonjs, the performance is incredible! I managed to get a smoother fixed 17 FPS on the old machine.

    Thanks a lot for the help!

    On a side note, it seems Appmobi pales in comparison thus far. The directcanvas export didn't work for me. I haven't tested Phonegap though, but judging by what Cocoonjs did, I am happy to stick with it.

    Keep in mind if you use sound effects in can drop to 2-5 fps.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • why is that? Is it something that will be fixed? Ludei's side?

  • Yung - typically 'every tick' events don't actually have a big performance impact. It's a common myth. See Performance Tips for our official advice.

    Also how come appMobi didn't work? Can you tell us more about what went wrong? We may be able to fix the problem otherwise.

    meapps - I'm not aware of sound effects having such a large performance impact on any platform - you should report it to Ludei if so since it's probably a bug (there's no reason playing sound should slow it down that much)

  • Well for mine case, when I redid the way the health system to update only once every few seconds later, compared to every tick, I noticed slight FPS gain. The worst however was with my infinite scrolling background, I couldn't get it to work on the ipad 1 or my old xperia.

    It seems like Every tick with any Sprites related movement will cause an issue.

    For appMobi, I tried exporting my tests as directcanvas enabled but it turns out black on both the Android devices I tested. It works without it but the performance is very bad. My friends who tested it on Nexus 7 and Note 2 said the performance was at best 20 to 30 ish with noticeable lags.

  • Hum

    I have horrible performance when use audio in Cooconjs

    I think before is the best the cooconjs can make but

    now I change my mind and I go to contact ludei. Appear

    is a problem with some devices.

    thanks.

  • Hum

    I have horrible performance when use audio in Cooconjs

    I think before is the best the cooconjs can make but

    now I change my mind and I go to contact ludei. Appear

    is a problem with some devices.

    thanks.

    True i got around 20 fps on my htc sensation and on Samsung 3 ... around 30-35.

    It is possible only to target high end device in the google play store.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)