-
Notifications
You must be signed in to change notification settings - Fork 1
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
Get actual screen size #40
Comments
Btw, what does clipborder does? |
It is enabled by default, and what it does is to create a rectangle clip that effectively doesn't paint to those "borders" that get a background color paint when the window/screen aspect ratio doesn't match the virtual size. The hello world defines a virtual size of 512x512. This is a aspect ratio of 1:1: So when the width is larger than the height, there are borders to the left and the right, and for the opposite, the borders are at the top and the bottom. Those borders are the grey area that doesn't include the korge logo. |
I'm not sure if this is an actual issue, but I want to create a Game Window that matches my actual Android screen size. I haven't been able to retrieve the actual size in pixels of my screen.
The text was updated successfully, but these errors were encountered: