updatestage Posted February 6, 2014 Share Posted February 6, 2014 Hi there, I want to create a little Jump'n'Run game with Phaser which can be played on desktop computers and mobile devices. By the fact that mobile browsers don't provide cursor keys I created a control div with buttons (left, right, jump). If the browser is on a touch device this div will be displayed on window.onload.The problem is that I want the game to be scaleable. So I set "game.stage.scaleMode" to "Phaser.StageScaleMode.SHOW_ALL". Now the canvas uses the full browser height and I have no idea to reserve e.g. 100px on the page bottom. Any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts