update images and outdated properties

This commit is contained in:
Hana
2023-02-04 20:51:50 +01:00
parent 6d5adf61a8
commit dadc2d9f97
18 changed files with 46 additions and 34 deletions

View File

@@ -53,13 +53,15 @@ tab. In the same way you created the movement input actions, create a new
input action called ``start_game`` and add a key mapping for the :kbd:`Enter`
key.
In the ``HUD`` scene, select the ``StartButton`` and find its *Shortcut*
property in the Inspector. Select "New Shortcut" and click on the "Shortcut"
item. A second *Shortcut* property will appear. Select "New InputEventAction"
and click the new "InputEventAction". Finally, in the *Action* property, type
the name ``start_game``.
In the ``HUD`` scene, select the ``StartButton`` and find its **Shortcut**
property in the Inspector. Create a new :ref:`Shortcut <class_Shortcut>` resource,
open the **Events** array and add a new array element to it.
.. image:: img/start_button_shortcut.png
.. image:: img/start_button_shortcut.webp
Create a new :ref:`InputEventAction <class_InputEventAction>` and name it ``start_game``.
.. image:: img/start_button_shortcut2.webp
Now when the start button appears, you can either click it or press :kbd:`Enter`
to start the game.