Make the Enemy Flip Image Horizontal
juliomario14
AtlantaMember, PRO Posts: 7
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.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
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.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Coding?!? @Jamie_C You should know better! >
Developer For BLUNTentertainment - Feel Free To Message Me! - Free Beginner Templates!
@SmokeyAce73, lol! I know, I wrestle with what to call it sometimes...
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
@jaime_c Thank you, GOT IT !!!
Great, glad to hear it!
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page