You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Excalibur fullscreen mode only targets the canvas element, which only allows that element to go fullscreen.
Proposal
Allow ex.Screen.goFullScreen() to specify a target container element in some way.
A couple thoughts come to mind
constgame=newex.Engine({..});// element idgame.screen.goFullScreen('target-element-id');// element referenceconstelement=document.getElementById('target-element-id');game.screen.goFullScreen(element);// only parent element? maybe notgame.screen.goFullScreen(true);
The text was updated successfully, but these errors were encountered:
Context
See discussion #2323
Currently the Excalibur fullscreen mode only targets the canvas element, which only allows that element to go fullscreen.
Proposal
Allow
ex.Screen.goFullScreen()
to specify a target container element in some way.A couple thoughts come to mind
The text was updated successfully, but these errors were encountered: