diff --git a/char/char.gd b/char/char.gd index b384bbe..01b25ec 100644 --- a/char/char.gd +++ b/char/char.gd @@ -12,9 +12,15 @@ func _physics_process(delta): if Input.is_action_pressed("ui_right"): $Sprite.flip_h = false motion.x = SPEED + elif Input.is_action_pressed("right"): + $Sprite.flip_h = false + motion.x = SPEED elif Input.is_action_pressed("ui_left"): $Sprite.flip_h = true motion.x = -SPEED + elif Input.is_action_pressed("left"): + $Sprite.flip_h = true + motion.x = -SPEED else: motion.x = 0 if is_on_floor():