How to keep your scaled sprites looking sharp

Started by fightlessbirds, October 29, 2017, 01:33:14

Previous topic - Next topic

fightlessbirds

I was looking in the AGK documentation for how to make my small pixel art appear sharp when it's scaled up to larger resolutions. The answer was not so obvious so I figured I would share it here:

SetImageMagFilter(imageID, 0)
SetImageMinFilter(imageID, 0)


You'll need to do this for each loaded image.

Rick Nasher

_______________________________________
B3D + physics + shaders + X-platform = AGK!
:D ..ALIENBREED *LIVES* (thanks to Qube).. :D
_______________________________________