strzelanie mam juz w pozodku wykombinowalem takie cos w step
if mouse_check_button(mb_left){
if mana >= 2 {
mana -= 2
var i;
i = instance_create( x + lengthdir_x( 10, image_angle - 90), y + lengthdir_y( 10, image_angle - 90 ), obj_finalflash );
i.speed = 8;
i.direction = image_angle;
strzela = 1
}
if mana < 2 {
sound_play(snd_brakmany) }}
if mouse_check_button_released(mb_left) {
strzela = 0 }
bo
direction=point_direction(x,y,mouse_x,mouse_y)
nie wiedzialem gdzie dac