ok
STEP:
image_angle=direction;
if distance_to_object(playerMG)<200{
speed=0
direction=point_direction(x,y,playerMG.x,playerMG.y)
if (ceil(random(8)))=1{
o=instance_create(x+(cos(direction*pi/180)*16),y-(sin(direction*pi/180)*16),Rakieta)
o.direction=point_direction(x,y,playerMG.x,playerMG.y)-5+random(10);
o.speed=10}}
else
{speed=2}
if hlt<=0{
repeat(20)
instance_create(x,y,particle_blood)
instance_destroy()}
if hlt<=0
instance_create(x,y,Krew)
Wydaje mi się że to tyle odnośnie strzelania.
mi sie wydaje że to przez to celi random ale jak to usune to wogóle strzela jak z CKM trzeba to chyba czymś zastąpić ale nie wiem czym.