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 ?