How to have double pixel and no smoothing?

BlitzMax Forums/BlitzMax Programming/How to have double pixel and no smoothing?

Canali(Posted 2016) [#1]
HI everyone,
I would like to have my game displayed with a 2:1 ratio compared to original pixels.
I mean, I'ld like to draw the full scene as 960x540 and see it stretched as 1920x1080.
I'm able to get it fullscreen but then I see a "smoothing" that I don't like. How can I easily scale it preserving hard edges?
Thanks


Derron(Posted 2016) [#2]
Loadimage()'s default flags are MaskedImage|FilteredImage ...withiut the second one you might get your crisp lool.


Bye
Ron


FBEpyon(Posted 2016) [#3]
Hell Canali,

I always load my images with MASKEDIMAGE only, and might want to set your default Image Filter to MAKEDIMAGE as well..

See

http://www.blitzmax.com/bmdocs/command.php?name=AutoImageFlags&ref=2d_cat

Thanks,

FBEpyon