Add Sway and Bob
This commit is contained in:
2
Game.gd
2
Game.gd
@@ -9,7 +9,7 @@ func _ready():
|
||||
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
|
||||
|
||||
|
||||
func _process(delta):
|
||||
func _process(_delta):
|
||||
label.text = "H Velocity: %3.2f" % [Vector2(player.velocity.x, player.velocity.z).length()]
|
||||
label.text += "\nV Velocity: %3.2f" % [player.velocity.y]
|
||||
label.text += "\nOn floor: %s" % player.is_on_floor()
|
||||
|
||||
Reference in New Issue
Block a user