配置 toggle_hud_display
This commit is contained in:
parent
89c339976e
commit
419625a496
@ -316,6 +316,8 @@ func _on_counter_interacted():
|
|||||||
|
|
||||||
func _walk_to_xchan_and_run_away() -> void:
|
func _walk_to_xchan_and_run_away() -> void:
|
||||||
SceneManager.lock_player()
|
SceneManager.lock_player()
|
||||||
|
# 火灾演出过程暂不隐藏 hud,跑到尽头后转场,在谢幕演出开始(二楼)会隐藏
|
||||||
|
# SceneManager.toggle_hud_display(false)
|
||||||
# 从走向小蝉就开始放
|
# 从走向小蝉就开始放
|
||||||
$"Sfx牵手演出氛围音".global_play()
|
$"Sfx牵手演出氛围音".global_play()
|
||||||
var player = SceneManager.get_player() as MainPlayer
|
var player = SceneManager.get_player() as MainPlayer
|
||||||
|
@ -157,6 +157,7 @@ func _toggle_candles(show: bool) -> void:
|
|||||||
|
|
||||||
# 第一章火灾结束,尾声演出
|
# 第一章火灾结束,尾声演出
|
||||||
func _c02_final_show():
|
func _c02_final_show():
|
||||||
|
SceneManager.toggle_hud_display(false)
|
||||||
_toggle_candles(false)
|
_toggle_candles(false)
|
||||||
var player = SceneManager.get_player()
|
var player = SceneManager.get_player()
|
||||||
player.set_facing_direction(Vector2(-1, 0))
|
player.set_facing_direction(Vector2(-1, 0))
|
||||||
@ -216,6 +217,7 @@ func _on_exit_final_show(_arg):
|
|||||||
ArchiveManager.set_chapter_if_greater(3)
|
ArchiveManager.set_chapter_if_greater(3)
|
||||||
await SceneManager.pop_chapter_notification(3)
|
await SceneManager.pop_chapter_notification(3)
|
||||||
SceneManager.unlock_player()
|
SceneManager.unlock_player()
|
||||||
|
SceneManager.toggle_hud_display(true)
|
||||||
|
|
||||||
|
|
||||||
func unlock_2floor_map():
|
func unlock_2floor_map():
|
||||||
|
@ -1186,7 +1186,6 @@ first_interact_os_key = "c02_二楼水盆"
|
|||||||
position = Vector2(518, -272)
|
position = Vector2(518, -272)
|
||||||
packed_scene = ExtResource("25_m28ab")
|
packed_scene = ExtResource("25_m28ab")
|
||||||
quit_closeup_on_cancel = false
|
quit_closeup_on_cancel = false
|
||||||
on_display_hide_hud = true
|
|
||||||
action_key = 3
|
action_key = 3
|
||||||
|
|
||||||
[node name="c02_final" type="Node2D" parent="Ground/DeployLayer" index="18"]
|
[node name="c02_final" type="Node2D" parent="Ground/DeployLayer" index="18"]
|
||||||
|
@ -97,7 +97,8 @@ func hole_interacted():
|
|||||||
|
|
||||||
|
|
||||||
func eavesdrop_start() -> void:
|
func eavesdrop_start() -> void:
|
||||||
SceneManager.freeze_player(0, 5)
|
SceneManager.toggle_hud_display(false)
|
||||||
|
SceneManager.lock_player(0, 5)
|
||||||
var node = $"../DeployLayer/瞎子小蝉对话"
|
var node = $"../DeployLayer/瞎子小蝉对话"
|
||||||
node.visible = true
|
node.visible = true
|
||||||
# 偷听动作
|
# 偷听动作
|
||||||
@ -115,7 +116,8 @@ func eavesdrop_start() -> void:
|
|||||||
tween.parallel().tween_property(color_mask, "color:a", 1.0, 2.0)
|
tween.parallel().tween_property(color_mask, "color:a", 1.0, 2.0)
|
||||||
await tween.finished
|
await tween.finished
|
||||||
node.visible = false
|
node.visible = false
|
||||||
SceneManager.release_player()
|
SceneManager.unlock_player()
|
||||||
|
SceneManager.toggle_hud_display(true)
|
||||||
interacting = false
|
interacting = false
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user