playMaker

Author Topic: How to invert the x-axis when players switches sides?  (Read 1628 times)

G-Kaiser

  • Playmaker Newbie
  • *
  • Posts: 34
How to invert the x-axis when players switches sides?
« on: April 04, 2014, 04:54:54 PM »
Hello,

How can I reverse the input once one player gets to the opposite side of another after a Transform.translate action? Also, how can I get the players to face each other after one has moved to the opposite side of the other? I am making a 2D fighting game and any help on this topic would be greatly appreciated. Again, my project is strictly 2D I am using Smooth Moves and Playmaker, this is just for clarity.