The_Dark_Side_of_Earth/main.tscn

62 lines
2.7 KiB
Text
Raw Normal View History

2025-09-17 12:19:19 +02:00
[gd_scene load_steps=10 format=3 uid="uid://cxo6bq26huau7"]
2025-09-15 19:15:43 +02:00
[ext_resource type="PackedScene" uid="uid://cmaovvr15b3qk" path="res://player/player.tscn" id="2_1bvp3"]
[ext_resource type="Script" uid="uid://vgxh2xdevat7" path="res://world/earth.gd" id="2_lquwl"]
[ext_resource type="PackedScene" uid="uid://jjoyj1ldafkf" path="res://world/earth.tscn" id="3_lquwl"]
[ext_resource type="Script" uid="uid://colvx6wq0e8n7" path="res://world/building_generator.gd" id="4_1bvp3"]
[ext_resource type="PackedScene" uid="uid://cjsrtswk4vgf2" path="res://healthbar/healthbar.tscn" id="6_7mycd"]
2025-09-16 23:37:45 +02:00
[ext_resource type="PackedScene" uid="uid://dpdn2php3ydsv" path="res://death_screen/death_screen.tscn" id="7_5vw27"]
2025-09-17 14:08:57 +02:00
[ext_resource type="PackedScene" path="res://utils/platform.tscn" id="7_272bh"]
[ext_resource type="PackedScene" path="res://items/healthup.tscn" id="9_4c57u"]
2025-09-17 12:19:19 +02:00
[ext_resource type="PackedScene" uid="uid://chu67ci7sl488" path="res://enemies/ghost.tscn" id="9_kek77"]
2025-09-15 19:15:43 +02:00
[node name="main" type="Node2D"]
2025-09-16 11:04:54 +02:00
[node name="Earth" parent="." instance=ExtResource("3_lquwl")]
unique_name_in_owner = true
script = ExtResource("2_lquwl")
2025-09-16 11:04:54 +02:00
2025-09-15 19:15:43 +02:00
[node name="Player" parent="." instance=ExtResource("2_1bvp3")]
unique_name_in_owner = true
2025-09-16 00:28:49 +02:00
position = Vector2(500, -3100)
2025-09-15 19:15:43 +02:00
scale = Vector2(3, 3)
2025-09-16 19:34:30 +02:00
[node name="Camera2D" type="Camera2D" parent="Player"]
position = Vector2(0, -50)
ignore_rotation = false
[node name="Debug_Camera" type="Camera2D" parent="."]
scale = Vector2(41.02, 41.02)
zoom = Vector2(0.12, 0.12)
2025-09-16 11:44:16 +02:00
[node name="Building Generator" type="Node" parent="."]
script = ExtResource("4_1bvp3")
[node name="Timer" type="Timer" parent="Building Generator"]
wait_time = 5.0
autostart = true
[node name="CanvasLayer" type="CanvasLayer" parent="."]
[node name="Healthbar" parent="CanvasLayer" instance=ExtResource("6_7mycd")]
offset_right = 128.0
offset_bottom = 128.0
2025-09-16 23:37:45 +02:00
[node name="DeathScreen" parent="CanvasLayer" instance=ExtResource("7_5vw27")]
visible = false
2025-09-17 11:15:00 +02:00
[node name="Platform" parent="." instance=ExtResource("7_272bh")]
position = Vector2(900, -3000)
scale = Vector2(5, 3.1)
2025-09-17 12:19:19 +02:00
[node name="Ghost" parent="." instance=ExtResource("9_kek77")]
position = Vector2(0, -3000)
[node name="HealthUp" parent="." instance=ExtResource("9_4c57u")]
position = Vector2(0, -3100)
[connection signal="health_changed" from="Player" to="CanvasLayer/Healthbar" method="_on_player_health_changed"]
2025-09-16 23:37:45 +02:00
[connection signal="player_died" from="Player" to="CanvasLayer/DeathScreen" method="_on_player_player_died"]
[connection signal="timeout" from="Building Generator/Timer" to="Building Generator" method="_on_timer_timeout"]
2025-09-16 23:37:45 +02:00
[connection signal="visibility_changed" from="CanvasLayer/DeathScreen" to="Player" method="_on_death_screen_visibility_changed"]