This asset consists of two functions: better_scaling_draw_sprite and better_scaling_draw_surface. These are just like draw_sprite_ext and draw_surface_ext except they improve how your image is scaled.
Depending on whether you scale down or scale up, the functions will choose between 8 different shaders to improve the scaling. Scaling down draws the image with a supersampling shader (meaning more detail is kept since more pixels are sampled). When scaling up, you can choose between a bicubic interpolation shader (smoother lines) or a set of depixelization shaders (specialized for finding and scaling patterns in pixel art, like the filters you see in emulators).
The depixelization shaders do now support color blending.
Version 1.1.1. Published May 14, 2015
Created with GameMaker: Studio v1.4.1567
You can only review assets you've bought.
great but lag in mobile devices please do something for that. i really love this.
Thank you. I'm sorry, I don't have any plans for updating this asset for better mobile support.
Does its job and even more
Highly effective, highly recommended
This worked for what I needed straight off. I already have the game visible by drawing a surface, all I needed to do was supplant the better_ draw surface script supplied here and I suddenly had awesome downscaling for my pixel art based game. Was really worred if I would ever get zooming out to really work and that I would need to cap it. This has solved it at a stroke. Thanks kindly to the dev for making this available and for free too - total gem. I have not tried the increased scales, but it looks comprehensive and it really took me seconds to get going even if you have only basic surface knowledge as I do.
It's better than I expected.
Implement it in a single line!
I have never had such an easy experience with a marketplace asset. I could not recommend this more. I'll be implementing this in my newest update for Project Explore. This shader made unreadable shrunken text clear and beautiful. Amazing work. I'd pay at least $20 for this but no, it is literally free.
It's so Awesome!!
The shader works great there by making the graphics look wonderful in bigger resolutions. The only thing is that it's just too heavy for android or may be some problem when running with android devices. Please do a test for android version of this wonderful product. The game starts lagging badly as i keep progressing with up scaling methods i.e. 0-5. My Pc is giving about 1800 fps with 3rd,4th and 5th scaling methods and working perfectly but on my android they doesn't seems to be working correctly and also lagging badly thereby giving like 5-8 fps. The 2nd method of up scaling worked fine with android so far but not without crushing performance massively. It's giving below 30 fps something like 22.
Thanks! If I were to guess, I would think the fps decrease comes from the use of shaders (kind of obvious). The shaders aren't that performance heavy on my compter, but it might be different for mobile devices (which I haven't been testing myself yet). Not sure though, hopefully it's faster on the newest devices.
Total size 85 KB