2024-06-03 14:58:59 +00:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://bnftvkj2cido7"]
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/loader/sceneLoader/GameSceneLoader.cs" id="1_mqdgt"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cs6e0af876ss5" path="res://sprites/ui/HeartEmpty.png" id="2_n1yht"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/inventory/HotBar.cs" id="2_owrhq"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/HealthBarUi.cs" id="2_xrm3v"]
|
2024-05-10 14:56:27 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/FpsLabel.cs" id="5_dis4v"]
|
2024-06-03 14:58:59 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bb188382q7btp" path="res://scenes/gameOverMenu.tscn" id="6_yjmrv"]
|
2024-04-28 13:55:19 +00:00
|
|
|
|
|
|
|
[node name="Game" type="Node2D"]
|
|
|
|
script = ExtResource("1_mqdgt")
|
|
|
|
|
|
|
|
[node name="MapRoot" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
|
|
|
|
[node name="Control" type="Control" parent="CanvasLayer"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer/Control"]
|
|
|
|
layout_mode = 1
|
2024-05-09 13:07:14 +00:00
|
|
|
anchors_preset = 12
|
2024-04-28 13:55:19 +00:00
|
|
|
anchor_top = 1.0
|
2024-05-09 13:07:14 +00:00
|
|
|
anchor_right = 1.0
|
2024-04-28 13:55:19 +00:00
|
|
|
anchor_bottom = 1.0
|
2024-05-09 13:07:14 +00:00
|
|
|
offset_left = 20.0
|
|
|
|
offset_top = -85.0
|
|
|
|
offset_right = -20.0
|
|
|
|
offset_bottom = -20.0
|
|
|
|
grow_horizontal = 2
|
2024-04-28 13:55:19 +00:00
|
|
|
grow_vertical = 0
|
|
|
|
|
|
|
|
[node name="HealthBarUi" type="HBoxContainer" parent="CanvasLayer/Control/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
script = ExtResource("2_xrm3v")
|
|
|
|
|
|
|
|
[node name="TextureRect3" type="TextureRect" parent="CanvasLayer/Control/VBoxContainer/HealthBarUi"]
|
|
|
|
layout_mode = 2
|
|
|
|
texture = ExtResource("2_n1yht")
|
|
|
|
|
|
|
|
[node name="HotBar" type="HBoxContainer" parent="CanvasLayer/Control/VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
script = ExtResource("2_owrhq")
|
|
|
|
|
|
|
|
[node name="TextureRect3" type="TextureRect" parent="CanvasLayer/Control/VBoxContainer/HotBar"]
|
|
|
|
layout_mode = 2
|
|
|
|
texture = ExtResource("2_n1yht")
|
|
|
|
|
2024-05-09 13:07:14 +00:00
|
|
|
[node name="OperationTip" type="RichTextLabel" parent="CanvasLayer/Control/VBoxContainer"]
|
2024-04-28 13:55:19 +00:00
|
|
|
layout_mode = 2
|
2024-05-09 13:07:14 +00:00
|
|
|
bbcode_enabled = true
|
|
|
|
text = "OperationTip"
|
|
|
|
fit_content = true
|
2024-04-28 13:55:19 +00:00
|
|
|
|
2024-05-10 14:56:27 +00:00
|
|
|
[node name="FPSLabel" type="Label" parent="CanvasLayer/Control"]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 1
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
offset_left = -40.0
|
|
|
|
offset_bottom = 25.0
|
|
|
|
grow_horizontal = 0
|
|
|
|
horizontal_alignment = 2
|
|
|
|
script = ExtResource("5_dis4v")
|
|
|
|
|
2024-05-23 13:58:49 +00:00
|
|
|
[node name="RecreateMapButton" type="Button" parent="CanvasLayer/Control"]
|
|
|
|
layout_mode = 0
|
|
|
|
offset_right = 8.0
|
|
|
|
offset_bottom = 8.0
|
2024-06-13 16:12:06 +00:00
|
|
|
text = "ui_re_create_map"
|
2024-05-23 13:58:49 +00:00
|
|
|
|
|
|
|
[node name="SeedLabel" type="Label" parent="CanvasLayer/Control"]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 5
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
offset_left = -20.0
|
|
|
|
offset_right = 20.0
|
|
|
|
offset_bottom = 25.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
2024-06-16 12:18:44 +00:00
|
|
|
[node name="BackpackUIContainer" type="Control" parent="CanvasLayer"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
2024-06-03 14:58:59 +00:00
|
|
|
[node name="GameOverMenu" parent="CanvasLayer" instance=ExtResource("6_yjmrv")]
|
|
|
|
visible = false
|
|
|
|
|
2024-04-28 13:55:19 +00:00
|
|
|
[node name="ProjectileContainer" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="DamageNumberContainer" type="Node2D" parent="."]
|
|
|
|
|
|
|
|
[node name="WeaponContainer" type="Node2D" parent="."]
|
2024-05-22 14:39:41 +00:00
|
|
|
|
2024-05-31 14:26:38 +00:00
|
|
|
[node name="PlayerContainer" type="Node2D" parent="."]
|
2024-06-03 14:58:59 +00:00
|
|
|
|
|
|
|
[node name="AICharacterContainer" type="Node2D" parent="."]
|
2024-06-12 15:42:35 +00:00
|
|
|
|
|
|
|
[node name="PacksackContainer" type="Node2D" parent="."]
|