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

Boot splash on Windows and Android are not scaled equally #49816

Closed
golddotasksquestions opened this issue Jun 21, 2021 · 5 comments
Closed

Boot splash on Windows and Android are not scaled equally #49816

golddotasksquestions opened this issue Jun 21, 2021 · 5 comments

Comments

@golddotasksquestions
Copy link

golddotasksquestions commented Jun 21, 2021

Godot version

3.3.2 stable

System information

Win 64

Issue description

image

A) If "Fullsize" is enabled, the boot splash graphic will correctly resize on Windows, but on Android the boot spash graphic will show up miniaturized, like an icon.

B) If "Fullsize" is disabled, the boot splash graphic will not be resized on Windows (therefore if the graphic is bigger than the project resolution the graphics will be cut off), but on Android the boot splash graphic will show up correctly (possibly due to the much higher native screen resolution on the phone. At any rate, it won't show up miniaturized)

Expected behavior would be if "Fullsize" is enabled (A), for the splash graphic to on android not to be miniaturized but look like it does in (B).

Steps to reproduce

1: Create a project with a project resolution of something like 360 width 780 height, stretch mode: 2D
2: Add this test graphic as boot splash graphic:

icon_boot_splash

3: Run project in Windows and Android phone with and without "Fullsize" setting enabled.

@golddotasksquestions golddotasksquestions changed the title Boot splash on Windows and Android are not the same Boot splash on Windows and Android are scaled equally Jun 21, 2021
@golddotasksquestions golddotasksquestions changed the title Boot splash on Windows and Android are scaled equally Boot splash on Windows and Android are not scaled equally Jun 22, 2021
@Calinou
Copy link
Member

Calinou commented Jun 22, 2021

cc @m4gr3d

When Fullsize is disabled, hiDPI scaling for splash screen is only implemented on Android and iOS (which use native OS drawing code). On other platforms, it must be done manually by the engine, and this isn't implemented yet. We'd need a method to get the OS scale factor do it reliably first.

@m4gr3d
Copy link
Contributor

m4gr3d commented Jun 28, 2021

@Calinou @golddotasksquestions The other (quick) option would be to move the boot splash scaling option to the export configs since we don't expect similar behavior between PC/mobile platforms.
Let me know what you think.

@boruok
Copy link
Contributor

boruok commented Apr 4, 2022

@golddotasksquestions did you found any workaround since then? I got same issue on Godot 3.5 beta 3

@golddotasksquestions
Copy link
Author

@boruok Unfortunately, no, I have not.

@m4gr3d
Copy link
Contributor

m4gr3d commented Aug 17, 2024

Resolved in Godot 4.3 via #92965.

@m4gr3d m4gr3d closed this as completed Aug 17, 2024
@akien-mga akien-mga added this to the 4.3 milestone Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants