Hi guys,
My game need to load a bundle of background graphics, so there is a delay (freeze) when I press START GAME button.
I implemented a loading bar while calling loadBackground() before call enterFrame() event.
However it didn't work. When I move to a new scene, game still freeze (like it need to load all resource before calling scene:init()), the loading bar appear later.
Any tips to implement this? Thank you
Comments
loader:hide() then removes it
so replace them with your own calls
Timer.delayedCall(1, function()end) is meant to skip one enter frame so it loads the image before starts loading assets of the scene.
Likes: vitalitymobile, boriskey
Ultimate Games on Appstore
Ultimate Games on Google Play