Game in pixel art, gui hi-res. How?

What is the best way to have the game at low resolution pixel art and the gui in high resolution?

Do I have to use a render target and scale it up to the hi-res resolution?

You can use ‘fixed fit’ projection with specified zoom value

msg.post("@render:", "use_fixed_projection", { near = -1, far = 1, zoom = 2 })

You’ll also want to set the Default Texture Filter min/max to ‘nearest’ in game.project → graphics

1 Like

You don’t need to set anything special, except for the game itself to be pixel perfect you use nearest filters (as above). GUI is rendered separately anyway, so you can have high res assets there :wink:

1 Like