浏览代码

Merge pull request #8085 from Piralein/almostdeletedmygamesavefilesbydeletingtheeditorsettings

Update images in "Your first 2D game - Coding the player" with wrong settings
Max Hilbrunner 1 年之前
父节点
当前提交
2b2be918db

+ 5 - 0
getting_started/first_2d_game/03.coding_the_player.rst

@@ -100,6 +100,11 @@ value written in the script.
 
 
 .. image:: img/export_variable.webp
 .. image:: img/export_variable.webp
 
 
+Your ``player.gd`` script should already contain
+a ``_ready()`` and a ``_process()`` function.
+If you didn't select the default template shown above,
+create these functions while following the lesson.
+
 The ``_ready()`` function is called when a node enters the scene tree, which is
 The ``_ready()`` function is called when a node enters the scene tree, which is
 a good time to find the size of the game window:
 a good time to find the size of the game window:
 
 

二进制
getting_started/first_2d_game/img/attach_node_window.webp


二进制
getting_started/first_2d_game/img/export_variable.webp


二进制
getting_started/first_2d_game/img/player_signals.webp