You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2Rogue/Export_Code/gml_Object_oHalzyn_Draw_0.gml

9 lines
398 B

draw_sprite(sprite_index, image_index, round(x), round(y))
event_inherited()
with (shield1)
draw_self()
with (shield2)
draw_self()
if (instance_exists(oCharacter) && collision_line(x, y, (oCharacter.x - 1), (oCharacter.y - 16), oSolid, false, true) == -4)
draw_sprite(eyeSprite, floor(((point_direction(x, y, (oCharacter.x - 1), (oCharacter.y - 16)) + 22.5) / 45)), round(x), round(y))