Html 5 build

Hi there!

I have made a html5 build. But when I try to open index.html the game does not run and the chrome console shows:

Neither Safari is able to run the game. What am I doing wrong?

Many, many thanks as usual!

You can’t test html5 build just running index.html file. You have to use a server.

If you want to test your bundle, just upload it to your remote HTTP server or create a local server, for example, using python in the bundle folder.
Python 2:
python -m SimpleHTTPServer
Python 3:
python -m http.server
or
python3 -m http.server

3 Likes

Hi @AGulev. thank you for your reply!

I succeeded in running the game via chrome!!! Let me say that it runs perfectly smooth!!!

Defold shines more and more!

Ciao!

2 Likes