Hi, i've started to learn lua, and i did a script wich shows an image (dxDrawImage) and a line over the image (dxDrawLine), functions works properly, but i want to add an animation for those "objects", when a player die, image and line come up from the bottom of the screen.
Here's some code
dxDrawLine ( x*1, y*0.944, -x*0.05, y*0.944, tocolor ( 0, 255, 153, 255 ), 2 )
dxDrawImage ( x*0.4, y*0.875, 300, 50, 'images/dead_player.png', 0, 0, -120 )
so when a player die, line & images come up. i don't know how to add this animation.