Early switch scripts working
This commit is contained in:
@@ -203,7 +203,7 @@ func _physics_process(delta):
|
||||
#cache fastest speed
|
||||
if abs(velocity.y) > moving_fast_top_speed:
|
||||
moving_fast_top_speed = abs(velocity.y)
|
||||
print("TOP SPEED = " + str(moving_fast_top_speed))
|
||||
#print("TOP SPEED = " + str(moving_fast_top_speed))
|
||||
#Land Sound
|
||||
if velocity.y < .1 and self.is_on_floor() and moving_fast == true:
|
||||
print("LAND SOUND")
|
||||
|
||||
Reference in New Issue
Block a user