Where does the generated index.html file come from?
-
When I build my game with the html5 build, I get an automatically generated html-file. Where does this file come from?
I'd like to have it generate a page with some graphics (or a black background) on the areas that don't have the game content, but I'd have to replace it in the export directory after each build. Is there a way to give a parameter or something to use my own written index.html-file?
-
Indeed, you can do that. The file comes from the HTML5 template. This is actually more of an OpenFL question:
-
Ah, alright, thanks a bundle!
Didn't even think of it having to do with openFL, I guess when things are built on top of other things, one should check the whole pile :)
-
Technically it's not even an OpenFL but a Lime feature, since that's the layer where the build tool comes from. Same for anything else in the
Project.xml
format. :)