284 lines
10 KiB
Text
284 lines
10 KiB
Text
[gd_scene load_steps=35 format=3 uid="uid://b5m3v5wkqhm85"]
|
|
|
|
[ext_resource type="Theme" uid="uid://djl1xk7jgyvpp" path="res://game/gui/resources/gui_theme.tres" id="1_tl1ue"]
|
|
[ext_resource type="Script" uid="uid://c8ut82ir2m0hi" path="res://game/gui/gui.gd" id="2_l2iqn"]
|
|
[ext_resource type="Texture2D" uid="uid://b0d05pg8s2eee" path="res://game/gui/images/sierra_cursor.png" id="3_jeqvj"]
|
|
[ext_resource type="PackedScene" uid="uid://16tq4pfptkuh" path="res://game/gui/components/sierra_bar/sierra_bar.tscn" id="4_4jprg"]
|
|
[ext_resource type="PackedScene" uid="uid://c0cj1ckrygig8" path="res://game/gui/components/sierra_menu/sierra_menu.tscn" id="5_b83v5"]
|
|
[ext_resource type="Script" uid="uid://dp4w7xf6ofa53" path="res://game/gui/components/sierra_bar/sierra_bar_custom.gd" id="5_s50ci"]
|
|
[ext_resource type="PackedScene" uid="uid://dpe2nwlyydj1d" path="res://game/gui/components/dialog_text/dialog_portrait/dialog_portrait.tscn" id="6_75iei"]
|
|
[ext_resource type="Script" uid="uid://cvkymnm6vq3k0" path="res://game/gui/components/sierra_menu/sierra_menu_custom.gd" id="7_bjqyy"]
|
|
[ext_resource type="PackedScene" uid="uid://baht1l8l5dupo" path="res://game/gui/components/dialog_menu/dialog_menu.tscn" id="7_tneg5"]
|
|
[ext_resource type="PackedScene" uid="uid://csh5wtdwj67gi" path="res://game/gui/components/system_text/system_text.tscn" id="8_wh5po"]
|
|
[ext_resource type="Script" uid="uid://cboqsfemowull" path="res://game/gui/components/dialog_text/dialog_portrait/dialog_portrait_custom.gd" id="9_be73h"]
|
|
[ext_resource type="PackedScene" uid="uid://diasbghkbgi1s" path="res://game/gui/components/sierra_inventory_popup/sierra_inventory_popup.tscn" id="9_vmv0f"]
|
|
[ext_resource type="PackedScene" uid="uid://cip0ocpfmf6cj" path="res://game/gui/components/sierra_settings_popup/sierra_settings_popup.tscn" id="10_olwrx"]
|
|
[ext_resource type="Script" uid="uid://mevovjy0qsbv" path="res://game/gui/components/dialog_menu/dialog_menu_custom.gd" id="11_0m1b2"]
|
|
[ext_resource type="PackedScene" uid="uid://cp38nym5lwfy5" path="res://game/gui/components/sound_popup/sierra_sound_popup.tscn" id="11_57o1i"]
|
|
[ext_resource type="PackedScene" uid="uid://b8r2dcfb6u1e1" path="res://game/gui/components/dialog_menu/dialog_menu_option/dialog_menu_option.tscn" id="12_brng2"]
|
|
[ext_resource type="PackedScene" uid="uid://b7eigjmiv4k0y" path="res://game/gui/components/popups/text_settings_popup/text_settings_popup.tscn" id="12_unoue"]
|
|
[ext_resource type="PackedScene" uid="uid://tgyca2usqnn1" path="res://game/gui/components/popups/save_and_load_popup/save_and_load_popup.tscn" id="13_l2iqn"]
|
|
[ext_resource type="PackedScene" uid="uid://cvuyvuwt3dh4r" path="res://game/gui/components/popups/quit_popup/quit_popup.tscn" id="14_s50ci"]
|
|
[ext_resource type="Script" uid="uid://cfubxbrqvbpi" path="res://game/gui/components/system_text/system_text_custom.gd" id="14_urbgs"]
|
|
[ext_resource type="Script" uid="uid://bjvh1mgd6xryk" path="res://game/gui/components/sierra_inventory_popup/sierra_inventory_popup_custom.gd" id="16_f7vb5"]
|
|
[ext_resource type="Script" uid="uid://8uetmksup2e7" path="res://game/gui/components/sierra_settings_popup/sierra_settings_popup_custom.gd" id="18_sjk6c"]
|
|
[ext_resource type="Script" uid="uid://deajt0yn7u242" path="res://game/gui/components/popups/popochiu_popup_custom.gd" id="20_6oxxv"]
|
|
[ext_resource type="Script" uid="uid://bme4hhwe1ej25" path="res://game/gui/components/popups/text_settings_popup/text_settings_popup_custom.gd" id="22_oatf2"]
|
|
[ext_resource type="Script" uid="uid://c30sbvthxnrr0" path="res://game/gui/components/popups/save_and_load_popup/save_and_load_popup_custom.gd" id="24_4po70"]
|
|
[ext_resource type="Script" uid="uid://b01j2is3thxla" path="res://game/gui/components/popups/quit_popup/quit_popup_custom.gd" id="26_lwin8"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_vyqmk"]
|
|
atlas = ExtResource("3_jeqvj")
|
|
region = Rect2(128, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xo8dr"]
|
|
atlas = ExtResource("3_jeqvj")
|
|
region = Rect2(64, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_yxgj0"]
|
|
atlas = ExtResource("3_jeqvj")
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_p3f06"]
|
|
atlas = ExtResource("3_jeqvj")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_cvutg"]
|
|
atlas = ExtResource("3_jeqvj")
|
|
region = Rect2(96, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_hlutb"]
|
|
atlas = ExtResource("3_jeqvj")
|
|
region = Rect2(160, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_e0opo"]
|
|
atlas = ExtResource("3_jeqvj")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_eo6w8"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_vyqmk")
|
|
}],
|
|
"loop": true,
|
|
"name": &"gui",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xo8dr")
|
|
}],
|
|
"loop": true,
|
|
"name": &"interact",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_yxgj0")
|
|
}],
|
|
"loop": true,
|
|
"name": &"look",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_p3f06")
|
|
}],
|
|
"loop": true,
|
|
"name": &"normal",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_cvutg")
|
|
}],
|
|
"loop": true,
|
|
"name": &"talk",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_hlutb")
|
|
}],
|
|
"loop": true,
|
|
"name": &"wait",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_e0opo")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="GUI" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("2_l2iqn")
|
|
|
|
[node name="Cursor" type="AnimatedSprite2D" parent="."]
|
|
texture_filter = 1
|
|
sprite_frames = SubResource("SpriteFrames_eo6w8")
|
|
animation = &"gui"
|
|
offset = Vector2(16, 16)
|
|
|
|
[node name="SierraBar" type="Control" parent="." groups=["popochiu_gui_component"] instance=ExtResource("4_4jprg")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("5_s50ci")
|
|
|
|
[node name="SierraMenu" type="Control" parent="." groups=["popochiu_gui_component"] instance=ExtResource("5_b83v5")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("7_bjqyy")
|
|
|
|
[node name="DialogPortrait" type="Control" parent="." groups=["popochiu_gui_component"] instance=ExtResource("6_75iei")]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("9_be73h")
|
|
|
|
[node name="DialogMenu" type="Control" parent="." groups=["popochiu_gui_component"] instance=ExtResource("7_tneg5")]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("11_0m1b2")
|
|
option_scene = ExtResource("12_brng2")
|
|
|
|
[node name="SystemText" type="Control" parent="." groups=["popochiu_gui_component"] instance=ExtResource("8_wh5po")]
|
|
z_index = 1
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("14_urbgs")
|
|
|
|
[node name="Popups" type="Control" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="SierraInventoryPopup" type="Control" parent="Popups" groups=["popochiu_gui_popup"] instance=ExtResource("9_vmv0f")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("16_f7vb5")
|
|
script_name = &"SierraInventoryPopup"
|
|
title = "Inventory"
|
|
|
|
[node name="SierraSettingsPopup" type="Control" parent="Popups" groups=["popochiu_gui_popup"] instance=ExtResource("10_olwrx")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("18_sjk6c")
|
|
script_name = &"SierraSettingsPopup"
|
|
title = "Options"
|
|
|
|
[node name="SierraSoundPopup" type="Control" parent="Popups" groups=["popochiu_gui_popup"] instance=ExtResource("11_57o1i")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("20_6oxxv")
|
|
script_name = &"SierraSoundPopup"
|
|
title = "Sound options"
|
|
|
|
[node name="TextSettingsPopup" type="Control" parent="Popups" groups=["popochiu_gui_popup"] instance=ExtResource("12_unoue")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("22_oatf2")
|
|
script_name = &"SierraTextPopup"
|
|
title = "Text options"
|
|
|
|
[node name="SaveAndLoadPopup" type="Control" parent="Popups" groups=["popochiu_gui_popup"] instance=ExtResource("13_l2iqn")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("24_4po70")
|
|
script_name = &"SaveAndLoadPopup"
|
|
|
|
[node name="QuitPopup" type="Control" parent="Popups" groups=["popochiu_gui_popup"] instance=ExtResource("14_s50ci")]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_tl1ue")
|
|
script = ExtResource("26_lwin8")
|
|
script_name = &"QuitPopup"
|
|
title = "Quit game"
|