|
@@ -22,7 +22,7 @@ read :doc:`ui_code_a_life_bar`
|
|
Download the project files: :download:`ui_main_menu_design.zip
|
|
Download the project files: :download:`ui_main_menu_design.zip
|
|
<files/ui_main_menu_design.zip>` and extract the archive. Import the ``start/``
|
|
<files/ui_main_menu_design.zip>` and extract the archive. Import the ``start/``
|
|
project in Godot to follow this tutorial. The ``end/`` folder contains the
|
|
project in Godot to follow this tutorial. The ``end/`` folder contains the
|
|
-final result. You'll find all the sprites in the ``start/assets/main_menu```
|
|
|
|
|
|
+final result. You'll find all the sprites in the ``start/assets/main_menu``
|
|
folder.
|
|
folder.
|
|
|
|
|
|
.. note:
|
|
.. note:
|
|
@@ -156,9 +156,9 @@ Start to type ``TextureRect`` to find the corresponding node and press
|
|
enter. With the new node selected, press ``Meta+D`` five times to
|
|
enter. With the new node selected, press ``Meta+D`` five times to
|
|
create five extra ``TextureRect`` instances.
|
|
create five extra ``TextureRect`` instances.
|
|
|
|
|
|
-Click each of the nodes to select it. In the inspector, click the ``…``
|
|
|
|
-Icon to the right of the Texture property, and click on ``Load``. A file
|
|
|
|
-browser opens and lets you pick a sprite to load into the texture slot.
|
|
|
|
|
|
+Click each of the nodes to select it. In the inspector, find the ``Texture``
|
|
|
|
+property and click ``[empty]`` -> ``Load``. A file browser opens and lets
|
|
|
|
+you pick a sprite to load into the texture slot.
|
|
|
|
|
|
.. figure:: img/ui_texturerect_load_texture.png
|
|
.. figure:: img/ui_texturerect_load_texture.png
|
|
|
|
|