Merge remote-tracking branch 'origin/demo'

This commit is contained in:
cakipaul 2025-07-21 18:21:53 +08:00
commit 56822c009c
7 changed files with 23 additions and 8 deletions

View File

@ -146,6 +146,7 @@ c01_s08_书店工作,老板交代的工作还没做完,不能偷懒。,,,,,I h
c01_s08_书店工钱,这个月的工钱还没拿。,,,,,I haven't collected this month's wages yet.
mem_偷听对话,偷听对话,,,,,Eavesdropping
mem_疯子看井,疯子看井,,,,,Madman Guards Well
c01_小小蝶找假发,我的假发呢?,,,,,Where is my wig?
c01_鸡毛掸子,这是鸡毛掸子吗?,,,,,Is this a feather duster?
c01_院长书桌,桌上放着一本《圣经》。{br}「凡要救自己生命的,必丧掉生命...」,,,,,"There's a Bible on the table.{br}'Whoever wants to save their life will lose it, but whoever loses their life for me will find it...'"
c01_院长床,这本书已经看过了。{br}...那些句子是什么意思呢?,,,,,I've already read this book.{br}...What do those sentences mean?

1 keys zh_CN _character _notes _tags zh_SH en
146 c01_s08_书店工钱 这个月的工钱还没拿。 I haven't collected this month's wages yet.
147 mem_偷听对话 偷听对话 Eavesdropping
148 mem_疯子看井 疯子看井 Madman Guards Well
149 c01_小小蝶找假发 我的假发呢? Where is my wig?
150 c01_鸡毛掸子 这是鸡毛掸子吗? Is this a feather duster?
151 c01_院长书桌 桌上放着一本《圣经》。{br}「凡要救自己生命的,必丧掉生命...」 There's a Bible on the table.{br}'Whoever wants to save their life will lose it, but whoever loses their life for me will find it...'
152 c01_院长床 这本书已经看过了。{br}...那些句子是什么意思呢? I've already read this book.{br}...What do those sentences mean?

View File

@ -203,6 +203,7 @@
~ Notes_c01
# c01-s05 院长房间
我的假发呢? [ID:c01_小小蝶找假发]
这是鸡毛掸子吗? [ID:c01_鸡毛掸子]
桌上放着一本《圣经》。{br}「凡要救自己生命的,必丧掉生命...」 [ID:c01_院长书桌]
这本书已经看过了。{br}...那些句子是什么意思呢? [ID:c01_院长床]

View File

@ -24,6 +24,10 @@ func _input(event: InputEvent) -> void:
quit()
func _unhandled_input(_event: InputEvent) -> void:
get_viewport().set_input_as_handled()
func _on_quit_debug_button_pressed() -> void:
# 不写入配置
GlobalConfig.DEBUG = false

View File

@ -32,7 +32,8 @@ func _ready():
# 1. 检测 current_scene 下 Sfx 节点
func refresh_sfx_list(ground: Ground2D, headless := false):
sfx_nodes.clear()
current_scene_name = GroundLoader.get_ground_scene_readable_name(ground.scene_name)
current_scene_name = ground.scene_name
current_scene_name += "_" + GroundLoader.get_ground_scene_readable_name(ground.scene_name)
find_sfx_nodes(ground)
load_config()
if not headless:

View File

@ -5,7 +5,6 @@ const META_ORIGINAL_STREAM = &"original_stream"
@export_enum("交互与效果音", "BGM", "场景背景音") var mode := "交互与效果音":
set(value):
_set_up_process_mode_by_mode()
mode = value
notify_property_list_changed()

View File

@ -94,17 +94,23 @@ func _on_ground_ready() -> void:
play("intro")
func cant_read():
DialogueManager.show_dialogue_balloon(dialogue_c01, "c01_s05_院长房间_看不清了")
func cant_read() -> void:
DialogueManager.show_dialogue_balloon(dialogue_c01, "c01_s05_院长房间_看不清了", [GlobalConfig.DIALOG_IGNORE_INPUT])
func _on_note_read():
func os_find_wig() -> void:
# TODO
SceneManager.pop_debug_dialog_info("美术", "小小蝶找假发")
SceneManager.pop_os_with_str("c01_小小蝶找假发")
func _on_note_read() -> void:
frame.enabled = false
# 稍加延时后显示鸡毛掸子
Util.timer(1.0, func(): ambush.enabled = true)
func _on_ambush_triggered():
func _on_ambush_triggered() -> void:
ambush.enabled = false
frame.note_key = "c01_摆正的洋相片"
Util.timer(5.5, func(): frame.enabled = true)

View File

@ -357,8 +357,8 @@ tracks/5/path = NodePath("AnimationPlayer")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0, 3, 20.1667),
"transitions": PackedFloat32Array(1, 1, 1),
"times": PackedFloat32Array(0, 3, 20.1667, 21.7),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"values": [{
"args": [],
"method": &"intro_start"
@ -368,6 +368,9 @@ tracks/5/keys = {
}, {
"args": [],
"method": &"cant_read"
}, {
"args": [],
"method": &"os_find_wig"
}]
}
tracks/6/type = "method"