xiandie/scene/ux/panel/ux_panel.tscn

161 lines
5.3 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://ddlwnsccsmr8u"]
[ext_resource type="Script" uid="uid://bo0i4wlcgmax2" path="res://scene/ux/panel/ux_panel.gd" id="1_8dnsb"]
[ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="2_5mits"]
[ext_resource type="AudioStream" uid="uid://dyjifofhdx25w" path="res://asset/audio/sfx/交互/打开背包.wav" id="2_v1oku"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_a3uyd"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_mns6r"]
[ext_resource type="FontFile" uid="uid://255whp7fuig5" path="res://asset/font/字体/三极行楷简体-粗.ttf" id="4_mns6r"]
[ext_resource type="AudioStream" uid="uid://bghyinc16m1nx" path="res://asset/audio/sfx/交互/收起背包.wav" id="4_ombcf"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_nw7ig"]
[sub_resource type="StyleBoxLine" id="StyleBoxLine_v1oku"]
color = Color(0.710047, 0.710047, 0.710047, 1)
[sub_resource type="StyleBoxLine" id="StyleBoxLine_a3uyd"]
color = Color(1, 1, 1, 1)
[node name="UxPanel" type="CanvasLayer"]
process_mode = 3
script = ExtResource("1_8dnsb")
[node name="SfxOpen" type="AudioStreamPlayer" parent="."]
process_mode = 1
stream = ExtResource("2_v1oku")
bus = &"game_sfx"
script = ExtResource("3_a3uyd")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="SfxClose" type="AudioStreamPlayer" parent="."]
process_mode = 1
stream = ExtResource("4_ombcf")
bus = &"game_sfx"
script = ExtResource("3_a3uyd")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="Bag" type="Panel" parent="."]
custom_minimum_size = Vector2(564, 240)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_nw7ig")
[node name="BG" type="TextureRect" parent="Bag"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_5mits")
expand_mode = 5
stretch_mode = 5
[node name="TextureRect" type="TextureRect" parent="Bag/BG"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_mns6r")
[node name="MarginContainer" type="MarginContainer" parent="Bag"]
layout_mode = 0
offset_left = 43.0
offset_top = 81.0
offset_right = 203.0
offset_bottom = 121.0
metadata/_edit_use_anchors_ = true
[node name="继续" type="Button" parent="Bag/MarginContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 20)
layout_mode = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("4_mns6r")
theme_override_font_sizes/font_size = 23
theme_override_styles/hover = SubResource("StyleBoxLine_v1oku")
theme_override_styles/pressed = SubResource("StyleBoxLine_a3uyd")
text = "ux_panel_继续"
flat = true
[node name="MarginContainer2" type="MarginContainer" parent="Bag"]
layout_mode = 0
offset_left = 119.0
offset_top = 124.0
offset_right = 279.0
offset_bottom = 164.0
[node name="笔记" type="Button" parent="Bag/MarginContainer2"]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 20)
layout_mode = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("4_mns6r")
theme_override_font_sizes/font_size = 23
theme_override_styles/hover = SubResource("StyleBoxLine_v1oku")
theme_override_styles/pressed = SubResource("StyleBoxLine_a3uyd")
text = "ux_panel_笔记"
flat = true
[node name="MarginContainer3" type="MarginContainer" parent="Bag"]
layout_mode = 0
offset_left = 222.0
offset_top = 108.0
offset_right = 382.0
offset_bottom = 148.0
[node name="设置" type="Button" parent="Bag/MarginContainer3"]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 20)
layout_mode = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("4_mns6r")
theme_override_font_sizes/font_size = 23
theme_override_styles/hover = SubResource("StyleBoxLine_v1oku")
theme_override_styles/pressed = SubResource("StyleBoxLine_a3uyd")
text = "ux_panel_设置"
flat = true
[node name="MarginContainer4" type="MarginContainer" parent="Bag"]
layout_mode = 0
offset_left = 266.0
offset_top = 164.0
offset_right = 495.0
offset_bottom = 204.0
[node name="返回主菜单" type="Button" parent="Bag/MarginContainer4"]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 20)
layout_mode = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("4_mns6r")
theme_override_font_sizes/font_size = 23
theme_override_styles/hover = SubResource("StyleBoxLine_v1oku")
theme_override_styles/pressed = SubResource("StyleBoxLine_a3uyd")
text = "ux_panel_返回主菜单"
flat = true
[node name="MarginContainer5" type="MarginContainer" parent="Bag"]
layout_mode = 0
offset_left = 384.0
offset_top = 135.0
offset_right = 590.0
offset_bottom = 175.0
[node name="退出游戏" type="Button" parent="Bag/MarginContainer5"]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 20)
layout_mode = 2
size_flags_horizontal = 4
theme_override_fonts/font = ExtResource("4_mns6r")
theme_override_font_sizes/font_size = 23
theme_override_styles/hover = SubResource("StyleBoxLine_v1oku")
theme_override_styles/pressed = SubResource("StyleBoxLine_a3uyd")
text = "ux_panel_退出游戏"
flat = true