Displaying the Current Level on the HUD

Learn how to display the current level on the heads-up display.

We'll cover the following

Currently, the heads-up display shows the adventurer’s health and current inventory, but it doesn’t indicate the player’s current level. Adding the current level to the HUD can help players feel a sense of achievement when they see the number go up.

The hud_system handles HUD rendering; add the following code to systems/hud.rs:

Get hands-on with 1400+ tech skills courses.