xiandie/scene/little_game/书架.tscn

324 lines
8.7 KiB
Plaintext

[gd_scene load_steps=17 format=3 uid="uid://fwfr0b2sylwx"]
[ext_resource type="Script" path="res://scene/little_game/书架.gd" id="1_8af23"]
[ext_resource type="Texture2D" uid="uid://csrb0kuf5qx80" path="res://asset/art/little_game/书架/书架与书.png" id="1_bap6w"]
[ext_resource type="AudioStream" uid="uid://bxfm22t1rj2cq" path="res://asset/audio/sfx/ui/收起纸条.mp3" id="2_glfpo"]
[ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/ux/sfx.tscn" id="3_03tyv"]
[ext_resource type="AudioStream" uid="uid://bpdot5dxm6vwi" path="res://asset/audio/sfx/ui/挂画查看.mp3" id="3_elhhm"]
[sub_resource type="AtlasTexture" id="AtlasTexture_goijy"]
atlas = ExtResource("1_bap6w")
region = Rect2(1, 14, 417, 224)
[sub_resource type="AtlasTexture" id="AtlasTexture_c3g4t"]
atlas = ExtResource("1_bap6w")
region = Rect2(12, 254, 15, 61)
[sub_resource type="AtlasTexture" id="AtlasTexture_pmg84"]
atlas = ExtResource("1_bap6w")
region = Rect2(34, 261, 13, 54)
[sub_resource type="AtlasTexture" id="AtlasTexture_5xs8h"]
atlas = ExtResource("1_bap6w")
region = Rect2(58, 264, 13, 49)
[sub_resource type="AtlasTexture" id="AtlasTexture_4cxbt"]
atlas = ExtResource("1_bap6w")
region = Rect2(80, 272, 10, 41)
[sub_resource type="AtlasTexture" id="AtlasTexture_x1voy"]
atlas = ExtResource("1_bap6w")
region = Rect2(95, 277, 9, 35)
[sub_resource type="AtlasTexture" id="AtlasTexture_4i6n2"]
atlas = ExtResource("1_bap6w")
region = Rect2(12, 254, 15, 61)
[sub_resource type="AtlasTexture" id="AtlasTexture_3jfnd"]
atlas = ExtResource("1_bap6w")
region = Rect2(34, 261, 13, 54)
[sub_resource type="AtlasTexture" id="AtlasTexture_b3xvs"]
atlas = ExtResource("1_bap6w")
region = Rect2(12, 254, 15, 61)
[sub_resource type="AtlasTexture" id="AtlasTexture_pv5xt"]
atlas = ExtResource("1_bap6w")
region = Rect2(80, 272, 10, 41)
[sub_resource type="AtlasTexture" id="AtlasTexture_0m1py"]
atlas = ExtResource("1_bap6w")
region = Rect2(112, 279, 9, 32)
[node name="书架" 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
script = ExtResource("1_8af23")
[node name="SfxInterchange" parent="." instance=ExtResource("3_03tyv")]
stream = ExtResource("3_elhhm")
file = "挂画查看.mp3"
[node name="SfxSelect" parent="." instance=ExtResource("3_03tyv")]
stream = ExtResource("2_glfpo")
file = "收起纸条.mp3"
[node name="BG" type="ColorRect" parent="."]
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
mouse_filter = 2
color = Color(0.0404907, 0.185259, 0.00063979, 1)
[node name="Shelf" type="Sprite2D" parent="."]
position = Vector2(283, 160)
texture = SubResource("AtlasTexture_goijy")
[node name="Layer0" type="Control" parent="Shelf"]
layout_mode = 3
anchors_preset = 0
offset_left = -125.0
offset_top = -9.0
offset_right = -125.0
offset_bottom = -9.0
[node name="Book0" type="Node2D" parent="Shelf/Layer0"]
[node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book0"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -49.0
offset_right = 13.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_c3g4t")
metadata/_edit_use_anchors_ = true
[node name="Book1" type="Node2D" parent="Shelf/Layer0"]
position = Vector2(50.5455, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book1"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -49.0
offset_right = 13.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_pmg84")
metadata/_edit_use_anchors_ = true
[node name="Book2" type="Node2D" parent="Shelf/Layer0"]
position = Vector2(98.2728, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book2"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -49.0
offset_right = 13.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_5xs8h")
metadata/_edit_use_anchors_ = true
[node name="Book3" type="Node2D" parent="Shelf/Layer0"]
position = Vector2(98.2728, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book3"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -41.0
offset_right = 10.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_4cxbt")
metadata/_edit_use_anchors_ = true
[node name="Book4" type="Node2D" parent="Shelf/Layer0"]
position = Vector2(98.2728, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book4"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -35.0
offset_right = 9.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_x1voy")
[node name="Layer1" type="Control" parent="Shelf"]
layout_mode = 3
anchors_preset = 0
offset_left = -167.0
offset_top = 97.0
offset_right = -167.0
offset_bottom = 97.0
[node name="Book0" type="Node2D" parent="Shelf/Layer1"]
[node name="BookButton" type="TextureButton" parent="Shelf/Layer1/Book0"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -49.0
offset_right = 13.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_4i6n2")
[node name="Book1" type="Node2D" parent="Shelf/Layer1"]
position = Vector2(50.5455, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer1/Book1"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -49.0
offset_right = 13.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_3jfnd")
[node name="Book2" type="Node2D" parent="Shelf/Layer1"]
position = Vector2(98.2728, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer1/Book2"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -49.0
offset_right = 13.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_5xs8h")
[node name="Book3" type="Node2D" parent="Shelf/Layer1"]
position = Vector2(98.2728, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer1/Book3"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -41.0
offset_right = 10.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_4cxbt")
[node name="Layer2" type="Control" parent="Shelf"]
layout_mode = 3
anchors_preset = 0
offset_left = 28.0
offset_top = 97.0
offset_right = 28.0
offset_bottom = 97.0
[node name="Book0" type="Node2D" parent="Shelf/Layer2"]
[node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book0"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -61.0
offset_right = 15.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_b3xvs")
[node name="Book1" type="Node2D" parent="Shelf/Layer2"]
position = Vector2(50.5455, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book1"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -49.0
offset_right = 13.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_5xs8h")
[node name="Book2" type="Node2D" parent="Shelf/Layer2"]
position = Vector2(98.2728, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book2"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -41.0
offset_right = 10.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_pv5xt")
[node name="Book3" type="Node2D" parent="Shelf/Layer2"]
position = Vector2(98.2728, 0.818183)
[node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book3"]
clip_contents = true
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -32.0
offset_right = 9.0
grow_vertical = 0
texture_normal = SubResource("AtlasTexture_0m1py")
[node name="ColorRectTop" type="ColorRect" parent="."]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(564, 38.5)
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -282.0
offset_right = 282.0
offset_bottom = 40.0
grow_horizontal = 2
mouse_filter = 2
color = Color(0, 0, 0, 1)
[node name="ColorRectBottom" type="ColorRect" parent="."]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(564, 38.5)
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -282.0
offset_top = -38.5
offset_right = 282.0
grow_horizontal = 2
grow_vertical = 0
mouse_filter = 2
color = Color(0, 0, 0, 1)
[node name="Success" type="Label" parent="."]
visible = false
layout_mode = 0
offset_left = 230.0
offset_top = 142.0
offset_right = 310.0
offset_bottom = 191.0
theme_override_font_sizes/font_size = 40
text = "成功"