How do I preload second Layout

0 favourites
  • 4 posts
From the Asset Store
This is a Dungeon Master tool & the 1st of 12 Combat Engines from the Building Combat Engines for Browser Games workshop
  • After change Layouts, FPS down to 10-20. But after 10 seconds FPS become normal. I think, if change layouts will be accompanied load screen, FPS will not drop. How do it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Really depends on what you have going on. More description would be nice. What is this second layout loading? Lots of music? Sound effects? Graphics?

    Are you doing anything really code intensive? Have allot of physics events/actions? Pathfinding?

  • Really depends on what you have going on. More description would be nice. What is this second layout loading? Lots of music? Sound effects? Graphics?

    Are you doing anything really code intensive? Have allot of physics events/actions? Pathfinding?

    Just spawn two type objects with behaviors Bullet and move from top to dawn. After cross layout border, objects destroy. One time in layout no more 5 this object. One object with behaviors Sine. No physics, 4 small *.ogg files. CocoonJS compilation.

  • Could you leave all the 2nd layout objects off the screen, or cover them with a "Loading" image until loading is mostly done?

    Use preload on sounds, and check for "Preload Complete" on sounds and music, then start the level.

    Construct2 isn't supposed to start the layout until all the images are loaded, so that shouldn't be it.

    (However if you have a long song that downloads slow, it could hang the game awhile. So you might have that check time out if the song doesn't load.)

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