Преглед изворни кода

Update getting_started/step_by_step/scripting_player_input.rst

Updating phrasing per suggestion

Co-authored-by: Matthew <[email protected]>

Kyle Starr пре 1 година
родитељ
комит
e4268cf580
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      getting_started/step_by_step/scripting_player_input.rst

+ 1 - 1
getting_started/step_by_step/scripting_player_input.rst

@@ -79,7 +79,7 @@ right arrows on the keyboard or left and right on a gamepad's D-pad.
 Finally, we use the ``direction`` as a multiplier when we update the node's
 Finally, we use the ``direction`` as a multiplier when we update the node's
 ``rotation``: ``rotation += angular_speed * direction * delta``.
 ``rotation``: ``rotation += angular_speed * direction * delta``.
 
 
-Comment out the lines ``var velocity = Vector2.UP.rotated(rotation) * speed`` and ``position += velocity * delta`` with the code below:
+Comment out the lines ``var velocity = Vector2.UP.rotated(rotation) * speed`` and ``position += velocity * delta`` like this:
 
 
 .. tabs::
 .. tabs::