Boxtufty Posted July 5, 2014 Share Posted July 5, 2014 Relevant snippet:this.tileCurrent = this.game.add.tileSprite(this.game.world.width/2, this.game.world.height/2, 320, 640, 'grasstile');this.tileCurrent.anchor.setTo(0.5,0.5);When using Canvas, the anchor point is in the top left corner of my tileSprite. When using webGL, the anchor is in the centre of my tileSprite. This is the desired outcome, how can I achieve this in both Canvas and webGL? uberscientist 1 Link to comment Share on other sites More sharing options...
Recommended Posts