Tutorial finished

This commit is contained in:
2024-06-12 11:54:41 +02:00
parent 7b760c3ba8
commit 9cfd9e0200
9 changed files with 258 additions and 6 deletions

2
Mob.gd
View File

@@ -19,6 +19,8 @@ func initialize(start_position, player_position):
velocity = Vector3.FORWARD * random_speed
velocity = velocity.rotated(Vector3.UP, rotation.y)
$AnimationPlayer.speed_scale = random_speed / min_speed
func squash():
squashed.emit()
queue_free()