I could be wrong here , are you familiar with Java's 'DisplayMode' class?After you've initialized your 'window' you can attempt to set the users GraphicsDevice settings to your resolution likings.^ Hope that makes sense.

Scaling images at startup to the desired size is always good, because you can use better scaling functions.There is a bunch of functions which can be used to scale an image, from fast and low quality to slow and high quality.

So it is of course best to not need any scaling at run-time at all. So scale all your images with the most expensive functions at startup to get the best visuals.There are of course always some corner cases for which this rule doesn't fully apply.

take another look, each time the loop is called the image size to which to scale is halfed. (this is only done if the highquality flag is set)

I've only seen that approach done with bilinear scaling, not bicubic - called progressive bilinear scaling. The halving then makes sense because that's the threshold where bilinear stops sampling a pixel. Does bicubic offer any advantage? Could it actually be less accurate because it's sampling outside the area?

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org