The platform example game adapted to add a health bar to the player, that is decreased when the player touches an enemy.
Edit it in GDevelop
Test and edit this example in the GDevelop game engine.
This game is made with GDevelop using these features: