How can I add a loading screen?
-
So... my game has quite a lot of assets and when you first startup the game, a gray screen with a bunch of white squares appears while it loads, can I replace that with something else? I added a trace to the Engine constructor and it is first hit after the gray screen goes away, so I'm gonna need to go deeper...
-
The preloader is managed by OpenFL - see this thread over on their forums for some examples. HaxePunk provides a default preloader, and in your project.xml you can override it with
<app preloader="my.project.PreloaderClass"/>