Skip to content
Snippets Groups Projects
Commit f6324bf5 authored by Jannik Rosendahl's avatar Jannik Rosendahl :speech_balloon:
Browse files

Update src/actors/player/Player.gd

parent e45cc4e4
No related branches found
No related tags found
No related merge requests found
...@@ -286,7 +286,7 @@ func update_animation(): ...@@ -286,7 +286,7 @@ func update_animation():
$AnimatedSprite.offset.x = 0 $AnimatedSprite.offset.x = 0
$MeleeDetector/CollisionShape2D.position.x = abs($MeleeDetector/CollisionShape2D.position.x) $MeleeDetector/CollisionShape2D.position.x = abs($MeleeDetector/CollisionShape2D.position.x)
$InfoLabel.text = "is_moving: " + str(is_moving) + "\nis_jumping: " + str(is_jumping) + "\nis_attacking: " + str(is_attacking) + "\nvh: " + str(velocity.x) + "\nvv" + str(velocity.y) + "\nhp: " + str(hitpoints) $InfoLabel.text = "" # "is_moving: " + str(is_moving) + "\nis_jumping: " + str(is_jumping) + "\nis_attacking: " + str(is_attacking) + "\nvh: " + str(velocity.x) + "\nvv" + str(velocity.y) + "\nhp: " + str(hitpoints)
func set_black_white(boolean: bool): func set_black_white(boolean: bool):
if boolean: if boolean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment