From 4ccb261f44e28953dbdb940aed268f1100517a57 Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Thu, 10 Sep 2020 12:40:31 +1200 Subject: [PATCH 1/3] 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 06a4111..f03b3a0 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,obj_bullet); + var new_bullet = instance_create(x,y+10,obj_bullet); audio_play_sound(snd_shoot,2,false); new_bullet.image_angle = image_angle; new_bullet.direction = image_angle; From c6a011307ed3a25d07fd95df79ef39405888e4c3 Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Thu, 10 Sep 2020 12:41:55 +1200 Subject: [PATCH 2/3] 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; From 55c8206078534f2642f47da0c8d1c8e3c70c0782 Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Thu, 10 Sep 2020 12:53:22 +1200 Subject: [PATCH 3/3] 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 cc0476a..06a4111 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-10,y,obj_bullet); + var new_bullet = instance_create(x,y,obj_bullet); audio_play_sound(snd_shoot,2,false); new_bullet.image_angle = image_angle; new_bullet.direction = image_angle;