Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
e3545a5087 |
@ -106,3 +106,7 @@ func _on_next_letter() -> void:
|
||||
|
||||
next_label.visible = true
|
||||
ui_flicker_timer.start()
|
||||
|
||||
|
||||
func _on_body_entered_trigger_dialogue(body: Node2D) -> void:
|
||||
on_dialogue_started()
|
||||
|
@ -55,6 +55,8 @@ func _ready() -> void:
|
||||
func _physics_process(delta: float) -> void:
|
||||
play_anim()
|
||||
if is_in_cutscene:
|
||||
play_anim_idle()
|
||||
velocity.x = move_toward(velocity.x, 0, speed)
|
||||
move_and_slide()
|
||||
return
|
||||
|
||||
@ -89,3 +91,6 @@ func _physics_process(delta: float) -> void:
|
||||
|
||||
func _on_dialogue_manager_dialogue_ended() -> void:
|
||||
set_in_play()
|
||||
|
||||
func _on_trigger_dialogue_body_entered(body: Node2D) -> void:
|
||||
set_in_cutscene()
|
||||
|
Reference in New Issue
Block a user