Enemy Follow Player Plus Life and player Life

Hey guys, im new in phaser 3.

Im trying to make a game similar with the example top down shooter in the phaser site.

So after doing that i want to make the enemy follow the player to attack him.

Plus i want to add life to enemy and player.

Thanks for the help

A person called digitsensitive has a repo in github with some good game templates. You can clone them to your pc and run them and see how they work.
There is also a template for Super Mario, so it should help you with adding health and enemy follow up code.

thansk man, i go take a good look and study in his code.