On-screen display assets for score, lives, keys, and player info
| File | Location | Usage |
|---|---|---|
| hud_heartFull.png | Base pack/HUD/ | Full heart — player has this life |
| hud_heartHalf.png | Base pack/HUD/ | Half heart — half damage taken |
| hud_heartEmpty.png | Base pack/HUD/ | Empty heart — life lost |
| Lives Left | Heart 1 | Heart 2 | Heart 3 | Result |
|---|---|---|---|---|
| 3 lives | heartFull | heartFull | heartFull | Full health |
| 2 lives | heartFull | heartFull | heartEmpty | One hit taken |
| 1 life | heartFull | heartEmpty | heartEmpty | Danger! |
| 0 lives | heartEmpty | heartEmpty | heartEmpty | GAME OVER |
Source Image on each Heart's Image component. When the player takes damage, swap hud_heartFull to hud_heartEmpty from right to left.
| File | Location | Usage |
|---|---|---|
| hud_coins.png | Base pack/HUD/ | Coin icon for score counter |
| File | Location | Usage |
|---|---|---|
| hud_gem_blue.png | Base pack/HUD/ | Blue gem counter |
| hud_gem_green.png | Base pack/HUD/ | Green gem counter |
| hud_gem_red.png | Base pack/HUD/ | Red gem counter |
| hud_gem_yellow.png | Base pack/HUD/ | Yellow gem counter |
[blue gem] x2 [red gem] x1
| File | Location | State |
|---|---|---|
| hud_keyBlue.png | Base pack/HUD/ | Blue key — collected |
| hud_keyBlue_disabled.png | Base pack/HUD/ | Blue key — not collected (greyed out) |
| hud_keyGreen.png | Base pack/HUD/ | Green key — collected |
| hud_keyGreen_disabled.png | Base pack/HUD/ | Green key — not collected (greyed out) |
| hud_keyRed.png | Base pack/HUD/ | Red key — collected |
| hud_keyRed_disabled.png | Base pack/HUD/ | Red key — not collected (greyed out) |
| hud_keyYellow.png | Base pack/HUD/ | Yellow key — collected |
| hud_keyYellow_disabled.png | Base pack/HUD/ | Yellow key — not collected (greyed out) |
hud_keyGreen_disabled.png but in some versions of the pack it may appear as hud_keyGreem_disabled.png (note the typo: "Greem" instead of "Green"). Check your files and rename if needed!
keySlotImage.sprite = hud_keyBlue; when the player collects the blue key| File | Location | Usage |
|---|---|---|
| hud_p1.png | Base pack/HUD/ | Player 1 portrait |
| hud_p1Alt.png | Base pack/HUD/ | Player 1 alternative portrait |
| hud_p2.png | Base pack/HUD/ | Player 2 portrait |
| hud_p2Alt.png | Base pack/HUD/ | Player 2 alternative portrait |
| hud_p3.png | Base pack/HUD/ | Player 3 portrait |
| hud_p3Alt.png | Base pack/HUD/ | Player 3 alternative portrait |
| File | Location | Usage |
|---|---|---|
| hud_0.png | Base pack/HUD/ | Digit 0 |
| hud_1.png | Base pack/HUD/ | Digit 1 |
| hud_2.png | Base pack/HUD/ | Digit 2 |
| hud_3.png | Base pack/HUD/ | Digit 3 |
| hud_4.png | Base pack/HUD/ | Digit 4 |
| hud_5.png | Base pack/HUD/ | Digit 5 |
| hud_6.png | Base pack/HUD/ | Digit 6 |
| hud_7.png | Base pack/HUD/ | Digit 7 |
| hud_8.png | Base pack/HUD/ | Digit 8 |
| hud_9.png | Base pack/HUD/ | Digit 9 |
| hud_x.png | Base pack/HUD/ | Multiply symbol (×) |
scoreText.text = "42"; than to swap individual digit images. Number sprites are an optional arcade-style visual upgrade for advanced students.
hud_4.png next to hud_2.png. The hud_x.png (×) is useful for displays like "×3" for lives remaining.