fix: update player positions

This commit is contained in:
SondreElg
2025-10-04 16:53:42 +02:00
parent ea9127dc69
commit 8597310867

View File

@@ -126,6 +126,9 @@ func _process(delta):
else:
move_state = MoveState.Still;
position += velocity * delta
position = position.clamp(Vector2.ZERO, screen_size)
# Handle action_state
if Input.is_action_pressed("play_card"):
play_card();
@@ -139,4 +142,3 @@ func _process(delta):
elif Input.is_action_pressed("charge"):
action_state = ActionState.Charging;
charge();