elitian Posted May 12, 2016 Share Posted May 12, 2016 When manipulating sprites, we can do this.sprite.anchor.setTo(.5,.5), which sets the rotation and "origin" of the sprite to its center, rather then the upper left corner. How can we do the same for the game world? So when we spawn a sprite on (0,0), it spawns to the center of the game world/canvas? Link to comment Share on other sites More sharing options...
elitian Posted May 13, 2016 Author Share Posted May 13, 2016 Nvm, just solved it by recognizing whether is mobile or not and then scaling accordingly. Link to comment Share on other sites More sharing options...
Recommended Posts