Progress Bar for Generating Map

  • Hi all.

    I have a function to generate my world(2d array), and I repeat it 2 times to get nice result. It takes approximatly 2 seconds to run function 2 times. I will add a few more functions to improve my map generator. So Probably it will take about 10 seconds approximatly to generate world when I'm done with it.

    So I need a progress bar. (like minecraft etc) To tell player lands created, players located, height adjusted etc.

    So basicly I tried this for my 2 times loop.

    <img src="https://dl.dropbox.com/u/56268958/progress.jpg" border="0" />

    But I only see progress bar with 450 width. I can't see 225 witdh after first loop. It freezes until function called 2 times. What do I have to do ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)