MackeyK24 Posted November 9, 2016 Share Posted November 9, 2016 When i do a engine.fullscreen, all the html i have for gun disappears... Is that by design or a bug... If by design ... how am i supposed to show my game hud in full screen on a browser... not targeting mobile so soft wanna use canvas2d.. just pure html. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 10, 2016 Share Posted November 10, 2016 Hey by default the canvas is moved to fullscreen but you can still use BABYLON.Tools.RequestFullscreen(myRootDOMelement) Quote Link to comment Share on other sites More sharing options...
MackeyK24 Posted November 11, 2016 Author Share Posted November 11, 2016 Thanks... So far this is working great... renders the whole page in FullScreenMode: BABYLON.Tools.RequestFullscreen(document.documentElement); Do you see any problems with presenting the whole document element? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 14, 2016 Share Posted November 14, 2016 nope 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.