Rivo
7014
My enemy uses the A* path finding algorithm. (The built in version, i didn't write the whole thing) which it uses to chase the player or wander, and I would like to know how I would flip my enemies sprite according to what direction it faces (left or right)
Here is the code I tried that didn't work...
Any help would be great thank you
Here is the code I tried that didn't work...
Code:
image_xscale = sign(direction)
Last edited: