add collecting coins

This commit is contained in:
2024-12-30 01:00:26 +01:00
parent b862fa8084
commit d96963b6ef
14 changed files with 184 additions and 3 deletions

View File

@@ -48,6 +48,9 @@ func _physics_process(delta):
if Input.is_action_pressed("jump") and (is_on_floor() or coyote_mode):
jump()
if Input.is_action_just_pressed("down"):
position.y += 1
var direction = Input.get_axis("left", "right")
if direction: