I need pathfinding + change sprite animation according its moving angle example. Does anybody has fully working example for this? I've saw one but it was bugged.
You could do it like this:
You can add as many of the "is between x and x degrees" as you see fit.
Develop games in your browser. Powerful, performant & highly capable.