How to load config.json separately

Hi,

is there a chance to load content of the config.json file separately?

E.g. all the assets, the application_properties, …
How is the scenes part processed?

thx

Hi @iso74,

It’s doable but it depends on what you are trying to do. Your best bet is to export a PlayCanvas build and study how the loader (__start__.js) script boots the PlayCanvas application instance and then loads the config.json.

The required method is here, where all assets/scenes are loaded and prepared:

2 Likes