Resolution Question

Halas

Member
In what resolution should I be building my game in?

My sprites are 4k, should I downsize them in the room or should I keep them high res?

I have been reading up a lot on resolutions, some say its better to scale up, and others are saying with scaling down you lose quality.

Your thoughts are appreciated, thank you.
 

muki

Member
If you keep your sprites 4k you will run into an extreme performance bottleneck after a couple frames of animation. Please do not do this, unless your are using your sprites as sprite sheets for hundreds/thousands of assets/frames.

Your game resolution should be a multiple of the common screen resolutions (like 1920x1080), up to and including said resolution. That part depends on how you want the game to look.

Then work out how big visually you want the sprites on screen. Then do the simple division math to work out sprite resolution.

It also helps that sprites and tiles are multiples of 2, since things get easier later on with mechanics and programming if they are.
 
...and others are saying with scaling down you lose quality...
What the? Scaling up loses quality, not scaling down. But, it depends on what you are using to scale down images, but usually, it's way better to scale down images than scaling them up. If you are not using vector graphics, scaling will always have some loss no matter what you do to it. Making it larger wil make it look more pixelly and smaller may make it look more blurred.
My sprites are 4k, should I downsize them in the room or should I keep them high res?...
4k Sprites? You would have said 4k textures, I would have understood, but sprites? If you have a 16k or 32k TV, I would understand using 4k sprites. But to help you understand better, consider how big your sprites appear on a 4k screen because a 4k sprite means that you will probably see it take almost the entire screen. That's why textures, I understand because some people can decide to look soo close to an object to see it's detail in a game. But sprites, for 2D or even 3D games, usually, they don't really take more than 512 square if they are huge. So, as @muki said, do the maths of the proportions drawn on your screen and it should give you how big you want your sprites to be because it will indeed take up a heck of a lot of juice even for a 4k capable machine.

I would also suggest you to consider who will play your game and if these players all have 4k capable computers. This will give you an idea of which resolution to adopt for your graphics too. If most of your players are Mr. and Mrs. everybody/anybody, then a good percentage have laptops and normal desktop rigs with integrated graphics cards or 2gb to 6gb graphics cards. Another good portion, most gamers, have cheap to medium-good gaming rigs from Core i5 to Core i7 with 4Gb - 8Gb graphics cards. And you will have the rich ones or those that spent for their computer-baby top with GTX 2080 in SLI with the latest CPU on the market that can easily render 8k.

As for what @muki said also 4k sprite sheets looks more adequate than 4k individual sprites.
 

JackTurbo

Member
Muki is probably assuming pixel art, which can be scaled up by any integer value without loss of quality providing no interpolation is happening.


If the game is using high resolution raster based art then you would want interpolation and indeed scaling up will pixelate and scaling down risks blurring.

However 4k assets will eat both ram and vram incredibly quickly. Last time I read up on the subject GMS was loading all sprites into memory at launch. With 4k assets thisll likely cause a crash due to lack of memory pretty quickly as sprites are uncompressed in memory.

Manually loading assets into and out of memory as required is possible, but not simple. This is certainly something you should read up on before attempting a 4k 2d project.
 
Top