BKcore / HexGL

Source code of HexGL, a futuristic HTML5 racing game

Home Page:http://hexgl.bkcore.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Black Screen

cubecraftgalaxy opened this issue · comments

Screen turns black after clicking start and nothing happens

same issues occurred to me sigh

I traced this issue to following error:
Uncaught TypeError: panner.setVelocity is not a function Audio.js:140

As dumb as it may sound, commenting this line at least allowed the game to start. I just cloned the code today, so I need to understand exactly what is happening in the code.

ogg files don't load on iOS either which causes an exception. Again, some if's around that fixes it
Line 51 is audio.js needs a callback() added when an error is found otherwise it will hang.

Any idea to fix this issue?

you guys need to install python 3 and run this code:
python -m http.server 8000
then open your browser, type http://localhost:8000/