Animations & Movement tweaks

This commit is contained in:
2020-05-17 20:48:11 -04:00
parent abe340f025
commit 6fd53367c0
27 changed files with 2480 additions and 1378 deletions

View File

@ -7,8 +7,11 @@ func _ready():
$Speaker.speaker_name = "CEO Grant Blevins"
$Speaker.speaker = "ceo"
$Speaker.connect("dialog_exited", self, "_on_dialog_exit")
$AnimationPlayer.play("Idle")
$AnimationPlayer.seek(rand_range(0.0, 2.0), true)
func _on_interact():
$Torso.flip_h = global_position.x < player.global_position.x
if state == 0:
$Speaker.start_dialog("intro_meet_ceo")
if player: