Windows 8 HTML5 games should be full screen [?]

Jon

  • *
  • Posts: 17524
One that preferably runs in full screen, but at least has everything visually centered.

« Last Edit: October 29, 2012, 09:12:03 pm by Jon »

Jon

  • *
  • Posts: 17524
Done, can't figure out the full screen part though - anybody with some HTML expertise know how it's done?

mzxstosch

  • Posts: 96
Well it's not yet officially supported by all the platforms, but there is an alternative way. Only the player has to hit f11, then the game can automatically re-size :).

source: http://www.html5rocks.com/en/tutorials/casestudies/gopherwoord-studios-resizing-html5-games/

bigleaphr

  • Posts: 188
Well it's not yet officially supported by all the platforms, but there is an alternative way. Only the player has to hit f11, then the game can automatically re-size :).

source: http://www.html5rocks.com/en/tutorials/casestudies/gopherwoord-studios-resizing-html5-games/

Could we simulate key press?

Jon

  • *
  • Posts: 17524
No, simulate key press only affects things in Stencyl. It doesn't actually make a key press go to the OS.

captaincomic

  • *
  • Posts: 6108
No experience with it, but there is a (still experimental) Full Screen API in HTML5:
https://developer.mozilla.org/en-US/docs/DOM/Using_fullscreen_mode

dripple

  • Posts: 747
Done, can't figure out the full screen part though - anybody with some HTML expertise know how it's done?
Hi Jon, as this falls into a "problem" I have, what means done? I tried no to load the export in a number of ways, but its still the same size and even not centered in the browser?
Sure, my games won't get better with all the new features of Stencyl.
But I do have more fun creating bad ones.


MayazCastle Keeper