Snake-case .tscn, .gd and _on_* callbacks

Co-authored-by: Doug Thompson <s-git@dougthompson.co.uk>
This commit is contained in:
Max Hilbrunner
2023-05-18 12:45:55 +02:00
parent 03081e0f14
commit 72c0af46b2
33 changed files with 133 additions and 139 deletions

View File

@@ -11,7 +11,7 @@ Listening to player input
Building upon the previous lesson :ref:`doc_scripting_first_script`, let's look
at another important feature of any game: giving control to the player.
To add this, we need to modify our ``Sprite2D.gd`` code.
To add this, we need to modify our ``sprite_2d.gd`` code.
.. image:: img/scripting_first_script_moving_with_input.gif
@@ -114,7 +114,7 @@ causing the sprite to move forward.
Complete script
---------------
Here is the complete ``Sprite2D.gd`` file for reference.
Here is the complete ``sprite_2d.gd`` file for reference.
.. tabs::
.. code-tab:: gdscript GDScript