Tutorial: Using the UI editor This tutorial walks you through the steps to open the UI editor and discusses all of the relevant panes in the UI Editor’s interface. You will learn the following:
How to open the UI editor All of the relevant panes and what they do
Prerequisites Before you can start using the UI Editor and complete the Your First Game Menu series of tutorials, you must meet the following prerequisites.
It is assumed that you are running on Windows (64-bit). In the file paths mentioned below, /lumberyard represents the path to your local Lumberyard installation folder. For reference, the sample canvas used in this tutorial series is located in dev/SamplesProject/Levels/Samples/UIEditor_Sample/UI with the completed demo UI.
* This tutorial requires you use the SamplesProject supplied with the Lumberyard.
Step 1: Open the UI Editor Sample level You will need to run the Lumberyard editor and open the UI Editor Sample level. This sample level contains the flow graph needed to run the game menu seen in the L.E.O. screenshot above. To open the UI Editor Sample level 1. In the level selection window, click Open Level. OR use File Open to open the UIEditor_Sample level (…\dev\SamplesProject\Levels\Samples\UIEditor_Sample\UIEditor_Sample.cry).
Step 2: Opening the UI editor With the UIEditor_Sample level opened, open the UI Editor. To open the UI editor 1. Click View, Open View Pane, UI Editor (PREVIEW). 2. Alternatively, you can use the
button located on the editor’s toolbar.
After the UI editor opens, a rectangular shape with a checkerboard pattern is displayed. This represents a new empty canvas.
Step 3: Learn the toolbar and editor panes After you open the UI Editor, you can explore the elements of its interface. The UI editor consists of: 2. The Menu Provides standard File, Edit, and View menu items 3. The Toolbar Includes commonly used tools and settings 4. The Hierarchy pane Lists the UI elements you create 5. The Viewport Displays the UI elements on the current UI canvas 6. The Properties pane Lists the component properties for the selected element Note: You can tear away and re-dock any pane including the sections of the toolbar.
Congratulations! You now know how to open the UI editor, and are familiar with its interface.
Related tasks and tutorials From this point forward, you can continue the Your First Game Menu tutorial series and learn how to build a game menu. Continue on to the next tutorial:
Creating a resolution independent background image
We’d love to hear from you! Head to our Tutorial Discussion forum to share any feedback you have, including what you do or don’t like about our tutorials or new content you’d like to see in the near future.