Post #14: Dodge the Creeps, Part 5
Day 14! Two weeks of posting daily 💪
At this point in the tutorial, we start building the HUD (Heads Up Display). It might be worth our time to do a very small amount of investigation into Godot's UI system they provide.
Here are some basic points to remember:
- The
CanvasLayernode allows us to draw our UI "above" the game, so game elements aren't covering our UI - The basic node for UI elements is
Control- In this tutorial we use two types of control nodes,
LabelandButton
- In this tutorial we use two types of control nodes,
- There are more complex UI controls, like various types of containers
- For example,
ScrollContainers allow you to provide scroll bars (vertical or horizontal) when needed
- For example,
- Control nodes have
Anchors, which define the origin of the node
There are plenty more points about UI in Godot, so hopefully we can continue digging in the future!