Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

Is it just me or am I getting a black screen when I click play?

Hmm, the uploaded versions all still run for me. Which version gives you the black screen? The web version? If so it could be helpful if you could tell me which browser you use and if there's any special output under your browser console (opens with CTRL+Shift+J under Firefox and Chrome). Other than that, I guess it could be graphics card related, since it uses WebGL, so maybe it's that?


I'm sorry you were getting a black screen, but thanks for letting me know!

(+1)

I got the same error on both FireFox and Chrome. But on Firefox there is no black screen. I only get black screen on Chrome, even though they have same error...


index.html:186 Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!

printErr@index.html:186
Browser_mainLoop_runner@game.js:1
setTimeout (async)
Browser_mainLoop_scheduler_setTimeout@game.js:1
_emscripten_set_main_loop@game.js:1
(anonymous)@00b734fe-2746:10
Module.dynCall_viii@game.js:1
invoke_viii@game.js:1
(anonymous)@00b734fe-1457:325
(anonymous)@00b734fe-3036:88
Module._main@game.js:1
callMain@game.js:1
doRun@game.js:1
(anonymous)@game.js:1
setTimeout (async)
run@game.js:1
runCaller@game.js:1
removeRunDependency@game.js:1
receiveInstance@game.js:1
receiveInstantiatedSource@game.js:1
Promise.then (async)
(anonymous)@game.js:1
Promise.then (async)
instantiateAsync@game.js:1
createWasm@game.js:1
(anonymous)@game.js:1

game.js:1 Uncaught SimulateInfiniteLoop

runIter@game.js:1
Browser_mainLoop_runner@game.js:1
setTimeout (async)
Browser_mainLoop_scheduler_setTimeout@game.js:1
_emscripten_set_main_loop@game.js:1
(anonymous)@00b734fe-2746:10
Module.dynCall_viii@game.js:1
invoke_viii@game.js:1
(anonymous)@00b734fe-1457:325
(anonymous)@00b734fe-3036:88
Module._main@game.js:1
callMain@game.js:1
doRun@game.js:1
(anonymous)@game.js:1
setTimeout (async)
run@game.js:1
runCaller@game.js:1
removeRunDependency@game.js:1
receiveInstance@game.js:1
receiveInstantiatedSource@game.js:1
Promise.then (async)
(anonymous)@game.js:1
Promise.then (async)
instantiateAsync@game.js:1
createWasm@game.js:1
(anonymous)@game.js:1

index.html:186 Looks like you are rendering without using requestAnimationFrame for the main loop. You should use 0 for the frame rate in emscripten_set_main_loop in order to use requestAnimationFrame, as that can greatly improve your frame rates!

printErr@index.html:186
Browser_mainLoop_runner@game.js:1
setTimeout (async)
Browser_mainLoop_scheduler_setTimeout@game.js:1
_emscripten_set_main_loop@game.js:1
(anonymous)@00b734fe-2746:10
Module.dynCall_viii@game.js:1
invoke_viii@game.js:1
(anonymous)@00b734fe-1457:325
(anonymous)@00b734fe-5132:218
(anonymous)@00b734fe-2759:7
Module.dynCall_v@game.js:1
browserIterationFunc@game.js:1
runIter@game.js:1
Browser_mainLoop_runner@game.js:1
setTimeout (async)
Browser_mainLoop_scheduler_setTimeout@game.js:1
_emscripten_set_main_loop@game.js:1
(anonymous)@00b734fe-2746:10
Module.dynCall_viii@game.js:1
invoke_viii@game.js:1
(anonymous)@00b734fe-1457:325
(anonymous)@00b734fe-3036:88
Module._main@game.js:1
callMain@game.js:1
doRun@game.js:1
(anonymous)@game.js:1
setTimeout (async)
run@game.js:1
runCaller@game.js:1
removeRunDependency@game.js:1
receiveInstance@game.js:1
receiveInstantiatedSource@game.js:1
Promise.then (async)
(anonymous)@game.js:1
Promise.then (async)
instantiateAsync@game.js:1
createWasm@game.js:1
(anonymous)@game.js:1

The error is because I'm forcing Emscripten, the web framework, to 60fps instead of letting it use the display refresh rate. This error is expected and should not result in a black screen.

Hmm, it also works on Chrome for me, so it doesn't seem to be a general problem with Chrome. Very mysterious, like you said the logs are the same as well. I'll try setting up some VMs and see if I can reproduce the black screen issue, either way, thanks a lot for sharing the console output with me!

(+1)

I launched a VM and used Chrome and it worked. I don't know maybe it is just my computer. I tried to disable all extensions and plugins, didn't help. Maybe is because I'm still using window 7?

I can't say either right now, I'll try it with Windows 7 first, thanks for the hint (and the additional testing with the VM/extensions!)