diff --git a/asset/art/little_game/书架_生死簿/书架合并.png b/asset/art/little_game/书架_生死簿/书架合并.png old mode 100644 new mode 100755 index 07d3c66b..abb24448 Binary files a/asset/art/little_game/书架_生死簿/书架合并.png and b/asset/art/little_game/书架_生死簿/书架合并.png differ diff --git a/asset/art/little_game/书架_生死簿/参考1.png b/asset/art/little_game/书架_生死簿/参考1.png old mode 100644 new mode 100755 diff --git a/asset/art/little_game/书架_生死簿/参考2.png b/asset/art/little_game/书架_生死簿/参考2.png old mode 100644 new mode 100755 diff --git a/asset/art/临时草稿/生死簿/生死簿.png b/asset/art/临时草稿/生死簿/生死簿.png deleted file mode 100644 index 30821a25..00000000 Binary files a/asset/art/临时草稿/生死簿/生死簿.png and /dev/null differ diff --git a/asset/art/临时草稿/生死簿/生死簿.png.import b/asset/art/临时草稿/生死簿/生死簿.png.import deleted file mode 100644 index 0269517e..00000000 --- a/asset/art/临时草稿/生死簿/生死簿.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cndai8whwoytn" -path="res://.godot/imported/生死簿.png-9e0db0f43d213880f862d1ac0028c5b0.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://asset/art/临时草稿/生死簿/生死簿.png" -dest_files=["res://.godot/imported/生死簿.png-9e0db0f43d213880f862d1ac0028c5b0.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/asset/art/临时草稿/生死簿/生死簿名字.png b/asset/art/临时草稿/生死簿/生死簿名字.png deleted file mode 100644 index a9039026..00000000 Binary files a/asset/art/临时草稿/生死簿/生死簿名字.png and /dev/null differ diff --git a/asset/art/临时草稿/生死簿/生死簿名字.png.import b/asset/art/临时草稿/生死簿/生死簿名字.png.import deleted file mode 100644 index 786cc2e1..00000000 --- a/asset/art/临时草稿/生死簿/生死簿名字.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://cpfpxox5q5ql3" -path="res://.godot/imported/生死簿名字.png-afb8dbf8ccc3016d7d4bed6879fab76b.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://asset/art/临时草稿/生死簿/生死簿名字.png" -dest_files=["res://.godot/imported/生死簿名字.png-afb8dbf8ccc3016d7d4bed6879fab76b.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/asset/art/临时草稿/生死簿/陆小蝶名字.png b/asset/art/临时草稿/生死簿/陆小蝶名字.png deleted file mode 100644 index 1e1fffce..00000000 Binary files a/asset/art/临时草稿/生死簿/陆小蝶名字.png and /dev/null differ diff --git a/asset/art/临时草稿/生死簿/陆小蝶名字.png.import b/asset/art/临时草稿/生死簿/陆小蝶名字.png.import deleted file mode 100644 index 4081c427..00000000 --- a/asset/art/临时草稿/生死簿/陆小蝶名字.png.import +++ /dev/null @@ -1,34 +0,0 @@ -[remap] - -importer="texture" -type="CompressedTexture2D" -uid="uid://d4n4e3lid3tu2" -path="res://.godot/imported/陆小蝶名字.png-8108706d0ed00a19530aea4b52059bef.ctex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://asset/art/临时草稿/生死簿/陆小蝶名字.png" -dest_files=["res://.godot/imported/陆小蝶名字.png-8108706d0ed00a19530aea4b52059bef.ctex"] - -[params] - -compress/mode=0 -compress/high_quality=false -compress/lossy_quality=0.7 -compress/hdr_compression=1 -compress/normal_map=0 -compress/channel_pack=0 -mipmaps/generate=false -mipmaps/limit=-1 -roughness/mode=0 -roughness/src_normal="" -process/fix_alpha_border=true -process/premult_alpha=false -process/normal_map_invert_y=false -process/hdr_as_srgb=false -process/hdr_clamp_exposure=false -process/size_limit=0 -detect_3d/compress_to=1 diff --git a/scene/little_game/书架/书架.gd b/scene/little_game/书架/书架.gd index 6e437321..d400118c 100644 --- a/scene/little_game/书架/书架.gd +++ b/scene/little_game/书架/书架.gd @@ -65,7 +65,7 @@ func _init_answer_and_connect_signals() -> void: func _measure_width_by_row() -> void: # 书本间的额外间隙,用于调整书本之间的间隔 - var extra_gap = [2., 3., 4.] + var extra_gap = [2., 3., 2.] book_width_by_row = [] for row in range(3): var length = current_answer[row].size() diff --git a/scene/little_game/书架/书架.tscn b/scene/little_game/书架/书架.tscn index 5fb83649..b0d18e01 100644 --- a/scene/little_game/书架/书架.tscn +++ b/scene/little_game/书架/书架.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=46 format=3 uid="uid://fwfr0b2sylwx"] +[gd_scene load_steps=52 format=3 uid="uid://fwfr0b2sylwx"] [ext_resource type="Script" path="res://scene/little_game/书架/书架.gd" id="1_8af23"] [ext_resource type="PackedScene" uid="uid://c85t6stvytvjn" path="res://scene/entity/general/sfx.tscn" id="3_03tyv"] @@ -9,43 +9,43 @@ [sub_resource type="AtlasTexture" id="AtlasTexture_6hdac"] atlas = ExtResource("6_pxxx5") -region = Rect2(15, 25, 576, 317) +region = Rect2(0, 0, 576, 317) [sub_resource type="AtlasTexture" id="AtlasTexture_c3g4t"] atlas = ExtResource("6_pxxx5") -region = Rect2(26, 380, 14, 76) +region = Rect2(28, 360, 14, 76) [sub_resource type="AtlasTexture" id="AtlasTexture_pmg84"] atlas = ExtResource("6_pxxx5") -region = Rect2(50, 380, 15, 76) +region = Rect2(51, 360, 14, 76) [sub_resource type="AtlasTexture" id="AtlasTexture_5xs8h"] atlas = ExtResource("6_pxxx5") -region = Rect2(76, 363, 14, 93) +region = Rect2(76, 343, 14, 93) [sub_resource type="AtlasTexture" id="AtlasTexture_4cxbt"] atlas = ExtResource("6_pxxx5") -region = Rect2(96, 375, 5, 81) +region = Rect2(98, 355, 5, 81) [sub_resource type="AtlasTexture" id="AtlasTexture_x1voy"] atlas = ExtResource("6_pxxx5") -region = Rect2(106, 375, 8, 81) +region = Rect2(111, 355, 8, 81) [sub_resource type="AtlasTexture" id="AtlasTexture_s637y"] atlas = ExtResource("6_pxxx5") -region = Rect2(122, 374, 20, 82) +region = Rect2(125, 354, 20, 82) [sub_resource type="AtlasTexture" id="AtlasTexture_2rk7g"] atlas = ExtResource("6_pxxx5") -region = Rect2(152, 363, 14, 93) +region = Rect2(151, 343, 14, 93) [sub_resource type="AtlasTexture" id="AtlasTexture_uo0qb"] atlas = ExtResource("6_pxxx5") -region = Rect2(174, 357, 14, 99) +region = Rect2(172, 337, 14, 99) [sub_resource type="AtlasTexture" id="AtlasTexture_v6h51"] atlas = ExtResource("6_pxxx5") -region = Rect2(198, 358, 23, 98) +region = Rect2(193, 338, 23, 98) [sub_resource type="CompressedTexture2D" id="CompressedTexture2D_dg6aw"] load_path = "res://.godot/imported/合并.png-ea1ae3da49b64e2d990320d50cc99cb7.ctex" @@ -95,71 +95,95 @@ region = Rect2(431, 375, 15, 81) [sub_resource type="AtlasTexture" id="AtlasTexture_b3xvs"] atlas = ExtResource("6_pxxx5") -region = Rect2(36, 502, 18, 62) +region = Rect2(30, 493, 18, 62) [sub_resource type="AtlasTexture" id="AtlasTexture_7ejmc"] atlas = ExtResource("6_pxxx5") -region = Rect2(62, 499, 12, 65) +region = Rect2(57, 490, 12, 65) [sub_resource type="AtlasTexture" id="AtlasTexture_pv5xt"] atlas = ExtResource("6_pxxx5") -region = Rect2(82, 496, 11, 68) +region = Rect2(77, 487, 11, 68) [sub_resource type="AtlasTexture" id="AtlasTexture_0m1py"] atlas = ExtResource("6_pxxx5") -region = Rect2(100, 492, 15, 72) +region = Rect2(95, 483, 15, 72) [sub_resource type="AtlasTexture" id="AtlasTexture_ewy65"] atlas = ExtResource("6_pxxx5") -region = Rect2(121, 490, 5, 74) +region = Rect2(116, 481, 5, 74) [sub_resource type="AtlasTexture" id="AtlasTexture_p1i0i"] atlas = ExtResource("6_pxxx5") -region = Rect2(133, 488, 10, 76) +region = Rect2(126, 479, 10, 76) [sub_resource type="AtlasTexture" id="AtlasTexture_qjlqs"] atlas = ExtResource("6_pxxx5") -region = Rect2(150, 484, 12, 80) +region = Rect2(141, 475, 12, 80) [sub_resource type="AtlasTexture" id="AtlasTexture_bef8d"] atlas = ExtResource("6_pxxx5") -region = Rect2(170, 481, 5, 83) +region = Rect2(159, 472, 5, 83) [sub_resource type="AtlasTexture" id="AtlasTexture_tmibm"] atlas = ExtResource("6_pxxx5") -region = Rect2(183, 478, 9, 86) +region = Rect2(171, 469, 9, 86) [sub_resource type="AtlasTexture" id="AtlasTexture_niqsg"] atlas = ExtResource("6_pxxx5") -region = Rect2(202, 473, 9, 91) +region = Rect2(186, 466, 9, 89) + +[sub_resource type="AtlasTexture" id="AtlasTexture_axmyq"] +atlas = ExtResource("6_pxxx5") +region = Rect2(203, 463, 16, 92) + +[sub_resource type="AtlasTexture" id="AtlasTexture_0m7c5"] +atlas = ExtResource("6_pxxx5") +region = Rect2(227, 461, 16, 94) + +[sub_resource type="AtlasTexture" id="AtlasTexture_wa5pl"] +atlas = ExtResource("6_pxxx5") +region = Rect2(248, 458, 11, 97) + +[sub_resource type="AtlasTexture" id="AtlasTexture_onny4"] +atlas = ExtResource("6_pxxx5") +region = Rect2(264, 455, 15, 100) [sub_resource type="AtlasTexture" id="AtlasTexture_4i6n2"] atlas = ExtResource("6_pxxx5") -region = Rect2(326, 477, 13, 97) +region = Rect2(308, 459, 13, 97) [sub_resource type="AtlasTexture" id="AtlasTexture_3jfnd"] atlas = ExtResource("6_pxxx5") -region = Rect2(356, 478, 13, 96) +region = Rect2(329, 462, 13, 94) [sub_resource type="AtlasTexture" id="AtlasTexture_5j1oq"] atlas = ExtResource("6_pxxx5") -region = Rect2(383, 475, 15, 99) +region = Rect2(349, 460, 13, 96) [sub_resource type="AtlasTexture" id="AtlasTexture_e5eo5"] atlas = ExtResource("6_pxxx5") -region = Rect2(407, 477, 13, 97) +region = Rect2(369, 457, 15, 99) [sub_resource type="AtlasTexture" id="AtlasTexture_sungh"] atlas = ExtResource("6_pxxx5") -region = Rect2(431, 477, 13, 97) +region = Rect2(369, 457, 15, 99) [sub_resource type="AtlasTexture" id="AtlasTexture_yqrs8"] atlas = ExtResource("6_pxxx5") -region = Rect2(457, 478, 13, 96) +region = Rect2(391, 459, 13, 97) [sub_resource type="AtlasTexture" id="AtlasTexture_jrkcq"] atlas = ExtResource("6_pxxx5") -region = Rect2(481, 477, 13, 97) +region = Rect2(411, 459, 13, 97) + +[sub_resource type="AtlasTexture" id="AtlasTexture_mc72l"] +atlas = ExtResource("6_pxxx5") +region = Rect2(432, 460, 13, 96) + +[sub_resource type="AtlasTexture" id="AtlasTexture_ac7xn"] +atlas = ExtResource("6_pxxx5") +region = Rect2(453, 459, 13, 97) [node name="书架" type="CanvasLayer"] script = ExtResource("1_8af23") @@ -179,9 +203,9 @@ texture = SubResource("AtlasTexture_6hdac") [node name="Layer0" type="Control" parent="Shelf"] layout_mode = 3 anchors_preset = 0 -offset_left = -142.0 +offset_left = -139.0 offset_top = -7.0 -offset_right = -142.0 +offset_right = -139.0 offset_bottom = -7.0 scale = Vector2(0.9, 0.9) @@ -206,12 +230,12 @@ anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_top = -76.0 -offset_right = 15.0 +offset_right = 14.0 grow_vertical = 0 texture_normal = SubResource("AtlasTexture_pmg84") [node name="Book2" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(33, 0) +position = Vector2(32, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book2"] clip_contents = true @@ -224,7 +248,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_5xs8h") [node name="Book3" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(49, 0) +position = Vector2(48, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book3"] clip_contents = true @@ -237,7 +261,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_4cxbt") [node name="Book4" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(56, 0) +position = Vector2(55, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book4"] clip_contents = true @@ -250,7 +274,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_x1voy") [node name="Book5" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(66, 0) +position = Vector2(65, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book5"] clip_contents = true @@ -263,7 +287,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_s637y") [node name="Book6" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(88, 0) +position = Vector2(87, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book6"] clip_contents = true @@ -276,7 +300,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_2rk7g") [node name="Book7" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(104, 0) +position = Vector2(103, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book7"] clip_contents = true @@ -289,20 +313,20 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_uo0qb") [node name="Book8" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(120, 0) +position = Vector2(119, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book8"] clip_contents = true anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 -offset_top = -99.0 -offset_right = 13.0 +offset_top = -98.0 +offset_right = 23.0 grow_vertical = 0 texture_normal = SubResource("AtlasTexture_v6h51") [node name="Book9" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(145, 0) +position = Vector2(144, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book9"] clip_contents = true @@ -315,7 +339,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_fno8t") [node name="Book10" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(161, 0) +position = Vector2(160, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book10"] clip_contents = true @@ -328,7 +352,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_sqqma") [node name="Book11" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(176, 0) +position = Vector2(175, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book11"] clip_contents = true @@ -341,7 +365,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_2v8gr") [node name="Book12" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(193, 0) +position = Vector2(192, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book12"] clip_contents = true @@ -354,7 +378,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_g33pn") [node name="Book13" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(214, 0) +position = Vector2(213, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book13"] clip_contents = true @@ -367,7 +391,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_7bg4e") [node name="Book14" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(230, 0) +position = Vector2(229, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book14"] clip_contents = true @@ -380,7 +404,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_yyofn") [node name="Book15" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(246, 0) +position = Vector2(245, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book15"] clip_contents = true @@ -393,7 +417,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_il3nv") [node name="Book16" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(262, 0) +position = Vector2(261, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book16"] clip_contents = true @@ -406,7 +430,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_485b4") [node name="Book17" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(280, 0) +position = Vector2(279, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book17"] clip_contents = true @@ -419,7 +443,7 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_bt0bc") [node name="Book18" type="Node2D" parent="Shelf/Layer0"] -position = Vector2(297, 0) +position = Vector2(296, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer0/Book18"] clip_contents = true @@ -434,9 +458,9 @@ texture_normal = SubResource("AtlasTexture_wq4ug") [node name="Layer1" type="Control" parent="Shelf"] layout_mode = 3 anchors_preset = 0 -offset_left = -243.0 +offset_left = -242.0 offset_top = 115.0 -offset_right = -243.0 +offset_right = -242.0 offset_bottom = 115.0 scale = Vector2(0.9, 0.9) @@ -564,18 +588,70 @@ clip_contents = true anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 -offset_top = -91.0 +offset_top = -89.0 offset_right = 9.0 grow_vertical = 0 texture_normal = SubResource("AtlasTexture_niqsg") +[node name="Book10" type="Node2D" parent="Shelf/Layer1"] +position = Vector2(136, 0) + +[node name="BookButton" type="TextureButton" parent="Shelf/Layer1/Book10"] +clip_contents = true +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_top = -92.0 +offset_right = 16.0 +grow_vertical = 0 +texture_normal = SubResource("AtlasTexture_axmyq") + +[node name="Book11" type="Node2D" parent="Shelf/Layer1"] +position = Vector2(155, 0) + +[node name="BookButton" type="TextureButton" parent="Shelf/Layer1/Book11"] +clip_contents = true +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_top = -94.0 +offset_right = 16.0 +grow_vertical = 0 +texture_normal = SubResource("AtlasTexture_0m7c5") + +[node name="Book12" type="Node2D" parent="Shelf/Layer1"] +position = Vector2(174, 0) + +[node name="BookButton" type="TextureButton" parent="Shelf/Layer1/Book12"] +clip_contents = true +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_top = -97.0 +offset_right = 11.0 +grow_vertical = 0 +texture_normal = SubResource("AtlasTexture_wa5pl") + +[node name="Book13" type="Node2D" parent="Shelf/Layer1"] +position = Vector2(188, 0) + +[node name="BookButton" type="TextureButton" parent="Shelf/Layer1/Book13"] +clip_contents = true +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_top = -100.0 +offset_right = 15.0 +grow_vertical = 0 +texture_normal = SubResource("AtlasTexture_onny4") + [node name="Layer2" type="Control" parent="Shelf"] layout_mode = 3 anchors_preset = 0 -offset_left = 137.0 -offset_top = 114.0 -offset_right = 137.0 -offset_bottom = 114.0 +offset_left = -31.0 +offset_top = 115.0 +offset_right = -31.0 +offset_bottom = 115.0 scale = Vector2(0.9, 0.9) [node name="Book0" type="Node2D" parent="Shelf/Layer2"] @@ -591,22 +667,35 @@ grow_vertical = 0 texture_normal = SubResource("AtlasTexture_4i6n2") [node name="Book1" type="Node2D" parent="Shelf/Layer2"] -position = Vector2(17, 0) +position = Vector2(15, 0) [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 = -94.0 +offset_right = 13.0 +grow_vertical = 0 +texture_normal = SubResource("AtlasTexture_3jfnd") + +[node name="Book2" type="Node2D" parent="Shelf/Layer2"] +position = Vector2(30, 0) + +[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 = -96.0 offset_right = 13.0 grow_vertical = 0 -texture_normal = SubResource("AtlasTexture_3jfnd") +texture_normal = SubResource("AtlasTexture_5j1oq") -[node name="Book2" type="Node2D" parent="Shelf/Layer2"] -position = Vector2(34, 0) +[node name="Book3" type="Node2D" parent="Shelf/Layer2"] +position = Vector2(45, 0) -[node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book2"] +[node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book3"] clip_contents = true anchors_preset = 2 anchor_top = 1.0 @@ -614,49 +703,36 @@ anchor_bottom = 1.0 offset_top = -99.0 offset_right = 15.0 grow_vertical = 0 -texture_normal = SubResource("AtlasTexture_5j1oq") - -[node name="Book3" type="Node2D" parent="Shelf/Layer2"] -position = Vector2(53, 0) - -[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 = -97.0 -offset_right = 13.0 -grow_vertical = 0 texture_normal = SubResource("AtlasTexture_e5eo5") [node name="Book4" type="Node2D" parent="Shelf/Layer2"] -position = Vector2(70, 0) +position = Vector2(62, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book4"] clip_contents = true anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 -offset_top = -97.0 -offset_right = 13.0 +offset_top = -99.0 +offset_right = 15.0 grow_vertical = 0 texture_normal = SubResource("AtlasTexture_sungh") [node name="Book5" type="Node2D" parent="Shelf/Layer2"] -position = Vector2(87, 0) +position = Vector2(79, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book5"] clip_contents = true anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 -offset_top = -96.0 +offset_top = -97.0 offset_right = 13.0 grow_vertical = 0 texture_normal = SubResource("AtlasTexture_yqrs8") [node name="Book6" type="Node2D" parent="Shelf/Layer2"] -position = Vector2(104, 0) +position = Vector2(94, 0) [node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book6"] clip_contents = true @@ -668,6 +744,32 @@ offset_right = 13.0 grow_vertical = 0 texture_normal = SubResource("AtlasTexture_jrkcq") +[node name="Book7" type="Node2D" parent="Shelf/Layer2"] +position = Vector2(109, 0) + +[node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book7"] +clip_contents = true +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_top = -96.0 +offset_right = 13.0 +grow_vertical = 0 +texture_normal = SubResource("AtlasTexture_mc72l") + +[node name="Book8" type="Node2D" parent="Shelf/Layer2"] +position = Vector2(124, 0) + +[node name="BookButton" type="TextureButton" parent="Shelf/Layer2/Book8"] +clip_contents = true +anchors_preset = 2 +anchor_top = 1.0 +anchor_bottom = 1.0 +offset_top = -97.0 +offset_right = 13.0 +grow_vertical = 0 +texture_normal = SubResource("AtlasTexture_ac7xn") + [node name="ColorRectTop" type="ColorRect" parent="."] unique_name_in_owner = true visible = false diff --git a/scene/little_game/书架/生死簿.tscn b/scene/little_game/书架/生死簿.tscn index 40aaff28..c65c940e 100644 --- a/scene/little_game/书架/生死簿.tscn +++ b/scene/little_game/书架/生死簿.tscn @@ -164,7 +164,6 @@ centered = false [node name="页面" type="Sprite2D" parent="Control"] unique_name_in_owner = true -visible = false position = Vector2(-10, 0) texture = ExtResource("4_ghblq") centered = false