How do I make my game more smoother?

  • This is my first game. I am graphic designer, my knowledge of programming is 0 <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink"> So, Construct 2 is like magic for me <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy"> <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

    I'm pretty satisfied with my a game, but I want it to be perfect. So far, all is well but the game can be more smoother/lighter.

    Do you have some advice?

    Game link: https://play.google.com/store/apps/deta ... ergo&hl=en

    I made this, but it is not enough. I want to keep all animations.

    thanks <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • Be sure to follow the performance tips as well as the memory usage tips.

    Also consider the mobile device can be weak hardware (and weak OS).

    Make sure you are testing on the appropriate OS, not older, and maybe you will have to sacrifice animations and animations frame, because in the end, everything is not doable.

  • Thank you! Good texts

  • I've tested your game on my Samsung Glaxy s4 with and 8 core CPU and 2gb of RAM. And it is very unsmooth.... I guess not the hardware is the main reason here... Try stuying the links above left by Kyatric

    Nice graphics although!

  • Nice graphics although!

    Thank you

    --------------------------------

    I have a large number of objects that are created in the short term. Every time when the object is created, I have unsmooth motion.

    I tried to resize my files to minimum.

    This is my code, can I try something different in code?

  • You've tryed to do "If [OBJECT] is out from layout > Destroy [OBJECT]" ? Don't making this is horrible for RAM memory, and then the performance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • maximillion can do this and upload the update for this referred game, and MangoPolo or other people that have an Android device can test for you

  • Played the game on my HTC One M7. It played quite well, not always on 60 FPS but definitely not below the 50s.

  • Thank you people. I will give my best!

  • One thing to do instead of constantly creating and destroying objects (though this takes more work) is to just move them. IE, recycle the objects that are already present. So have an ever-constant pool of objects to use and then just move them to a start location instead of creating a new one and destroying it later. Believe it or not, but this runs better on a lot of hardware by quite a bit.

  • One thing to do instead of constantly creating and destroying objects (though this takes more work) is to just move them. IE, recycle the objects that are already present. So have an ever-constant pool of objects to use and then just move them to a start location instead of creating a new one and destroying it later. Believe it or not, but this runs better on a lot of hardware by quite a bit.

    Great idea! Thanks

    Do you have an code example?

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