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

10 lines
233 B
Plaintext
Executable File

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 < 90 or tagdir > 270
{
image_xscale = -1
}