Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Forum
Search
Topic A different type of "pixel game" support By hmans Date 2013-06-17 10:00
I'm aware of Gosu::enable_undocumented_retrofication, which, as I understand it, deactivates texture filtering/antialiasing/whatever to make sure large pixels are nice and clean.

What I'd much prefer to do is rendering the entire scene to a small canvas and then zooming that canvas so it fills the window. For example, I'd render to a canvas that is 320x240 pixels, and zoom it by a factor of 2 so it fills my window of 640x480 (still using what Gosu::enable_undocumented_retrofication does, of course).

Is that possible to do with the current version of Gosu? If it's not, what are the chances of getting this in a future version?

Cheers,
Hendrik

Edit: I've attached a screenshot of the kind of effect (rotated pixels) that I would like to prevent using the technique described above.
Attachment: ScreenShot2013-06-17at12.20.55.png - It's the "rotated pixels" effect that I would like to prevent with this. (128k)

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill