Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / High Definition Images
- - By ml Date 2014-01-19 00:26
Is there a way to incorporate higher resolution images into a Gosu game?

I tried using higher-resolution source images, but it seems to just make the images larger.

I've been away from this forum for a few months. I love Gosu, and send my thanks as always to all those involved in making it so awesome.
Parent - - By jlnr (dev) Date 2014-01-19 01:37
Thanks for your comment & for playing around with Gosu!

You can use higher-resolution images, and then scale them down using the factor_x & factor_y arguments to draw. You could even write your custom Image subclass that does this automatically.

However, since OpenGL is not quite Photoshop, I've noticed that images look terrible when you scale them down to around 25% of their size :( Are you on a high-res display where normal textures don't look good?
Parent - By ml Date 2014-01-20 05:43
Wow cool! Thank you!

I'm helping a friend make a Gosu prototype of his javascript app idea. He is hoping to test out higher resolution images, to get a feel for what they might look like on high definition mobile device screens.

I will give this a try and see how it looks / what my friend thinks of it. I will keep in mind the tip about the ~25% threshold for image quality.

Thanks as always. I hope to post another game to the showcase before too long. I am a huge believer in Gosu.
Up Topic Gosu / Gosu Exchange / High Definition Images

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill