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:
parent
172830729f
commit
1794abe50a
3 changed files with 16 additions and 12 deletions
|
|
@ -87,7 +87,7 @@ size = Vector2(6, 5.75)
|
|||
|
||||
[node name="Player" type="Area2D" unique_id=652131079]
|
||||
script = ExtResource("1_g2els")
|
||||
speed = 165
|
||||
speed = 275
|
||||
weapon_current = ExtResource("2_dqkch")
|
||||
|
||||
[node name="Ship" type="Sprite2D" parent="." unique_id=1155866924]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue