Added typing sounds to dialogic characters
This commit is contained in:
@@ -51,14 +51,12 @@ public partial class PlayerMovement : CharacterBody2D
|
||||
{
|
||||
_stepTimer.Start();
|
||||
_stepTimer.SetPaused(false);
|
||||
GD.Print("Start");
|
||||
}
|
||||
|
||||
if (currentVelocity.LengthSquared() == 0 && Velocity.LengthSquared() != 0)
|
||||
{
|
||||
_stepTimer.Stop();
|
||||
_stepTimer.SetPaused(true);
|
||||
GD.Print("Stop");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user