Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Uh-oh. What happens there is that Windows hides file extensions by default. The .html part doesn't "come from the file itself". There's no such thing. It's the file extension: a part of the filename. It just happened to be set automatically for you when you exported the game.

Tip: set Windows to show file extensions. There's a checkbox hidden somewhere in Explorer's options dialog. You'll thank yourself later.

That said, glad you figured it out. Good luck with your game!

(+1)

I never understood the reasoning behind that feature. It causes problems wherever it is used and contributes to malware spreading. And irritations like this, when someone tries to conform to a filename convention, but literally cannot do this with the feature on.

They should get rid of that default setting. Even when off, Windows is aware of file name extensions, for example when renaming files. There is just no benefit, no benefit at all in hiding, but a ton of problems.

Imagine, if the file were named index.htm instead of index.html. Windows uses the same Icon for those.