I want the enemies to follow the player on a tile with collision. I pretty much want this because I’m making a 2D platformer shooter game (Well, something like Metroid Dread), and I don’t like the fact that my enemies basically fly. I’m also creating a type of enemy similar to the EMMI, which means that the enemy basically patrols around an area, and can basically climb onto walls and ceilings. Can someone help me with this please?
Can someone also tell me if this makes sense (and i’ll need help on the code for this):
Because the EMMI has 3 modes, there will be 3 ranges. The first range is the EMMI’s search mode, in which if you enter the range, then the EMMI will begin heading to the location where you entered its range. Every 5 seconds you are in the EMMI’s search range the EMMI will be alerted to a new location. The second range is the EMMI’s chase mode, which is much shorter compared to the search range. basically it will make the EMMI more faster and will start chasing you no matter where you go. And the third range is the escape range. If you are able to run past the escape range while the EMMI is chasing you, then the EMMI will return back to patrolling.