demo 0.1.2.2 优化

This commit is contained in:
cakipaul 2025-07-02 01:18:25 +08:00
parent 08698bc983
commit 866a1f7f7f
68 changed files with 585 additions and 130 deletions

View File

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://cbql1i4hblmt1" uid="uid://cbql1i4hblmt1"
path="res://.godot/imported/inspect特写通用遮罩.png-d71efbdf6a70d5f61869c92fccad6650.ctex" path="res://.godot/imported/inspect特写通用遮罩.png-1420576b3b1fddbb0ddd4a53371700d3.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://asset/art/ui/inspect/inspect特写通用遮罩.png" source_file="res://asset/art/ui/遮罩/inspect特写通用遮罩.png"
dest_files=["res://.godot/imported/inspect特写通用遮罩.png-d71efbdf6a70d5f61869c92fccad6650.ctex"] dest_files=["res://.godot/imported/inspect特写通用遮罩.png-1420576b3b1fddbb0ddd4a53371700d3.ctex"]
[params] [params]

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -3,15 +3,15 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://f186lvt5y2ql" uid="uid://f186lvt5y2ql"
path="res://.godot/imported/inspect背景遮罩.png-6487c5cc89abd54d3577e6cfd1f5c07e.ctex" path="res://.godot/imported/inspect背景遮罩.png-dabe02be98137494a661aa879cfa166f.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://asset/art/ui/inspect/inspect背景遮罩.png" source_file="res://asset/art/ui/遮罩/inspect背景遮罩.png"
dest_files=["res://.godot/imported/inspect背景遮罩.png-6487c5cc89abd54d3577e6cfd1f5c07e.ctex"] dest_files=["res://.godot/imported/inspect背景遮罩.png-dabe02be98137494a661aa879cfa166f.ctex"]
[params] [params]

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bxv83fm0qgvjh"
path="res://.godot/imported/头痛遮罩.png-b55bb4679808918573eb38f7af366482.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://asset/art/ui/遮罩/头痛遮罩.png"
dest_files=["res://.godot/imported/头痛遮罩.png-b55bb4679808918573eb38f7af366482.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

@ -23,7 +23,7 @@ c02_保卫科花名册1,一零一四 空,,,
c02_保卫科花名册2,一零一五王守义 李兰,,, c02_保卫科花名册2,一零一五王守义 李兰,,,
c02_保卫科花名册3,二零一二 张文开,,, c02_保卫科花名册3,二零一二 张文开,,,
c02_保卫科花名册4,二零一三 方启钊 方小蝉,,, c02_保卫科花名册4,二零一三 方启钊 方小蝉,,,
c02_保卫科花名册5,三零一二(看不清),,, c02_保卫科花名册5,三零一二 吕萍,,,
c02_保卫科花名册6,三零一三(看不清),,, c02_保卫科花名册6,三零一三(看不清),,,
c02_保卫科花名册7,把我的鞋子拿给老鼠,老鼠会引开那个疯男人,,, c02_保卫科花名册7,把我的鞋子拿给老鼠,老鼠会引开那个疯男人,,,
c02_保卫科花名册8,不要相信墙里的东西!,,, c02_保卫科花名册8,不要相信墙里的东西!,,,

1 keys zh_CN _character _notes _tags
23 c02_保卫科花名册2 一零一五王守义 李兰
24 c02_保卫科花名册3 二零一二 张文开
25 c02_保卫科花名册4 二零一三 方启钊 方小蝉
26 c02_保卫科花名册5 三零一二(看不清) 三零一二 吕萍
27 c02_保卫科花名册6 三零一三(看不清)
28 c02_保卫科花名册7 把我的鞋子拿给老鼠,老鼠会引开那个疯男人
29 c02_保卫科花名册8 不要相信墙里的东西!

View File

@ -37,7 +37,7 @@
二零一二 张文开 [ID:c02_保卫科花名册3] 二零一二 张文开 [ID:c02_保卫科花名册3]
二零一三 方启钊 方小蝉 [ID:c02_保卫科花名册4] 二零一三 方启钊 方小蝉 [ID:c02_保卫科花名册4]
三零一二(看不清) [ID:c02_保卫科花名册5] 三零一二 吕萍 [ID:c02_保卫科花名册5]
三零一三(看不清) [ID:c02_保卫科花名册6] 三零一三(看不清) [ID:c02_保卫科花名册6]
把我的鞋子拿给老鼠,老鼠会引开那个疯男人 [ID:c02_保卫科花名册7] 把我的鞋子拿给老鼠,老鼠会引开那个疯男人 [ID:c02_保卫科花名册7]
不要相信墙里的东西! [ID:c02_保卫科花名册8] 不要相信墙里的东西! [ID:c02_保卫科花名册8]

View File

@ -163,13 +163,16 @@ c02_十几年前的报纸,十几年前的报纸,,,,,
c02_s02_大头娃娃头套,看着唬人,这尺寸只是给孩子们戴着玩的,,,,, c02_s02_大头娃娃头套,看着唬人,这尺寸只是给孩子们戴着玩的,,,,,
c02_s02_八音盒,自制的八音盒,这么用心的小玩意,怎么会被人扔在这里呢?,,,,, c02_s02_八音盒,自制的八音盒,这么用心的小玩意,怎么会被人扔在这里呢?,,,,,
c02_s02_八音盒缺人偶,别出心裁的小机关,缺了点东西,暂时还不能用,,,,, c02_s02_八音盒缺人偶,别出心裁的小机关,缺了点东西,暂时还不能用,,,,,
c02_院子_保卫科旁,这地方有些不对劲,最好先找个人问问,,,,,
c02_s03_干掉的血迹,血迹看上去干了很久,血脚印有大有小,咦,还有个特别小的...,,,,, c02_s03_干掉的血迹,血迹看上去干了很久,血脚印有大有小,咦,还有个特别小的...,,,,,
c02_院子_算命摊位,算命的摊位?,,,,, c02_院子_算命摊位,算命的摊位?,,,,,
c02_院子_要下雨,好像要下雨了?,,,,, c02_院子_要下雨,好像要下雨了?,,,,,
c02_s03_掉鞋子,怎么天上掉了个小鞋子下来?,,,,, c02_s03_掉鞋子,怎么天上掉了个小鞋子下来?,,,,,
c02_s03_铁门,被铁链锁住了,,,,, c02_s03_铁门,被铁链锁住了,,,,,
c02_保卫科花名册os,芦昌公寓居民登记簿,黄国栋记。,,,,, c02_偷听李癞对话后,三快三慢?是和那个肉铺老板交流的暗号吗?,,,,,
c02_保卫科花名册首次互动结束,3012上面有我的名字看来确实是这里...,,,,, c02_柜子可放置区域,这里之前放着的东西好像被人挪走了?,,,,,
c02_保卫科花名册os,登记簿?<br>刚才那个小孩在上面写了些什么,,,,,
c02_保卫科花名册首次互动结束,3012上面有我的名字看来确实是这里... <br>先去三楼看看吧,,,,,
c02_保卫科祭台os,祭台是专门供奉这只大老鼠的?,,,,, c02_保卫科祭台os,祭台是专门供奉这只大老鼠的?,,,,,
c02_保卫科老鼠精,鼠歌 <br><br>天地小如喉,<br>红轮自吞吐。<br>多少世间人,<br>都被红轮误。,,,,, c02_保卫科老鼠精,鼠歌 <br><br>天地小如喉,<br>红轮自吞吐。<br>多少世间人,<br>都被红轮误。,,,,,
c02_小手还能换什么,...还有什么东西能跟它交换呢?,,,,, c02_小手还能换什么,...还有什么东西能跟它交换呢?,,,,,
@ -182,11 +185,13 @@ c02_描述垃圾通道,桶是空的,飘着一股血气,又酸又腥。,,,,,
c02_一楼疯子互动后,这人有点不正常...最好离他远点。,,,,, c02_一楼疯子互动后,这人有点不正常...最好离他远点。,,,,,
c02_一楼粘鼠板,这里原来放着什么?,,,,, c02_一楼粘鼠板,这里原来放着什么?,,,,,
c02_一楼死老鼠,老鼠被粘住死掉了。,,,,, c02_一楼死老鼠,老鼠被粘住死掉了。,,,,,
c02_获得小猫玩具,小猫玩具亮起来了,这光...竟有一丝暖意,,,,, c02_获得木头人偶,怎么回事...头...好痛,,,,,
c02_获得小猫玩具,我的头,又开始痛了,,,,,
c02_小蝉头套文字,吕萍阿姨,我不想死,求你...帮帮我,,,,,
c02_敲门_肉掉落,楼道有东西掉下来了?,,,,, c02_敲门_肉掉落,楼道有东西掉下来了?,,,,,
c02_敲门_老鼠叼肉,刚刚这里有块肉不见了?,,,,, c02_敲门_老鼠叼肉,刚刚这里有块肉不见了?,,,,,
c02_锡箔换小鞋子,另一只小鞋子。,,,,, c02_锡箔换小鞋子,另一只小鞋子。,,,,,
c02_二楼楼梯杂物堆,堆满了杂物,看样子没办法从这里上去了。,,,,, c02_二楼楼梯杂物堆,去三楼的路被堵住了,要不先看看别的地方吧。,,,,,
c02_二楼水盆,盆里的水很清澈,看上去像是刚盛的。,,,,, c02_二楼水盆,盆里的水很清澈,看上去像是刚盛的。,,,,,
c02_二楼老鼠洞,到处都是老鼠洞,怕不是整栋楼都被老鼠打通了。,,,,, c02_二楼老鼠洞,到处都是老鼠洞,怕不是整栋楼都被老鼠打通了。,,,,,
c02_二楼血脚印,又是这种小小尖尖的血脚印...,,,,, c02_二楼血脚印,又是这种小小尖尖的血脚印...,,,,,

1 keys zh_CN _character _notes _tags zh_SH en
163 c02_s02_大头娃娃头套 看着唬人,这尺寸只是给孩子们戴着玩的
164 c02_s02_八音盒 自制的八音盒,这么用心的小玩意,怎么会被人扔在这里呢?
165 c02_s02_八音盒缺人偶 别出心裁的小机关,缺了点东西,暂时还不能用
166 c02_院子_保卫科旁 这地方有些不对劲,最好先找个人问问
167 c02_s03_干掉的血迹 血迹看上去干了很久,血脚印有大有小,咦,还有个特别小的...
168 c02_院子_算命摊位 算命的摊位?
169 c02_院子_要下雨 好像要下雨了?
170 c02_s03_掉鞋子 怎么天上掉了个小鞋子下来?
171 c02_s03_铁门 被铁链锁住了
172 c02_保卫科花名册os c02_偷听李癞对话后 芦昌公寓居民登记簿,黄国栋记。 三快三慢?是和那个肉铺老板交流的暗号吗?
173 c02_保卫科花名册首次互动结束 c02_柜子可放置区域 3012?上面有我的名字,看来确实是这里... 这里之前放着的东西好像被人挪走了?
174 c02_保卫科花名册os 登记簿?<br>刚才那个小孩在上面写了些什么
175 c02_保卫科花名册首次互动结束 3012?上面有我的名字,看来确实是这里... <br>先去三楼看看吧
176 c02_保卫科祭台os 祭台是专门供奉这只大老鼠的?
177 c02_保卫科老鼠精 鼠歌 <br><br>天地小如喉,<br>红轮自吞吐。<br>多少世间人,<br>都被红轮误。
178 c02_小手还能换什么 ...还有什么东西能跟它交换呢?
185 c02_一楼疯子互动后 这人有点不正常...最好离他远点。
186 c02_一楼粘鼠板 这里原来放着什么?
187 c02_一楼死老鼠 老鼠被粘住死掉了。
188 c02_获得小猫玩具 c02_获得木头人偶 小猫玩具亮起来了,这光...竟有一丝暖意 怎么回事...头...好痛
189 c02_获得小猫玩具 我的头,又开始痛了
190 c02_小蝉头套文字 吕萍阿姨,我不想死,求你...帮帮我
191 c02_敲门_肉掉落 楼道有东西掉下来了?
192 c02_敲门_老鼠叼肉 刚刚这里有块肉不见了?
193 c02_锡箔换小鞋子 另一只小鞋子。
194 c02_二楼楼梯杂物堆 堆满了杂物,看样子没办法从这里上去了。 去三楼的路被堵住了,要不先看看别的地方吧。
195 c02_二楼水盆 盆里的水很清澈,看上去像是刚盛的。
196 c02_二楼老鼠洞 到处都是老鼠洞,怕不是整栋楼都被老鼠打通了。
197 c02_二楼血脚印 又是这种小小尖尖的血脚印...

View File

@ -191,7 +191,7 @@
自制的八音盒,这么用心的小玩意,怎么会被人扔在这里呢? [ID:c02_s02_八音盒] 自制的八音盒,这么用心的小玩意,怎么会被人扔在这里呢? [ID:c02_s02_八音盒]
别出心裁的小机关,缺了点东西,暂时还不能用 [ID:c02_s02_八音盒缺人偶] 别出心裁的小机关,缺了点东西,暂时还不能用 [ID:c02_s02_八音盒缺人偶]
# c02 院子 # c02 院子
好像要下雨了? [ID:c02_院子_保卫科旁] 这地方有些不对劲,最好先找个人问问 [ID:c02_院子_保卫科旁]
血迹看上去干了很久,血脚印有大有小,咦,还有个特别小的... [ID:c02_s03_干掉的血迹] 血迹看上去干了很久,血脚印有大有小,咦,还有个特别小的... [ID:c02_s03_干掉的血迹]
算命的摊位? [ID:c02_院子_算命摊位] 算命的摊位? [ID:c02_院子_算命摊位]
好像要下雨了? [ID:c02_院子_要下雨] 好像要下雨了? [ID:c02_院子_要下雨]
@ -200,8 +200,8 @@
三快三慢?是和那个肉铺老板交流的暗号吗? [ID:c02_偷听李癞对话后] 三快三慢?是和那个肉铺老板交流的暗号吗? [ID:c02_偷听李癞对话后]
这里之前放着的东西好像被人挪走了? [ID:c02_柜子可放置区域] 这里之前放着的东西好像被人挪走了? [ID:c02_柜子可放置区域]
# c02 保卫科 # c02 保卫科
芦昌公寓居民登记簿,黄国栋记。 [ID:c02_保卫科花名册os] 登记簿?<br>刚才那个小孩在上面写了些什么 [ID:c02_保卫科花名册os]
3012上面有我的名字看来确实是这里... [ID:c02_保卫科花名册首次互动结束] 3012上面有我的名字看来确实是这里... <br>先去三楼看看吧[ID:c02_保卫科花名册首次互动结束]
祭台是专门供奉这只大老鼠的? [ID:c02_保卫科祭台os] 祭台是专门供奉这只大老鼠的? [ID:c02_保卫科祭台os]
鼠歌 <br><br>天地小如喉,<br>红轮自吞吐。<br>多少世间人,<br>都被红轮误。 [ID:c02_保卫科老鼠精] 鼠歌 <br><br>天地小如喉,<br>红轮自吞吐。<br>多少世间人,<br>都被红轮误。 [ID:c02_保卫科老鼠精]
# c02 小手 # c02 小手
@ -216,14 +216,17 @@
这人有点不正常...最好离他远点。 [ID:c02_一楼疯子互动后] 这人有点不正常...最好离他远点。 [ID:c02_一楼疯子互动后]
这里原来放着什么? [ID:c02_一楼粘鼠板] 这里原来放着什么? [ID:c02_一楼粘鼠板]
老鼠被粘住死掉了。 [ID:c02_一楼死老鼠] 老鼠被粘住死掉了。 [ID:c02_一楼死老鼠]
# c02 小猫玩具 怎么回事...头...好痛 [ID:c02_获得木头人偶]
小猫玩具亮起来了,这光...竟有一丝暖意 [ID:c02_获得小猫玩具]
# c02 空房间
我的头,又开始痛了 [ID:c02_获得小猫玩具]
吕萍阿姨,我不想死,求你...帮帮我 [ID:c02_小蝉头套文字]
# c02 敲门_老鼠叼肉 # c02 敲门_老鼠叼肉
楼道有东西掉下来了? [ID:c02_敲门_肉掉落] 楼道有东西掉下来了? [ID:c02_敲门_肉掉落]
刚刚这里有块肉不见了? [ID:c02_敲门_老鼠叼肉] 刚刚这里有块肉不见了? [ID:c02_敲门_老鼠叼肉]
# c02 二楼 # c02 二楼
另一只小鞋子。 [ID:c02_锡箔换小鞋子] 另一只小鞋子。 [ID:c02_锡箔换小鞋子]
堆满了杂物,看样子没办法从这里上去了。 [ID:c02_二楼楼梯杂物堆] 去三楼的路被堵住了,要不先看看别的地方吧。 [ID:c02_二楼楼梯杂物堆]
盆里的水很清澈,看上去像是刚盛的。 [ID:c02_二楼水盆] 盆里的水很清澈,看上去像是刚盛的。 [ID:c02_二楼水盆]
到处都是老鼠洞,怕不是整栋楼都被老鼠打通了。 [ID:c02_二楼老鼠洞] 到处都是老鼠洞,怕不是整栋楼都被老鼠打通了。 [ID:c02_二楼老鼠洞]
又是这种小小尖尖的血脚印... [ID:c02_二楼血脚印] 又是这种小小尖尖的血脚印... [ID:c02_二楼血脚印]

View File

@ -2772,13 +2772,28 @@ animations = [{
"duration": 1.0, "duration": 1.0,
"texture": ExtResource("524_5fksx") "texture": ExtResource("524_5fksx")
}, { }, {
"duration": 1.0, "duration": 3.0,
"texture": ExtResource("525_45h8i") "texture": ExtResource("525_45h8i")
}, { }, {
"duration": 1.0, "duration": 3.0,
"texture": ExtResource("526_fw42m") "texture": ExtResource("526_fw42m")
}, {
"duration": 3.0,
"texture": ExtResource("525_45h8i")
}, {
"duration": 3.0,
"texture": ExtResource("526_fw42m")
}, {
"duration": 1.0,
"texture": ExtResource("524_5fksx")
}, {
"duration": 1.0,
"texture": ExtResource("523_xhf7n")
}, {
"duration": 1.0,
"texture": ExtResource("522_1n12f")
}], }],
"loop": true, "loop": false,
"name": &"c02_吕萍_头痛蹲下", "name": &"c02_吕萍_头痛蹲下",
"speed": 8.0 "speed": 8.0
}, { }, {

View File

@ -219,12 +219,12 @@ func disable_prop_item(prop_key: String) -> void:
printerr("disable_prop_item PropHud node not found") printerr("disable_prop_item PropHud node not found")
func pop_os_with_str(translation_key: String, auto_lock := true, auto_unlock := true) -> void: func pop_os_with_str(translation_key: String) -> void:
var player = get_player() as MainPlayer var player = get_player() as MainPlayer
if player: if player:
var msg = tr(translation_key).replace("<br>", "\n") var msg = tr(translation_key).replace("<br>", "\n")
var lines = await Util.generate_lines(msg) var lines = await Util.generate_lines(msg)
player.pop_os(lines, auto_lock, auto_unlock) player.pop_os(lines)
else: else:
printerr("Player node not found") printerr("Player node not found")

View File

@ -104,6 +104,7 @@ folder_colors={
"res://asset/art/scene/": "pink", "res://asset/art/scene/": "pink",
"res://asset/audio/": "green", "res://asset/audio/": "green",
"res://asset/audio/sfx/": "green", "res://asset/audio/sfx/": "green",
"res://asset/shader/": "red",
"res://config/": "gray", "res://config/": "gray",
"res://manager/": "purple", "res://manager/": "purple",
"res://scene/": "purple", "res://scene/": "purple",

View File

@ -18,7 +18,7 @@ signal animation_finished
enable_light = val enable_light = val
if is_node_ready(): if is_node_ready():
light.enabled = enable_light light.enabled = enable_light
@export var catty_light_energy := 0.7 @export var catty_light_energy := 0.3
@export var lock_move_left := false @export var lock_move_left := false
@export var lock_move_right := false @export var lock_move_right := false
@export var reenter_lock: PlayerReenterLock @export var reenter_lock: PlayerReenterLock
@ -324,8 +324,8 @@ func _reset_os_and_light_position():
# shadow_y = size.y * 0.5 # shadow_y = size.y * 0.5
func pop_os(lines := [], auto_lock := true, auto_unlock := true) -> void: func pop_os(lines := []) -> void:
await os_pivot.pop_os(lines, auto_lock, auto_unlock) await os_pivot.pop_os(lines)
# animation -> offset_y # animation -> offset_y

View File

@ -41,8 +41,6 @@ size = Vector2(15, 180)
z_index = 5 z_index = 5
collision_mask = 2 collision_mask = 2
script = ExtResource("1_3a78y") script = ExtResource("1_3a78y")
catty_light_energy = 0.3
running_locked = true
metadata/_edit_vertical_guides_ = [-15.0, -3.0] metadata/_edit_vertical_guides_ = [-15.0, -3.0]
[node name="PointLight2D" type="PointLight2D" parent="."] [node name="PointLight2D" type="PointLight2D" parent="."]

View File

@ -49,6 +49,7 @@ var ANIMATION_CONFIG = {
15: [&"c00_吕萍_起立", Vector2.ONE, Vector2(20, -94.0)], 15: [&"c00_吕萍_起立", Vector2.ONE, Vector2(20, -94.0)],
# c00_吕萍_记笔记_right # c00_吕萍_记笔记_right
16: [&"", Vector2.ONE, Vector2(0, -50.0), &"", &"c00_吕萍_记笔记_right"], 16: [&"", Vector2.ONE, Vector2(0, -50.0), &"", &"c00_吕萍_记笔记_right"],
17: [&"", Vector2.ONE, Vector2(0, -50.0), &"c02_吕萍_头痛蹲下", &""],
}, },
"吕萍爬行": "吕萍爬行":
{ {

View File

@ -0,0 +1,31 @@
shader_type canvas_item;
render_mode blend_mix; // 直接覆盖,不做额外混合
// 调节参数
uniform float intensity : hint_range(0.0, 2.0) = 1.0; // 效果强度
uniform float speed : hint_range(0.0, 10.0) = 1.0; // 动画速度
uniform int samples : hint_range(1, 8) = 4; // 采样层数
uniform float angle_spread : hint_range(0.0, 3.14) = 1.0; // 各通道最大偏移角度
uniform sampler2D SCREEN_TEXTURE: hint_screen_texture, filter_linear_mipmap;
void fragment() {
// 屏幕 UV
vec2 uv = SCREEN_UV;
// 总颜色累加器
vec4 col = vec4(0.0);
// 动态参数
float t = TIME * speed;
// 多次采样叠加
for (int i = 0; i < samples; i++) {
// 每层一个角度偏移 + 时间抖动
float a = float(i) * (2.0 * PI / float(samples)) + sin(t + float(i)) * angle_spread;
// 偏移量向量,依据 intensity 控制幅度
vec2 offset = vec2(cos(a), sin(a)) * (0.005 * intensity);
col += texture(SCREEN_TEXTURE, uv + offset);
}
// 平均并输出
col /= float(samples);
COLOR = col;
}

View File

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

View File

@ -0,0 +1,20 @@
extends CanvasLayer
@onready var rect = $ColorRect as ColorRect
var tween
func dizzy(duration := 2.0):
if tween and tween.is_valid():
tween.kill()
show()
tween = create_tween()
tween.tween_property(rect.material, "shader_parameter/intensity", 0.7, 0.2)
tween.tween_property(rect.material, "shader_parameter/intensity", 1.3, 0.2)
if duration > 0.0:
tween.set_loops(max(duration / 0.4, 1))
else:
# infinite
tween.set_loops(10000)
tween.tween_callback(hide)

View File

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

View File

@ -0,0 +1,36 @@
[gd_scene load_steps=5 format=3 uid="uid://decfqoe5v0y6n"]
[ext_resource type="Shader" uid="uid://dmchh10qdaawj" path="res://scene/effect/dizzy.gdshader" id="1_qpmt5"]
[ext_resource type="Script" uid="uid://c1ps7symh0l3o" path="res://scene/effect/dizzy_shader.gd" id="1_t0l4c"]
[ext_resource type="Texture2D" uid="uid://bxv83fm0qgvjh" path="res://asset/art/ui/遮罩/头痛遮罩.png" id="2_1cuad"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_iylo4"]
shader = ExtResource("1_qpmt5")
shader_parameter/intensity = 1.0
shader_parameter/speed = 1.0
shader_parameter/samples = 4
shader_parameter/angle_spread = 1.0
[node name="DizzyShader" type="CanvasLayer"]
script = ExtResource("1_t0l4c")
[node name="TextureRect" 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("2_1cuad")
expand_mode = 1
stretch_mode = 5
[node name="ColorRect" type="ColorRect" parent="."]
visible = false
material = SubResource("ShaderMaterial_iylo4")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

View File

@ -7,7 +7,7 @@
[ext_resource type="Shader" uid="uid://cwuxtdwmhahhp" path="res://asset/shader/palette.gdshader" id="4_n5nu8"] [ext_resource type="Shader" uid="uid://cwuxtdwmhahhp" path="res://asset/shader/palette.gdshader" id="4_n5nu8"]
[ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="4_sglhm"] [ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="4_sglhm"]
[ext_resource type="Texture2D" uid="uid://36k1j0qw66tm" path="res://asset/shader/palette/bloodmoon21-1x.png" id="5_ios50"] [ext_resource type="Texture2D" uid="uid://36k1j0qw66tm" path="res://asset/shader/palette/bloodmoon21-1x.png" id="5_ios50"]
[ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog.tscn" id="7_7084x"] [ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog_shader.tscn" id="7_7084x"]
[ext_resource type="Material" uid="uid://7wllwmfkfvsb" path="res://asset/shader/cloud.tres" id="7_cmfij"] [ext_resource type="Material" uid="uid://7wllwmfkfvsb" path="res://asset/shader/cloud.tres" id="7_cmfij"]
[ext_resource type="Shader" uid="uid://3lssj7jwlhxl" path="res://asset/shader/chromatic_abberation.gdshader" id="8_b0unx"] [ext_resource type="Shader" uid="uid://3lssj7jwlhxl" path="res://asset/shader/chromatic_abberation.gdshader" id="8_b0unx"]
[ext_resource type="Texture2D" uid="uid://bmlhwa80lywa3" path="res://asset/art/ui/inverted_point_light_masks/000.png" id="8_v5h2g"] [ext_resource type="Texture2D" uid="uid://bmlhwa80lywa3" path="res://asset/art/ui/inverted_point_light_masks/000.png" id="8_v5h2g"]

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=5 format=3 uid="uid://bwce0niymxrou"] [gd_scene load_steps=5 format=3 uid="uid://bwce0niymxrou"]
[ext_resource type="Texture2D" uid="uid://bhl1b5ren8emk" path="res://scene/effect/smoke.png" id="1_705e3"] [ext_resource type="Texture2D" uid="uid://bhl1b5ren8emk" path="res://scene/effect/smoke.png" id="1_8lkq7"]
[sub_resource type="Curve" id="Curve_r8ddf"] [sub_resource type="Curve" id="Curve_r8ddf"]
_limits = [-2.0, 2.0, -1.0, 1.0] _limits = [-2.0, 2.0, -1.0, 1.0]
@ -20,7 +20,7 @@ colors = PackedColorArray(0, 0, 0, 0.501961, 0.199732, 0.199732, 0.199732, 1, 0.
[node name="CPUParticles2D" type="CPUParticles2D" parent="."] [node name="CPUParticles2D" type="CPUParticles2D" parent="."]
amount = 200 amount = 200
texture = ExtResource("1_705e3") texture = ExtResource("1_8lkq7")
speed_scale = 0.15 speed_scale = 0.15
emission_shape = 1 emission_shape = 1
emission_sphere_radius = 12.0 emission_sphere_radius = 12.0

View File

@ -7,7 +7,7 @@
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_q18ff"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_q18ff"]
[ext_resource type="PackedScene" uid="uid://c4tipnj1cr1j3" path="res://scene/entity/ux/sign.tscn" id="4_do8tr"] [ext_resource type="PackedScene" uid="uid://c4tipnj1cr1j3" path="res://scene/entity/ux/sign.tscn" id="4_do8tr"]
[ext_resource type="FontVariation" uid="uid://1ryw42kej6lv" path="res://config/font_ui.tres" id="7_ianbs"] [ext_resource type="FontVariation" uid="uid://1ryw42kej6lv" path="res://config/font_ui.tres" id="7_ianbs"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="7_xawjo"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="7_xawjo"]
[ext_resource type="Script" uid="uid://cnt01hiw52bmn" path="res://scene/entity/ux/sign_snapper.gd" id="10_mtbvd"] [ext_resource type="Script" uid="uid://cnt01hiw52bmn" path="res://scene/entity/ux/sign_snapper.gd" id="10_mtbvd"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4fuic"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_4fuic"]

View File

@ -22,7 +22,7 @@ func _ready() -> void:
os_pausing_timer.timeout.connect(_on_os_line_timeout) os_pausing_timer.timeout.connect(_on_os_line_timeout)
func pop_os(lines := [], auto_lock := true, auto_unlock := true) -> void: func pop_os(lines := []) -> void:
if os_tween: if os_tween:
os_tween.kill() os_tween.kill()
os_finish_emit_lock.lock() os_finish_emit_lock.lock()
@ -30,12 +30,11 @@ func pop_os(lines := [], auto_lock := true, auto_unlock := true) -> void:
os_finished.emit() os_finished.emit()
os_finished_not_emitted = true os_finished_not_emitted = true
os_finish_emit_lock.unlock() os_finish_emit_lock.unlock()
if auto_lock: SceneManager.lock_player()
SceneManager.lock_player() # os_finished 必然发送,防止 tween 被 kill保证一定 unlock
if auto_unlock: if os_finished.is_connected(SceneManager.unlock_player):
# os_finished 必然发送,防止 tween 被 kill保证一定 unlock SceneManager.unlock_player()
if os_finished.is_connected(SceneManager.unlock_player): else:
SceneManager.unlock_player()
os_finished.connect(SceneManager.unlock_player, CONNECT_ONE_SHOT) os_finished.connect(SceneManager.unlock_player, CONNECT_ONE_SHOT)
os_tween = create_tween() os_tween = create_tween()
os_label.text = "" os_label.text = ""
@ -70,7 +69,7 @@ func _on_os_line_timeout(naturally := true):
if os_label.is_typing: if os_label.is_typing:
os_label.skip_typing() os_label.skip_typing()
return return
if os_tween.is_valid(): if os_tween and os_tween.is_valid():
os_tween.play() os_tween.play()

View File

@ -16,10 +16,11 @@ var dialogue_c06 := preload("res://asset/dialogue/c06.dialogue") as DialogueReso
# event 也混合其中 # event 也混合其中
@export var debug_global_data: Dictionary[String, Variant] = { @export var debug_global_data: Dictionary[String, Variant] = {
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"], "enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"],
"player_x": 30.0,
} }
@export var debug_ground_data: Dictionary[String, Variant] = {} @export var debug_ground_data: Dictionary[String, Variant] = {}
@export var auto_reset_on_debug_restarting := true @export var auto_reset_on_debug_restarting := false
@export_tool_button("reset 存档") var reset_archive = _reset_archive @export_tool_button("reset 存档") var reset_archive = _reset_archive
var oneshot_animation := "" var oneshot_animation := ""
@ -69,6 +70,7 @@ func _reset_archive() -> void:
ResourceLoader.load("user://data/archives/save000.tres", "AssembledArchive") ResourceLoader.load("user://data/archives/save000.tres", "AssembledArchive")
as AssembledArchive as AssembledArchive
) )
archive.player_global_position_x = debug_global_data.get_or_add("player_x", 30.0)
# 重置全局变量 # 重置全局变量
var prop_arr = archive.prop_inventory.default_enabled_items var prop_arr = archive.prop_inventory.default_enabled_items
if get_node("../MainPlayer").character.begins_with("吕萍"): if get_node("../MainPlayer").character.begins_with("吕萍"):
@ -128,6 +130,7 @@ func _reset_archive() -> void:
ResourceSaver.save(archive) ResourceSaver.save(archive)
notify_property_list_changed() notify_property_list_changed()
func _setup_ground_data(g_data: Dictionary[String, Variant], node: Node): func _setup_ground_data(g_data: Dictionary[String, Variant], node: Node):
if not node: if not node:
return return
@ -138,6 +141,8 @@ func _setup_ground_data(g_data: Dictionary[String, Variant], node: Node):
g_data[child.name] = {"interacted_times": 0} g_data[child.name] = {"interacted_times": 0}
elif child is Pickable2D and not g_data.has(child.name): elif child is Pickable2D and not g_data.has(child.name):
g_data[child.name] = {"picked": false} g_data[child.name] = {"picked": false}
elif child is AnimationRoot and not g_data.has(child.name):
g_data[child.name] = child.data
_setup_ground_data(g_data, child) _setup_ground_data(g_data, child)

View File

@ -24,7 +24,7 @@
[ext_resource type="AudioStream" uid="uid://cwq0jaa708tf1" path="res://asset/audio/sfx/环境音/序章/02_孤儿院走廊_秋千声音.wav" id="12_huyl5"] [ext_resource type="AudioStream" uid="uid://cwq0jaa708tf1" path="res://asset/audio/sfx/环境音/序章/02_孤儿院走廊_秋千声音.wav" id="12_huyl5"]
[ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="12_idjp0"] [ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="12_idjp0"]
[ext_resource type="AudioStream" uid="uid://mfu0btujldql" path="res://asset/audio/sfx/环境音/序章/02_孤儿院走廊_跷跷板声音.wav" id="13_phmvd"] [ext_resource type="AudioStream" uid="uid://mfu0btujldql" path="res://asset/audio/sfx/环境音/序章/02_孤儿院走廊_跷跷板声音.wav" id="13_phmvd"]
[ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog.tscn" id="14_d5def"] [ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog_shader.tscn" id="14_d5def"]
[ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="15_22a7a"] [ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="15_22a7a"]
[ext_resource type="Texture2D" uid="uid://b7gyapghy3tsy" path="res://asset/art/neutral_point_light.png" id="15_q7j0p"] [ext_resource type="Texture2D" uid="uid://b7gyapghy3tsy" path="res://asset/art/neutral_point_light.png" id="15_q7j0p"]
[ext_resource type="AudioStream" uid="uid://bv7std2s8bb0p" path="res://asset/audio/sfx/环境音/序章/童谣.wav" id="15_qq2uh"] [ext_resource type="AudioStream" uid="uid://bv7std2s8bb0p" path="res://asset/audio/sfx/环境音/序章/童谣.wav" id="15_qq2uh"]

View File

@ -6,7 +6,7 @@
[ext_resource type="Texture2D" uid="uid://bbuskt4kwkwpl" path="res://asset/art/scene/c01/s07_书店外/bg_书店外_黄昏.png" id="3_l7171"] [ext_resource type="Texture2D" uid="uid://bbuskt4kwkwpl" path="res://asset/art/scene/c01/s07_书店外/bg_书店外_黄昏.png" id="3_l7171"]
[ext_resource type="AudioStream" uid="uid://cxwvfeuq4o71o" path="res://asset/audio/sfx/环境音/序章/03_书店外黄昏.wav" id="3_na2nu"] [ext_resource type="AudioStream" uid="uid://cxwvfeuq4o71o" path="res://asset/audio/sfx/环境音/序章/03_书店外黄昏.wav" id="3_na2nu"]
[ext_resource type="Texture2D" uid="uid://dklacql2hdtwv" path="res://asset/art/scene/c01/s07_书店外/e_装饰 书店外黄昏.png" id="4_8do8y"] [ext_resource type="Texture2D" uid="uid://dklacql2hdtwv" path="res://asset/art/scene/c01/s07_书店外/e_装饰 书店外黄昏.png" id="4_8do8y"]
[ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog.tscn" id="4_62isb"] [ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog_shader.tscn" id="4_62isb"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_c7jb6"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="4_c7jb6"]
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="4_ulvsd"] [ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="4_ulvsd"]
[ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="5_3pha1"] [ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="5_3pha1"]

View File

@ -13,7 +13,7 @@
[ext_resource type="AudioStream" uid="uid://c1orqd7uxh8iu" path="res://asset/audio/sfx/环境音/序章/05_诡异通用_2.wav" id="6_lrqbi"] [ext_resource type="AudioStream" uid="uid://c1orqd7uxh8iu" path="res://asset/audio/sfx/环境音/序章/05_诡异通用_2.wav" id="6_lrqbi"]
[ext_resource type="AudioStream" uid="uid://dxnsyw7box2w0" path="res://asset/audio/sfx/交互/序章/sfx_鬼影浮现.wav" id="7_5sju7"] [ext_resource type="AudioStream" uid="uid://dxnsyw7box2w0" path="res://asset/audio/sfx/交互/序章/sfx_鬼影浮现.wav" id="7_5sju7"]
[ext_resource type="Texture2D" uid="uid://dol25yn3fixim" path="res://asset/art/fog_mask.png" id="7_828bq"] [ext_resource type="Texture2D" uid="uid://dol25yn3fixim" path="res://asset/art/fog_mask.png" id="7_828bq"]
[ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog.tscn" id="7_wrhtk"] [ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog_shader.tscn" id="7_wrhtk"]
[ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="8_0ohlv"] [ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="8_0ohlv"]
[ext_resource type="AudioStream" uid="uid://c5rgfl6ub4chw" path="res://asset/audio/sfx/交互/序章/sfx_鬼差擦肩而过.wav" id="8_sq0x2"] [ext_resource type="AudioStream" uid="uid://c5rgfl6ub4chw" path="res://asset/audio/sfx/交互/序章/sfx_鬼差擦肩而过.wav" id="8_sq0x2"]
[ext_resource type="SpriteFrames" uid="uid://c2peyi2l65h47" path="res://asset/art/gif/c01_公寓外街道/c01_公寓外街道_frames.tres" id="10_0ohlv"] [ext_resource type="SpriteFrames" uid="uid://c2peyi2l65h47" path="res://asset/art/gif/c01_公寓外街道/c01_公寓外街道_frames.tres" id="10_0ohlv"]
@ -72,7 +72,6 @@ script = ExtResource("2_u053j")
oneshot_animation = "" oneshot_animation = ""
[node name="花枯萎音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"] [node name="花枯萎音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
process_mode = 1
stream = ExtResource("3_b5sdk") stream = ExtResource("3_b5sdk")
volume_db = -8.0 volume_db = -8.0
autoplay = true autoplay = true
@ -118,9 +117,19 @@ portal_name = "2"
target_scene = "c01_s10" target_scene = "c01_s10"
target_portal = "left" target_portal = "left"
[node name="SfxDefault" parent="Ground/DeployLayer/portal_2" index="0"]
process_mode = 0
[node name="SfxOpen" parent="Ground/DeployLayer/portal_2" index="1"]
process_mode = 0
[node name="SfxEnter" parent="Ground/DeployLayer/portal_2" index="2"] [node name="SfxEnter" parent="Ground/DeployLayer/portal_2" index="2"]
process_mode = 0
stream = null stream = null
[node name="SfxLocked" parent="Ground/DeployLayer/portal_2" index="3"]
process_mode = 0
[node name="Sign" parent="Ground/DeployLayer/portal_2" index="4"] [node name="Sign" parent="Ground/DeployLayer/portal_2" index="4"]
enabled = true enabled = true

View File

@ -18,6 +18,9 @@ scene_name = "c01_s10"
[node name="AnimationPlayer" parent="Ground" index="0"] [node name="AnimationPlayer" parent="Ground" index="0"]
script = ExtResource("2_4kx83") script = ExtResource("2_4kx83")
debug_global_data = Dictionary[String, Variant]({
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"]
})
oneshot_animation = "" oneshot_animation = ""
[node name="背景音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"] [node name="背景音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]

View File

@ -155,6 +155,9 @@ libraries = {
&"": SubResource("AnimationLibrary_6ojod") &"": SubResource("AnimationLibrary_6ojod")
} }
script = ExtResource("2_espm6") script = ExtResource("2_espm6")
debug_global_data = Dictionary[String, Variant]({
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"]
})
oneshot_animation = "" oneshot_animation = ""
[node name="黄包车Sfx" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"] [node name="黄包车Sfx" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]

View File

@ -23,7 +23,7 @@
[ext_resource type="SpriteFrames" uid="uid://cvkuw35ulebme" path="res://asset/art/gif/c01_书店外街道/c01_书店外街道_frames.tres" id="13_lucm6"] [ext_resource type="SpriteFrames" uid="uid://cvkuw35ulebme" path="res://asset/art/gif/c01_书店外街道/c01_书店外街道_frames.tres" id="13_lucm6"]
[ext_resource type="SpriteFrames" uid="uid://db7m3aks5w65j" path="res://asset/art/gif/c01_书店外街道_夜晚小孩害怕/c01_书店外街道_夜晚小孩害怕_frames.tres" id="14_7jjl5"] [ext_resource type="SpriteFrames" uid="uid://db7m3aks5w65j" path="res://asset/art/gif/c01_书店外街道_夜晚小孩害怕/c01_书店外街道_夜晚小孩害怕_frames.tres" id="14_7jjl5"]
[ext_resource type="PackedScene" uid="uid://b50n0hvs4yh75" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.tscn" id="14_ct084"] [ext_resource type="PackedScene" uid="uid://b50n0hvs4yh75" path="res://addons/property-inspector/pro_animation_sprite2d/pro_animated_sprite.tscn" id="14_ct084"]
[ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog.tscn" id="15_pvvjq"] [ext_resource type="PackedScene" uid="uid://bicuc35kbn8hd" path="res://scene/effect/fog_shader.tscn" id="15_pvvjq"]
[ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="16_guu7t"] [ext_resource type="Shader" uid="uid://bcfnbll451i2r" path="res://asset/shader/fog.gdshader" id="16_guu7t"]
[ext_resource type="Texture2D" uid="uid://b7gyapghy3tsy" path="res://asset/art/neutral_point_light.png" id="17_nta2f"] [ext_resource type="Texture2D" uid="uid://b7gyapghy3tsy" path="res://asset/art/neutral_point_light.png" id="17_nta2f"]
[ext_resource type="Texture2D" uid="uid://dol25yn3fixim" path="res://asset/art/fog_mask.png" id="19_7jjl5"] [ext_resource type="Texture2D" uid="uid://dol25yn3fixim" path="res://asset/art/fog_mask.png" id="19_7jjl5"]

View File

@ -24,6 +24,9 @@ data = {
"oneshot_animation_played": false, "oneshot_animation_played": false,
"received_letter": false "received_letter": false
} }
debug_global_data = Dictionary[String, Variant]({
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"]
})
oneshot_animation = "" oneshot_animation = ""
[node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"] [node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"]

View File

@ -62,6 +62,9 @@ data = {
"flyer_shaven": false, "flyer_shaven": false,
"oneshot_animation_played": false "oneshot_animation_played": false
} }
debug_global_data = Dictionary[String, Variant]({
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"]
})
oneshot_animation = "" oneshot_animation = ""
[node name="冷飕飕Sfx" parent="Ground/AnimationPlayer" index="0" instance=ExtResource("3_fvldj")] [node name="冷飕飕Sfx" parent="Ground/AnimationPlayer" index="0" instance=ExtResource("3_fvldj")]

View File

@ -65,17 +65,16 @@ func _on_ground_ready() -> void:
$"../DirectionalLight2D".energy = 0 $"../DirectionalLight2D".energy = 0
madman_npc = $"../DeployLayer/Npc井边疯子" madman_npc = $"../DeployLayer/Npc井边疯子"
madman_npc.visible = false
# c02_madman_hitwall 之后, c02_ball_game_stage==3游戏结束 之前;同时 eavesdrop_finished # c02_madman_hitwall 之后, c02_ball_game_stage==3游戏结束 之前;同时 eavesdrop_finished
if ( if (
ArchiveManager.get_global_value(&"c02_madman_hitwall") ArchiveManager.get_global_value(&"c02_ball_game_stage", 0) < 3
and ArchiveManager.get_global_value(&"c02_ball_game_stage", 0) < 3 # and ArchiveManager.get_global_value(&"c02_eavesdrop_finished")
and ArchiveManager.get_global_value(&"c02_eavesdrop_finished")
): ):
madman_npc.visible = true if not ArchiveManager.get_global_value("c02_watched_the_well"):
madman_npc.get_node("StaticBody2D/CollisionShape2D").disabled = false $"../DeployLayer/Closeup井".exit.connect(func(_arg): madman_npc.visible = true)
else: else:
madman_npc.visible = false madman_npc.visible = true
madman_npc.get_node("StaticBody2D/CollisionShape2D").disabled = true
if ArchiveManager.get_global_value(&"c02_the_blind_room_unlocked"): if ArchiveManager.get_global_value(&"c02_the_blind_room_unlocked"):
# 奠字 + 纸钱 # 奠字 + 纸钱
@ -190,7 +189,6 @@ func eavesdrop() -> void:
SceneManager.unlock_player() SceneManager.unlock_player()
func _setup_bully_or_burning(reenter_scene := false): func _setup_bully_or_burning(reenter_scene := false):
if not ArchiveManager.get_global_value(&"c02_eavesdrop_finished"): if not ArchiveManager.get_global_value(&"c02_eavesdrop_finished"):
# 弹珠游戏结束后就开始霸凌,此时禁止偷听。第一章结束后(火灾结束),第二章再偷听 # 弹珠游戏结束后就开始霸凌,此时禁止偷听。第一章结束后(火灾结束),第二章再偷听
@ -261,6 +259,7 @@ func bully_end():
func block_right_move(): func block_right_move():
SceneManager.pop_os_with_str("c02_点火前阻止右移") SceneManager.pop_os_with_str("c02_点火前阻止右移")
# var count_down_tween:Tween # var count_down_tween:Tween
# func count_down(): # func count_down():

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=80 format=3 uid="uid://djc2uaefhmu7"] [gd_scene load_steps=79 format=3 uid="uid://djc2uaefhmu7"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_0dylx"] [ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_0dylx"]
[ext_resource type="Script" uid="uid://dsp5plrdkrsd7" path="res://scene/ground/scene/c02/s03_院子.gd" id="2_dt5aj"] [ext_resource type="Script" uid="uid://dsp5plrdkrsd7" path="res://scene/ground/scene/c02/s03_院子.gd" id="2_dt5aj"]
@ -226,8 +226,6 @@ animations = [{
"speed": 4.0 "speed": 4.0
}] }]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bbhbr"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_d7h4s"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_d7h4s"]
size = Vector2(10, 50) size = Vector2(10, 50)
@ -287,6 +285,76 @@ data = {
"camera_played": false, "camera_played": false,
"oneshot_animation_played": false "oneshot_animation_played": false
} }
debug_global_data = Dictionary[String, Variant]({
"c02_ball_game_stage": 1,
"c02_burning": false,
"c02_burning_end": 0,
"c02_counter_pushed_out": false,
"c02_eavesdrop_finished": false,
"c02_madman_hitwall": false,
"c02_madman_interacted": false,
"c02_open_gate_first_failed": false,
"c02_ready_to_fire": false,
"c02_the_blind_room_unlocked": false,
"c02_watched_the_well": false,
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"],
"handnote_stage": 0,
"player_x": 2030.0
})
debug_ground_data = Dictionary[String, Variant]({
"Ambush保卫科旁边os": {
"played": false
},
"Ambush偷听对话": {
"played": false
},
"Ambush惊悚闪电": {
"played": false
},
"Ambush点火游戏阻挡右移": {
"played": false
},
"Ambush等待的小蝉": {
"played": false
},
"Ambush要下雨了": {
"played": false
},
"Ambush闷雷纸人": {
"played": false
},
"Ambush霸凌": {
"played": false
},
"AnimationPlayer": {
"camera_played": false,
"oneshot_animation_played": false
},
"Closeup井": {
"interacted_times": 0
},
"Closeup敲门游戏": {
"interacted_times": 0
},
"Interactable柜子": {
"interacted_times": 0
},
"Interactable铁门": {
"interacted_times": 0
},
"Pickable小鞋子": {
"picked": false
},
"煤油灯": {
"interacted_times": 0
},
"煤油灯2": {
"interacted_times": 0
},
"煤油灯3": {
"interacted_times": 0
}
})
oneshot_animation = "" oneshot_animation = ""
[node name="Sfx闷雷" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"] [node name="Sfx闷雷" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]
@ -603,28 +671,28 @@ position = Vector2(466, 3)
packed_scene = ExtResource("24_0o4rt") packed_scene = ExtResource("24_0o4rt")
collision_width_and_x = Vector2(40, 0) collision_width_and_x = Vector2(40, 0)
[node name="Closeup井" parent="Ground/DeployLayer" index="24" instance=ExtResource("23_81juy")] [node name="Ambush惊悚闪电" parent="Ground/DeployLayer" index="24" instance=ExtResource("25_iyaiw")]
z_index = 6
position = Vector2(2063, 50)
packed_scene = ExtResource("26_yy4fp")
action_key = 3
[node name="Ambush惊悚闪电" parent="Ground/DeployLayer" index="25" instance=ExtResource("25_iyaiw")]
position = Vector2(1319, 40) position = Vector2(1319, 40)
hook_method = "shocking_lighting" hook_method = "shocking_lighting"
[node name="Ambush偷听对话" parent="Ground/DeployLayer" index="26" instance=ExtResource("25_iyaiw")] [node name="Ambush偷听对话" parent="Ground/DeployLayer" index="25" instance=ExtResource("25_iyaiw")]
position = Vector2(1836, 7) position = Vector2(1836, 7)
trigger_mode = "interact" trigger_mode = "interact"
one_shot = false one_shot = false
hook_method = "eavesdrop" hook_method = "eavesdrop"
[node name="李氏赖子房间人影" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="27"] [node name="李氏赖子房间人影" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="26"]
position = Vector2(1835, -16) position = Vector2(1835, -16)
sprite_frames = SubResource("SpriteFrames_0o4rt") sprite_frames = SubResource("SpriteFrames_0o4rt")
autoplay = "default" autoplay = "default"
frame_progress = 0.643855 frame_progress = 0.643855
[node name="Closeup井" parent="Ground/DeployLayer" index="27" instance=ExtResource("23_81juy")]
z_index = 6
position = Vector2(2063, 50)
packed_scene = ExtResource("26_yy4fp")
action_key = 3
[node name="Npc井边疯子" parent="Ground/DeployLayer" index="28" instance=ExtResource("35_plfv5")] [node name="Npc井边疯子" parent="Ground/DeployLayer" index="28" instance=ExtResource("35_plfv5")]
z_index = 10 z_index = 10
position = Vector2(2037, 67) position = Vector2(2037, 67)
@ -639,15 +707,6 @@ sign_x_offset = -2.0
collision_width_and_x = Vector2(37.08, 0) collision_width_and_x = Vector2(37.08, 0)
dialogue_title = "c02_井边疯子对话" dialogue_title = "c02_井边疯子对话"
[node name="StaticBody2D" type="StaticBody2D" parent="Ground/DeployLayer/Npc井边疯子"]
position = Vector2(11, 7)
collision_layer = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/DeployLayer/Npc井边疯子/StaticBody2D"]
position = Vector2(-11, -3)
shape = SubResource("RectangleShape2D_bbhbr")
disabled = true
[node name="霸凌" type="Node2D" parent="Ground/DeployLayer" index="29"] [node name="霸凌" type="Node2D" parent="Ground/DeployLayer" index="29"]
visible = false visible = false
position = Vector2(2154, 60) position = Vector2(2154, 60)

View File

@ -38,6 +38,31 @@ data = {
"oneshot_animation_played": false, "oneshot_animation_played": false,
"tin_coin_collected": false "tin_coin_collected": false
} }
debug_global_data = Dictionary[String, Variant]({
"c02_tin_coin_taken": 0,
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"]
})
debug_ground_data = Dictionary[String, Variant]({
"AnimationPlayer": {
"oneshot_animation_played": false,
"tin_coin_collected": false
},
"Closeup折锡纸": {
"interacted_times": 0
},
"Closeup老鼠精": {
"interacted_times": 0
},
"Closeup花名册": {
"interacted_times": 0
},
"Pickable元宝": {
"picked": false
},
"煤油灯": {
"interacted_times": 0
}
})
oneshot_animation = "" oneshot_animation = ""
[node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"] [node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"]

View File

@ -72,7 +72,25 @@ func xiaochan_disappear():
func wood_puppet() -> void: func wood_puppet() -> void:
SceneManager.lock_player()
SceneManager.enable_prop_item("prop_木头人偶") SceneManager.enable_prop_item("prop_木头人偶")
await SceneManager.get_inspector().quit_and_hidden
SceneManager.pop_os_with_str("c02_获得木头人偶")
SceneManager.player_action(17, true)
$"Sfx头痛耳鸣".play()
$"../DeployLayer/DizzyShader".dizzy()
# SceneManager.get_camera_marker().shake_camera()
await Util.wait(2.5)
# TODO 更新 Sfx记忆闪回音
$"Sfx记忆闪回音效".play()
# 白色转场
await SceneManager.toggle_ground_mask(true, 3.0, 1.5, Color.WHITE).finished
SceneManager.toggle_ground_mask(false, 2.0, 1.0, Color.WHITE)
var closeup = $"../DeployLayer/Closeup拿人偶后记忆闪回" as Closeup2D
closeup.display()
SceneManager.unlock_player()
await closeup.exit
$"Sfx记忆闪回音效".easing_kill()
func bucket_meat() -> void: func bucket_meat() -> void:

View File

@ -1,16 +1,19 @@
[gd_scene load_steps=39 format=3 uid="uid://cp8d3ag5nbjq0"] [gd_scene load_steps=43 format=3 uid="uid://cp8d3ag5nbjq0"]
[ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_6w6et"] [ext_resource type="PackedScene" uid="uid://dayyx4jerj7io" path="res://scene/ground/ground.tscn" id="1_6w6et"]
[ext_resource type="Script" uid="uid://dydpmjpcvt3v1" path="res://scene/ground/scene/c02/s05_一楼内侧楼道.gd" id="2_70lf6"] [ext_resource type="Script" uid="uid://dydpmjpcvt3v1" path="res://scene/ground/scene/c02/s05_一楼内侧楼道.gd" id="2_70lf6"]
[ext_resource type="Script" uid="uid://cpejxlfni6n52" path="res://manager/audio_manager/vibe_sfx.gd" id="3_laquj"] [ext_resource type="Script" uid="uid://cpejxlfni6n52" path="res://manager/audio_manager/vibe_sfx.gd" id="3_laquj"]
[ext_resource type="Texture2D" uid="uid://dbtepltemtmy2" path="res://asset/art/scene/c02/s05_一楼内侧楼道/bg_楼道背景.png" id="3_rcuxq"] [ext_resource type="Texture2D" uid="uid://dbtepltemtmy2" path="res://asset/art/scene/c02/s05_一楼内侧楼道/bg_楼道背景.png" id="3_rcuxq"]
[ext_resource type="AudioStream" uid="uid://b8sbtn3l37uh" path="res://asset/audio/sfx/旧版/c02/红屏.mp3" id="4_iylo4"]
[ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="4_tueh3"] [ext_resource type="PackedScene" uid="uid://61pis75a8fdq" path="res://scene/entity/portal.tscn" id="4_tueh3"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="5_74b3r"]
[ext_resource type="SpriteFrames" uid="uid://3nas025c2c5u" path="res://asset/art/gif/c02_杂项/c02_杂项_frames.tres" id="7_mrltr"] [ext_resource type="SpriteFrames" uid="uid://3nas025c2c5u" path="res://asset/art/gif/c02_杂项/c02_杂项_frames.tres" id="7_mrltr"]
[ext_resource type="Texture2D" uid="uid://bn47plsx5coug" path="res://asset/art/scene/c02/s05_一楼内侧楼道/l_煤油灯光效.png" id="8_mrltr"] [ext_resource type="Texture2D" uid="uid://bn47plsx5coug" path="res://asset/art/scene/c02/s05_一楼内侧楼道/l_煤油灯光效.png" id="8_mrltr"]
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="8_rcuxq"] [ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="8_rcuxq"]
[ext_resource type="Texture2D" uid="uid://by506ky6fprab" path="res://asset/art/scene/c02/s07_二楼内侧楼道/fg_前景.png" id="8_tueh3"] [ext_resource type="Texture2D" uid="uid://by506ky6fprab" path="res://asset/art/scene/c02/s07_二楼内侧楼道/fg_前景.png" id="8_tueh3"]
[ext_resource type="PackedScene" uid="uid://0sofmhrl358m" path="res://scene/entity/npc.tscn" id="9_8t4w6"] [ext_resource type="PackedScene" uid="uid://0sofmhrl358m" path="res://scene/entity/npc.tscn" id="9_8t4w6"]
[ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="10_2yvhw"] [ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="10_2yvhw"]
[ext_resource type="PackedScene" uid="uid://b4ilxht544qxu" path="res://scene/ground/script/c02/拿人偶后记忆闪回.tscn" id="10_7mq0m"]
[ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="10_8t4w6"] [ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="10_8t4w6"]
[ext_resource type="PackedScene" uid="uid://c1vrp1o8ci512" path="res://scene/ground/script/c02/戏台特写.tscn" id="11_2yvhw"] [ext_resource type="PackedScene" uid="uid://c1vrp1o8ci512" path="res://scene/ground/script/c02/戏台特写.tscn" id="11_2yvhw"]
[ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="13_uj0pt"] [ext_resource type="PackedScene" uid="uid://cw3q5pvciumil" path="res://scene/entity/interactable.tscn" id="13_uj0pt"]
@ -26,6 +29,7 @@
[ext_resource type="Script" uid="uid://jarjchqsx4u1" path="res://scene/ground/script/c02/event小蝉哼歌.gd" id="23_4c54f"] [ext_resource type="Script" uid="uid://jarjchqsx4u1" path="res://scene/ground/script/c02/event小蝉哼歌.gd" id="23_4c54f"]
[ext_resource type="AudioStream" uid="uid://bhaws2ungqaf5" path="res://asset/audio/sfx/交互/角色/sfx_哼歌.ogg" id="24_7mq0m"] [ext_resource type="AudioStream" uid="uid://bhaws2ungqaf5" path="res://asset/audio/sfx/交互/角色/sfx_哼歌.ogg" id="24_7mq0m"]
[ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="25_4k6pw"] [ext_resource type="Script" uid="uid://wapo47a1oddf" path="res://scene/entity/audio/sfx2d.gd" id="25_4k6pw"]
[ext_resource type="PackedScene" uid="uid://decfqoe5v0y6n" path="res://scene/effect/dizzy_shader.tscn" id="29_74b3r"]
[sub_resource type="AnimationLibrary" id="AnimationLibrary_n48fn"] [sub_resource type="AnimationLibrary" id="AnimationLibrary_n48fn"]
@ -112,6 +116,41 @@ data = {
"has_entered": false, "has_entered": false,
"oneshot_animation_played": false "oneshot_animation_played": false
} }
debug_global_data = Dictionary[String, Variant]({
"c02_madman_hitwall": true,
"c02_madman_interacted": 0,
"c02_meat_dropping": false,
"c02_meat_given": false,
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"],
"player_x": 30.0
})
debug_ground_data = Dictionary[String, Variant]({
"Ambush小蝉消失": {
"played": false
},
"Ambush杂物堆": {
"played": false
},
"Ambush老鼠叼肉": {
"played": false
},
"AnimationPlayer": {
"has_entered": false,
"oneshot_animation_played": false
},
"Closeup戏台": {
"interacted_times": 0
},
"Closeup拿人偶后记忆闪回": {
"interacted_times": 0
},
"Interactable粘鼠板": {
"interacted_times": 0
},
"Pickable掉落的肉": {
"picked": false
}
})
oneshot_animation = "" oneshot_animation = ""
[node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"] [node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"]
@ -119,6 +158,17 @@ script = ExtResource("3_laquj")
autoplay_group = &"c02_楼道1" autoplay_group = &"c02_楼道1"
metadata/_custom_type_script = "uid://cpejxlfni6n52" metadata/_custom_type_script = "uid://cpejxlfni6n52"
[node name="Sfx头痛耳鸣" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"]
stream = ExtResource("4_iylo4")
bus = &"game_sfx"
script = ExtResource("5_74b3r")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="Sfx记忆闪回音效" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="2"]
bus = &"game_sfx"
script = ExtResource("5_74b3r")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"] [node name="BGSprite2D" parent="Ground" index="2"]
light_mask = 5 light_mask = 5
scale = Vector2(0.5, 0.5) scale = Vector2(0.5, 0.5)
@ -163,7 +213,13 @@ enabled = false
trigger_mode = "interact" trigger_mode = "interact"
hook_method = "wood_puppet" hook_method = "wood_puppet"
[node name="火苗" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="5"] [node name="Closeup拿人偶后记忆闪回" parent="Ground/DeployLayer" index="5" instance=ExtResource("10_2yvhw")]
position = Vector2(320, 23)
packed_scene = ExtResource("10_7mq0m")
quit_closeup_on_escape = false
first_interact_os_key = "c02_一楼戏台"
[node name="火苗" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="6"]
light_mask = 5 light_mask = 5
position = Vector2(239, 52) position = Vector2(239, 52)
scale = Vector2(0.4, 0.4) scale = Vector2(0.4, 0.4)
@ -196,26 +252,26 @@ energy = 1.5
range_item_cull_mask = 4 range_item_cull_mask = 4
texture = ExtResource("8_mrltr") texture = ExtResource("8_mrltr")
[node name="Closeup戏台" parent="Ground/DeployLayer" index="6" instance=ExtResource("10_2yvhw")] [node name="Closeup戏台" parent="Ground/DeployLayer" index="7" instance=ExtResource("10_2yvhw")]
position = Vector2(320, 23) position = Vector2(320, 23)
packed_scene = ExtResource("11_2yvhw") packed_scene = ExtResource("11_2yvhw")
first_interact_os_key = "c02_一楼戏台" first_interact_os_key = "c02_一楼戏台"
[node name="Note一楼内侧通道" parent="Ground/DeployLayer" index="7" instance=ExtResource("10_8t4w6")] [node name="Note一楼内侧通道" parent="Ground/DeployLayer" index="8" instance=ExtResource("10_8t4w6")]
position = Vector2(394, 26) position = Vector2(394, 26)
title_filter = "c02" title_filter = "c02"
note_key = "c02_一楼楼道被挡住" note_key = "c02_一楼楼道被挡住"
[node name="Note垃圾通道" parent="Ground/DeployLayer" index="8" instance=ExtResource("10_8t4w6")] [node name="Note垃圾通道" parent="Ground/DeployLayer" index="9" instance=ExtResource("10_8t4w6")]
position = Vector2(660, -1) position = Vector2(660, -1)
title_filter = "c02" title_filter = "c02"
note_key = "c02_描述垃圾通道" note_key = "c02_描述垃圾通道"
[node name="打开的垃圾桶盖" type="Sprite2D" parent="Ground/DeployLayer" index="9"] [node name="打开的垃圾桶盖" type="Sprite2D" parent="Ground/DeployLayer" index="10"]
position = Vector2(660, 8) position = Vector2(660, 8)
texture = ExtResource("15_s2g5k") texture = ExtResource("15_s2g5k")
[node name="Interactable粘鼠板" parent="Ground/DeployLayer" index="10" instance=ExtResource("13_uj0pt")] [node name="Interactable粘鼠板" parent="Ground/DeployLayer" index="11" instance=ExtResource("13_uj0pt")]
position = Vector2(604, 81) position = Vector2(604, 81)
first_interact_os_key = "c02_一楼粘鼠板" first_interact_os_key = "c02_一楼粘鼠板"
disable_prop_after_interacted = true disable_prop_after_interacted = true
@ -244,19 +300,19 @@ enabled = false
title_filter = "c02" title_filter = "c02"
note_key = "c02_一楼死老鼠" note_key = "c02_一楼死老鼠"
[node name="Ambush老鼠叼肉" parent="Ground/DeployLayer" index="11" instance=ExtResource("8_rcuxq")] [node name="Ambush老鼠叼肉" parent="Ground/DeployLayer" index="12" instance=ExtResource("8_rcuxq")]
position = Vector2(585, 80) position = Vector2(585, 80)
enabled = false enabled = false
one_shot = false one_shot = false
hook_method = "mouse_pick_meat" hook_method = "mouse_pick_meat"
[node name="老鼠叼肉" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="12"] [node name="老鼠叼肉" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="13"]
visible = false visible = false
position = Vector2(687, 69) position = Vector2(687, 69)
sprite_frames = ExtResource("17_bk7rf") sprite_frames = ExtResource("17_bk7rf")
animation = &"奇怪的肉被拖进去动画" animation = &"奇怪的肉被拖进去动画"
[node name="Pickable掉落的肉" parent="Ground/DeployLayer" index="13" instance=ExtResource("17_aofps")] [node name="Pickable掉落的肉" parent="Ground/DeployLayer" index="14" instance=ExtResource("17_aofps")]
visible = false visible = false
position = Vector2(668, 85) position = Vector2(668, 85)
texture = ExtResource("18_bk7rf") texture = ExtResource("18_bk7rf")
@ -265,20 +321,20 @@ enabled = false
collision_width_and_x = Vector2(43.96, 0) collision_width_and_x = Vector2(43.96, 0)
prop_key = "prop_奇怪的肉" prop_key = "prop_奇怪的肉"
[node name="小蜡烛" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="14"] [node name="小蜡烛" type="AnimatedSprite2D" parent="Ground/DeployLayer" index="15"]
self_modulate = Color(0.611765, 0.611765, 0.611765, 1) self_modulate = Color(0.611765, 0.611765, 0.611765, 1)
position = Vector2(627.8, 79.6172) position = Vector2(627.8, 79.6172)
sprite_frames = SubResource("SpriteFrames_heq1x") sprite_frames = SubResource("SpriteFrames_heq1x")
autoplay = "default" autoplay = "default"
[node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer" index="15"] [node name="小蜡烛PointLight2D" type="PointLight2D" parent="Ground/DeployLayer" index="16"]
position = Vector2(627.8, 66.8) position = Vector2(627.8, 66.8)
color = Color(0.999971, 0.912551, 0.842208, 1) color = Color(0.999971, 0.912551, 0.842208, 1)
energy = 1.2 energy = 1.2
texture = ExtResource("22_laquj") texture = ExtResource("22_laquj")
texture_scale = 0.3 texture_scale = 0.3
[node name="Ambush小蝉消失" parent="Ground/DeployLayer" index="16" instance=ExtResource("8_rcuxq")] [node name="Ambush小蝉消失" parent="Ground/DeployLayer" index="17" instance=ExtResource("8_rcuxq")]
visible = false visible = false
visibility_layer = 5 visibility_layer = 5
position = Vector2(394, 53) position = Vector2(394, 53)
@ -292,7 +348,7 @@ animation = &"小蝉背对转头"
autoplay = "小蝉背对呼吸帧" autoplay = "小蝉背对呼吸帧"
flip_h = true flip_h = true
[node name="Event2D小蝉哼歌" type="Node2D" parent="Ground/DeployLayer" index="17"] [node name="Event2D小蝉哼歌" type="Node2D" parent="Ground/DeployLayer" index="18"]
position = Vector2(92, 38) position = Vector2(92, 38)
script = ExtResource("23_4c54f") script = ExtResource("23_4c54f")
event = "c02_madman_interacted" event = "c02_madman_interacted"
@ -309,6 +365,9 @@ script = ExtResource("25_4k6pw")
loop = true loop = true
metadata/_custom_type_script = "uid://wapo47a1oddf" metadata/_custom_type_script = "uid://wapo47a1oddf"
[node name="DizzyShader" parent="Ground/DeployLayer" index="19" instance=ExtResource("29_74b3r")]
visible = false
[node name="MainPlayer" parent="Ground" index="5"] [node name="MainPlayer" parent="Ground" index="5"]
position = Vector2(41, 98) position = Vector2(41, 98)
@ -324,7 +383,6 @@ texture = ExtResource("8_tueh3")
points = PackedVector2Array(23, 150, 700, 150) points = PackedVector2Array(23, 150, 700, 150)
[node name="DirectionalLight2D" parent="Ground" index="8"] [node name="DirectionalLight2D" parent="Ground" index="8"]
visible = false
energy = 0.9 energy = 0.9
blend_mode = 1 blend_mode = 1

View File

@ -117,6 +117,9 @@ data = {
"hole_interacted_times": 0, "hole_interacted_times": 0,
"oneshot_animation_played": false "oneshot_animation_played": false
} }
debug_global_data = Dictionary[String, Variant]({
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"]
})
oneshot_animation = "" oneshot_animation = ""
[node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"] [node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"]

View File

@ -62,7 +62,7 @@ func _on_ground_ready() -> void:
else: else:
xiao_chan_interactable.enabled = false xiao_chan_interactable.enabled = false
xiao_chan_sprite.visible = false xiao_chan_sprite.visible = false
head_cover_closeup.exit.connect(func(): head_cover_closeup.exit.connect(func(_arg):
head_cover_closeup.hide() head_cover_closeup.hide()
head_cover_closeup.enabled = false head_cover_closeup.enabled = false
xiao_chan_interactable.enabled = true xiao_chan_interactable.enabled = true
@ -74,6 +74,7 @@ func _on_ground_ready() -> void:
counter.enabled = true counter.enabled = true
else: else:
xiao_chan_interactable.interacted.connect(_on_xiao_chan_interacted) xiao_chan_interactable.interacted.connect(_on_xiao_chan_interacted)
$"Sfx小蝉哼歌".play()
counter_pushed_out = ArchiveManager.get_global_value(&"c02_counter_pushed_out") counter_pushed_out = ArchiveManager.get_global_value(&"c02_counter_pushed_out")
if counter_pushed_out: if counter_pushed_out:
@ -82,6 +83,8 @@ func _on_ground_ready() -> void:
else: else:
# 空柜子 x 坐标 # 空柜子 x 坐标
var counter_x = ArchiveManager.get_global_value(&"c02_counter_x", default_counter_x) var counter_x = ArchiveManager.get_global_value(&"c02_counter_x", default_counter_x)
if counter_x < 0:
counter_x = default_counter_x
counter.interacted.connect(_on_counter_interacted) counter.interacted.connect(_on_counter_interacted)
counter.global_position.x = counter_x counter.global_position.x = counter_x
after_counter_moved() after_counter_moved()
@ -191,6 +194,7 @@ func after_counter_moved():
func _on_pick_catty_head() -> void: func _on_pick_catty_head() -> void:
if SceneManager.has_prop("prop_无头小猫玩具"): if SceneManager.has_prop("prop_无头小猫玩具"):
SceneManager.lock_player()
var inspector = SceneManager.get_inspector() var inspector = SceneManager.get_inspector()
await inspector.quit_and_hidden await inspector.quit_and_hidden
# 将小猫头与身子合并 # 将小猫头与身子合并
@ -205,6 +209,10 @@ func _on_pick_catty_head() -> void:
SceneManager.enable_prop_item("prop_小猫玩具完整") SceneManager.enable_prop_item("prop_小猫玩具完整")
await SceneManager.get_inspector().quit_and_hidden await SceneManager.get_inspector().quit_and_hidden
SceneManager.pop_os_with_str("c02_获得小猫玩具") SceneManager.pop_os_with_str("c02_获得小猫玩具")
$"Sfx头痛耳鸣".play()
SceneManager.player_action(17, true)
await SceneManager.get_player().animation_finished
SceneManager.unlock_player()
# 进过瞎子卧室后,通道关闭 # 进过瞎子卧室后,通道关闭
if not ArchiveManager.get_global_value(&"c02_the_blind_room_unlocked"): if not ArchiveManager.get_global_value(&"c02_the_blind_room_unlocked"):
portal_note.enabled = true portal_note.enabled = true

View File

@ -13,11 +13,12 @@
[ext_resource type="AudioStream" uid="uid://b7vxiier136aq" path="res://asset/audio/sfx/旧版/c02/胖子拖.mp3" id="7_5t4pt"] [ext_resource type="AudioStream" uid="uid://b7vxiier136aq" path="res://asset/audio/sfx/旧版/c02/胖子拖.mp3" id="7_5t4pt"]
[ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="7_th1ek"] [ext_resource type="PackedScene" uid="uid://jr1yd46wm5je" path="res://scene/entity/note.tscn" id="7_th1ek"]
[ext_resource type="Texture2D" uid="uid://dg43u88jwlbpu" path="res://asset/art/prop/c02/新小猫头.png" id="8_3ftnp"] [ext_resource type="Texture2D" uid="uid://dg43u88jwlbpu" path="res://asset/art/prop/c02/新小猫头.png" id="8_3ftnp"]
[ext_resource type="AudioStream" uid="uid://b8sbtn3l37uh" path="res://asset/audio/sfx/旧版/c02/红屏.mp3" id="8_apn51"]
[ext_resource type="Texture2D" uid="uid://gui0ubwlwoi0" path="res://asset/art/ui/action_mark/UI手.png" id="8_to1d1"] [ext_resource type="Texture2D" uid="uid://gui0ubwlwoi0" path="res://asset/art/ui/action_mark/UI手.png" id="8_to1d1"]
[ext_resource type="Texture2D" uid="uid://cdsq0ylmgtfq0" path="res://asset/art/prop/c02/小蝉人偶.png" id="12_27dvh"] [ext_resource type="Texture2D" uid="uid://cdsq0ylmgtfq0" path="res://asset/art/prop/c02/小蝉人偶.png" id="12_27dvh"]
[ext_resource type="PackedScene" uid="uid://cxw5rovg5mu1a" path="res://scene/ground/script/c02/s00_煤油灯.tscn" id="13_27dvh"] [ext_resource type="PackedScene" uid="uid://cxw5rovg5mu1a" path="res://scene/ground/script/c02/s00_煤油灯.tscn" id="13_27dvh"]
[ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="14_3ftnp"] [ext_resource type="PackedScene" uid="uid://bnf3lkcbpx1ar" path="res://scene/entity/ambush.tscn" id="14_3ftnp"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="14_e24j0"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="14_e24j0"]
[ext_resource type="SpriteFrames" uid="uid://cwes55ajc3rd4" path="res://asset/art/gif/c02_空房间/c02_空房间_frames.tres" id="15_2j5dr"] [ext_resource type="SpriteFrames" uid="uid://cwes55ajc3rd4" path="res://asset/art/gif/c02_空房间/c02_空房间_frames.tres" id="15_2j5dr"]
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="15_e24j0"] [ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="15_e24j0"]
[ext_resource type="Texture2D" uid="uid://bp84w8keuelyj" path="res://asset/art/scene/c02/s10_空房间/e_蜡烛-sheet.png" id="15_kqj5r"] [ext_resource type="Texture2D" uid="uid://bp84w8keuelyj" path="res://asset/art/scene/c02/s10_空房间/e_蜡烛-sheet.png" id="15_kqj5r"]
@ -25,13 +26,6 @@
[ext_resource type="PackedScene" uid="uid://bffqprfmpt0bx" path="res://scene/ground/script/c02/空房间小蝉头套.tscn" id="18_5t4pt"] [ext_resource type="PackedScene" uid="uid://bffqprfmpt0bx" path="res://scene/ground/script/c02/空房间小蝉头套.tscn" id="18_5t4pt"]
[ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="18_8cwaw"] [ext_resource type="PackedScene" uid="uid://dqkxiqbq83cmq" path="res://scene/entity/closeup.tscn" id="18_8cwaw"]
[sub_resource type="AudioStreamSynchronized" id="AudioStreamSynchronized_apn51"]
stream_count = 2
stream_0/stream = ExtResource("4_nx6jy")
stream_0/volume = 0.0
stream_1/stream = ExtResource("5_8cwaw")
stream_1/volume = 8.0
[sub_resource type="AtlasTexture" id="AtlasTexture_chbaa"] [sub_resource type="AtlasTexture" id="AtlasTexture_chbaa"]
atlas = ExtResource("15_kqj5r") atlas = ExtResource("15_kqj5r")
region = Rect2(0, 0, 6, 14) region = Rect2(0, 0, 6, 14)
@ -91,9 +85,41 @@ player_y = 60
script = ExtResource("2_egtqi") script = ExtResource("2_egtqi")
data = { data = {
"display_wood_puppet": false, "display_wood_puppet": false,
"entered": false,
"oneshot_animation_played": false "oneshot_animation_played": false
} }
debug_global_data = Dictionary[String, Variant]({
"c02_counter_pushed_out": false,
"c02_counter_x": -1.0,
"c02_the_blind_room_unlocked": false,
"enabled_items": ["prop_火柴", "prop_无头小猫玩具", "prop_木头人偶"]
})
debug_ground_data = Dictionary[String, Variant]({
"Ambush首次进入血脚印": {
"played": true
},
"AnimationPlayer": {
"display_wood_puppet": false,
"oneshot_animation_played": false
},
"Closeup头套": {
"interacted_times": 0
},
"Interactable小蝉": {
"interacted_times": 0
},
"Interactable柜子": {
"interacted_times": 0
},
"Pickable小猫玩具脑袋": {
"picked": false
},
"Pickable木头人偶": {
"picked": false
},
"煤油灯": {
"interacted_times": 1
}
})
oneshot_animation = "" oneshot_animation = ""
[node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"] [node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"]
@ -102,19 +128,32 @@ autoplay_group = &"c02_房间里1"
metadata/_custom_type_script = "uid://cpejxlfni6n52" metadata/_custom_type_script = "uid://cpejxlfni6n52"
[node name="Sfx小蝉出现" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"] [node name="Sfx小蝉出现" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="1"]
stream = SubResource("AudioStreamSynchronized_apn51") stream = ExtResource("4_nx6jy")
volume_db = 12.0 volume_db = 12.0
bus = &"game_sfx" bus = &"game_sfx"
script = ExtResource("6_6uftv") script = ExtResource("6_6uftv")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m" metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="Sfx脚印出现" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="2"] [node name="Sfx小蝉哼歌" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="2"]
stream = ExtResource("5_8cwaw")
volume_db = 16.0
bus = &"game_sfx"
script = ExtResource("6_6uftv")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="Sfx脚印出现" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="3"]
stream = ExtResource("7_5t4pt") stream = ExtResource("7_5t4pt")
volume_db = 10.0 volume_db = 10.0
bus = &"game_sfx" bus = &"game_sfx"
script = ExtResource("6_6uftv") script = ExtResource("6_6uftv")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m" metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="Sfx头痛耳鸣" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="4"]
stream = ExtResource("8_apn51")
bus = &"game_sfx"
script = ExtResource("6_6uftv")
metadata/_custom_type_script = "uid://rq6w1vuhuq1m"
[node name="BGSprite2D" parent="Ground" index="2"] [node name="BGSprite2D" parent="Ground" index="2"]
position = Vector2(26, 0) position = Vector2(26, 0)
texture = ExtResource("3_ox8et") texture = ExtResource("3_ox8et")

View File

@ -19,6 +19,9 @@ footstep_type = "盒子猫"
[node name="AnimationPlayer" parent="Ground" index="0"] [node name="AnimationPlayer" parent="Ground" index="0"]
script = ExtResource("2_7ah3n") script = ExtResource("2_7ah3n")
debug_global_data = Dictionary[String, Variant]({
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"]
})
oneshot_animation = "" oneshot_animation = ""
[node name="Sfx钻盒子演出" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"] [node name="Sfx钻盒子演出" type="AudioStreamPlayer" parent="Ground/AnimationPlayer" index="0"]

View File

@ -119,6 +119,9 @@ libraries = {
&"": SubResource("AnimationLibrary_k01ve") &"": SubResource("AnimationLibrary_k01ve")
} }
script = ExtResource("2_jxanq") script = ExtResource("2_jxanq")
debug_global_data = Dictionary[String, Variant]({
"enabled_items": ["prop_火柴", "prop_院长的信", "prop_银元"]
})
oneshot_animation = "" oneshot_animation = ""
[node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"] [node name="VibeSfx" type="Node" parent="Ground/AnimationPlayer" index="0"]

View File

@ -2,9 +2,9 @@
[ext_resource type="Script" uid="uid://dnrql1t0j6v8i" path="res://scene/ground/script/c02/通用特写脚本.gd" id="1_jgyts"] [ext_resource type="Script" uid="uid://dnrql1t0j6v8i" path="res://scene/ground/script/c02/通用特写脚本.gd" id="1_jgyts"]
[ext_resource type="Texture2D" uid="uid://d1seskftkw08q" path="res://asset/art/scene/c02/s08_瞎子卧室/ux_盒子猫初次特写.png" id="2_jo6o1"] [ext_resource type="Texture2D" uid="uid://d1seskftkw08q" path="res://asset/art/scene/c02/s08_瞎子卧室/ux_盒子猫初次特写.png" id="2_jo6o1"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_myoho"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="3_myoho"]
[ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="4_4p6cc"] [ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="4_4p6cc"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="5_i34yq"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="5_i34yq"]
[node name="s08_画特写" type="CanvasLayer"] [node name="s08_画特写" type="CanvasLayer"]
script = ExtResource("1_jgyts") script = ExtResource("1_jgyts")

View File

@ -2,11 +2,11 @@
[ext_resource type="Script" uid="uid://dnrql1t0j6v8i" path="res://scene/ground/script/c02/通用特写脚本.gd" id="1_2sinf"] [ext_resource type="Script" uid="uid://dnrql1t0j6v8i" path="res://scene/ground/script/c02/通用特写脚本.gd" id="1_2sinf"]
[ext_resource type="Texture2D" uid="uid://k6164drvkbg8" path="res://asset/art/scene/c02/s08_瞎子卧室/ux_盒子猫结束特写.png" id="2_qrck0"] [ext_resource type="Texture2D" uid="uid://k6164drvkbg8" path="res://asset/art/scene/c02/s08_瞎子卧室/ux_盒子猫结束特写.png" id="2_qrck0"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_7dv3t"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="3_7dv3t"]
[ext_resource type="Texture2D" uid="uid://tcjm158n8hnw" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/小脚脚印.png" id="4_tja8r"] [ext_resource type="Texture2D" uid="uid://tcjm158n8hnw" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/小脚脚印.png" id="4_tja8r"]
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="5_75okh"] [ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="5_75okh"]
[ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="6_ybyuk"] [ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="6_ybyuk"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="7_tja8r"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="7_tja8r"]
[node name="s08_盒子猫初次特写" type="CanvasLayer"] [node name="s08_盒子猫初次特写" type="CanvasLayer"]
script = ExtResource("1_2sinf") script = ExtResource("1_2sinf")

View File

@ -3,4 +3,8 @@ extends CanvasLayer
func _ready() -> void: func _ready() -> void:
layer = GlobalConfig.CANVAS_LAYER_LITTLE_GAME layer = GlobalConfig.CANVAS_LAYER_LITTLE_GAME
if not ArchiveManager.get_global_value("c02_watched_the_well"):
DialogueManager.show_dialogue_balloon(
preload("res://asset/dialogue/npc.dialogue"), "c02_看井对话"
)
ArchiveManager.set_global_entry("c02_watched_the_well", true)

View File

@ -4,7 +4,7 @@
[ext_resource type="Texture2D" uid="uid://ca5tpfxmeh5q8" path="res://asset/art/scene/c02/s07_二楼内侧楼道/ux_二楼过道内侧.png" id="2_auxb7"] [ext_resource type="Texture2D" uid="uid://ca5tpfxmeh5q8" path="res://asset/art/scene/c02/s07_二楼内侧楼道/ux_二楼过道内侧.png" id="2_auxb7"]
[ext_resource type="AudioStream" uid="uid://bomvnle4oh1ol" path="res://asset/audio/sfx/交互/第一章/sfx_折纸.wav" id="2_vl1ak"] [ext_resource type="AudioStream" uid="uid://bomvnle4oh1ol" path="res://asset/audio/sfx/交互/第一章/sfx_折纸.wav" id="2_vl1ak"]
[ext_resource type="PackedScene" uid="uid://bvnclp341hxoh" path="res://scene/entity/ux/刮刮乐.tscn" id="3_auxb7"] [ext_resource type="PackedScene" uid="uid://bvnclp341hxoh" path="res://scene/entity/ux/刮刮乐.tscn" id="3_auxb7"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_phw8g"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="3_phw8g"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_ro3vo"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_ro3vo"]
[sub_resource type="Image" id="Image_vl1ak"] [sub_resource type="Image" id="Image_vl1ak"]

View File

@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://d31fc1bolhwlf" path="res://scene/ground/script/c02/刮海报.gd" id="1_qroub"] [ext_resource type="Script" uid="uid://d31fc1bolhwlf" path="res://scene/ground/script/c02/刮海报.gd" id="1_qroub"]
[ext_resource type="Texture2D" uid="uid://du1gfsc8mp0q0" path="res://asset/art/scene/c02/s02_大门过道/ux_过道面板.png" id="2_5kq43"] [ext_resource type="Texture2D" uid="uid://du1gfsc8mp0q0" path="res://asset/art/scene/c02/s02_大门过道/ux_过道面板.png" id="2_5kq43"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_5kq43"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="3_5kq43"]
[ext_resource type="Texture2D" uid="uid://cyctvbeqxqvpb" path="res://asset/art/prop/c02/海报特写/青岛啤酒.png" id="3_cffxi"] [ext_resource type="Texture2D" uid="uid://cyctvbeqxqvpb" path="res://asset/art/prop/c02/海报特写/青岛啤酒.png" id="3_cffxi"]
[ext_resource type="PackedScene" uid="uid://bvnclp341hxoh" path="res://scene/entity/ux/刮刮乐.tscn" id="3_qwopf"] [ext_resource type="PackedScene" uid="uid://bvnclp341hxoh" path="res://scene/entity/ux/刮刮乐.tscn" id="3_qwopf"]
[ext_resource type="AudioStream" uid="uid://bomvnle4oh1ol" path="res://asset/audio/sfx/交互/第一章/sfx_折纸.wav" id="5_xjg44"] [ext_resource type="AudioStream" uid="uid://bomvnle4oh1ol" path="res://asset/audio/sfx/交互/第一章/sfx_折纸.wav" id="5_xjg44"]

View File

@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://baocsio2v7pme" path="res://scene/ground/script/c02/戏台特写.gd" id="1_eu5r2"] [ext_resource type="Script" uid="uid://baocsio2v7pme" path="res://scene/ground/script/c02/戏台特写.gd" id="1_eu5r2"]
[ext_resource type="Texture2D" uid="uid://dhrl5mlivx108" path="res://asset/art/scene/c02/s05_一楼内侧楼道/ux_戏台特写(无道具).png" id="3_timwg"] [ext_resource type="Texture2D" uid="uid://dhrl5mlivx108" path="res://asset/art/scene/c02/s05_一楼内侧楼道/ux_戏台特写(无道具).png" id="3_timwg"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="4_ujm2t"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="4_ujm2t"]
[node name="戏台特写" type="CanvasLayer"] [node name="戏台特写" type="CanvasLayer"]
script = ExtResource("1_eu5r2") script = ExtResource("1_eu5r2")

View File

@ -6,7 +6,7 @@
[ext_resource type="SpriteFrames" uid="uid://c2sjavnptjn" path="res://asset/art/gif/c02_保卫科/c02_保卫科_frames.tres" id="3_ckoix"] [ext_resource type="SpriteFrames" uid="uid://c2sjavnptjn" path="res://asset/art/gif/c02_保卫科/c02_保卫科_frames.tres" id="3_ckoix"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_ftr7c"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_ftr7c"]
[ext_resource type="AudioStream" uid="uid://bomvnle4oh1ol" path="res://asset/audio/sfx/交互/第一章/sfx_折纸.wav" id="4_g2p6p"] [ext_resource type="AudioStream" uid="uid://bomvnle4oh1ol" path="res://asset/audio/sfx/交互/第一章/sfx_折纸.wav" id="4_g2p6p"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="4_qu4ce"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="4_qu4ce"]
[ext_resource type="Texture2D" uid="uid://bygsskp1cr0y8" path="res://asset/art/scene/c02/s04_保卫科/锡纸.png" id="4_uslgh"] [ext_resource type="Texture2D" uid="uid://bygsskp1cr0y8" path="res://asset/art/scene/c02/s04_保卫科/锡纸.png" id="4_uslgh"]
[ext_resource type="Texture2D" uid="uid://dcubpjb5qgfl2" path="res://asset/art/scene/c02/s04_保卫科/锡纸_hover.png" id="5_6lb1j"] [ext_resource type="Texture2D" uid="uid://dcubpjb5qgfl2" path="res://asset/art/scene/c02/s04_保卫科/锡纸_hover.png" id="5_6lb1j"]
[ext_resource type="BitMap" uid="uid://cfu2y1q2ercd" path="res://asset/art/scene/c02/s04_保卫科/锡纸_mask.png" id="5_uslgh"] [ext_resource type="BitMap" uid="uid://cfu2y1q2ercd" path="res://asset/art/scene/c02/s04_保卫科/锡纸_mask.png" id="5_uslgh"]

View File

@ -0,0 +1,8 @@
extends CanvasLayer
signal exit
func _ready() -> void:
layer = GlobalConfig.CANVAS_LAYER_LITTLE_GAME
await Util.wait(2.0)
exit.emit()

View File

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

View File

@ -0,0 +1,49 @@
[gd_scene load_steps=7 format=3 uid="uid://b4ilxht544qxu"]
[ext_resource type="Script" uid="uid://dh6f5qeynliaa" path="res://scene/ground/script/c02/拿人偶后记忆闪回.gd" id="1_cgi75"]
[ext_resource type="Texture2D" uid="uid://dhrl5mlivx108" path="res://asset/art/scene/c02/s05_一楼内侧楼道/ux_戏台特写(无道具).png" id="2_edrik"]
[ext_resource type="Texture2D" uid="uid://bdisdxc1txm0g" path="res://asset/art/gif/c02_霸凌/小婵_被霸凌/0.png" id="3_edrik"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="3_icubm"]
[ext_resource type="Texture2D" uid="uid://cfnkmmii6dv47" path="res://asset/art/little_game/弹珠/伸手.png" id="4_icubm"]
[ext_resource type="Texture2D" uid="uid://7citu6wev1wy" path="res://asset/art/animation/c00_吕萍_记笔记_right/吕萍-拿本子记录24.png" id="5_6edb2"]
[node name="记忆闪回" type="CanvasLayer"]
script = ExtResource("1_cgi75")
[node name="小蝉" type="TextureRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_edrik")
expand_mode = 5
stretch_mode = 5
[node name="Sprite2D" type="Sprite2D" parent="小蝉"]
position = Vector2(275, 178)
scale = Vector2(6.64224, 5.44996)
texture = ExtResource("3_edrik")
[node name="伸手" type="Sprite2D" parent="."]
position = Vector2(440, 477)
scale = Vector2(6.64224, 5.44996)
texture = ExtResource("4_icubm")
flip_v = true
[node name="小蝶" type="Sprite2D" parent="."]
position = Vector2(126, 258)
scale = Vector2(6.64224, 5.44996)
texture = ExtResource("5_6edb2")
[node name="TextureRect2" type="TextureRect" parent="."]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_icubm")
expand_mode = 5
stretch_mode = 5
[node name="Camera2D" type="Camera2D" parent="."]

View File

@ -8,7 +8,7 @@
[ext_resource type="AudioStream" uid="uid://7sjwgob6tsu4" path="res://asset/audio/sfx/交互/第一章/sfx_猫退出躲藏.wav" id="4_0rwiy"] [ext_resource type="AudioStream" uid="uid://7sjwgob6tsu4" path="res://asset/audio/sfx/交互/第一章/sfx_猫退出躲藏.wav" id="4_0rwiy"]
[ext_resource type="Texture2D" uid="uid://tcjm158n8hnw" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/小脚脚印.png" id="4_bc5tk"] [ext_resource type="Texture2D" uid="uid://tcjm158n8hnw" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/小脚脚印.png" id="4_bc5tk"]
[ext_resource type="Texture2D" uid="uid://ccfbubistf0ov" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/ux_镂空_纸.png" id="5_l6g3a"] [ext_resource type="Texture2D" uid="uid://ccfbubistf0ov" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/ux_镂空_纸.png" id="5_l6g3a"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="6_aeggu"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="6_aeggu"]
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="6_qw0v6"] [ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="6_qw0v6"]
[ext_resource type="Texture2D" uid="uid://dx3i8mchgux1d" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/ux_纸张.png" id="6_rxlkc"] [ext_resource type="Texture2D" uid="uid://dx3i8mchgux1d" path="res://asset/art/scene/c02/s12_to_s17_盒子猫/ux_纸张.png" id="6_rxlkc"]

View File

@ -3,7 +3,7 @@
[ext_resource type="Script" uid="uid://criy10vfyc262" path="res://scene/ground/script/c02/空房间小蝉头套.gd" id="1_yumf6"] [ext_resource type="Script" uid="uid://criy10vfyc262" path="res://scene/ground/script/c02/空房间小蝉头套.gd" id="1_yumf6"]
[ext_resource type="Texture2D" uid="uid://ce3kclg1i81l3" path="res://asset/art/scene/c02/s02_大门过道/e_头套场景中.png" id="2_4w5ks"] [ext_resource type="Texture2D" uid="uid://ce3kclg1i81l3" path="res://asset/art/scene/c02/s02_大门过道/e_头套场景中.png" id="2_4w5ks"]
[ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="3_64wgd"] [ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="3_64wgd"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="4_v60v3"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="4_v60v3"]
[node name="老鼠精画像" type="CanvasLayer"] [node name="老鼠精画像" type="CanvasLayer"]
script = ExtResource("1_yumf6") script = ExtResource("1_yumf6")
@ -52,6 +52,6 @@ offset_right = 50.0
offset_bottom = 7.0 offset_bottom = 7.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
text = "???" text = "c02_小蝉头套文字"
horizontal_alignment = 1 horizontal_alignment = 1
autowrap_mode = 3 autowrap_mode = 3

View File

@ -3,7 +3,7 @@
[ext_resource type="Script" uid="uid://dyk58stu5enia" path="res://scene/ground/script/c02/老鼠精画像.gd" id="1_l77sh"] [ext_resource type="Script" uid="uid://dyk58stu5enia" path="res://scene/ground/script/c02/老鼠精画像.gd" id="1_l77sh"]
[ext_resource type="Texture2D" uid="uid://d1xr7g5huv5or" path="res://asset/art/scene/c02/s04_保卫科/ux_老鼠画像特写.png" id="2_eyynm"] [ext_resource type="Texture2D" uid="uid://d1xr7g5huv5or" path="res://asset/art/scene/c02/s04_保卫科/ux_老鼠画像特写.png" id="2_eyynm"]
[ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="3_lpmq3"] [ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="3_lpmq3"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="4_l77sh"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="4_l77sh"]
[node name="老鼠精画像" type="CanvasLayer"] [node name="老鼠精画像" type="CanvasLayer"]
script = ExtResource("1_l77sh") script = ExtResource("1_l77sh")

View File

@ -4,7 +4,7 @@
[ext_resource type="Texture2D" uid="uid://cypvxj1vsl5yk" path="res://asset/art/scene/c02/s04_保卫科/花名册/bg_花名册桌面.png" id="2_v047l"] [ext_resource type="Texture2D" uid="uid://cypvxj1vsl5yk" path="res://asset/art/scene/c02/s04_保卫科/花名册/bg_花名册桌面.png" id="2_v047l"]
[ext_resource type="Texture2D" uid="uid://sx3i3lkt2vfd" path="res://asset/art/scene/c02/s04_保卫科/花名册/花名册封皮.png" id="3_myeas"] [ext_resource type="Texture2D" uid="uid://sx3i3lkt2vfd" path="res://asset/art/scene/c02/s04_保卫科/花名册/花名册封皮.png" id="3_myeas"]
[ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="4_1s4sv"] [ext_resource type="PackedScene" uid="uid://dmysq4sxx8iqh" path="res://scene/entity/ux/content_inspector.tscn" id="4_1s4sv"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="4_myeas"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="4_myeas"]
[node name="花名册" type="CanvasLayer"] [node name="花名册" type="CanvasLayer"]
script = ExtResource("1_jin3n") script = ExtResource("1_jin3n")

View File

@ -35,7 +35,7 @@
[ext_resource type="Texture2D" uid="uid://c07o1l2hs2ex5" path="res://asset/art/little_game/八音盒/新小猫身体.png" id="31_wq2wm"] [ext_resource type="Texture2D" uid="uid://c07o1l2hs2ex5" path="res://asset/art/little_game/八音盒/新小猫身体.png" id="31_wq2wm"]
[ext_resource type="Texture2D" uid="uid://b2jnocfgfr3io" path="res://asset/art/little_game/八音盒/小蝉人偶.png" id="32_sg8mt"] [ext_resource type="Texture2D" uid="uid://b2jnocfgfr3io" path="res://asset/art/little_game/八音盒/小蝉人偶.png" id="32_sg8mt"]
[ext_resource type="SpriteFrames" uid="uid://cwes55ajc3rd4" path="res://asset/art/gif/c02_空房间/c02_空房间_frames.tres" id="34_tgpfj"] [ext_resource type="SpriteFrames" uid="uid://cwes55ajc3rd4" path="res://asset/art/gif/c02_空房间/c02_空房间_frames.tres" id="34_tgpfj"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="35_wq2wm"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="35_wq2wm"]
[ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="36_sg8mt"] [ext_resource type="Texture2D" uid="uid://cylsq5cvhlp18" path="res://asset/art/tool/point_light.png" id="36_sg8mt"]
[sub_resource type="Animation" id="Animation_j1llk"] [sub_resource type="Animation" id="Animation_j1llk"]

View File

@ -4,7 +4,7 @@
[ext_resource type="AudioStream" uid="uid://dlt4nv6qjhlpy" path="res://asset/audio/sfx/交互/sfx_打开设置.wav" id="2_6hxkf"] [ext_resource type="AudioStream" uid="uid://dlt4nv6qjhlpy" path="res://asset/audio/sfx/交互/sfx_打开设置.wav" id="2_6hxkf"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_kn03d"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_kn03d"]
[ext_resource type="AudioStream" uid="uid://cmi6fd68s1ukb" path="res://asset/audio/sfx/交互/sfx_关闭设置.wav" id="4_n2b1f"] [ext_resource type="AudioStream" uid="uid://cmi6fd68s1ukb" path="res://asset/audio/sfx/交互/sfx_关闭设置.wav" id="4_n2b1f"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="5_kn03d"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="5_kn03d"]
[ext_resource type="Theme" uid="uid://be5scnhjobkux" path="res://config/settings_theme.tres" id="6_7e43x"] [ext_resource type="Theme" uid="uid://be5scnhjobkux" path="res://config/settings_theme.tres" id="6_7e43x"]
[ext_resource type="FontVariation" uid="uid://1ryw42kej6lv" path="res://config/font_ui.tres" id="6_n2b1f"] [ext_resource type="FontVariation" uid="uid://1ryw42kej6lv" path="res://config/font_ui.tres" id="6_n2b1f"]

View File

@ -6,7 +6,7 @@
[ext_resource type="PackedScene" uid="uid://ut4a5gwb4naq" path="res://scene/ux/tabs.tscn" id="4_wojfr"] [ext_resource type="PackedScene" uid="uid://ut4a5gwb4naq" path="res://scene/ux/tabs.tscn" id="4_wojfr"]
[ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="6_grmx4"] [ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="6_grmx4"]
[ext_resource type="Texture2D" uid="uid://bhjynxasn03jv" path="res://asset/art/ui/bag/重要物品ui-28.png" id="7_j146j"] [ext_resource type="Texture2D" uid="uid://bhjynxasn03jv" path="res://asset/art/ui/bag/重要物品ui-28.png" id="7_j146j"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="7_tgqj6"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="7_tgqj6"]
[ext_resource type="Texture2D" uid="uid://bg77dh6ua3kfo" path="res://asset/art/prop/c01/院长的信物品.png" id="10_tgqj6"] [ext_resource type="Texture2D" uid="uid://bg77dh6ua3kfo" path="res://asset/art/prop/c01/院长的信物品.png" id="10_tgqj6"]
[ext_resource type="FontFile" uid="uid://dr8bp6p7byb37" path="res://asset/font/字体/方正楷体简体.TTF" id="11_4jvvd"] [ext_resource type="FontFile" uid="uid://dr8bp6p7byb37" path="res://asset/font/字体/方正楷体简体.TTF" id="11_4jvvd"]

View File

@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://bt86ajx7nwnk3" path="res://scene/ux/memory/memory.gd" id="1_22dwm"] [ext_resource type="Script" uid="uid://bt86ajx7nwnk3" path="res://scene/ux/memory/memory.gd" id="1_22dwm"]
[ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="2_mydtv"] [ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="2_mydtv"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_6dhhp"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="3_6dhhp"]
[ext_resource type="Texture2D" uid="uid://dsj3l0baqg1g7" path="res://asset/art/ui/ux_panel/小蝶笔记.png" id="3_mydtv"] [ext_resource type="Texture2D" uid="uid://dsj3l0baqg1g7" path="res://asset/art/ui/ux_panel/小蝶笔记.png" id="3_mydtv"]
[ext_resource type="PackedScene" uid="uid://du6jt6ae5ulvy" path="res://scene/ux/memory/memory_item.tscn" id="4_6dhhp"] [ext_resource type="PackedScene" uid="uid://du6jt6ae5ulvy" path="res://scene/ux/memory/memory_item.tscn" id="4_6dhhp"]
[ext_resource type="PackedScene" uid="uid://ut4a5gwb4naq" path="res://scene/ux/tabs.tscn" id="4_7f8pt"] [ext_resource type="PackedScene" uid="uid://ut4a5gwb4naq" path="res://scene/ux/tabs.tscn" id="4_7f8pt"]

View File

@ -2,7 +2,7 @@
[ext_resource type="Theme" uid="uid://ro8r1wa1bvua" path="res://config/memory_item_theme.tres" id="1_2f468"] [ext_resource type="Theme" uid="uid://ro8r1wa1bvua" path="res://config/memory_item_theme.tres" id="1_2f468"]
[ext_resource type="Script" uid="uid://bk8ton7q8i6hb" path="res://scene/ux/memory/memory_item.gd" id="1_2q576"] [ext_resource type="Script" uid="uid://bk8ton7q8i6hb" path="res://scene/ux/memory/memory_item.gd" id="1_2q576"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_wb2ol"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="3_wb2ol"]
[node name="MemoryItem" type="PanelContainer"] [node name="MemoryItem" type="PanelContainer"]
offset_right = 75.0 offset_right = 75.0

View File

@ -2,7 +2,7 @@
[ext_resource type="Script" uid="uid://bkyg34xfhe60p" path="res://scene/ux/note/ux_note.gd" id="1_e61yw"] [ext_resource type="Script" uid="uid://bkyg34xfhe60p" path="res://scene/ux/note/ux_note.gd" id="1_e61yw"]
[ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="2_1ka1m"] [ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="2_1ka1m"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_nk0pj"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="3_nk0pj"]
[ext_resource type="PackedScene" uid="uid://ut4a5gwb4naq" path="res://scene/ux/tabs.tscn" id="4_7vpan"] [ext_resource type="PackedScene" uid="uid://ut4a5gwb4naq" path="res://scene/ux/tabs.tscn" id="4_7vpan"]
[ext_resource type="Texture2D" uid="uid://dsj3l0baqg1g7" path="res://asset/art/ui/ux_panel/小蝶笔记.png" id="5_d1cia"] [ext_resource type="Texture2D" uid="uid://dsj3l0baqg1g7" path="res://asset/art/ui/ux_panel/小蝶笔记.png" id="5_d1cia"]
[ext_resource type="Texture2D" uid="uid://bv57eyqs03k4y" path="res://asset/art/ui/note/线索笔记内容-29.png" id="6_7vpan"] [ext_resource type="Texture2D" uid="uid://bv57eyqs03k4y" path="res://asset/art/ui/note/线索笔记内容-29.png" id="6_7vpan"]

View File

@ -4,7 +4,7 @@
[ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="2_5mits"] [ext_resource type="Texture2D" uid="uid://bi7l47cit2xs" path="res://asset/art/ui/ux_panel/完整背景.png" id="2_5mits"]
[ext_resource type="AudioStream" uid="uid://dyjifofhdx25w" path="res://asset/audio/sfx/交互/打开背包.wav" id="2_v1oku"] [ext_resource type="AudioStream" uid="uid://dyjifofhdx25w" path="res://asset/audio/sfx/交互/打开背包.wav" id="2_v1oku"]
[ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_a3uyd"] [ext_resource type="Script" uid="uid://rq6w1vuhuq1m" path="res://scene/entity/audio/sfx.gd" id="3_a3uyd"]
[ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/inspect/inspect特写通用遮罩.png" id="3_mns6r"] [ext_resource type="Texture2D" uid="uid://cbql1i4hblmt1" path="res://asset/art/ui/遮罩/inspect特写通用遮罩.png" id="3_mns6r"]
[ext_resource type="FontFile" uid="uid://255whp7fuig5" path="res://asset/font/字体/三极行楷简体-粗.ttf" id="4_mns6r"] [ext_resource type="FontFile" uid="uid://255whp7fuig5" path="res://asset/font/字体/三极行楷简体-粗.ttf" id="4_mns6r"]
[ext_resource type="AudioStream" uid="uid://bghyinc16m1nx" path="res://asset/audio/sfx/交互/收起背包.wav" id="4_ombcf"] [ext_resource type="AudioStream" uid="uid://bghyinc16m1nx" path="res://asset/audio/sfx/交互/收起背包.wav" id="4_ombcf"]

View File

@ -44,7 +44,6 @@ func _ready() -> void:
func _hide(): func _hide():
if status == STATUS_HIDDING: if status == STATUS_HIDDING:
SceneManager.unlock_player()
return return
if status == STATUS_HIDDEN: if status == STATUS_HIDDEN:
return return
@ -61,7 +60,7 @@ func _hide():
func _post_hide(): func _post_hide():
status = STATUS_HIDDEN status = STATUS_HIDDEN
SceneManager.unlock_player() locking = false
origin_texture.texture = null origin_texture.texture = null
full_texture.texture = null full_texture.texture = null
texture_cover = null texture_cover = null
@ -95,7 +94,7 @@ func pop_standard_inspection(
content_label.horizontal_alignment = HORIZONTAL_ALIGNMENT_LEFT content_label.horizontal_alignment = HORIZONTAL_ALIGNMENT_LEFT
if status != STATUS_HIDDEN: if status != STATUS_HIDDEN:
_hide() _hide()
SceneManager.lock_player(0) locking = true
status = STATUS_INSPECTING_COVER status = STATUS_INSPECTING_COVER
visible = true visible = true
full_texture.texture = cover_texture full_texture.texture = cover_texture
@ -114,6 +113,15 @@ func pop_standard_inspection(
_blink_label() _blink_label()
var locking = false:
set(val):
if val != locking:
locking = val
if val:
SceneManager.lock_player()
else:
SceneManager.unlock_player()
var balloon var balloon
@ -126,8 +134,7 @@ func pop_prop_inspection(
# STATUS_INSPECTING_PROP 状态下不 hide跳过重复 lock # STATUS_INSPECTING_PROP 状态下不 hide跳过重复 lock
if status != STATUS_HIDDEN and status != STATUS_INSPECTING_PROP: if status != STATUS_HIDDEN and status != STATUS_INSPECTING_PROP:
_hide() _hide()
if status != STATUS_INSPECTING_PROP: locking = true
SceneManager.lock_player(0)
status = STATUS_INSPECTING_PROP status = STATUS_INSPECTING_PROP
visible = true visible = true
var tween = create_tween() var tween = create_tween()

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=3 uid="uid://cekhj65axie0p"] [gd_scene load_steps=5 format=3 uid="uid://cekhj65axie0p"]
[ext_resource type="Script" uid="uid://1xdb7s1nigv8" path="res://scene/ux/prop_inspector.gd" id="1_2wpwe"] [ext_resource type="Script" uid="uid://1xdb7s1nigv8" path="res://scene/ux/prop_inspector.gd" id="1_2wpwe"]
[ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/inspect/inspect背景遮罩.png" id="2_j83lq"] [ext_resource type="Texture2D" uid="uid://f186lvt5y2ql" path="res://asset/art/ui/遮罩/inspect背景遮罩.png" id="2_j83lq"]
[ext_resource type="Texture2D" uid="uid://cvgw2mxrlr6io" path="res://asset/art/scene/c02/旧版/s02_走道/ux_进门鼠疫海报yz.png" id="2_wr575"] [ext_resource type="Texture2D" uid="uid://cvgw2mxrlr6io" path="res://asset/art/scene/c02/旧版/s02_走道/ux_进门鼠疫海报yz.png" id="2_wr575"]
[ext_resource type="FontVariation" uid="uid://1ryw42kej6lv" path="res://config/font_ui.tres" id="4_opug5"] [ext_resource type="FontVariation" uid="uid://1ryw42kej6lv" path="res://config/font_ui.tres" id="4_opug5"]