plicatibu Posted February 27, 2014 Share Posted February 27, 2014 I'm using the following code in order to have a loading bar:// in boot.jsthis.load.image('loaderFull', 'images/full.png');this.load.image('loaderEmpty', 'images/empty.png');// in preloader.jsthis.loaderEmpty = this.add.sprite(100, 100, 'loaderEmpty');this.loaderEmpty.name = 'loaderEmpty';this.preloadBar = this.add.sprite(100, 100, 'loaderFull');this.load.setPreloadSprite(this.preloadBar);It works fine on version 1.1.3 (see image below) but when I use version 2.0 It becomes weird. Any clue? Thanks. Link to comment Share on other sites More sharing options...
Hsaka Posted February 27, 2014 Share Posted February 27, 2014 Yea I'm getting the same result (http://www.html5gamedevs.com/topic/3778-12-preloader-sprite/), not sure how to fix it. Link to comment Share on other sites More sharing options...
plicatibu Posted February 27, 2014 Author Share Posted February 27, 2014 I should have looked for prior to submit this new post. Up to now you didn't get any solution? Link to comment Share on other sites More sharing options...
Recommended Posts