+1 vote

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

in Engine by (13 points)

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.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories