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

html5 export hardcoded to a size of 800x600 #21

Closed
jamiltron opened this issue Dec 10, 2015 · 1 comment · Fixed by #30
Closed

html5 export hardcoded to a size of 800x600 #21

jamiltron opened this issue Dec 10, 2015 · 1 comment · Fixed by #30

Comments

@jamiltron
Copy link

https://github.com/KTXSoftware/khamake/blob/master/main.js#L357

It would be nice to be able to customize this.

@wighawag
Copy link
Contributor

Actually on html5 the size of the canvas is determined by the html/css
You can modify build/html5/index.html to have the size you want. The one I use to have fullscreen mobile game is the following : https://github.com/wighawag/khamake/blob/allow_own_template/Data/html5/fullWindow.html

you can remove the div trace if you want the haxe trace to be shown in the browser console

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