x = Player.x+1;

y = Player.y+8;


image_angle = point_direction(x,y,mouse_x,mouse_y);


firingdelay = firingdelay - 1;

recoil = max(0,recoil - 1);


if (mouse_check_button(mb_left)) && (firingdelay

{

recoil = 4;

firingdelay = 40;

with (instance_create_layer(x,y,"Attak",oAttak))

{

speed = 1;

direction = other.image_angle + random_range(-3,3);

image_angle = direction

}


if (image_angle > 90) && (image_angle

{

image_yscale = -1;

}

else

{

image_yscale = 1;

}

}




์ง€๊ธˆ ์งœ๋†“์€ ์ฝ”๋“œ์ธ๋ฐ ์ €๊ธฐ์— ์–ด๋–ป๊ฒŒ ๋„ฃ์–ด์•ผ ๊ฒ€์„ ์œ„๋กœ ๋“ค์–ด์˜ฌ๋ ธ๋‹ค๊ฐ€ ๊ณต๊ฒฉ์ดํŽ™ํŠธ์— ๋งž์ถฐ์„œ ํœ˜๋‘๋ฅผ ์ˆ˜ ์žˆ์„๊นŒ??

๊ทธ๋ฆฌ๊ณ  ๋™์ž‘ ์ค‘์—๋Š” ๋ฌด๊ธฐ๊ฐ€ ๋งˆ์šฐ์Šค๋”ฐ๋ผ ์•ˆ์›€์ง์ด๊ฒŒ ๊ฐ€๋Šฅํ•จ??