How do I successfully eliminate lag from a project when jumping around layouts?

0 favourites
  • 3 posts
From the Asset Store
Jump on candies, collect candies and earn score!!!
  • This is something that isn't happening all the time, but we have a testing mechanic that allows us to jump between layouts.

    When that happens, there is quite a noticeable delay between an input and movement. This doesn't happen at all anywhere else.

    Looking in the CPU profiler, it doesn't look too intense and it does calm down over time. But is there a way where I can drill down and see exactly what events are causing spikes?

    Can you see what objects are causing them?

  • Lag between layouts is usually caused by the loading of textures into memory. Either reduce the amount of textures used in the layouts, or don't use layouts for anything you need smooth movement across. You can teleport to a different area of the same layout instead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Depends on what you're trying to do by "jumping between layouts" because at the very least there's probably a way to fake it that is a lot easier on the hardware.

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