Creating a menu
The most exciting part of developing a game is, of course, making the game itself! Making things move, fight, jump, shoot, interact, and so forth. But there is another part that is just as important: the UI. A UI binds everything together. It informs the player of what is happening and lets them navigate from menu to menu with ease and without having to think about how to get from one interface to the other.
Good user experience, UI, or human-computer interaction design is hard! But it all starts with learning how to make the UI in the first place. So, let’s have a look at how we can create menus and interfaces.
Control nodes
The Godot engine comes with an extensive library of interface nodes. We already made use of one, the Label node, in Chapter 6. These nodes are called Control nodes and get labeled by the color green:
Figure 10.1 – Some Control nodes can be recognized by their green color
If you go and open the...