Added lifetime to bullets

This commit is contained in:
Marco 2025-02-20 16:22:05 +01:00
commit 78c319224a
7 changed files with 50 additions and 2 deletions

View file

@ -27,6 +27,8 @@ ScalingFactor = 10.0
[sub_resource type="Resource" id="Resource_0v4v8"]
script = ExtResource("2_7268a")
BulletScene = ExtResource("1_o4um1")
_bulletLifeTime = 20.0
_destroyOnCollision = false
bulletSpeed = 80.0
bulletCount = 12
rotationSpeed = 0.0
@ -53,6 +55,8 @@ ScalingFactor = 10.0
[sub_resource type="Resource" id="Resource_7yi74"]
script = ExtResource("2_7268a")
BulletScene = ExtResource("4_ruawj")
_bulletLifeTime = 20.0
_destroyOnCollision = false
bulletSpeed = 80.0
bulletCount = 12
rotationSpeed = 0.0