记忆闪回音效音量优化

This commit is contained in:
cakipaul 2025-07-27 23:31:43 +08:00
parent a07f78e1d0
commit 02d99ac811
3 changed files with 7 additions and 3 deletions

View File

@ -17,12 +17,14 @@ func _ready() -> void:
func _input(event: InputEvent) -> void:
if (
event.is_action_pressed("debugging")
or event.is_action_pressed("cancel")
or event.is_action_pressed("escape")
):
get_viewport().set_input_as_handled()
quit()
func _unhandled_key_input(_event: InputEvent) -> void:
# 调试界面接受所有输入事件
get_viewport().set_input_as_handled()
func _unhandled_input(_event: InputEvent) -> void:
get_viewport().set_input_as_handled()

View File

@ -77,6 +77,7 @@ func wood_puppet() -> void:
await SceneManager.get_inspector().quit_and_hidden
SceneManager.lock_player(0, 17, true)
$"../DeployLayer/DizzyShader".dizzy()
$"Sfx背景音".change_volumn_db(-10.0)
$"Sfx记忆闪回音效".play()
# SceneManager.get_camera_marker().shake_camera()
await Util.wait(2.5)
@ -92,6 +93,7 @@ func wood_puppet() -> void:
SceneManager.unlock_player()
EventManager.set_stage_if_greater(&"handnote_c02_xchan_sheKnowsMe", 1)
$"Sfx记忆闪回音效".easing_kill()
$"Sfx背景音".reset_volumn_to_default()
func bucket_meat() -> void:

View File

@ -179,7 +179,7 @@ hook_method = "wood_puppet"
position = Vector2(-108, -168)
packed_scene = ExtResource("10_7mq0m")
quit_closeup_on_cancel = false
on_display_changed_volumn_db = -50.0
on_display_changed_volumn_db = 0.0
action_key = 3
first_interact_os_key = "c02_一楼戏台"