I have updated to 4.9, created a new C++ empty project and launched it in Firefox. It worked great. Then I packaged the project, copied all files to my localhost and an error appeared 3 times in the browser console “SyntaxError: illegal character”. The game obviously did not start.
Hi,
I have the same problem as You, but I don’t understand Your SOLUTION. Could You explain me, step by step what should I do to run html project from hard drive or from web server?
Best regards, and thanks for Your help.
the easiest way to run your HTML5 packaged project is to find “HTML5LaunchHelper.exe” in the packaged folder and run it. It will host a local server. Just enter the address in your browser the console window says it’s running at, something like “http://localhost:8000/XXX.html”. I’m using firefox, it works best.
If you already have a localhost, then you have to find out how to make it decode .gz files as javascript. The solution I wrote about is for Wamp Server. The packaged project folder contains a readme.txt file with instructions, though they did not work for my localhost, hence the solution. So when your localhost is configured, copy all the files to it and run the .html file ex. “http://localhost/asd/XXX.html”
If you still have problems running the project, try to describe your situation as best as you can. Cheers.