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

[3.2] [HTML5] Easier HTML templates, better canvas size handling. #46201

Merged
merged 2 commits into from
Feb 19, 2021

Conversation

Faless
Copy link
Collaborator

@Faless Faless commented Feb 19, 2021

3.2 version of: #46200 .
This PR also backports the export flags as arguments (no debugging of course, but you can enable drawing of collision and navigation shapes)

Three canvas resize policies:
- `None`: Godot window settings are ignored.
- `Project`: Godot handles the canvas like a native app (resizing it
  when setting the window size).
- `Adaptive`: Canvas size will always adapt to browser window size.

Use `None` if you want to control the canvas size with custom JavaScript
code.
@akien-mga akien-mga merged commit 0d94bf7 into godotengine:3.2 Feb 19, 2021
@akien-mga
Copy link
Member

Thanks!

@akien-mga akien-mga modified the milestones: 3.2, 3.3 Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants