i need and example of . enemy follow player with los and sidescrolling when player passes enemy , enemy changes direction of movement and animation, when following player.
Develop games in your browser. Powerful, performant & highly capable.
You mean is when some distance between Player and Enemy, Enemy -> Follow Player, Change the Direction and Anmation?
Previously, Can you mention me What is the game type? Platformer? And Sorry for my English.
Not sure is this what you're talking about?
http://markesswilder.com/SoulSoldierGame/
There is a turret behavior for turning and shooting towards the desired target, but im not sure what you mean...