Have you made any useful changes to your HTML5 templates? / Calling all CSS experts!

We should work together to contribute our custom changes to the HTML5 template to be included in the vanilla version. Some custom features could be included as optional toggled features in game.project.

You can discuss here / in the above issue. Though discussing is preferable on the above issue.

If you have made custom changes to your HTML5 template please post it zipped here and mention what changes you have made.

If you are a CSS expert and have ideas on how the vanilla HTML5 template could be improved stylistically please post samples with images.

5 Likes

Just a thought.

Rather than improving template itself, how about improving embeddability?

For example, HTML build will create “defold-game” web components element, not HTML nor CSS(minimal HTML may be OK).

Then, game developers might create HTML that contains fragment like below.

<script src="defoldbundle.js"></script>
<defold-game width="640px" height="480px" />

Developers will have total control of HTML because they can create HTML from scratch.
In addition, Defold Editor doesn’t have to have HTML customize functionality.

2 Likes

That as an option would be useful. But you would not want to not include an HTML file as many people who are beginners would get stuck when sharing HTML5 builds on sites like itch. It has to be super easy for them.

2 Likes

You can use beatyfull progress bar theme from there

2 Likes