---
title: "Health Meter"
date: "2020-04-18T00:00:00+00:00"
tags: ["gamedev","JavaScript","Phaser"]
project: "The Legend of Zeta"
---

# Health Meter

Source: https://greenzeta.com/update/health-meter/
Last updated: 2026-01-08T04:00:08+00:00

Project: [The Legend of Zeta](https://greenzeta.com/project/the-legend-of-zeta/)

Building on the character collision handling in \#Phaser. A Zelda style heart meter is added to the top right corner and tied to the player character's \`hp\` property. When the player's hp reaches 0, a Game Over scene is loaded.
