So I have a game that I created to run at 800x800 pixels. I was able to export it for HTML5. After reading the "Exporting for the Web" document, I got the idea to put the game in an <iframe>. The only issue is that in Firefox, my game only looks good if I do <iframe width="640" height="640"> and in Chromium I need to do <iframe width="615" height="615">
The text was updated successfully, but these errors were encountered:
I'll try to get a reproduction up within a day or two. I also want to report that when I switched to my Windows partition (same machine), and then tested Firefox and Chrome, there were also sizing differences w/ the iframe that made things look quite ugly.
Attached is a very stripped down version of the game that I was making (most scripts are removed, had to remove the custom font for licensing reasons). Do the HTML5 export to the directory html5/, and make sure the file is called game.html. You can then visit the test.html file where I have that <iframe width="640" height="640"> set up (though I want 800x800).
Can anyone still reproduce this bug in Godot 3.2.3 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.