Html5Overview Posted December 16, 2018 Share Posted December 16, 2018 I have a problem adding sprite to my background while the first initial scene is loading. Could someone please check the video out and if you know how to load sprite before preloading screen. By reading documents, my asset needs to be before 'start' scene event, since that's when my loading screen starts to load assets. Now, is there an event before start and can I load my asset in my game config? https://streamable.com/bc3ej Link to comment Share on other sites More sharing options...
rich Posted December 17, 2018 Share Posted December 17, 2018 http://labs.phaser.io/edit.html?src=src\loader\scene payload\scene files payload.js If it's just a small amount of assets use the above method. If it's more, create a Boot Scene specifically for loading them, then move to a Preloader scene to get the rest of the game files, before finally going to your game scene. Link to comment Share on other sites More sharing options...
Recommended Posts