- Mon 20 Mar 2017, 21:39
The file is surely outdated, you'll have to check this modified file and see how it creates the new PIXI objects, then you'll have to apply the code in the right place.
Now, as GD supports multiple renderers (PIXI and Cocos), the function has been abstracted from specific renderer functions, it just call an external function to render the loading percent, this function depends on the renderer. If you export the game with the PIXI renderer, the file you are searching for is located at:
Code: Select all
The first function initializes the PIXI objects, the second function uses the PIXI objects to render the text, the parameter is the loading percent (between 0 and 100).
So, if you want a custom loading screen, you'll have to create the PIXI sprites, tiled sprites, texts, etc. in the first function. Then, in the second function, use the objects to render based on the progress parameter "percent"
If you want to do it with the Cocos renderer, you'll have to check its custom loading-screen-renderer file
I should be studying now :/