2023-08-05 23:50:08 -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-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"]
|
2023-07-25 03:47:31 -07:00
|
|
|
[ext_resource type="PackedScene" uid="uid://73jm5qjy52vq" path="res://Dialogue/balloon.tscn" id="6_2bdwl"]
|
2022-11-10 20:29:53 -08:00
|
|
|
|
2023-07-25 03:47:31 -07:00
|
|
|
[node name="World" type="Node2D" node_paths=PackedStringArray("UIController", "MusicPlayer", "DialogueBalloon")]
|
2023-03-22 21:22:51 -07:00
|
|
|
script = ExtResource("1_1k6ew")
|
2023-08-03 10:09:12 -07:00
|
|
|
UIController = NodePath("CanvasLayer/SubViewportContainer/UIViewport/CanvasLayer/UI")
|
2023-07-24 00:43:21 -07:00
|
|
|
MusicPlayer = NodePath("MusicPlayer")
|
2023-08-03 10:09:12 -07:00
|
|
|
DialogueBalloon = NodePath("CanvasLayer/SubViewportContainer/UIViewport/DialogBalloon")
|
2023-07-22 20:23:48 -07:00
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="."]
|
|
|
|
|
2023-08-03 10:09:12 -07:00
|
|
|
[node name="SubViewportContainer" type="SubViewportContainer" parent="CanvasLayer"]
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
stretch = true
|
|
|
|
stretch_shrink = 2
|
|
|
|
|
|
|
|
[node name="UIViewport" type="SubViewport" parent="CanvasLayer/SubViewportContainer"]
|
|
|
|
transparent_bg = true
|
|
|
|
handle_input_locally = false
|
|
|
|
size = Vector2i(960, 540)
|
|
|
|
render_target_update_mode = 4
|
|
|
|
|
|
|
|
[node name="DialogBalloon" parent="CanvasLayer/SubViewportContainer/UIViewport" instance=ExtResource("6_2bdwl")]
|
|
|
|
|
|
|
|
[node name="CanvasLayer" type="CanvasLayer" parent="CanvasLayer/SubViewportContainer/UIViewport"]
|
|
|
|
|
|
|
|
[node name="UI" type="Control" parent="CanvasLayer/SubViewportContainer/UIViewport/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-08-03 10:09:12 -07:00
|
|
|
[node name="Top" type="HBoxContainer" parent="CanvasLayer/SubViewportContainer/UIViewport/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
|
|
|
|
|
2023-08-03 10:09:12 -07:00
|
|
|
[node name="Margin" type="MarginContainer" parent="CanvasLayer/SubViewportContainer/UIViewport/CanvasLayer/UI/Top"]
|
2023-07-23 11:05:01 -07:00
|
|
|
layout_mode = 2
|
|
|
|
theme_override_constants/margin_left = 16
|
|
|
|
theme_override_constants/margin_top = 16
|
|
|
|
|
2023-08-03 10:09:12 -07:00
|
|
|
[node name="HealthBar" parent="CanvasLayer/SubViewportContainer/UIViewport/CanvasLayer/UI/Top/Margin" instance=ExtResource("3_5rhge")]
|
2023-07-23 11:05:01 -07:00
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
2023-08-03 10:09:12 -07:00
|
|
|
[node name="Bottom" type="HBoxContainer" parent="CanvasLayer/SubViewportContainer/UIViewport/CanvasLayer/UI"]
|
2023-07-23 11:05:01 -07:00
|
|
|
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
|
|
|
|
|
2023-08-03 10:09:12 -07:00
|
|
|
[node name="BossBar" parent="CanvasLayer/SubViewportContainer/UIViewport/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="."]
|