xtreme Posted April 10, 2014 Share Posted April 10, 2014 I am a newbie on Phaser and did an extremely simple game that used PhoneGap to convert it to an Android app. Had the problem that my game did not fill the screen on some phones. Also had the problem that the game looked good on a phone when I opened the game the first time. But if I opened it a second time on the same phone had the playfield moved and the resolution changed. this occurred when I used var w = window.innerWidth; var h = window.innerHeight;to receive full screen Is there a clean template to start with which is adapted for phones and taking care of different resolutions on Android (and iPhone)? Link to comment Share on other sites More sharing options...
turnA Posted April 10, 2014 Share Posted April 10, 2014 You can check the Phaser Full Screen Mobile template on github: https://github.com/photonstorm/phaser/tree/master/resources/Project%20Templates/Full%20Screen%20Mobile Link to comment Share on other sites More sharing options...
xtreme Posted April 22, 2014 Author Share Posted April 22, 2014 You can check the Phaser Full Screen Mobile template on github: https://github.com/photonstorm/phaser/tree/master/resources/Project%20Templates/Full%20Screen%20MobileTook a look at the code and look primarily to be suited for apple/iPhone? Is that correct or does it work the same for Android? Link to comment Share on other sites More sharing options...
turnA Posted May 27, 2014 Share Posted May 27, 2014 Took a look at the code and look primarily to be suited for apple/iPhone? Is that correct or does it work the same for Android? Some of them maybe, but it should work as well in other smartphone (like Android/BB10). Link to comment Share on other sites More sharing options...
Recommended Posts