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 / Zooming in and out - nearest instead of linear?

Author
Message
kamac
13
Years of Service
User Offline
Joined: 30th Nov 2010
Location: Poland
Posted: 21st May 2012 22:17 Edited at: 21st May 2012 22:22
Or something like that.

What I mean is that AppGameKit currently blurs everything when zooming in. Could there be an option to scale pixels instead?

Eg. From that pixel:

X

it makes those:

XX
XX

When doubling screen zoom.

That'd be superb.

@EDIT

Currently it is possible to do that by placing this:



in your main loop. Though, it works for T2 only, so a T1 solution for others would be fine too I guess. It's a small update I guess.

Follow me on twitter! @MotionStruct
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 21st May 2012 23:11
Kamac great code snippet!

thanks
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 22nd May 2012 00:42
Isn't that what the SetDefaultMagFilter and SetDefaultMinFilter tier 1 commands do already?

Login to post a reply

Server time is: 2024-11-23 14:44:13
Your offset time is: 2024-11-23 14:44:13