dropbox.com/s/v0nw63is3og5f10/trail%2010.capx
target 1. simpler heart.
target 2. 1x layout game end heart=2 next x layout start heart=2 dop2000
you target , I could not, because what will I erase?
.HERO on collision with Enemy : Subtract 1 from HEART
System compare variable HEART=0 : Wait 2, restart layout
HERO on collision with Health : Set HEART to min(3, HEART+1)
Every tick : HudHearts set animation frame to (HEART-1)
: HudText set text to HEART