Full Screen Option Like in the GS arcade?
CaptFinn
Member Posts: 1,828
Is there a way to give our HTML5 games a Full screen option, like the ones you see in the GS Arcades?
Comments
Kinda see my video. I show you how to make it bigger.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
Bigger... or fullscreen?
I saw the replace size options. Is that what GS Arcade is doing?
Is there a mechanism that checks the monitors resolution? Kinda like how we tell the game if width is this do this if that do that? Can actors be given placement rules based on monitor res?
paste this code:
http://pastebin.com/GWTJx2Tm
above thanks for playing, in your'e sample iframe page.
should resize all screens tested on ipad air2, htc desire 510, pc
this basically resizes full screen to the users device
New Muscle Racing Game out now on android
[Muscle Race!]
No. Remember this is HTML 5. a web browser is not given that kind of system access. The user can go full screen using the browser options in their OS. You're dealing with a web browser now and for security reasons you don't have that kind of system access. this is why we have mac builds, windows builds et.... Yes there are limits to HTML 5 and it is designed for a specific purpose. It's not designed to take the place of apps.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
So back to my original question. How can we get the same full screen functionality that is used in the GS Arcade? They have a full screen button that works pretty good. Still leaves a bar at bottom. But that better than nothing.
As with anything HTML 5 you have to do the web coding yourself in the page http://www.sitepoint.com/use-html5-full-screen-api/
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS