• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

HTML5 How to add some HTML code in the index, not replace it entirely?

For now what you can do is replace the index.html file to be your own .html file that you included. The problem with this is that it replaces the original html file, which has a line that imports the game output .js file. So every time you start a project with this template, you have to go to your custom index html file and edit that part to match the file name with the current project file.

Not the best experience, especially if it was an project extension other people would purchase.

So I need either:
- to add some HTML code without replacing the OG one
Or
- any GML functionality to somehow get the string of the project name.yyp, which I'll then parse into JS.
 
Top