It is pretty simple, I have a sprite that using pathfinding and depending on if it moving left or right I want it to have a specific left or right animation. How would I go about doing this?
Develop games in your browser. Powerful, performant & highly capable.
you can put a variable to get a value in x and one to get the value in y of the object, then compare the value and depending on the result, you define the animation