Make the Enemy Flip Image Horizontal
Hello, I made my enemy face the player when i'm near it (face right) but when i jump him the enemy doesnt face me (facing left) i can think of an equation that can do that type of behavior. Any body have any ideas! Thank yuo
Comments
Use a Change Attribute Behavior and just change the actors Flip Horizontal setting.
but then who i can change the enemy attribute to from true to false when my player pass it or jump it over.
who=how lol sorry
Well it depends on how you set up your coding for the game. What I would do is Constraint my players X and Y values to two attributes. That way you can know where your player is at at all times and act accordingly.
Hope that helps.
Coding?!? @Jamie_C You should know better!
>
@SmokeyAce73, lol! I know, I wrestle with what to call it sometimes...
@jaime_c Thank you, GOT IT !!!
Great, glad to hear it!