In the template for HTML5 a splash image do not hidden after game loaded.
In Safari it’s look like:
Safari version:
In the template for HTML5 a splash image do not hidden after game loaded.
In Safari it’s look like:
This looks like an issue we added a ticket for right before christmas (DEF-3061).
We think it is related to a security update for Safari to 11.0.2. Does it look like OK in another web browser, chrome for example?
it’s ok in chrome (Version 63.0.3239.84 (Official Build) (64-bit)) and in firefox (57.0.3 (64-bit))
I found old issue
I think the simplest way to fix this issue is removing of background image when game loaded.
I don’t want to fix js every time after build, and like a hot fix I made next hack in html5 template:
setTimeout(function(){Module.canvas.style.background = '#000000';},2000);
But would be great if you will add something like this in dmloader.js to postRun or _preloadAndCallMain function.
My solution
if html5 then
html5.run("Module.canvas.style.background = '#000'")
end
Cool, thanks!
But I still hope for a fix in dmloader.js.
Solved in Defold 1.2.125