June 2018
Beginner to intermediate
298 pages
7h 38m
English
Create a new scene with a MarginContainer node. Name it HUD and save in the ui folder. Set the Layout to Top Wide. In the Custom Constants section of Inspector, set the following values:
Add an HBoxContainer. This node will contain all the UI elements and keep them aligned. It will have two children:
On the ScoreLabel, set the Text property to 1, and under Size Flags, set Horizontal to Fill and Expand. Add a custom DynamicFont using res://assets/Kenney Thick.ttf from the assets folder, with a font size of 48. In the Custom Colors section, set the Font Color to white and the Font Color Shadow to black. Finally, under ...
Read now
Unlock full access