different window sizes

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sakura37

I am a begginer and I want to start making games, i have done some little things and i work from my laptop(1280x720). But for other computers, the requirement dimension for a better experience can be 1920x1080,not always 1280x720. I work on a 320x180 2d space(pixel game), so when it resizes it can work for both dimensions.
The question is, what can i do so my game can only have the dimensions 1280x720 for smaller displays and only 1920x1080 for bigger ones? I want to avoid the stretching, because it makes my character a little weird
P.S: I enabled pixel snapping and nearest mipmap filter, and also i have the 2d mode and the "keep"aspect (the weird thing is that my character eyes are just vertical lines, and when i strech my right eye is sometimes bigger, but when i don’t strech it’s normal)

I am saying again, I am a begginer at game coding, I don’t know much, so if you could please include more details, i will be grateful.

:bust_in_silhouette: Reply From: BraindeadBZH

What about using making the window not resizable and fullscreen?

I feel so stupid right now.
Thank you so much. I tried all the combinations but i didn’t see the not resizable thing.

Sakura37 | 2019-08-29 15:00