feat: new dialogue with NPC
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 6s
Create tag and build when new code gets to main / Export (push) Successful in 2m5s

This commit is contained in:
2025-08-02 12:16:27 +02:00
parent 712d2a41ea
commit e3545a5087
3 changed files with 102 additions and 5 deletions

View File

@ -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()