Laggy

Discussion in 'Technical Discussion' started by Aditya sur, Aug 23, 2018.

  1. Aditya sur

    Aditya sur Boxer

    Joined:
    Aug 3, 2018
    Messages:
    17
    Likes Received:
    3
    When i generate the sign apk and test it in my mobile its lag so much Why ?
     
  2. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    What phone do you have?
    What is the size of your APK?
    Do you have many Atlasses?
     
  3. Aditya sur

    Aditya sur Boxer

    Joined:
    Aug 3, 2018
    Messages:
    17
    Likes Received:
    3
    my phone is gionee s6s
    24mb apk
    I have 5 Atlasses
     
  4. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    I forgot to ask you if your game has many effects in the scene, such as lights or particles and if you have many objects, such as many enemies or platforms.

    A game with 5 Atlasses could be the problem.
    The normal thing is that a game created with BB, has a maximum of 3 Atlasses, ideally only 1.
    The same with the size of the APK, check the music and lower the quality.
     
  5. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    Optimize atlases. Find objects that all do the same things. Like ground, blocks etc. And use the Global Clones option (backup first as its undoable) what this does is instead of 15 blocks taking up memory as the game applies separate logic for each block seperatly, it only uses 1 block, then mirrors it out to the world. Greatly reducing lag.
     

Share This Page