Icon

Better Scaling

Mytino

You must be logged in to obtain assets

Description

Forum thread: https://forum.yoyogames.com/index.php?threads/better-scaling-free.3301/

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).

Remember to read the asset's EULA:

End User Licence Agreement (EULA).

Age Rating: None

Version

GMS1 - Version 1.1.1. Published May 14, 2015

The depixelization shaders do now support color blending.

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait