FPS/Part1: fix GDScript missing char

This commit is contained in:
Poommetee Ketson
2018-04-23 00:40:22 +07:00
committed by GitHub
parent 36d34a21f3
commit 23d3521cb8

View File

@@ -183,7 +183,7 @@ Add the following code to ``Player.gd``:
if Input.is_action_pressed("movement_left"):
input_movement_vector.x -= 1
if Input.is_action_pressed("movement_right"):
input_movement_vector.x = 1
input_movement_vector.x += 1
input_movement_vector = input_movement_vector.normalized()