Load scene using widget's progress bar

Hi.

Is it good to do that from scene A, there’s function that add value to the progressView:setProgress(), through timer.performWithDelay() and when a progress bar reach 1 or 100%, will then go to scene B?

I just want to learn the proper way to make a loading scene whith progress bar before entering the game scene. Thank you.

Solar is single threaded so without a lot of work this will not work as you expect. You will have to split the loading into blocks and use an enterframe event to do the work.

In that event you will update the progress bar and this will give time to actually refresh the screen. Otherwise you will only have two states - 0% and 100%.