Right now, all sprites, when drawn, are scaled independently of each other. This causes some text glitches, where you can see a row of darker pixels due to bleeding, and may be contributing to the drawing routine being slower overall.
The idea is to create a canvas of NATIVE_RESOLUTION size and draw everything onto it with anti-aliasing turned off. Then, once the frame is ready, the canvas will be drawn onto the actual screen, with anti-aliasing turned on again.
Right now, all sprites, when drawn, are scaled independently of each other. This causes some text glitches, where you can see a row of darker pixels due to bleeding, and may be contributing to the drawing routine being slower overall.
The idea is to create a canvas of
NATIVE_RESOLUTION
size and draw everything onto it with anti-aliasing turned off. Then, once the frame is ready, the canvas will be drawn onto the actual screen, with anti-aliasing turned on again.How would the scaled sprites work?