Browse Source

Merge pull request #575 from cbscribe/kcc_vectorintro

Fix a couple of typos
Chris Bradfield 7 years ago
parent
commit
9c8e4df3cc

+ 1 - 1
learning/features/math/vector_math.rst

@@ -50,7 +50,7 @@ a vector's position. The following two vectors are identical:
 
 .. image:: img/vector_xy2.png
 
-Both vectors represent a point 4 units to the left and 3 units below some
+Both vectors represent a point 4 units to the right and 3 units below some
 starting point. It does not matter where on the plane you draw the vector,
 it always represents a relative direction and magnitude.
 

+ 7 - 2
learning/step_by_step/your_first_game.rst

@@ -149,7 +149,6 @@ that's a good time to find the size of the game window:
 ::
 
     func _ready():
-        hide()
         screensize = get_viewport_rect().size
 
 Now we can use the ``_process()`` function to define what the player will do.
@@ -242,7 +241,13 @@ Let's place this code at the end of our ``_process()`` function:
             $AnimatedSprite.flip_v = velocity.y > 0
 
 Play the scene again and check that the animations are correct in each
-of the directions.
+of the directions. When you're sure that movement is working correctly,
+add this line to ``_ready()`` so the player will be hidden when the game
+starts:
+
+::
+    
+    hide()
 
 Preparing for Collisions
 ~~~~~~~~~~~~~~~~~~~~~~~~