- Dec 12, 2022
- 357
- 2
Hi
I would like to use LibGDX for my next game. However, I am having trouble determining the maximum drawable screen area.
If I keep the status bar at the bottom enabled, lGdx.Graphics.Width is equal to 2177, which is correct.
If I disable the status bar, lGdx.Graphics.Width is equal to 2400, which is incorrect. It should be around 2310, as there is still an unused area at the top for the notch.
How can I determine the actual maximum screen area?
Thank You
I would like to use LibGDX for my next game. However, I am having trouble determining the maximum drawable screen area.
If I keep the status bar at the bottom enabled, lGdx.Graphics.Width is equal to 2177, which is correct.
If I disable the status bar, lGdx.Graphics.Width is equal to 2400, which is incorrect. It should be around 2310, as there is still an unused area at the top for the notch.
How can I determine the actual maximum screen area?
Thank You
برای دیدن لینک ها باید ثبت نام کنید