From c6a011307ed3a25d07fd95df79ef39405888e4c3 Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Thu, 10 Sep 2020 12:41:55 +1200 Subject: [PATCH] fix shoot --- objects/obj_player.object.gmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/obj_player.object.gmx b/objects/obj_player.object.gmx index f03b3a0..cc0476a 100644 --- a/objects/obj_player.object.gmx +++ b/objects/obj_player.object.gmx @@ -248,7 +248,7 @@ if((mouse_check_button_pressed(mb_left) && os_type != os_psvita) || game if(energy >= 20) { - var new_bullet = instance_create(x,y+10,obj_bullet); + var new_bullet = instance_create(x-10,y,obj_bullet); audio_play_sound(snd_shoot,2,false); new_bullet.image_angle = image_angle; new_bullet.direction = image_angle;