Resize sprite

S

Scr1pt

Guest
How I can resize a sprite using the gml, without lose her quality? I tried to use image_xscale/yscale, but the quality is very bad.

Ps.: resize the sprite in a image editor is not possible, i have a lot of sprites and using code will be more fast.
 
Last edited by a moderator:

RangerX

Member
If you want your sprites intact, you can only scale them up by an integer value (x2, x3, x4, etc) else there will be graphical deformation / stretching.
Also, I doubt that resizing them in the graphic editor of GMS is much slower than putting code in all your concerned objects. But I guess you know where you're going :p
 
Top