diff --git a/getting_started/first_2d_game/03.coding_the_player.rst b/getting_started/first_2d_game/03.coding_the_player.rst index 95be85706..fd16c9dfc 100644 --- a/getting_started/first_2d_game/03.coding_the_player.rst +++ b/getting_started/first_2d_game/03.coding_the_player.rst @@ -104,6 +104,11 @@ value written in the script. .. 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 a good time to find the size of the game window: diff --git a/getting_started/first_2d_game/img/attach_node_window.webp b/getting_started/first_2d_game/img/attach_node_window.webp index f77a3d5ab..211f96082 100644 Binary files a/getting_started/first_2d_game/img/attach_node_window.webp and b/getting_started/first_2d_game/img/attach_node_window.webp differ diff --git a/getting_started/first_2d_game/img/export_variable.webp b/getting_started/first_2d_game/img/export_variable.webp index fed71e6b4..b309d6b73 100644 Binary files a/getting_started/first_2d_game/img/export_variable.webp and b/getting_started/first_2d_game/img/export_variable.webp differ diff --git a/getting_started/first_2d_game/img/player_signals.webp b/getting_started/first_2d_game/img/player_signals.webp index 261a13ccb..9100f4db0 100644 Binary files a/getting_started/first_2d_game/img/player_signals.webp and b/getting_started/first_2d_game/img/player_signals.webp differ