Load Asset/Bundle before first scene - web

Hello, when my first scene is loaded, I need to set one image among several, relative to the game’s language/localization as my background image.
I wonder if there is any way to load the image or a bundle on the web before the first scene is loaded?
I’m using cocos creator 2.4v with web mobile platform.

I can ask engineering to have a look. Do you have a code sample or demo?

You can modify the code of main.js directly after the build

And you can use build templates to reduce the number of times you have to modify main.js.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.