Gods Posted May 24, 2015 Share Posted May 24, 2015 My game scales perfectly in the browser but when I build it in cordova there is black bars on the bottom. I am using 320x480 and Phaser.ScaleManager.SHOW_ALL; anyway to have the cordova version scale without black bars? any examples? please share! thanks Link to comment Share on other sites More sharing options...
icp Posted May 24, 2015 Share Posted May 24, 2015 this.game.scale.scaleMode = Phaser.ScaleManager.EXACT_FIT; Link to comment Share on other sites More sharing options...
Gods Posted May 24, 2015 Author Share Posted May 24, 2015 I have tried EXACT_FIT and RESIZE and still got black bars. Link to comment Share on other sites More sharing options...
icp Posted May 24, 2015 Share Posted May 24, 2015 Maybe this CSS will help you :body { margin: 0 0px 1px 0px ; background: #FFFFFF; overflow: hidden;} Link to comment Share on other sites More sharing options...
Gods Posted May 24, 2015 Author Share Posted May 24, 2015 I have that set too it didnt fix the cordova scaling Link to comment Share on other sites More sharing options...
Recommended Posts