Merge pull request #8085 from Piralein/almostdeletedmygamesavefilesbydeletingtheeditorsettings

Update images in "Your first 2D game - Coding the player" with wrong settings
This commit is contained in:
Max Hilbrunner
2023-10-08 23:17:31 +02:00
committed by GitHub
4 changed files with 5 additions and 0 deletions

View File

@@ -100,6 +100,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:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB