• Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!

Resize sprite



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:


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