playMaker

Author Topic: Mouse to edge screen movement  (Read 1529 times)

fish

  • Beta Group
  • Playmaker Newbie
  • *
  • Posts: 18
Mouse to edge screen movement
« on: May 04, 2014, 01:55:33 PM »
Well, as the title states, I wish to know how to move the screen on a 2d plan when the mouse gets close to the edge of the screen. I can usually figure these things out but this has me stumped.

Thanks for your help in advance.

fish

  • Beta Group
  • Playmaker Newbie
  • *
  • Posts: 18
Re: Mouse to edge screen movement
« Reply #1 on: May 07, 2014, 03:00:06 PM »
Bump.

*Update, ok I manage to figure out a method that works pretty well. For those of you who might need a similar solution, I used http://hutonggames.com/playmakerforum/index.php?topic=5862.0 to get the screen position of the mouse and translate the vector 3 of the camera in the direction the mouse scrolls very easily.
« Last Edit: May 07, 2014, 06:00:08 PM by fish »