Adjusted the shoot function to shoot as many projectiles as defined in a

local variable and ensure they are distributed evenly when firing in
front of the ship.
This commit is contained in:
Henry 2026-04-04 15:17:13 +01:00
parent 172830729f
commit 1794abe50a
3 changed files with 16 additions and 12 deletions

View file

@ -13,6 +13,7 @@
[node name="Player" parent="Level" unique_id=652131079 instance=ExtResource("2_rwgxs")]
z_index = 1
position = Vector2(97, 173)
speed = 200
[node name="Background" type="Node2D" parent="Level" unique_id=485120278]
z_index = -1