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; +