Affecting loading progress

0 favourites
  • 3 posts
From the Asset Store
Progress\Loading Bar. Now Load you game like a Professional.
  • How do i affect the loading progress of the game? as in, where and how can i control when the game is ready automatically with my plugin, if it has to perform certain tasks before the layout/game can be started.

    I'm aware i can make a flag condition that tells the user when everything is ready, but it would be nice if possible to just do the loading work that i need automatically when the game starts? how and what does the loading progress currently do, and is what i want possible?

    would this be for the on create action of my object or someplace else?

    i know i saw a this.runtime.waitForImageLoad function somewhere, not sure if this is doing what i want for images, but i need a way to make the runtime wait as something is being preprocessed, so a way to tell it "wait" is imperative and then tell it can start again, or any similar solution.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • With AJAX requests you can monitor the status change and adjust your progress bar (div) accordingly, all you have to do is to decide what percentage to assign to each step.

  • All you can do is use waitForImageLoad. All the loader does is wait for images to be loaded then it starts the game.

    If you need something else to be ready, maybe just have an 'On loaded' trigger in your own plugin.

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