• 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!

GML how to create animation in scale

R

royer14

Guest
Hello, I have an Object Obj_box

Now I have created a 64x64 sprite and what I want is that in step event the animation is similar to the one in the image below

Well I do not want to use so many sprites for the animation and my goal is to do it with gml, could you help me?
Code:
var scale = 1.4
while (true)
{
   // image_xscale // add code
}
 

samspade

Member
Hello, I have an Object Obj_box

Now I have created a 64x64 sprite and what I want is that in step event the animation is similar to the one in the image below

Well I do not want to use so many sprites for the animation and my goal is to do it with gml, could you help me?
Code:
var scale = 1.4
while (true)
{
   // image_xscale // add code
}
Watch this - or just copy the wave script.

 
Top