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

Can't change window resolution #69

Open
flexusjan opened this issue Feb 15, 2017 · 3 comments
Open

Can't change window resolution #69

flexusjan opened this issue Feb 15, 2017 · 3 comments

Comments

@flexusjan
Copy link

I tried to set the screen resolution to 1280x720

screen = pygame.display.set_mode((1280, 720))

On Windows it works perfect:
It creates an window with size 1280x720

On Android it doesen't work!
I can change the resolution to whatever I want. It's still 1920x1080 (my default display resolution)

Maybe it's a problem with the aspect ratio? But both is 16:9...

Any ideas?

@renpytom
Copy link
Member

It's an Android thing - Android only allows you to create fullscreen windows.

@flexusjan
Copy link
Author

yeah thats okay, but I want a fullscreen window with a custom resolution (1280x720) is this possible on an android device with native 1920x1080 resolution?

@bitcraft
Copy link

Maybe render everything at 1280x720 and scale it to the larger size each draw?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants