david88eve's Forum Posts

  • What am I doing wrong?

    I deleted all my objects (the only ones left where the tiled background, the player, and ground)

    My game STILL lags!

  • Thanks for all the tips! its really helpful.

    What's the best solution for spawning objects in my game? Since this autorunner have to be the same level-layout every time you play. Should I make them all bullets and have a timer to create them, or is there a better way of doing this?

  • Sorry for not replying sooner, and thank you all for your replies.

    I still can't figure this out, so I attach the capx here , and hope someone can help me out with it.

    Really appreciate the help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I'm currently making a game for android with Construct 2. I have the latest beta version of construct, and I wrap my game with Intel xdk/crosswalk (latest version)

    I have read everything there is about optimizing my game for mobile, followed every tip and trick to make my game stop lagging, but cant figure it out.

    Its a simple autorunner type game where the layout size is 50000 x 720 px and all objects are placed on the layout on start.

    I tried reducing 50000 to 5000, but no change.

    The main game layout has about 140 objects (many instances of same object), and only about 10 of them has collisions enabled.

    I' ve tried to delete almost all of the objects, but my framerate doesn't really change.

    I've also tried disabling most of the events, disabling animations, and all every tick events.

    I use Spritefont and not text object, and have no huge sprites on layout.

    The game shows fine in internet explorer, with an almost steady 60fps, much better than the 30fps in chrome.

    As stated above, I wrap my game with intel and crosswalk.

    In the Intel preview window, it runs smoothly, but not on mobiles.

    I'll give more information if needed, and hope someone can help me with this.

    Regards David