From a88deb688d6e49b5e285ca43210210540d4b2fe7 Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Wed, 22 Jul 2020 15:43:09 +1200 Subject: [PATCH] CommitLog | --- objects/obj_player.object.gmx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/objects/obj_player.object.gmx b/objects/obj_player.object.gmx index b5654e5..c0bb900 100644 --- a/objects/obj_player.object.gmx +++ b/objects/obj_player.object.gmx @@ -151,12 +151,10 @@ speed += 5 1 - with(instance_create(x,y,obj_laser_bullet)) -{ - direction = image_angle - speed += 5 - -} + var new_bullet = instance_create(x,y,obj_laser_bullet); +new_bullet.image_angle = image_angle; +new_bullet.speed = speed; +