Hi all,
I think that it would be nice if the width/height of the html element where the game is inserted could be configured directly in the HtmlPlatform.Config object. For simple use cases (such as tutorials, for example) I think this is more developer-friendly that having to customize the default index.html file. Also it is consistent with the way it is done in the Java backend.
I just created a PR (
https://github.com/playn/playn/pull/99) to add support for this. It adds width/height parameters in HtmlPlatform.Config. These are optional -- if they are left to their default value (0), then the current behaviour is kept.
Not a big deal of course, but I though this would be useful.
BR,
Guillermo