(7) HUD Layer

The HUD (heads-up display) or status bar is the way information is visually presented to the player.

99 Add a new layer at the top

Name it HUD

Make it a global layer

Global layers

Sometimes many layouts in a project have the same content on a particular layer, such as for interface or HUD overlaid on to the project. Changing this content then becomes a chore since changes must be repeated on every layout. Global layers are aimed at solving this problem.


If a layer's Global property is enabled, then every layer in the project with the same name is overridden by that layer. The initial objects, as well as its properties, are used instead of the other layer's own content and properties. Then changes can be made once to the original global layer, and the changes will be applied project-wide.

Setup the HUD

100 Set the origin of the PlayerPortrait and PlayerHearts to Top Left

Apply this to all animations

Set the size of PlayerPortrait to 64 x 64

Set the position of PlayerPortrait to 0 , 0

101 Set the size of PlayerHearts to 160 x 56

Set the position of PlayerHearts to 64 , 5