Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thank you, I actually had a different problem.


When naming, I named the whole file "index.html", while in reality, the file only needed to be called "index", as the ".html" comes from the file itself, not the name. Now it works, thank you for the help.

(+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.