subsoap/defos

Defos for dynamically scaling Defold game window in HTML5?

Opened this issue · 2 comments

Hello,

I am still new to Defold engine and am trying to learn how I might be able to dynamically scale the game window in the browser so that in a type of fullscreen "stretch" mode then the game window will actually scale to larger, or smaller as needed.

Basically, I want to put a game in an iframe that can be of different sizes and then the game window will actually truly scale to the size of the iframe in the browser.

Can Defos help me with this?

If not, then is there some other way to do it?

Could you post this request in the Defold forum too?

Yea, I am asking on there as well to see what solutions they might have in this regard but wanted to ask here too since this library seemed like it might offer a possible solution.