mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
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:
@@ -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:
|
||||||
|
|
||||||
|
|||||||
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 |
Reference in New Issue
Block a user