Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defos for dynamically scaling Defold game window in HTML5? #128

Open
lonnietc opened this issue Feb 13, 2022 · 2 comments
Open

Defos for dynamically scaling Defold game window in HTML5? #128

lonnietc opened this issue Feb 13, 2022 · 2 comments

Comments

@lonnietc
Copy link

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?

@subsoap
Copy link
Owner

subsoap commented Feb 13, 2022

Could you post this request in the Defold forum too?

@lonnietc
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants