how can i make a enemy follow me in platformer

I’m trying to make a boss at level 10 of my game and one of the attacks is it following the player around. here is a link to my game.

https://flowlab.io/game/play/1380477

@deathraider47 This may really help. Go through the comments and have a look into the game, and you will see some INTERESTING enemy mechanics. I would suggest going through comments first though.
http://forum.flowlab.io/discussion/8457/the-ultimate-platformer-enemy#latest

Here’s a Chase example I’ve made but its more of an overview.

Chase Example:
https://flowlab.io/game/play/1343478