How to make enemy face the player

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mill94

I am making a platformer game. How do I make the enemy face the player if the player is on the other side?

Your question isn’t really clear. Do you mean flipping your character’s sprite horizontally ? If yes, then this might help :

These links are about flipping the main character’s sprite but the main idea is to use the set_flip_h() function in your enemy script.

edesse | 2020-11-27 14:24