so basically, This is my Enemy AI and Platforming Engine. Please use with credit @awesomebricks1, modified by @baseballscratch3116. If you have any questions about this contact me in my profile! Thank you! All credits to me :) and @baseballscratch3116 I would appreciate feedback but no criticism please! You can follow at @3116extras! Follow, heart, star for better games and a chocolate chip cookie..
i made it so that it is true AI the enemy will still go towards you, but he thinks you will return to the average position if you are on that side of him. otherwise, he just goes towards you