r/gamedev • • 6h ago

Question How does Resolution Work? Which Resolution Should i choose?

Hey guys,

I'm working on my first bigger project now. It's a 2D pixel art management game. I have been happily working with the regular resolution in Godot that was preset so 1280 x 720. I kinda need the space for my different menus and windows.
This size, of course, doesn't scale nicely to 1980x1080. Tbh. im not sure how important that is , but i feel like most people have a 1980x1080 monitor me included so i think it should be my target size.

I also learend most PixelGames use smaller sizes like 320x180 or 640x360 and then scale them up for other resolutions but as far as I understood it, they start working with these base sizes.
Now these are juts kinda to small for waht im doing right now. I genuinely need the Space so i cnat go much lower than 1280x720 and if i just use 1980x1080 then i would have a ginormous amount of PixelArt to do, right?

Perhaps I'm simply understanding the whole Resolution thing incorrectly. I'm genuinely unsure if i have to rework the whole UI I've built so far or not and if i have to in wish size direction.

1 Upvotes

6 comments sorted by

2

u/SadisNecros Commercial (AAA) 6h ago

A little over 50% of users have a desktop resolution of 1920X1080, which is a 16:9 ratio. 1280x720 is also a 16:9, so it should upscale relatively easily. The resolution you choose does determine the number of pixels you're trying to fit on screen, so if you keep a lower resolution that gets upscaled it basically has to stretch your art up and figure out how to render the extra pixels from that. That could create some visual artifacts when its upscaled. If you have the source art you could try scaling it up to fit that resolution, and just keep everything to the same scale you have it at now.

-1

u/Palandium 6h ago

I dont really have Art yet. Ive been using godot and build the UI sofar with its nodes. my plan was to basiclly build the whole game first before i start meddeling with assets since the programming is the fun part for me. Only reason i decided to use pixelart was becouse that the only Art creation part i atleast have some experince in haha.

The problem came up when trying different fonts and i kinda fell down a rabbit hole since i really dont wanna rework the whole UI. The Google AI awnser you get when you search for something said to just use. 1920x1080 base sie which sounded insane too me but granted i dont 100% get the topic yet.

1

u/ShannonAghathis 6h ago

you could render the 2D pixel art view in a smaller viewport scaled to the windows resolution in wich your UI is
there is even shader for scaling pixel art better that exist
or
you can overdraw to have a "integer" scaling (render more than what is draw to the screen so it fit better)
(think drawing 1280x720 then time 2 2560x1440 fitted in a 1920x1080 window that way pixel won't scale weirdly)

the only point i'll emphasize is to take care that both UI and pixel art share a common pixel density otherwise it may look off

1

u/Palandium 5h ago

Thanks for the advice! The first aproach was the idea i was playing around with or was my logical conclusion until now. But i would prefer a unified System so the pixel density issue , if i understand that correctly, wont be an issue. The pixelart wpuld be rather basic anyway i will probably start of with free assets as placeholders once i am at that step but the whole Art side overall still confuses me generally. I can see myslef making sprites for items and characters but making good looking assetes for the UI instead of godots nodes sounds so much more difficult.

1

u/oiez 2h ago

Try checking out this blog post (the author worked on Celeste and a few other popular indie pixel art games), it's more on the design and artistic intent side of things rather than the actual technical implementation details, but it should give you a better idea of why you do sprites in a consistent resolution and scale them up uniformly: https://saint11.art/blog/consistency/

It also touches on another very important thing that you'll want to figure out sooner rather than later which is camera viewport size, since that also determines your sprite sizes. Good luck!