• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

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