To change the HTML5 output to your needed canvas size, follow the ensuing steps:
MonkeyGame.HTMLfile, which is located inside the
build/HTML5folder of your project. Use Monk to do this as it can open HTML files.
800and the height value to
600. Save and close the file.
We have changed the size of the HTML canvas. It is now the size we need it to be so we can test the game easily in the HTML5 browser of your choice.