Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.3-stable]Changing the Boot Splash background color does not reflect in the web export #96874

Closed
itsabhiaryan opened this issue Sep 11, 2024 · 1 comment · Fixed by #96625
Closed

Comments

@itsabhiaryan
Copy link

itsabhiaryan commented Sep 11, 2024

Tested versions

Godot_v4.3-stable_win64

System information

Windows 10 Pro - Godot_v4.3-stable_win64 - Compatibility

Issue description

Changing the Boot Splash background color does not reflect in the web export. I even tried to Run directly from the Editor but same result. (Run in Browser).
or Export Web build and Check Background

Steps to reproduce

Project Settings -> Application -> Boot Splash -> BG Color -> Set any Color
This change project.godot -> boot_splash/bg_color=Color(1, 0, 0, 1)

Run directly from Editor but same result.

Minimal reproduction project (MRP)

bootsplashbgcolor.zip

@itsabhiaryan itsabhiaryan changed the title Changing the Boot Splash background color does not reflect in the web export [4.3-stable]Changing the Boot Splash background color does not reflect in the web export Sep 12, 2024
@patwork
Copy link
Contributor

patwork commented Sep 16, 2024

At this point, the HTML template changed in 4.3 only supports boot splash image. Expansion to include more parameters from the application/boot_splash setting will require adding more variables passed during export.

For now, I can suggest changing the background using CSS style inside Head Include field, for example:

<style>
#status { background-color: red; }
</style>

or even more fancy:

<style>
#status { background: radial-gradient(circle, rgba(15,15,121,1) 0%, rgba(25,224,56,1) 100%); }
</style>

@AThousandShips AThousandShips added this to the 4.4 milestone Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants