summaryrefslogtreecommitdiffstats
path: root/Player.gd
diff options
context:
space:
mode:
authorJan Tuomi <jan.tuomi@valuemotive.com>2022-08-09 23:09:14 +0300
committerJan Tuomi <jan.tuomi@valuemotive.com>2022-08-09 23:09:14 +0300
commit2d888d00efba0314ac6357f2dbccd0ad01173023 (patch)
tree9d1904473ac8cf5553d903db2df7b9d01ffdfb03 /Player.gd
parentba41bbbb09e0d1057179a0f221b8d297d37ecb79 (diff)
Add background
Diffstat (limited to 'Player.gd')
-rw-r--r--Player.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/Player.gd b/Player.gd
index 8fbeb35..795faf3 100644
--- a/Player.gd
+++ b/Player.gd
@@ -71,3 +71,5 @@ func _physics_process(delta):
# print($AnimationPlayer.current_animation, ", ", $AnimationTree.get("parameters/walk_speed/scale"))
# warning-ignore:return_value_discarded
move_and_slide(velocity, Vector2.UP)
+
+ GlobalData.player_hp