AlgoGames Posted April 7, 2017 Share Posted April 7, 2017 If I set scale mode to RESIZE and use following code to display a loading mage, it is not always centered. I noticed it happens more frequently on desktop as opposed to mobile. Has anyone else noticed this issue? var loadingBar = this.add.sprite(this.world.centerX, this.world.centerY, "loading"); loadingBar.anchor.setTo(0.5); this.load.setPreloadSprite(loadingBar); Link to comment Share on other sites More sharing options...
Recommended Posts