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
The reason this doesn't work right now is that SDL behaves very strangely when the canvas is resized. If I remember correctly, it would desynchronize the mouse position from the view, leading to weird input behaviour, so for the moment, dynamic scaling isn't supported.
You can set the "window size" during your Game.init(), but that size is then fixed for the duration of the game session.
The new web engine features a scalable web canvas, which will allow the browser to slot it into whatever space you need.
Therefore, I'm closing this issue.
This sounds reasonable to be able to scale/stretch the viewport/canvas of the experimental dome.html
The text was updated successfully, but these errors were encountered: