Pre-note: I have looked for this topic before, and have not found one matching my needs, so please keep that in mind if there is a similar thread. Also, execute any punctuation issues, I am typing this on my phone.
Hello,
I am looking to scale up my java game. Currently, my game is 800 by 800 pixels, and drawn by using the graphics object (and by invoking the drawImage method).
I am looking for a really easy way to upscale my images, please note that I am drawing many different images at the same time.
I have tried upscaling my self, but it hasn’t worked. I troed upscaling each thing drawn by the amount of pixels above the original 800, but that ended up with some weird rendering issues. Is there a way to create a buffered images, and add other Images to that? If so, then I could simply use the two integer spots in the method to expand the image through the screen hight and width, witch are both 800 pixels.
A second note: I want to upscale the images, not change the aspect ratio. So keep in mind I don’t want to expand the camera range etc.
Could you guide me with upscaling, particularly by using Java’s Swing?
Thanks!
- Jaks