HTML5 splash screen (Issue-#4665)

#1

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.

0 Likes

#2

Last time I tested it (1.2.164) everything was fine, maybe it’s a new bug (regression) (

0 Likes

#3

Are you using custom css or builtin? DEFOLD_SPLASH_IMAGE is set there if set in the css template.

0 Likes

#4

No, just a custom splash screen.

html5

1 Like

#5

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.

2 Likes

#6

I opened a new ticket #4665, should be fixed in 1.2.166

5 Likes

Can't change splash image for HTML5 build