Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Turn off Smoothing?

Author
Message
LiamGoodacre
12
Years of Service
User Offline
Joined: 25th Aug 2011
Location:
Posted: 25th Aug 2011 22:09 Edited at: 26th Aug 2011 01:17
Is it possible to prevent image smoothing?

I am hoping to create a pixelated game; I have set my virtual res rather low, and my window size pretty large. But when the virtual view stretches to fill the window it has smoothing applied to it, is there anyway to turn this off?

I'm using Tier 2 (C++).

Thanks,
Liam Goodacre.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 26th Aug 2011 01:23
Setting the virtual resolution low will not impact visual quality, but you can use low res images for your sprites and turn off image filtering using SetImageMinFilter and SetImageMagFilter to 0. That will make the images pixelated instead of smoothed.
LiamGoodacre
12
Years of Service
User Offline
Joined: 25th Aug 2011
Location:
Posted: 26th Aug 2011 01:27
Thanks man, exactly what I wanted.

Cheers,
Liam Goodacre.

Login to post a reply

Server time is: 2024-04-26 15:42:17
Your offset time is: 2024-04-26 15:42:17