Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Subpixels are cheating?

A topic by handerdev created Aug 07, 2021 Views: 379 Replies: 3
Viewing posts 1 to 2
Submitted (3 edits)

Hello! I'm using monogame framework as game engine for this jam, but now i'm facing a problem.
I'm setting my back buffer size to 64x64 BUT i also have a resize window event that changes resolution of back buffer, but game still renders in 64x64 EXCEPT



As you can see particles are rotated, which cannot be done in native 64x64, but when upscaling using Matrix, Monogame also adds subpixels and rotation now can be done. (PS. I feel like its cheating, so i will probably disable rotation anyways)

HostSubmitted

Cheating is the wrong word. But you wouldn't get away with it in the ratings. :P

Can't you just reset the render target back to 64x64 after resizing the window?

Submitted

Seems like i can't change resolution of the window independently from back buffer. But i can create RenderTarget2D with size 64x64, then upscale main back buffer and draw my rendertarget scaled. This should allow any subpixels!

Submitted(+1)

Yeah, that works! Subpixels are no more, thanks for an idea!