Open Digital-Odyssey opened 6 years ago
You would do that in the load
function, as in this example:
https://github.com/kittykatattack/hexi/blob/master/examples/src/quickStart.js
Anything you drop in that load
function will be visible during the loading state.
Ok thanks but i ran into an issue. If i load an image within the load function and i can't find a way to remove it in the setup function.
Any suggestions?
Sorry to bother you with this again but i finally got around to finishing my game and i just need to get the preloader image removed after the loading is completed.
You can play my game here to see the issue: http://evilhexapod.com/games/the-last-battle/ and you can view the code here: http://evilhexapod.com/games/the-last-battle/bin/game.js
Any help is appreciated.
Hi,
What would be the best approach to displaying a logo image and the loading bar during the preloader screen?