W to walk a and d to turn PLEASE READ This is some enemy sight code Is see lots of people making enemy’s just move towards the player or on a set path this code can make a free roaming monster that has sight so if it sees the player it will run after them and if the player runs away wt will chase and then loose aggro you can change the colour of the dots to blend in to your background i made them visible so you can see what is happening please edit the code to fit your game and enjoy
Please take this code to help make better enemy in games i would love to see them and no credit needed but you can if you want No advertising