mazoku Posted March 24, 2018 Share Posted March 24, 2018 On some android devices window.innerWidth and window.innerHeight are incorrect so the size of the game is very small - only one small part of the screen. I tried with window.outerWidth and window.outerHeight with the same result I've tried with window.screen.width * window.devicePixelRatio and it was more like the screen size but not exactly. I've removed target-densitydpi=device-dpi and position:absolute and still no change. Quote Link to comment Share on other sites More sharing options...
mazoku Posted March 24, 2018 Author Share Posted March 24, 2018 The above is happening only on some devices, not all Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 25, 2018 Share Posted March 25, 2018 seems like you should manually work with CSS. remove pixi renderer "autoResize" if you use it. > and it was more like the screen size but not exactly. It can happen, there's issue about larger screens on pixi github. please use search there. mazoku 1 Quote Link to comment Share on other sites More sharing options...
mazoku Posted March 25, 2018 Author Share Posted March 25, 2018 Finally its working. Changing random stuff lead to totally strange behavior. ivan.popelyshev 1 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.