-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
Custom boot splash image scaling wrong on Android #46723
Comments
This is likely due to DPI scaling being automatically applied by the Android porting layer. Does this occur if you resize the splash image to 640×360? |
I do have the same scaling issue with a high resolution image in a 720p phone screen. It is inconsistent with how it works on other platforms, and how it worked in previous versions (3.2.3). |
This is probably related to the Android porting rework that happened between 3.2.3 and 3.2.4. Can you test this in all 3.2.4 betas and RCs? |
The problem is present in both 3.2.4rc1 and 3.2.4beta1. |
cc @m4gr3d |
I have tested the versions and recorded my results. I have used a 1000x1000 custom godot logo on a 720p phone screen (android). Here is the project I used. 3.2.3.mp4beta1-rc2.mp4rc3-rc5.mp4 |
CC @godotengine/android |
@fractilegames @AlexHCC The changes you are observing are intended and were done in PR #46168 in order to address issue #43726. As mentioned in PR #46168, the use of the Android theme api introduces a couple of limitations, proper scaling being one of them. Let me know if you have further questions on the current implementation. |
That PR says "One limitation of the Android api being used is that the splash screen aspect ratio is not maintained when it's scaled up". This isn't just about aspect ratio, the image is scaled 2x too big on Android. |
@fractilegames Thanks for the update, I'll take a look. |
The boot splash still has the same problem on godot 3.4.4... my splash image is scaling down. I am using a image same as my window size... Will it be fixe in feature? |
This is already being tracked in #49816. There is no ETA for fixing this issue, as contributors work on a best-effort basis. |
Godot version:
3.2.4rc3
OS/device including version:
Samsung Galaxy S8, Android 9
Issue description:
With window size in project settings set to 1280x720 and using a custom boot splash image of the same size, only the middle 1/4 of the image is shown on Android:
Changing Boot splash / full size -project setting does not change anything.
The text was updated successfully, but these errors were encountered: