Export to HTML5 doesn't keep scene size

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By arnath

Hi,

I made a little sample using Godot and then tried to export it using the HTML5 export template. My project display settings are in the picture below. However, when I export to HTML5, the game takes up the entire window and changes size if I resize the window. How do I make it just take up a window sized space in the middle of the HTML page? Thanks!

:bust_in_silhouette: Reply From: Mike Trevor

Try tinkering with the stretch settings, keep_height and 2D for example. Also jsyk that if you’re going to publish it to newgrounds or itch.io as html5, the game is not necessarily going to fill the whole web browser screen since there’s an option to change the screen size dimensions of the game when publishing, unless you want it to.