Login
Community
DARK THEME

system.fullscreen

A variable to toggle fullscreen on desktop. Just use 0 or false and 1 or true.

Cool idea. Googled around and since it is a canvas function it would be possible. Just the question how difficult would it be to implement.

https://www.w3schools.com/jsref/met_element_requestfullscreen.asp

Something like screen.fullscreen(true/ false) to turn it on and off?

Will do! The only slight hiccup is that requesting an element to go fullscreen in JavaScript can only be done in response to a user action (e.g. user clicks in the page). For microStudio it means we will require the fullscreen function to be called only when detecting some touch.press in the course of the update function (maybe keyboard presses can work too ; gamepad certainly not as it is not really considered as a user input method in HTML5).

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community