Item Mechanics

Classic heart to increase player health?

Add the Sine behaviour to the heart

To add some dynamism.

Use  the settings shown.

This just makes the Heart move up and down a bit.

Create an event sheet for the heart

Include it in any level where you add a heart

When the player collides with the heart

Destroy the heart

Add 1 to Life

Update the Global variable

Update the Hearts in the HUD

Ensure Player Life does not exceed 3