2023-07-23 11:05:01 -07:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://1pb3mpmrl7lc"]
|
2022-11-10 20:29:53 -08:00
|
|
|
|
2023-03-22 21:22:51 -07:00
|
|
|
[ext_resource type="Script" path="res://Utils/World.cs" id="1_1k6ew"]
|
2023-07-13 23:46:58 -07:00
|
|
|
[ext_resource type="PackedScene" uid="uid://b2x17su05ou5w" path="res://Scenes/Maps/Arena.tscn" id="2_avsrq"]
|
2023-07-22 20:23:48 -07:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bxo553hblp6nf" path="res://UI/HealthBar.tscn" id="3_5rhge"]
|
2023-07-23 11:05:01 -07:00
|
|
|
[ext_resource type="Script" path="res://UI/UIController.cs" id="3_fe62s"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://01d24ij5av1y" path="res://UI/BossBar.tscn" id="5_8njq4"]
|
2022-11-10 20:29:53 -08:00
|
|
|
|
2023-07-24 00:43:21 -07:00
|
|
|
[node name="World" type="Node2D" node_paths=PackedStringArray("UIController", "MusicPlayer")]
|
2023-03-22 21:22:51 -07:00
|
|
|
script = ExtResource("1_1k6ew")
|
2023-07-13 23:46:58 -07:00
|
|
|
StartingArea = ExtResource("2_avsrq")
|
2023-07-24 00:30:33 -07:00
|
|
|
UIController = NodePath("CanvasLayer/UI")
|
2023-07-24 00:43:21 -07:00
|
|
|
MusicPlayer = NodePath("MusicPlayer")
|
2023-07-22 20:23:48 -07:00
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
|
2023-07-24 00:30:33 -07:00
|
|
|
[node name="UI" type="Control" parent="CanvasLayer" node_paths=PackedStringArray("BossBar")]
|
2023-07-22 20:23:48 -07:00
|
|
|
z_index = 128
|
|
|
|
layout_mode = 3
|
2023-07-23 11:05:01 -07:00
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
script = ExtResource("3_fe62s")
|
2023-07-24 00:30:33 -07:00
|
|
|
BossBar = NodePath("Bottom/BossBar")
|
2023-07-22 20:23:48 -07:00
|
|
|
|
2023-07-23 11:05:01 -07:00
|
|
|
[node name="Top" type="HBoxContainer" parent="CanvasLayer/UI"]
|
2023-07-22 20:23:48 -07:00
|
|
|
layout_mode = 1
|
2023-07-23 11:05:01 -07:00
|
|
|
anchors_preset = 10
|
|
|
|
anchor_right = 1.0
|
|
|
|
offset_bottom = 40.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
|
|
|
[node name="Margin" type="MarginContainer" parent="CanvasLayer/UI/Top"]
|
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/margin_left = 16
|
|
|
|
theme_override_constants/margin_top = 16
|
|
|
|
|
|
|
|
[node name="HealthBar" parent="CanvasLayer/UI/Top/Margin" instance=ExtResource("3_5rhge")]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="Bottom" type="HBoxContainer" parent="CanvasLayer/UI"]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 12
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_top = -44.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 0
|
|
|
|
alignment = 1
|
|
|
|
|
|
|
|
[node name="BossBar" parent="CanvasLayer/UI/Bottom" instance=ExtResource("5_8njq4")]
|
2023-07-24 00:30:33 -07:00
|
|
|
visible = false
|
2023-07-23 11:05:01 -07:00
|
|
|
layout_mode = 2
|
2023-07-24 00:43:21 -07:00
|
|
|
|
2023-07-24 12:40:28 -07:00
|
|
|
[node name="DebugUI" type="CanvasLayer" parent="."]
|
|
|
|
layer = 2
|
|
|
|
|
|
|
|
[node name="Control" type="Control" parent="DebugUI"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
2023-07-24 00:43:21 -07:00
|
|
|
[node name="MusicPlayer" type="AudioStreamPlayer" parent="."]
|