#changing stretch mode to viewport makes ui look bad

7 messages · Page 1 of 1 (latest)

hybrid loom
#

I want to render my game in lower resolution for performance sake and i need to have stretch set to viewport for that but it makes ui look pixelated and way bigger than when not using stretch
is there a way to solve these 2 issues

lean vector
# hybrid loom I want to render my game in lower resolution for performance sake and i need to ...

the setting display/window/stretch/scale should allow you to counteract te zoom. but if you globally change the output resolution it will of course also affect your ui and make it more pixelated. and there isn't really a simple way around it. You could use an Subwiewportcontainer to render only the gameplay at a lower resolution, but it's a bit difficult to make it use a lower resolution.

hybrid loom
lean vector
#

yeah subviewports don't really make it more performant, unless it's a much lower resolution.

#

but in general i would say it's a weird match to use pixel art together with trying to render to a lower resolution. As that would pretty much ruin the pixel art effect.

#

althoughit seems like the pixel art pixels are actually larger then screen pixels, given the resolution of your text and healthbar.

#

so you probably could reduce the resolution until it matches with the sprites.