AlgoGames Posted April 7, 2017 Report 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); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.