diff options
author | nokoe <nokoe@mailbox.org> | 2024-06-21 13:48:30 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:27:04 +0200 |
commit | 68a671883983252edcc28fced0279eb37e6ba297 (patch) | |
tree | d8f9ebeb3240c8ac97ba93ffe37c078e77bb6e59 /client/scripts | |
parent | a263ff8817fad636266d66f47b2b7898c9a3a35b (diff) | |
download | hurrycurry-68a671883983252edcc28fced0279eb37e6ba297.tar hurrycurry-68a671883983252edcc28fced0279eb37e6ba297.tar.bz2 hurrycurry-68a671883983252edcc28fced0279eb37e6ba297.tar.zst |
move movement to _process
Diffstat (limited to 'client/scripts')
-rw-r--r-- | client/scripts/player.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/scripts/player.gd b/client/scripts/player.gd index d574d70c..c4cec300 100644 --- a/client/scripts/player.gd +++ b/client/scripts/player.gd @@ -9,7 +9,7 @@ const SPEED: float = 25. var facing = Vector2(1, 0) var velocity = Vector2(0, 0) -func _physics_process(delta): +func _process(delta): var input = Vector2(Input.get_axis("left", "right"), Input.get_axis("forward", "backwards")).normalized() input = input.rotated(-camera.angle_target) |