Have custom splash screens for HTML5 been retired?
I’m specifying a PNG for my splash screen but when running the game get a rather large Defold logo instead.
Have custom splash screens for HTML5 been retired?
I’m specifying a PNG for my splash screen but when running the game get a rather large Defold logo instead.
Last time I tested it (1.2.164) everything was fine, maybe it’s a new bug (regression) (
Are you using custom css or builtin? DEFOLD_SPLASH_IMAGE is set there if set in the css template.
I tested with a blank project and had same result. A fix for you would be to make a copy of the CSS under builtins/manifests/web and edit the bottom part to be like this
.canvas-app-canvas {
background-repeat:no-repeat;
background-position: center center;
background-size: 70%;
background-image: url("splash.png");
}
then define that custom css file in your game.project, and leave the Splash Image section the same and it should work.
I opened a new ticket #4665, should be fixed in 1.2.166