playMaker

Author Topic: Make a scrolling cam by clic holding [Solved]  (Read 1639 times)

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Make a scrolling cam by clic holding [Solved]
« on: August 21, 2013, 05:19:56 PM »
Hi,

i just tested how i can simply do this , following my idea:
X1-X2=Vx
Y1-Y2=Vy

translate:
when player first clic XY1
substract second Value XY2
result give me Value used as speed XY for the scrolling, certainly multiplied by something after.

it look a good start but using float substract doesn't allow me to store any result!

is there any way to do this or some code to paste to modify it ?
or maybe a totaly different way ?
« Last Edit: August 21, 2013, 06:38:49 PM by blackant »

blackant

  • Hero Member
  • *****
  • Posts: 521
  • http://blackantmaster.com
    • blackantmaster.com
Re: Make a scrolling cam by clic holding
« Reply #1 on: August 21, 2013, 05:43:23 PM »
Ha ! i just fund the Float operator action sry... -.-'