The_Dark_Side_of_Earth/main.tscn

39 lines
1.6 KiB
Text
Raw Normal View History

[gd_scene load_steps=7 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://chu67ci7sl488" path="res://enemies/ghost.tscn" id="3_h2yge"]
[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-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-16 14:59:40 +02:00
[node name="Ghost" parent="." instance=ExtResource("3_h2yge")]
position = Vector2(0, -3200)
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 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
[connection signal="health_changed" from="Player" to="CanvasLayer/Healthbar" method="_on_player_health_changed"]
[connection signal="timeout" from="Building Generator/Timer" to="Building Generator" method="_on_timer_timeout"]