Lallassu / VoxLords

VoxLords - ThreeJS WebGL game with a simple voxel engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

game doesn't load

kharandziuk opened this issue · comments

For some reasons game doesn't load. I use chromium browser on mac. I attached an output from my console

Hm, strange. I just tested it on google-chrome on OS X and it worked fine. I haven't tested on pure chromium though. But try with google-chrome and see if that works?

Otherwise there might be some corruption of the sound files. Check that they are fine or just clone them from my repo again.

I'm trying this with Chrome v53.0.2785.101 (64-bit) on Mac today. The game scene appeared, but no movement. And it was logging "three.min.js:517 Error creating WebGL context."

but I saw a few other people reporting this problem with ThreeJS and there's a workaround here: mrdoob/three.js#404 (comment) "Enter in the location bar chrome://flags and enable Override software rendering list. Then restart the browser. WebGL now should work."

However that's probably a different problem. kharandziuk was getting errors with sound file URLs (last year)

I had similar issues due to the server throwing an Exception and exiting, due to contentType being undefined here. Once I fixed that it all ran fine.