playMaker

Author Topic: Screen Width and Transform.  (Read 1850 times)

Noah492

  • Playmaker Newbie
  • *
  • Posts: 6
Screen Width and Transform.
« on: July 14, 2015, 12:31:46 PM »
How do I set this up? If the player moves off the screen, he moves to the other side of the screen. I made a global variable called ScreenW that is stored in the action 'Get Screen Width'. I think I will need to use 'Get Position' and 'Set Position'

I have no idea how to set this up and I think I will need some math with ScreenW.

Any ideas?

DarkSoul

  • Playmaker Newbie
  • *
  • Posts: 37
Re: Screen Width and Transform.
« Reply #1 on: July 14, 2015, 01:52:00 PM »
Hello,

Maybe Put a 4 colliders [off the screen] when the player enter it , you get position subtract the distance and set position .

I hope this helps.