By embedding games on your website or application you are agreeing to the Construct.net Arcade Terms of Service.
This is an example of an enemy following a player and its relative angle / location. One usage would be custom enemy animations based on the relative location to the player, i.e. looking left, etc. All code / assets are free for unlimited reuse.