natewallis Posted November 2, 2016 Share Posted November 2, 2016 Hi there, Trying to make my game have a full screen option and I have found it easy enough to start full screen mode and I have started with scale mode SHOW_ALL. When I drag an element in full screen mode the x position of the sprite is still in non scaled mode. I have found that I need to multiply it by game.scale.scaleFactor to get the correct value which seems to be correct. Am I doing this right or should I be looking elsewhere for a more reliable value? Thanks, nathan Link to comment Share on other sites More sharing options...
UnknownEvil Posted November 2, 2016 Share Posted November 2, 2016 Could you show us some code? I'd recommend using game.input.activePointer (x and y where necessary) instead of whatever you're using, it correctly scales position. Link to comment Share on other sites More sharing options...
Recommended Posts