ludum-dare-23/objects/obj_gunner/Step_0.gml

10 lines
216 B
Plaintext

tagx += (tagspeed*cos(degtorad(tagdir)))
tagy -= (tagspeed*sin(degtorad(tagdir)))
x = tagx + __view_get( e__VW.XView, 0 )
y = tagy + __view_get( e__VW.YView, 0 )
if tagdir = 0
{
image_xscale = -1
}