In previous project, I have done my Java2D rendering by drawing onto a BufferedImage and drawing that to a BufferStrategy. This allowed me to scale the image to acheive a low-resultion effect at higher resolution windows by drawing the image as
g.drawImage(image, 0, 0, width, height, null);
but when I make the window, I go
main.setPreferredSize(new Dimension(width * scale, height * scale));
Thus making it three times more spread out.
Anyways I just found out how much more efficient it is to draw directly onto the BufferStrategy instead of using a BufferedImage. So my question is:
How can I draw directly onto the BufferStrategy and still scale the image? Is this possible at all?