You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS/device including version:
Product: Redmi Note 7 Pro
Version: Android 10
CPU: arm64
Backend: GLES3
Issue description:
When i run game with Mode=2D and Aspect=Ignore, the game is getting extended till front camera. Due to this, the game contents at top middle part are getting hidden behind the front camera. I want the game to expand till just below the front camera.
Steps to reproduce:
Run any game with a background in android device having front camera coming in front of mobile screen. In my case i am using the Redmi Note 7 Pro mobile.
Minimal reproduction project:
The text was updated successfully, but these errors were encountered:
I could reproduce this on my Galaxy S10 starting with beta2, but it seems it's a feature added in #43140 (#43104 for master). You can get the safe area for your UI with OS.get_window_safe_area() though. cc @Klowner
When i run game with Mode=2D and Aspect=Ignore, the game is getting extended till front camera.
As a friendly reminder, do not use the ignore aspect in production games. This will cause visible distortion on any aspect ratio not matching your base aspect ratio. Now that phones exist in many aspect ratios (16:9, 18:9, 19:9, 19.5:9, 21:9, …), you really need to support multiple aspect ratios properly to give everyone a good experience.
Instead, use the expand stretch aspect and configure your UI anchors correctly.
Godot version:
3.2.4 beta
OS/device including version:
Product: Redmi Note 7 Pro
Version: Android 10
CPU: arm64
Backend: GLES3
Issue description:
When i run game with Mode=2D and Aspect=Ignore, the game is getting extended till front camera. Due to this, the game contents at top middle part are getting hidden behind the front camera. I want the game to expand till just below the front camera.
Steps to reproduce:
Run any game with a background in android device having front camera coming in front of mobile screen. In my case i am using the Redmi Note 7 Pro mobile.
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: