weratius Posted April 27, 2015 Share Posted April 27, 2015 Hello! I have a code:w = window.innerWidth * window.devicePixelRatio,h = window.innerHeight * window.devicePixelRatio;holdLeft = game.add.button(w/2.892, h/1.3092, 'holdLeft', this.holdLeft, this); And I have problems setting coordinates to this sprite, for example, I don't know exactly where this one should be and I need to think out some coordinates but then I always need to change it again and againMaybe there is some another easier way to do it?Thank you in advance!I will really appreciate! Link to comment Share on other sites More sharing options...
rich Posted April 27, 2015 Share Posted April 27, 2015 Deja vu: http://www.html5gamedevs.com/topic/14086-how-to-move-sprites/ Link to comment Share on other sites More sharing options...
Recommended Posts