How do I Get my game to run faster!

0 favourites
  • 4 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • Hi all, I have just made a game and built in Intel Xdk. Installed on my Samsung Tab and it runs very slow.

    It is not a big game by any means. One player trying to avoid some obstacles.

    Huge games such as Real Racing 3 run how they should so what is going wrong?

    Appreciate some suggestions.

    Cheers

  • Optimize your game:

    Layout

    • Run in Debug mode and at the top see how many objects are currently active. Try to remove some by using clones instead of new objects for every sprite.
    • Too many effects and big images with alpha channel can go heavy on mobile devices

    Events sheet

    1. Use groups to group similar actions in your event sheets

    2. Use Debug mode -> Profile to see which groups are using the most CPU

    3. Try to improve the code by removing or replacing conditions and actions (use functions, less events that trigger on every tick, etc.)

    Only a single thing can cause a big problem.

    I've made a little game like this in the past and by adding a transparent background image (that changes colors randomly) with lighting effects I was able to add 0.5 seconds of lag to the controls.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, thanks for the tips. I'm onto it. Let you know how it goes.

  • construct.net/en

    and

    construct.net/en ... -your-time

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