GML how to create animation in scale

royer14

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
}
 

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