SirLudwik Posted January 1, 2018 Share Posted January 1, 2018 Hi everyone, I have problem with scalling to mobile devices in phaser. I mean, every graphic in my app on PC is scalling correct on mobile devices and everything look perfect, but hitArea on sprites that have inputEnabled = true stay on the old positions and when I want to interact with sprite on my phone I have to click a little bit below and to the right from the sprite position. I use this.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL; to scale the game to mobile devices. Have anyone idea what is wrong? Quote Link to comment Share on other sites More sharing options...
SirLudwik Posted January 4, 2018 Author Share Posted January 4, 2018 I checked pointer position with debug function and turns out pointer see screen in 960px/540px even if is display on mobile device :/ 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.