Refactor player and level configurations; streamline FlipPlayerComponent and reposition Spaceship Enter

This commit is contained in:
2025-08-27 01:10:33 +02:00
parent c34b9bc16f
commit 85bff6e7bd
2 changed files with 9 additions and 9 deletions

View File

@@ -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"]