diff --git a/objects/entities/brick_player.tscn b/objects/entities/brick_player.tscn index 409fa56..7330bcf 100644 --- a/objects/entities/brick_player.tscn +++ b/objects/entities/brick_player.tscn @@ -137,11 +137,10 @@ visible = false position = Vector2(0, 0.5) shape = SubResource("RectangleShape2D_hdsg1") -[node name="FlipPlayerComponent" type="Node2D" parent="." node_paths=PackedStringArray("LeftEye", "RightEye", "PlatformMovement")] +[node name="FlipPlayerComponent" type="Node2D" parent="." node_paths=PackedStringArray("LeftEye", "RightEye")] script = ExtResource("9_yysbb") LeftEye = NodePath("../Graphics/Root/Left Eye") RightEye = NodePath("../Graphics/Root/Right Eye") -PlatformMovement = NodePath("../Movements/PlatformMovement") [node name="StompDamageArea" type="Area2D" parent="."] collision_layer = 0 diff --git a/scenes/level_village_4.tscn b/scenes/level_village_4.tscn index 3c9b1bd..faa2604 100644 --- a/scenes/level_village_4.tscn +++ b/scenes/level_village_4.tscn @@ -166,9 +166,6 @@ tile_set = ExtResource("10_gg8rp") [node name="Foreground layer" type="TileMapLayer" parent="."] tile_set = ExtResource("11_23awj") -[node name="Spaceship Enter" parent="." instance=ExtResource("14_bajwe")] -position = Vector2(559, 15) - [node name="Chase Target" type="Marker2D" parent="."] position = Vector2(7146.51, 21.1388) @@ -257,28 +254,32 @@ process_material = SubResource("ParticleProcessMaterial_qxfb0") [node name="laser spawn point left" parent="Enemies mid section path/PathFollow2D/Flying Enemy" index="19"] position = Vector2(-12, -2) +[node name="Spaceship Enter" parent="." instance=ExtResource("14_bajwe")] +position = Vector2(559, 15) + [node name="Spaceship exit" parent="." instance=ExtResource("21_e6jir")] position = Vector2(7148, 22) [node name="CollisionShape2D" parent="Spaceship exit" index="0"] position = Vector2(16.5, -10) -[connection signal="SpaceshipEntered" from="Spaceship Enter" to="Chaser/ChaseLevelComponent" method="OnShipEntered"] -[connection signal="SpaceshipEntered" from="Spaceship Enter" to="Brick Player" method="OnSpaceshipEntered"] -[connection signal="SpaceshipEntered" from="Spaceship Enter" to="Brick Player/ShipShooter" method="OnShipEntered"] [connection signal="Death" from="Brick Player/HealthComponent" to="UI Layer/DeathScreen" method="OnPlayerDeath"] [connection signal="Death" from="Brick Player/HealthComponent" to="UI Layer/GameOverScreen" method="OnPlayerDeath"] +[connection signal="SpaceshipEntered" from="Spaceship Enter" to="Chaser/ChaseLevelComponent" method="OnShipEntered"] +[connection signal="SpaceshipEntered" from="Spaceship Enter" to="Brick Player" method="OnSpaceshipEntered"] +[connection signal="SpaceshipEntered" from="Spaceship Enter" to="Brick Player/Movements/PlatformMovement" method="OnShipEntered"] +[connection signal="SpaceshipEntered" from="Spaceship Enter" to="Brick Player/ShipShooter" method="OnShipEntered"] [connection signal="SpaceshipExit" from="Spaceship exit" to="Chaser/ChaseLevelComponent" method="OnShipExited"] [connection signal="SpaceshipExit" from="Spaceship exit" to="Brick Player" method="OnSpaceshipExited"] [connection signal="SpaceshipExit" from="Spaceship exit" to="Brick Player/ShipShooter" method="OnShipExited"] [editable path="Chaser"] [editable path="UI Layer"] -[editable path="Spaceship Enter"] [editable path="Brick Player"] [editable path="Enemies/Flying Enemy"] [editable path="Enemies/Flying Enemy2"] [editable path="Enemies/Flying Enemy3"] [editable path="Enemies/Flying Enemy4"] [editable path="Enemies mid section path/PathFollow2D/Flying Enemy"] +[editable path="Spaceship Enter"] [editable path="Spaceship exit"]