Browse Source

Merge pull request #543 from dfleury2/master

Missing hide() on Player._ready
Chris Bradfield 7 years ago
parent
commit
7b830a59ec
1 changed files with 1 additions and 0 deletions
  1. 1 0
      learning/step_by_step/your_first_game.rst

+ 1 - 0
learning/step_by_step/your_first_game.rst

@@ -149,6 +149,7 @@ that's a good time to find the size of the game window:
 ::
 ::
 
 
     func _ready():
     func _ready():
+        hide()
         screensize = get_viewport_rect().size
         screensize = get_viewport_rect().size
 
 
 Now we can use the ``_process()`` function to define what the player will do.
 Now we can use the ``_process()`` function to define what the player will do.