Add PhantomCamera components and UI elements for improved scene management; refactor existing components for better integration
This commit is contained in:
@@ -82,7 +82,8 @@ collision_layer = 4
|
||||
collision_mask = 43
|
||||
script = ExtResource("1_yysbb")
|
||||
MovementTypes = Dictionary[String, NodePath]({
|
||||
"platform": NodePath("Movements/PlatformMovement")
|
||||
"platform": NodePath("Movements/PlatformMovement"),
|
||||
"ship": NodePath("Movements/ShipMovement")
|
||||
})
|
||||
ShipSprite = NodePath("Graphics/Ship")
|
||||
|
||||
@@ -271,6 +272,7 @@ ScreenNotifier = NodePath("../VisibleOnScreenNotifier2D")
|
||||
HealthComponent = NodePath("../HealthComponent")
|
||||
|
||||
[node name="ProgressiveDamageComponent" type="Node" parent="." node_paths=PackedStringArray("HealthComponent", "Sprite", "PlatformMovement")]
|
||||
process_mode = 4
|
||||
script = ExtResource("38_dhjci")
|
||||
HealthComponent = NodePath("../HealthComponent")
|
||||
Sprite = NodePath("../Graphics/Root/Base")
|
||||
|
Reference in New Issue
Block a user