xiandie/scene/prop/prop_bag.tscn

109 lines
3.2 KiB
Plaintext
Raw Normal View History

2025-04-20 13:35:13 +00:00
[gd_scene load_steps=8 format=3 uid="uid://b6gbolo1o7wdf"]
[ext_resource type="Script" uid="uid://cg7wdaw03bovq" path="res://scene/prop/prop_bag.gd" id="1_f3hpu"]
2025-01-17 10:45:40 +00:00
[ext_resource type="Texture2D" uid="uid://dsj3l0baqg1g7" path="res://asset/art/ui/小蝶笔记.png" id="2_3s314"]
2025-04-20 13:35:13 +00:00
[ext_resource type="AudioStream" uid="uid://dyjifofhdx25w" path="res://asset/audio/sfx/交互/打开背包.wav" id="2_xo6jf"]
2025-03-12 07:53:12 +00:00
[ext_resource type="PackedScene" uid="uid://wxd25ec3cqyy" path="res://scene/prop/prop_bag_button.tscn" id="3_wlvs1"]
[ext_resource type="Texture2D" uid="uid://dl214l7im21sf" path="res://asset/art/prop/c01/院长的信.png" id="4_wlvs1"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mnmsg"]
bg_color = Color(0.6, 0.6, 0.6, 0)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wlvs1"]
[node name="PropBag" type="CanvasLayer"]
process_mode = 3
[node name="Bag" type="Panel" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_f3hpu")
2025-04-20 13:35:13 +00:00
[node name="OpenBagSfx" type="AudioStreamPlayer" parent="Bag"]
stream = ExtResource("2_xo6jf")
[node name="TextureRect" type="TextureRect" parent="Bag"]
layout_mode = 1
anchors_preset = 14
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_top = -120.0
offset_bottom = 120.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_3s314")
expand_mode = 5
stretch_mode = 2
2025-03-12 07:53:12 +00:00
[node name="ScrollContainer" type="ScrollContainer" parent="Bag"]
custom_minimum_size = Vector2(120, 160)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
2025-03-12 07:53:12 +00:00
offset_left = -139.0
offset_top = -82.0
offset_right = -19.0
offset_bottom = 78.0
grow_horizontal = 2
grow_vertical = 2
2025-03-12 07:53:12 +00:00
horizontal_scroll_mode = 0
2025-03-12 07:53:12 +00:00
[node name="ButtonsVBox" type="VBoxContainer" parent="Bag/ScrollContainer"]
unique_name_in_owner = true
layout_mode = 2
2025-03-12 07:53:12 +00:00
size_flags_horizontal = 4
size_flags_vertical = 0
2025-03-12 07:53:12 +00:00
[node name="Button" parent="Bag/ScrollContainer/ButtonsVBox" instance=ExtResource("3_wlvs1")]
layout_mode = 2
2025-03-12 07:53:12 +00:00
[node name="Button2" parent="Bag/ScrollContainer/ButtonsVBox" instance=ExtResource("3_wlvs1")]
layout_mode = 2
2025-03-12 07:53:12 +00:00
text = "示例按钮"
2025-03-12 07:53:12 +00:00
[node name="Button3" parent="Bag/ScrollContainer/ButtonsVBox" instance=ExtResource("3_wlvs1")]
layout_mode = 2
2025-03-12 07:53:12 +00:00
text = "示例按钮"
2025-03-12 07:53:12 +00:00
[node name="DisplayVBox" type="VBoxContainer" parent="Bag"]
layout_mode = 0
offset_left = 300.0
offset_top = 64.0
offset_right = 440.0
offset_bottom = 248.0
2025-03-12 07:53:12 +00:00
[node name="TextureRect" type="TextureRect" parent="Bag/DisplayVBox"]
unique_name_in_owner = true
custom_minimum_size = Vector2(100, 100)
layout_mode = 2
2025-03-12 07:53:12 +00:00
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("4_wlvs1")
expand_mode = 3
2025-03-12 07:53:12 +00:00
[node name="Content" type="TextEdit" parent="Bag/DisplayVBox"]
unique_name_in_owner = true
custom_minimum_size = Vector2(140, 90)
layout_mode = 2
2025-03-12 07:53:12 +00:00
size_flags_horizontal = 3
size_flags_vertical = 0
theme_override_colors/font_readonly_color = Color(0.337438, 0.120804, 0.0401172, 1)
theme_override_font_sizes/font_size = 9
theme_override_styles/normal = SubResource("StyleBoxFlat_mnmsg")
theme_override_styles/read_only = SubResource("StyleBoxEmpty_wlvs1")
text = "1
2
3
4
5"
editable = false
2025-03-17 14:12:53 +00:00
wrap_mode = 1
2025-03-12 07:53:12 +00:00
scroll_smooth = true