盒子猫2素材与场景地图;木头人游戏、烧香游戏优化;美术素材更新

This commit is contained in:
cakipaul 2025-09-19 15:35:30 +08:00
parent 3a1bece718
commit 469acec5a9
72 changed files with 1498 additions and 82 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://vda43b212a6k"
path="res://.godot/imported/信件.png-afedefd3fa5abd693d1bba5e5d891ec5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/s10_瞎子卧室_第三章/信件.png"
dest_files=["res://.godot/imported/信件.png-afedefd3fa5abd693d1bba5e5d891ec5.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dhdg7l4ik57a2"
path="res://.godot/imported/倒下的佛像.png-c633e564aebbdfa8c598c966b565fa75.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/s10_瞎子卧室_第三章/倒下的佛像.png"
dest_files=["res://.godot/imported/倒下的佛像.png-c633e564aebbdfa8c598c966b565fa75.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b1qk4srvwrabj"
path="res://.godot/imported/卷轴.png-035a335e1570e180b57e01e2b6db4a1b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/s10_瞎子卧室_第三章/卷轴.png"
dest_files=["res://.godot/imported/卷轴.png-035a335e1570e180b57e01e2b6db4a1b.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bwfgg7nsa6lp4"
path="res://.godot/imported/右侧童像.png-6df706759d2486d1e627ef69d4a14cc6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/s10_瞎子卧室_第三章/右侧童像.png"
dest_files=["res://.godot/imported/右侧童像.png-6df706759d2486d1e627ef69d4a14cc6.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cea1soxhonnsd"
path="res://.godot/imported/左侧童像.png-b82d6b41239b2d4b0d553b4072d8e2e3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/s10_瞎子卧室_第三章/左侧童像.png"
dest_files=["res://.godot/imported/左侧童像.png-b82d6b41239b2d4b0d553b4072d8e2e3.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://byn43pqswnoit"
path="res://.godot/imported/背景.png-6cb1050981484b525750c04077417596.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/s10_瞎子卧室_第三章/背景.png"
dest_files=["res://.godot/imported/背景.png-6cb1050981484b525750c04077417596.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dtbri68yfg2of"
path="res://.godot/imported/金簪.png-e94e4981fa3d1118108fa429add6677b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/s10_瞎子卧室_第三章/金簪.png"
dest_files=["res://.godot/imported/金簪.png-e94e4981fa3d1118108fa429add6677b.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

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://bp2rvqax2b2um"
path="res://.godot/imported/bg_一楼内侧楼道粉笔画.png-7602a225fef814d64d6cee79be7d33e8.ctex"
path="res://.godot/imported/bg_一楼内侧楼道粉笔画.png-42f3733ed49a62675712b0ac7061f749.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_一楼内侧楼道粉笔画.png"
dest_files=["res://.godot/imported/bg_一楼内侧楼道粉笔画.png-7602a225fef814d64d6cee79be7d33e8.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_一楼内侧楼道粉笔画.png"
dest_files=["res://.godot/imported/bg_一楼内侧楼道粉笔画.png-42f3733ed49a62675712b0ac7061f749.ctex"]
[params]

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://ciwql5f2kpj4b"
path="res://.godot/imported/bg_一楼院子粉笔画.png-06f951381e9f52fe06b17c747b07e64d.ctex"
path="res://.godot/imported/bg_一楼院子粉笔画.png-1011e2d2ff18653c63fbd5c2532c6f08.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_一楼院子粉笔画.png"
dest_files=["res://.godot/imported/bg_一楼院子粉笔画.png-06f951381e9f52fe06b17c747b07e64d.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_一楼院子粉笔画.png"
dest_files=["res://.godot/imported/bg_一楼院子粉笔画.png-1011e2d2ff18653c63fbd5c2532c6f08.ctex"]
[params]

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://b2njqb41p52sq"
path="res://.godot/imported/bg_三楼楼道粉笔画.png-d9557744d2ed0a9606d6bdcbc65e27ce.ctex"
path="res://.godot/imported/bg_三楼楼道粉笔画.png-2a87b5e9d4fabc2c83402aaa3e387a87.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_三楼楼道粉笔画.png"
dest_files=["res://.godot/imported/bg_三楼楼道粉笔画.png-d9557744d2ed0a9606d6bdcbc65e27ce.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_三楼楼道粉笔画.png"
dest_files=["res://.godot/imported/bg_三楼楼道粉笔画.png-2a87b5e9d4fabc2c83402aaa3e387a87.ctex"]
[params]

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dyuwk1btlnj2o"
path="res://.godot/imported/bg_二楼内侧楼道粉笔画.png-97e4cbe37ad3d0114f48e6e972925f3d.ctex"
path="res://.godot/imported/bg_二楼内侧楼道粉笔画.png-1c6b73f735a390e161e7f3cee2d9ac53.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_二楼内侧楼道粉笔画.png"
dest_files=["res://.godot/imported/bg_二楼内侧楼道粉笔画.png-97e4cbe37ad3d0114f48e6e972925f3d.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_二楼内侧楼道粉笔画.png"
dest_files=["res://.godot/imported/bg_二楼内侧楼道粉笔画.png-1c6b73f735a390e161e7f3cee2d9ac53.ctex"]
[params]

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://cc6sl46x5c7kf"
path="res://.godot/imported/bg_二楼楼道.png-9eb59ee6db319b20ad51dae53a82e859.ctex"
path="res://.godot/imported/bg_二楼楼道.png-7e5d08c28cbb39ae3c6e80db2832c5b4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_二楼楼道.png"
dest_files=["res://.godot/imported/bg_二楼楼道.png-9eb59ee6db319b20ad51dae53a82e859.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_二楼楼道.png"
dest_files=["res://.godot/imported/bg_二楼楼道.png-7e5d08c28cbb39ae3c6e80db2832c5b4.ctex"]
[params]

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://exrkvck6r30d"
path="res://.godot/imported/bg_屠宰间粉笔画.png-4e3ccc711503ba9617a8b4be47fd7e64.ctex"
path="res://.godot/imported/bg_屠宰间粉笔画.png-d340f4ddef2223e9c4229b4b2f086f3a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_屠宰间粉笔画.png"
dest_files=["res://.godot/imported/bg_屠宰间粉笔画.png-4e3ccc711503ba9617a8b4be47fd7e64.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_屠宰间粉笔画.png"
dest_files=["res://.godot/imported/bg_屠宰间粉笔画.png-d340f4ddef2223e9c4229b4b2f086f3a.ctex"]
[params]

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://b0evot0ge3rbc"
path="res://.godot/imported/bg_屠宰间粉笔画_桌子.png-c05fad8c01c98154f057aac130f3d407.ctex"
path="res://.godot/imported/bg_屠宰间粉笔画_桌子.png-bb03d131d2ab9fd221d6ea114f9dccc0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_屠宰间粉笔画_桌子.png"
dest_files=["res://.godot/imported/bg_屠宰间粉笔画_桌子.png-c05fad8c01c98154f057aac130f3d407.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_屠宰间粉笔画_桌子.png"
dest_files=["res://.godot/imported/bg_屠宰间粉笔画_桌子.png-bb03d131d2ab9fd221d6ea114f9dccc0.ctex"]
[params]

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://cj1mpdxsgwx5"
path="res://.godot/imported/bg_棺材房粉笔画.png-66fc8fc0eed02009b0d87985f475c26b.ctex"
path="res://.godot/imported/bg_棺材房粉笔画.png-4138c61dc1e7175adcd7fde465f3f76f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_棺材房粉笔画.png"
dest_files=["res://.godot/imported/bg_棺材房粉笔画.png-66fc8fc0eed02009b0d87985f475c26b.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_棺材房粉笔画.png"
dest_files=["res://.godot/imported/bg_棺材房粉笔画.png-4138c61dc1e7175adcd7fde465f3f76f.ctex"]
[params]

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://dj77uvp8eycdn"
path="res://.godot/imported/bg_棺材房粉笔画_棺材.png-f056998e8a15a52230d52f08a695026d.ctex"
path="res://.godot/imported/bg_棺材房粉笔画_棺材.png-f5b8a0420eddff050435a9c84af5f487.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_棺材房粉笔画_棺材.png"
dest_files=["res://.godot/imported/bg_棺材房粉笔画_棺材.png-f056998e8a15a52230d52f08a695026d.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_棺材房粉笔画_棺材.png"
dest_files=["res://.godot/imported/bg_棺材房粉笔画_棺材.png-f5b8a0420eddff050435a9c84af5f487.ctex"]
[params]

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://d328c4fsllae2"
path="res://.godot/imported/bg_肉铺内侧粉笔画.png-afb45b463586a550731ca5a5b1d31579.ctex"
path="res://.godot/imported/bg_肉铺内侧粉笔画.png-3e64868823fa3aa7d65d1cb22f39ec26.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_肉铺内侧粉笔画.png"
dest_files=["res://.godot/imported/bg_肉铺内侧粉笔画.png-afb45b463586a550731ca5a5b1d31579.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_肉铺内侧粉笔画.png"
dest_files=["res://.godot/imported/bg_肉铺内侧粉笔画.png-3e64868823fa3aa7d65d1cb22f39ec26.ctex"]
[params]

View File

@ -3,15 +3,15 @@
importer="texture"
type="CompressedTexture2D"
uid="uid://2b54q015n83b"
path="res://.godot/imported/bg_肉铺内侧粉笔画_桌子.png-b2a8674580f0e65d05322d967f451df7.ctex"
path="res://.godot/imported/bg_肉铺内侧粉笔画_桌子.png-98b05d41182014e840bf1246a945e6b4.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/scene/c04/c10_盒子猫2/bg_肉铺内侧粉笔画_桌子.png"
dest_files=["res://.godot/imported/bg_肉铺内侧粉笔画_桌子.png-b2a8674580f0e65d05322d967f451df7.ctex"]
source_file="res://asset/art/scene/c04/s11_盒子猫2/bg_肉铺内侧粉笔画_桌子.png"
dest_files=["res://.godot/imported/bg_肉铺内侧粉笔画_桌子.png-98b05d41182014e840bf1246a945e6b4.ctex"]
[params]

View File

@ -34,7 +34,7 @@ const GROUND_SCENE_PATH_DICT: Dictionary[String, Dictionary] = {
"c02_s17": {"path": "uid://cbr6gbgrl2wb1", "name": "盒子猫三楼"},
"c02_s18": {"path": "uid://d27gv3pbkn4b8", "name": "盒子猫一楼"},
"c03_s01": {"path": "uid://dlrbhfvnd3cs0", "name": "三楼楼道"},
"c03_s02": {"path": "uid://ctwy1ubhm68la", "name": "瞎子卧室"},
"c03_s02": {"path": "uid://ctwy1ubhm68la", "name": "瞎子卧室"},
"c03_s03": {"path": "uid://bsqt2c061fmin", "name": "瞎子理发店"},
"c03_s04": {"path": "uid://c7c88hg2cl1j7", "name": "李癞房间"},
"c03_s05": {"path": "uid://6ehb3ux2kilu", "name": "胖子肉铺"},
@ -56,6 +56,15 @@ const GROUND_SCENE_PATH_DICT: Dictionary[String, Dictionary] = {
"c04_s07": {"path": "uid://b6cfu5rs88pql", "name": "佛堂"},
"c04_s08": {"path": "uid://dcg8ekvhqxjjs", "name": "三楼III"},
"c04_s09": {"path": "uid://cchuw5rw6cf0l", "name": "除晦游戏"},
"c04_s10": {"path": "uid://e3flhf1wn3ks", "name": "瞎子新卧室III"},
"c04_s11": {"path": "uid://bfnuaaukjnq1t", "name": "盒子猫2_三楼"},
"c04_s12": {"path": "uid://uqxrrjxvou7o", "name": "盒子猫2_二楼"},
"c04_s13": {"path": "uid://cn0poldl7g1n2", "name": "盒子猫2_二楼内侧"},
"c04_s14": {"path": "uid://cghjmtvygkeb1", "name": "盒子猫2_一楼内侧"},
"c04_s15": {"path": "uid://cigpo57gwn8an", "name": "盒子猫2_一楼院子"},
"c04_s16": {"path": "uid://dw1nb0ye2e2v", "name": "盒子猫2_肉铺"},
"c04_s17": {"path": "uid://bw4fjcja2l5c5", "name": "盒子猫2_屠宰间"},
"c04_s18": {"path": "uid://bdybkrux0j1n", "name": "盒子猫2_棺材房"},
}
# 注意: 共享 ground archive
@ -67,6 +76,8 @@ const TRANSPORT_REPLACEMENT_DICT: Dictionary[String, Dictionary] = {
"c02_s06": {3: "c03_s14", 4: "c04_s02", 5: "c04_s02", 6: "c04_s02"},
# 三楼
"c03_s01": {4: "c04_s08", 5: "c04_s08", 6: "c04_s08"},
# 瞎子新卧室
"c03_s02": {4: "c04_s10", 5: "c04_s10", 6: "c04_s10"},
}
# Exports

View File

@ -158,9 +158,11 @@ target_scene = "c02_s07"
target_portal = "right"
[node name="portal_2" parent="Ground/DeployLayer" index="3" instance=ExtResource("4_tueh3")]
position = Vector2(107, 23)
position = Vector2(109, 22)
debug_note = "通往佛堂"
portal_name = "2"
target_scene = "c04_s07"
target_portal = "right"
status = "locked"
[node name="Npc疯子" parent="Ground/DeployLayer" index="4" instance=ExtResource("9_8t4w6")]

View File

@ -72,7 +72,7 @@ updater_stages = Array[int]([2])
metadata/_custom_type_script = "uid://0wjaho6qkg6s"
[node name="portal_1" parent="Ground/DeployLayer" index="2" instance=ExtResource("7_m14ur")]
position = Vector2(296, 45)
position = Vector2(297, 40)
debug_note = "木头人重开位置"
portal_name = "1"
@ -149,6 +149,7 @@ wait_time = 2.0
[node name="Pro木头人1" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event木头人游戏"]
light_mask = 1025
z_index = 6
position = Vector2(182, 44)
sprite_frames = ExtResource("6_llv1p")
animation = &"木头人游戏1_进门动作"
@ -163,6 +164,7 @@ texture = ExtResource("16_omv2t")
[node name="Pro木头人2" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event木头人游戏"]
light_mask = 2049
z_index = 6
position = Vector2(401, 38)
sprite_frames = ExtResource("6_llv1p")
animation = &"木头人游戏2_进门动作"
@ -177,6 +179,7 @@ texture = ExtResource("16_omv2t")
[node name="Pro木头人3" type="AnimatedSprite2D" parent="Ground/DeployLayer/Event木头人游戏"]
light_mask = 4097
z_index = 6
position = Vector2(507, 38)
sprite_frames = ExtResource("6_llv1p")
animation = &"木头人游戏3_进门动作"
@ -208,16 +211,19 @@ one_shot = false
[node name="Interactable木头人1" parent="Ground/DeployLayer/Event木头人游戏" instance=ExtResource("18_77c7u")]
position = Vector2(192, 32)
enabled = false
action_key = 3
one_shot = false
[node name="Interactable木头人2" parent="Ground/DeployLayer/Event木头人游戏" instance=ExtResource("18_77c7u")]
position = Vector2(398, 46)
enabled = false
action_key = 3
one_shot = false
[node name="Interactable木头人3" parent="Ground/DeployLayer/Event木头人游戏" instance=ExtResource("18_77c7u")]
position = Vector2(511, 43)
enabled = false
action_key = 3
one_shot = false
[node name="MainPlayer" parent="Ground" index="5"]
@ -235,7 +241,6 @@ offset = Vector2(0, 50)
points = PackedVector2Array(20, 150, 533, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.8
blend_mode = 1

View File

@ -17,6 +17,7 @@ metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_54u5c")]
scene_name = "c04_s07"
default_portal = "right"
player_y = 60
[node name="AnimationPlayer" parent="Ground" index="0"]
@ -47,23 +48,28 @@ texture = ExtResource("5_wk0w5")
offset = Vector2(0, -158)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(39, 19)
position = Vector2(19, 30)
target_scene = "c03_s01"
target_portal = "1"
status = "opened"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(522, 25)
position = Vector2(722, 28)
target_scene = "c02_s05"
target_portal = "2"
status = "opened"
[node name="Closeup小猫灵牌" parent="Ground/DeployLayer" index="2" instance=ExtResource("5_36k7s")]
position = Vector2(163, 26)
packed_scene = ExtResource("6_qgaoq")
[node name="Closeup幻灯片游戏" parent="Ground/DeployLayer" index="3" instance=ExtResource("5_36k7s")]
position = Vector2(395, 21)
packed_scene = ExtResource("7_ipc8i")
[node name="Interactable小猫摇啊摇" parent="Ground/DeployLayer" index="4" instance=ExtResource("9_v2bpp")]
unique_name_in_owner = true
position = Vector2(172, 74)
position = Vector2(237, 80)
mute_when_interacted = true
mute_when_invalid = true
one_shot = false
@ -80,7 +86,7 @@ scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(20, 150, 547, 151)
points = PackedVector2Array(20, 150, 808, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false

View File

@ -0,0 +1,26 @@
@tool
extends AnimationRoot
# 覆盖该方法
func _default_data() -> Dictionary:
return {}
func _ready() -> void:
super._ready()
if Engine.is_editor_hint():
return
#region node_reference
#endregion
# 读取设置变量名
func _setup_node_reference() -> void:
pass
func _on_ground_ready() -> void:
pass

View File

@ -0,0 +1 @@
uid://cglw3221snkwk

View File

@ -1,32 +1,33 @@
[gd_scene load_steps=7 format=3 uid="uid://bfnuaaukjnq1t"]
[gd_scene load_steps=8 format=3 uid="uid://e3flhf1wn3ks"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_juwwf"]
[ext_resource type="Script" uid="uid://bj0s5kvlf7dnk" path="res://scene/ground/scene/c04/s07_佛堂.gd" id="2_h4cr5"]
[ext_resource type="AudioStream" uid="uid://b2mudqvq1dmng" path="res://asset/audio/sfx/环境音/白噪音/白噪声房间里1.ogg" id="3_ujwo6"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_os3cj"]
[ext_resource type="Texture2D" uid="uid://bnajmg64wo1ve" path="res://asset/art/scene/c04/s07_佛堂/bg_佛堂_适应尺寸.png" id="5_y23ex"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_otb6k"]
[ext_resource type="Script" uid="uid://cglw3221snkwk" path="res://scene/ground/scene/c04/s10_瞎子新卧室III.gd" id="2_otb6k"]
[ext_resource type="AudioStream" uid="uid://b2mudqvq1dmng" path="res://asset/audio/sfx/环境音/白噪音/白噪声房间里1.ogg" id="3_fv8vb"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_sgpqp"]
[ext_resource type="Texture2D" uid="uid://vc2hn6t5bedg" path="res://asset/art/scene/c03/s02_瞎子新卧室/bg_瞎子新卧室.png" id="5_30kp6"]
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="6_30kp6"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
[node name="S10" type="Node2D"]
metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_juwwf")]
scene_name = "c04_s07"
[node name="Ground" parent="." instance=ExtResource("1_otb6k")]
scene_name = "c04_s10"
player_y = 60
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_h4cr5")
script = ExtResource("2_otb6k")
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_ujwo6")
stream = ExtResource("3_fv8vb")
volume_db = -5.0
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_os3cj")
script = ExtResource("4_sgpqp")
mode = "场景背景音"
"循环播放" = true
"感应玩家操作" = false
@ -34,17 +35,25 @@ metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
texture = ExtResource("5_y23ex")
offset = Vector2(0, -158)
position = Vector2(12, 0)
texture = ExtResource("5_30kp6")
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(39, 19)
target_scene = "c03_s01"
target_portal = "1"
position = Vector2(25, 19)
debug_note = "通往理发店"
target_scene = "c03_s03"
target_portal = "right"
status = "opened"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(522, 25)
position = Vector2(523, 23)
[node name="portal_1" parent="Ground/DeployLayer" index="2" instance=ExtResource("6_30kp6")]
position = Vector2(80, 16)
portal_name = "1"
target_scene = "c02_s06"
target_portal = "1"
status = "opened"
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(63, 95)
@ -58,7 +67,7 @@ scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(20, 150, 547, 151)
points = PackedVector2Array(20, 150, 543, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false

View File

@ -0,0 +1,26 @@
@tool
extends AnimationRoot
# 覆盖该方法
func _default_data() -> Dictionary:
return {}
func _ready() -> void:
super._ready()
if Engine.is_editor_hint():
return
#region node_reference
#endregion
# 读取设置变量名
func _setup_node_reference() -> void:
pass
func _on_ground_ready() -> void:
pass

View File

@ -0,0 +1 @@
uid://diq2u7bkvtysp

View File

@ -0,0 +1,72 @@
[gd_scene load_steps=8 format=3 uid="uid://bfnuaaukjnq1t"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_ci5vt"]
[ext_resource type="Script" uid="uid://diq2u7bkvtysp" path="res://scene/ground/scene/c04/s11_盒子猫2_三楼.gd" id="2_pt1qw"]
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_ci5vt"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_2tscv"]
[ext_resource type="Texture2D" uid="uid://b2njqb41p52sq" path="res://asset/art/scene/c04/s11_盒子猫2/bg_三楼楼道粉笔画.png" id="5_pt1qw"]
[ext_resource type="PackedScene" uid="uid://owvbjjtikwhe" path="res://scene/ground/script/c04/盒子猫2canvas_layer.tscn" id="6_pt1qw"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
[node name="S11" type="Node2D"]
metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_ci5vt")]
scene_name = "c04_s11"
default_portal = "right"
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_pt1qw")
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_ci5vt")
volume_db = -5.0
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_2tscv")
mode = "场景背景音"
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
texture = ExtResource("5_pt1qw")
offset = Vector2(0, -100)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(44, 21)
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(848, 27)
target_scene = "c04_s12"
target_portal = "right"
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(227, 88)
catty_light_energy = 0.5
character = "盒子猫"
player_movement_rect = Rect2(80, -158, 394, 316)
facing_direction = Vector2(1, 0)
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(27, 0)
scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(195, 150, 864, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.8
blend_mode = 1
[node name="盒子猫2CanvasLayer" parent="Ground" instance=ExtResource("6_pt1qw")]
visible = false
[editable path="Ground"]

View File

@ -0,0 +1,26 @@
@tool
extends AnimationRoot
# 覆盖该方法
func _default_data() -> Dictionary:
return {}
func _ready() -> void:
super._ready()
if Engine.is_editor_hint():
return
#region node_reference
#endregion
# 读取设置变量名
func _setup_node_reference() -> void:
pass
func _on_ground_ready() -> void:
pass

View File

@ -0,0 +1 @@
uid://bjh5hnylf7xwo

View File

@ -0,0 +1,73 @@
[gd_scene load_steps=8 format=3 uid="uid://uqxrrjxvou7o"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_f7sj6"]
[ext_resource type="Script" uid="uid://bjh5hnylf7xwo" path="res://scene/ground/scene/c04/s12_盒子猫2_二楼.gd" id="2_rbyyi"]
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_i8wn1"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_iwxo5"]
[ext_resource type="Texture2D" uid="uid://cc6sl46x5c7kf" path="res://asset/art/scene/c04/s11_盒子猫2/bg_二楼楼道.png" id="5_2kf5f"]
[ext_resource type="PackedScene" uid="uid://owvbjjtikwhe" path="res://scene/ground/script/c04/盒子猫2canvas_layer.tscn" id="6_k1h0x"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
[node name="S12" type="Node2D"]
metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_f7sj6")]
scene_name = "c04_s12"
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_rbyyi")
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_i8wn1")
volume_db = -5.0
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_iwxo5")
mode = "场景背景音"
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
texture = ExtResource("5_2kf5f")
offset = Vector2(0, -100)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(29, 26)
target_scene = "c04_s13"
target_portal = "left"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(779, 25)
target_scene = "c04_s11"
target_portal = "right"
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(63, 88)
catty_light_energy = 0.5
character = "盒子猫"
player_movement_rect = Rect2(80, -158, 394, 316)
facing_direction = Vector2(1, 0)
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(27, 0)
scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(40, 150, 855, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.8
blend_mode = 1
[node name="盒子猫2CanvasLayer" parent="Ground" instance=ExtResource("6_k1h0x")]
visible = false
[editable path="Ground"]

View File

@ -0,0 +1,26 @@
@tool
extends AnimationRoot
# 覆盖该方法
func _default_data() -> Dictionary:
return {}
func _ready() -> void:
super._ready()
if Engine.is_editor_hint():
return
#region node_reference
#endregion
# 读取设置变量名
func _setup_node_reference() -> void:
pass
func _on_ground_ready() -> void:
pass

View File

@ -0,0 +1 @@
uid://dg3oodga132gu

View File

@ -0,0 +1,73 @@
[gd_scene load_steps=8 format=3 uid="uid://cn0poldl7g1n2"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_v4l7a"]
[ext_resource type="Script" uid="uid://dg3oodga132gu" path="res://scene/ground/scene/c04/s13_盒子猫2_二楼内侧.gd" id="2_pcnx0"]
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_npai1"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_t7d4k"]
[ext_resource type="Texture2D" uid="uid://dyuwk1btlnj2o" path="res://asset/art/scene/c04/s11_盒子猫2/bg_二楼内侧楼道粉笔画.png" id="5_mg36k"]
[ext_resource type="PackedScene" uid="uid://owvbjjtikwhe" path="res://scene/ground/script/c04/盒子猫2canvas_layer.tscn" id="6_ibjpb"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
[node name="S13" type="Node2D"]
metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_v4l7a")]
scene_name = "c04_s13"
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_pcnx0")
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_npai1")
volume_db = -5.0
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_t7d4k")
mode = "场景背景音"
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
texture = ExtResource("5_mg36k")
offset = Vector2(0, -100)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(357, 14)
target_scene = "c04_s12"
target_portal = "left"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(564, 18)
target_scene = "c04_s14"
target_portal = "right"
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(63, 88)
catty_light_energy = 0.5
character = "盒子猫"
player_movement_rect = Rect2(80, -158, 394, 316)
facing_direction = Vector2(1, 0)
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(27, 0)
scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(111, 150, 646, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.8
blend_mode = 1
[node name="盒子猫2CanvasLayer" parent="Ground" instance=ExtResource("6_ibjpb")]
visible = false
[editable path="Ground"]

View File

@ -0,0 +1,26 @@
@tool
extends AnimationRoot
# 覆盖该方法
func _default_data() -> Dictionary:
return {}
func _ready() -> void:
super._ready()
if Engine.is_editor_hint():
return
#region node_reference
#endregion
# 读取设置变量名
func _setup_node_reference() -> void:
pass
func _on_ground_ready() -> void:
pass

View File

@ -0,0 +1 @@
uid://u6qkv0ydrq2h

View File

@ -0,0 +1,73 @@
[gd_scene load_steps=8 format=3 uid="uid://cghjmtvygkeb1"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_viw08"]
[ext_resource type="Script" uid="uid://u6qkv0ydrq2h" path="res://scene/ground/scene/c04/s14_盒子猫2_一楼内侧.gd" id="2_1qpkp"]
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_y0dhi"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_opv4o"]
[ext_resource type="Texture2D" uid="uid://bp2rvqax2b2um" path="res://asset/art/scene/c04/s11_盒子猫2/bg_一楼内侧楼道粉笔画.png" id="5_m1dyc"]
[ext_resource type="PackedScene" uid="uid://owvbjjtikwhe" path="res://scene/ground/script/c04/盒子猫2canvas_layer.tscn" id="6_3v15f"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
[node name="S14" type="Node2D"]
metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_viw08")]
scene_name = "c04_s14"
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_1qpkp")
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_y0dhi")
volume_db = -5.0
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_opv4o")
mode = "场景背景音"
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
texture = ExtResource("5_m1dyc")
offset = Vector2(0, -100)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(32, 19)
target_scene = "c04_s15"
target_portal = "2"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(496, 22)
target_scene = "c04_s13"
target_portal = "right"
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(63, 88)
catty_light_energy = 0.5
character = "盒子猫"
player_movement_rect = Rect2(80, -158, 394, 316)
facing_direction = Vector2(1, 0)
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(27, 0)
scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(35, 150, 656, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.8
blend_mode = 1
[node name="盒子猫2CanvasLayer" parent="Ground" instance=ExtResource("6_3v15f")]
visible = false
[editable path="Ground"]

View File

@ -0,0 +1,26 @@
@tool
extends AnimationRoot
# 覆盖该方法
func _default_data() -> Dictionary:
return {}
func _ready() -> void:
super._ready()
if Engine.is_editor_hint():
return
#region node_reference
#endregion
# 读取设置变量名
func _setup_node_reference() -> void:
pass
func _on_ground_ready() -> void:
pass

View File

@ -0,0 +1 @@
uid://bdxr7pwhum6b4

View File

@ -0,0 +1,85 @@
[gd_scene load_steps=9 format=3 uid="uid://cigpo57gwn8an"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_37lsb"]
[ext_resource type="Script" uid="uid://bdxr7pwhum6b4" path="res://scene/ground/scene/c04/s15_盒子猫2_一楼院子.gd" id="2_yp6nr"]
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_3ah06"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_dxpp2"]
[ext_resource type="Texture2D" uid="uid://ciwql5f2kpj4b" path="res://asset/art/scene/c04/s11_盒子猫2/bg_一楼院子粉笔画.png" id="5_3ah06"]
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="6_dxpp2"]
[ext_resource type="PackedScene" uid="uid://owvbjjtikwhe" path="res://scene/ground/script/c04/盒子猫2canvas_layer.tscn" id="6_wenl7"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
[node name="S15" type="Node2D"]
metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_37lsb")]
scene_name = "c04_s15"
player_y = 69
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_yp6nr")
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_3ah06")
volume_db = -5.0
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_dxpp2")
mode = "场景背景音"
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
texture = ExtResource("5_3ah06")
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(27, 45)
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(2244, 45)
[node name="portal_1" parent="Ground/DeployLayer" index="2" instance=ExtResource("6_dxpp2")]
position = Vector2(654, 38)
debug_note = "通往肉铺"
portal_name = "1"
target_scene = "c04_s16"
target_portal = "left"
status = "opened"
[node name="portal_2" parent="Ground/DeployLayer" index="3" instance=ExtResource("6_dxpp2")]
position = Vector2(934, 37)
debug_note = "通往一楼内侧"
portal_name = "2"
target_scene = "c04_s14"
target_portal = "left"
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(63, 89)
catty_light_energy = 0.5
character = "盒子猫"
player_movement_rect = Rect2(80, -158, 394, 316)
facing_direction = Vector2(1, 0)
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(27, 0)
scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(40, 150, 1160, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.8
blend_mode = 1
[node name="盒子猫2CanvasLayer" parent="Ground" instance=ExtResource("6_wenl7")]
visible = false
[editable path="Ground"]

View File

@ -0,0 +1,26 @@
@tool
extends AnimationRoot
# 覆盖该方法
func _default_data() -> Dictionary:
return {}
func _ready() -> void:
super._ready()
if Engine.is_editor_hint():
return
#region node_reference
#endregion
# 读取设置变量名
func _setup_node_reference() -> void:
pass
func _on_ground_ready() -> void:
pass

View File

@ -0,0 +1 @@
uid://6up4iv61hgc2

View File

@ -0,0 +1,77 @@
[gd_scene load_steps=8 format=3 uid="uid://dw1nb0ye2e2v"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_77tc2"]
[ext_resource type="Script" uid="uid://6up4iv61hgc2" path="res://scene/ground/scene/c04/s16_盒子猫2_肉铺.gd" id="2_pah4c"]
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_lvn1q"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_svb3a"]
[ext_resource type="Texture2D" uid="uid://d328c4fsllae2" path="res://asset/art/scene/c04/s11_盒子猫2/bg_肉铺内侧粉笔画.png" id="5_kbk4y"]
[ext_resource type="PackedScene" uid="uid://owvbjjtikwhe" path="res://scene/ground/script/c04/盒子猫2canvas_layer.tscn" id="6_2exgp"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
[node name="S16" type="Node2D"]
metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_77tc2")]
scene_name = "c04_s16"
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_pah4c")
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_lvn1q")
volume_db = -5.0
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_svb3a")
mode = "场景背景音"
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
position = Vector2(9, 0)
texture = ExtResource("5_kbk4y")
offset = Vector2(0, -178)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(78, 28)
target_scene = "c04_s15"
target_portal = "1"
status = "opened"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(524, 30)
collision_width_and_x = Vector2(50, 0)
target_scene = "c04_s17"
target_portal = "left"
status = "opened"
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(63, 88)
catty_light_energy = 0.5
character = "盒子猫"
player_movement_rect = Rect2(80, -158, 394, 316)
facing_direction = Vector2(1, 0)
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(27, 0)
scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(50, 150, 520, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.8
blend_mode = 1
[node name="盒子猫2CanvasLayer" parent="Ground" instance=ExtResource("6_2exgp")]
visible = false
[editable path="Ground"]

View File

@ -0,0 +1,26 @@
@tool
extends AnimationRoot
# 覆盖该方法
func _default_data() -> Dictionary:
return {}
func _ready() -> void:
super._ready()
if Engine.is_editor_hint():
return
#region node_reference
#endregion
# 读取设置变量名
func _setup_node_reference() -> void:
pass
func _on_ground_ready() -> void:
pass

View File

@ -0,0 +1 @@
uid://cjn3faoph1mt5

View File

@ -0,0 +1,82 @@
[gd_scene load_steps=9 format=3 uid="uid://bw4fjcja2l5c5"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_0t1mj"]
[ext_resource type="Script" uid="uid://cjn3faoph1mt5" path="res://scene/ground/scene/c04/s17_盒子猫2_屠宰间.gd" id="2_0t1mj"]
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_6q3au"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_8ed4j"]
[ext_resource type="Texture2D" uid="uid://exrkvck6r30d" path="res://asset/art/scene/c04/s11_盒子猫2/bg_屠宰间粉笔画.png" id="5_fxbl5"]
[ext_resource type="PackedScene" uid="uid://owvbjjtikwhe" path="res://scene/ground/script/c04/盒子猫2canvas_layer.tscn" id="6_8as17"]
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="6_fxbl5"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
[node name="S17" type="Node2D"]
metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_0t1mj")]
scene_name = "c04_s17"
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_0t1mj")
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_6q3au")
volume_db = -5.0
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_8ed4j")
mode = "场景背景音"
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
texture = ExtResource("5_fxbl5")
offset = Vector2(0, -178)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(18, 32)
collision_width_and_x = Vector2(50, 0)
target_scene = "c04_s16"
target_portal = "right"
status = "opened"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(632, 30)
[node name="portal_1" parent="Ground/DeployLayer" index="2" instance=ExtResource("6_fxbl5")]
position = Vector2(115, 28)
debug_note = "通往棺材房"
portal_name = "1"
target_scene = "c04_s18"
target_portal = "left"
status = "opened"
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(63, 88)
catty_light_energy = 0.5
character = "盒子猫"
player_movement_rect = Rect2(80, -158, 394, 316)
facing_direction = Vector2(1, 0)
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(27, 0)
scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(40, 150, 700, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.8
blend_mode = 1
[node name="盒子猫2CanvasLayer" parent="Ground" instance=ExtResource("6_8as17")]
visible = false
[editable path="Ground"]

View File

@ -0,0 +1,26 @@
@tool
extends AnimationRoot
# 覆盖该方法
func _default_data() -> Dictionary:
return {}
func _ready() -> void:
super._ready()
if Engine.is_editor_hint():
return
#region node_reference
#endregion
# 读取设置变量名
func _setup_node_reference() -> void:
pass
func _on_ground_ready() -> void:
pass

View File

@ -0,0 +1 @@
uid://bqhuq4loic5vm

View File

@ -0,0 +1,74 @@
[gd_scene load_steps=8 format=3 uid="uid://bdybkrux0j1n"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_bfy2n"]
[ext_resource type="Script" uid="uid://bqhuq4loic5vm" path="res://scene/ground/scene/c04/s18_盒子猫2_棺材房.gd" id="2_bfy2n"]
[ext_resource type="AudioStream" uid="uid://dvc2emnfcmabx" path="res://asset/audio/sfx/环境音/白噪音/白噪声楼道1.ogg" id="3_ua20e"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_11ms2"]
[ext_resource type="Texture2D" uid="uid://cj1mpdxsgwx5" path="res://asset/art/scene/c04/s11_盒子猫2/bg_棺材房粉笔画.png" id="5_bfy2n"]
[ext_resource type="PackedScene" uid="uid://owvbjjtikwhe" path="res://scene/ground/script/c04/盒子猫2canvas_layer.tscn" id="6_bqekc"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_k01ve"]
[node name="S18" type="Node2D"]
metadata/_edit_horizontal_guides_ = [-627.0]
[node name="Ground" parent="." instance=ExtResource("1_bfy2n")]
scene_name = "c04_s18"
player_y = 54
[node name="AnimationPlayer" parent="Ground" index="0"]
libraries = {
&"": SubResource("AnimationLibrary_k01ve")
}
script = ExtResource("2_bfy2n")
[node name="Sfx背景音" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
stream = ExtResource("3_ua20e")
volume_db = -5.0
autoplay = true
bus = &"game_sfx"
script = ExtResource("4_11ms2")
mode = "场景背景音"
"循环播放" = true
"感应玩家操作" = false
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5
position = Vector2(50, 0)
texture = ExtResource("5_bfy2n")
offset = Vector2(0, -158)
[node name="portal_left" parent="Ground/DeployLayer" index="0"]
position = Vector2(119, 24)
target_scene = "c04_s17"
target_portal = "1"
status = "opened"
[node name="portal_right" parent="Ground/DeployLayer" index="1"]
position = Vector2(471, 22)
[node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(63, 104)
catty_light_energy = 0.5
character = "盒子猫"
player_movement_rect = Rect2(80, -158, 394, 316)
facing_direction = Vector2(1, 0)
[node name="FGSprite2D" parent="Ground/ParallaxForeground/FGParallaxLayer" index="0"]
position = Vector2(27, 0)
scale = Vector2(1.1, 1.1)
offset = Vector2(0, -147)
[node name="PlayerLine2D" parent="Ground/ParallaxForeground" index="2"]
points = PackedVector2Array(90, 150, 400, 151)
[node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.8
blend_mode = 1
[node name="盒子猫2CanvasLayer" parent="Ground" instance=ExtResource("6_bqekc")]
visible = false
[editable path="Ground"]

View File

@ -104,31 +104,40 @@ var game_stage := 0:
timer.start(3.5 - game_stage * 0.5)
_pup_count_down_sfx()
spot_light = game_stage
interactables[game_stage - 1].enabled = true
_reset_interactable_enable_state()
var pup_watching := false
var _player_last_pos: Vector2
func _on_player_position_updated(_pos: Vector2) -> void:
if game_stage >= 4:
return
var pos_changed = _player_last_pos != Vector2.ZERO and _player_last_pos != _pos
_player_last_pos = _pos
if game_stage == 0:
# 游戏开始
game_stage = 1
elif game_stage < 4 and pup_watching:
elif game_stage < 4 and pos_changed and pup_watching:
_game_fail()
func _on_pup_interacted(idx: int) -> void:
timer.stop()
if timeout_watching_tween and timeout_watching_tween.is_running():
timeout_watching_tween.kill()
interactables[idx].enabled = false
SceneManager.lock_player()
# 凝滞
_pup_mov_sfx()
_puppet_play_animation("木头人游戏%s_互动后尾帧静止", idx + 1)
_puppet_play_animation("木头人游戏%s_互动后尾帧静止", idx)
# 等待 3s
await Util.wait(3.0)
# 播放胜利动画
_pup_mov_sfx()
_puppet_play_animation("木头人游戏%s_胜利", idx + 1)
_puppet_play_animation("木头人游戏%s_胜利", idx)
# 等待 3s
await Util.wait(3.0)
game_stage = idx + 2 # next stage, = +1 +1
@ -138,26 +147,42 @@ func _on_pup_interacted(idx: int) -> void:
# 播放结束后再更新 stage
EventManager.set_stage("c04_puppet_game", 2)
SceneManager.unlock_player()
timer.start()
func _pup_start_watching_loop() -> void:
# 共享 timer
pup_watching = true
var timeout_watching_tween: Tween
# 执行回头看,木头人不许动的逻辑
func _pup_timer_timeout() -> void:
if game_stage == 4:
if game_stage == 4 or game_stage == 0:
return
interactables[game_stage - 1].enabled = false
timer.stop()
pup_watching = true
_pup_mov_sfx()
_puppet_play_animation("木头人游戏%s_查看", game_stage - 1)
await Util.wait(3.0)
_pup_mov_sfx()
_puppet_play_animation("木头人游戏%s_查看恢复", game_stage - 1)
await Util.wait(1.0)
pup_watching = false
timer.start()
timeout_watching_tween = create_tween()
timeout_watching_tween.tween_interval(1.0)
# 稍等片刻再 watching
timeout_watching_tween.tween_callback(func(): pup_watching = true)
timeout_watching_tween.tween_interval(3.0)
timeout_watching_tween.tween_callback(_pup_mov_sfx)
timeout_watching_tween.tween_callback(
_puppet_play_animation.bind("木头人游戏%s_查看恢复", game_stage - 1)
)
timeout_watching_tween.tween_interval(1.0)
timeout_watching_tween.tween_callback(func(): pup_watching = false)
timeout_watching_tween.tween_callback(_reset_interactable_enable_state)
timeout_watching_tween.tween_callback(timer.start)
func _reset_interactable_enable_state() -> void:
for i in interactables.size():
var interactable = interactables[i]
if not pup_watching and game_stage == i + 1:
interactable.enabled = true
else:
interactable.enabled = false
######## 控制聚光灯
@ -172,7 +197,7 @@ var spot_light = 0:
if spot_light != val:
# 从 4 到其他
var current_lighting: Array = _get_lighting_puppets(spot_light)
var target_lighting: Array = _get_lighting_puppets(spot_light)
var target_lighting: Array = _get_lighting_puppets(val)
for p in current_lighting:
if not target_lighting.has(p):
# turn off
@ -206,19 +231,23 @@ func _get_lighting_puppets(mode: int) -> Array:
func _game_fail() -> void:
timer.stop()
if timeout_watching_tween and timeout_watching_tween.is_running():
timeout_watching_tween.kill()
SceneManager.lock_player()
$"Sfx玩家死亡音效".play()
spot_light = 4
# TODO
SceneManager.pop_debug_dialog_info("音效", "玩家死亡音效(身体扭动)+诡异笑声")
await Util.wait(2.0)
# 三个纸人一起缓缓消失等待3s
var tween = create_tween()
for i in 3:
var tween = create_tween()
var pup = puppets[i]
tween.tween_property(pup, "modulate:a", 0.0, 1.5)
await Util.wait(2.5)
tween.tween_property(pup, "modulate:a", 0.0, 2.0)
await Util.wait(5.0)
# c04_吕萍_木头人死亡
await SceneManager.player_action(23, false)
SceneManager.unlock_player()
# 重开游戏
SceneManager.get_ground_loader().transition_to_scene("c04_s05", "1")
SceneManager.get_ground_loader().transition_to_scene("c04_s05", "1")

View File

@ -1,10 +1,13 @@
[gd_scene load_steps=6 format=3 uid="uid://b03v4u8m55leh"]
[gd_scene load_steps=9 format=3 uid="uid://b03v4u8m55leh"]
[ext_resource type="Script" uid="uid://dsr4gd8cu0yu4" path="res://scene/ground/script/c04/s07_closeup小猫灵牌.gd" id="1_pl6vt"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="2_ap5lo"]
[ext_resource type="Texture2D" uid="uid://bq4jcgvj3qkjj" path="res://asset/art/scene/c04/s07_佛堂/小猫灵堂/背景.png" id="2_4x10w"]
[ext_resource type="Texture2D" uid="uid://clumusc3upltg" path="res://asset/art/scene/c04/s07_佛堂/小猫灵堂/盘子.png" id="3_2ns2x"]
[ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="3_4x10w"]
[ext_resource type="Texture2D" uid="uid://br1p48t7dg75p" path="res://asset/art/scene/c04/s07_佛堂/小猫灵堂/遮罩.png" id="4_42tbg"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="5_42tbg"]
[ext_resource type="Script" uid="uid://dpocj5al0rvai" path="res://ui/text_helper.gd" id="6_hj263"]
[ext_resource type="Texture2D" uid="uid://c36atvx8eraun" path="res://asset/art/scene/c04/s07_佛堂/小猫灵堂/灵堂.jpg" id="8_hj263"]
[node name="Closeup小猫灵牌" type="CanvasLayer"]
script = ExtResource("1_pl6vt")
@ -15,17 +18,34 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_4x10w")
stretch_mode = 3
[node name="盘子" type="TextureRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -34.0
offset_top = 33.0
offset_right = -34.0
offset_bottom = 33.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_2ns2x")
stretch_mode = 3
[node name="遮罩" type="TextureRect" parent="."]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("2_ap5lo")
texture = ExtResource("4_42tbg")
[node name="ContentInspector" parent="." instance=ExtResource("3_4x10w")]
visible = false
[node name="遮罩" type="TextureRect" parent="ContentInspector"]
layout_mode = 1
@ -54,3 +74,14 @@ grow_vertical = 2
vertical_alignment = 1
autowrap_mode = 3
script = ExtResource("6_hj263")
[node name="示例" type="TextureRect" parent="."]
visible = false
modulate = Color(1, 1, 1, 0.537255)
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_hj263")
stretch_mode = 3

View File

@ -0,0 +1,107 @@
extends CanvasLayer
@export var disable_crawl := false:
set(val):
disable_crawl = val
if disable_crawl and is_node_ready():
down_pressing = false
@export var show_cat := false
@export var show_cat_duration := 6.0
@onready var cat_fg := $TextureCat as TextureRect
func _ready():
offset = Vector2.ZERO
visible = true
await get_parent().ready
# 盒子猫镜头左右各增加边框宽度
var camera = SceneManager.get_camera_marker()
var rect: Rect2i = camera.default_camera_rect
rect.position.x -= 100
rect.size.x += 200
# rect.position.y -= 50
camera.apply_limits(rect)
if show_cat and not ArchiveManager.get_global_value(&"c02_boxcat_skip_intro"):
cat_fg.visible = true
var tween = create_tween()
tween.tween_interval(2.5)
tween.tween_property(cat_fg, "modulate:a", 0.0, show_cat_duration - 2.5)
else:
cat_fg.visible = false
var down_pressing = false:
set(val):
if down_pressing == val:
return
if disable_crawl and val:
return
down_pressing = val
_try_toggle_crawl()
# 用来判断盒子猫是否在下蹲状态
var crawling = false:
set(val):
crawling = val
locking = crawling
# print("crawling: ", val)
if crawling != down_pressing:
# 执行结束后,如果发现不一致,尝试切换
crawling_toggle_tween = null
_try_toggle_crawl()
var crawling_toggle_tween: Tween
var locking = false:
set(val):
if locking == val:
return
locking = val
if locking:
SceneManager.lock_player()
else:
SceneManager.unlock_player()
var _toggle_mutex = Mutex.new()
func _try_toggle_crawl():
_toggle_mutex.lock()
if down_pressing == crawling:
_toggle_mutex.unlock()
return
if crawling_toggle_tween and crawling_toggle_tween.is_valid():
_toggle_mutex.unlock()
return
crawling_toggle_tween = create_tween()
var crawl = down_pressing
if crawl:
locking = true
SceneManager.player_action(7)
$"Sfx翻身躲藏".play()
else:
SceneManager.player_action(8, true)
$"Sfx退出躲藏".play()
crawling_toggle_tween.tween_interval(0.3)
crawling_toggle_tween.tween_callback(func(): crawling = crawl)
_toggle_mutex.unlock()
func _unhandled_input(event: InputEvent) -> void:
if event.is_action_pressed("down"):
get_viewport().set_input_as_handled()
down_pressing = true
elif event.is_action_released("down"):
get_viewport().set_input_as_handled()
down_pressing = false
func show_footprint():
$TextureFootprint.show()
var frame = $TextureFrame
frame.modulate.a = 0.0
frame.visible = true
var tween = create_tween()
tween.tween_interval(2.0)
tween.tween_property(frame, "modulate:a", 1.0, 4.0)

View File

@ -0,0 +1 @@
uid://dsmam3ov88d5m

View File

@ -0,0 +1,125 @@
[gd_scene load_steps=12 format=3 uid="uid://owvbjjtikwhe"]
[ext_resource type="Script" uid="uid://dsmam3ov88d5m" path="res://scene/ground/script/c04/盒子猫2canvas_layer.gd" id="1_ibxbq"]
[ext_resource type="AudioStream" uid="uid://11ob0heie327" path="res://asset/audio/sfx/交互/第一章/sfx_猫躲起来.ogg" id="2_7spd7"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_lkr10"]
[ext_resource type="AudioStream" uid="uid://7sjwgob6tsu4" path="res://asset/audio/sfx/交互/第一章/sfx_猫退出躲藏.ogg" id="4_ddr1s"]
[ext_resource type="Texture2D" uid="uid://xhksp8eu3jqy" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/ux_镂空.png" id="5_3p2an"]
[ext_resource type="Texture2D" uid="uid://d3es8r30qvxdl" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/ux_盒子猫初始特写.png" id="6_0t3x8"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="7_d3gq6"]
[ext_resource type="Texture2D" uid="uid://ccfbubistf0ov" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/ux_镂空_纸.png" id="8_ypvsy"]
[ext_resource type="Texture2D" uid="uid://dx3i8mchgux1d" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/ux_纸张.png" id="9_i8v3h"]
[ext_resource type="Texture2D" uid="uid://tcjm158n8hnw" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/小脚脚印.png" id="10_r74bp"]
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="11_ofn5l"]
[node name="盒子猫2CanvasLayer" type="CanvasLayer"]
process_mode = 1
layer = 0
script = ExtResource("1_ibxbq")
[node name="Sfx翻身躲藏" type="AudioStreamPlayer" parent="."]
stream = ExtResource("2_7spd7")
bus = &"game_sfx"
script = ExtResource("3_lkr10")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="Sfx退出躲藏" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_ddr1s")
bus = &"game_sfx"
script = ExtResource("3_lkr10")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="FrameGray" type="TextureRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("5_3p2an")
stretch_mode = 4
[node name="TextureCat" type="TextureRect" parent="."]
visible = false
light_mask = 17
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("6_0t3x8")
[node name="遮罩" type="TextureRect" parent="TextureCat"]
layout_mode = 0
offset_left = -35.0
offset_top = -3.0
offset_right = 585.0
offset_bottom = 313.0
texture = ExtResource("7_d3gq6")
[node name="TextureFrame" type="TextureRect" parent="."]
visible = false
light_mask = 17
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -50.5
offset_top = -68.5
offset_right = 50.5
offset_bottom = 68.5
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("8_ypvsy")
[node name="TexturePaper" type="TextureRect" parent="TextureFrame"]
modulate = Color(1, 1, 1, 0.329412)
light_mask = 17
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -171.0
offset_top = -98.0
offset_right = 153.0
offset_bottom = 105.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("9_i8v3h")
[node name="遮罩" type="TextureRect" parent="TextureFrame"]
layout_mode = 0
offset_left = -35.0
offset_top = -3.0
offset_right = 585.0
offset_bottom = 313.0
texture = ExtResource("7_d3gq6")
[node name="TextureFootprint" type="TextureRect" parent="."]
visible = false
light_mask = 49
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -50.5
offset_top = -68.5
offset_right = 50.5
offset_bottom = 68.5
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("10_r74bp")
[node name="PointLight2D" type="PointLight2D" parent="TextureFootprint"]
light_mask = 33
position = Vector2(45.5, 72.5)
range_item_cull_mask = 32
texture = ExtResource("11_ofn5l")