View Single Post
10-23-16, 10:28 AM   #8
Oniya
A Wyrmkin Dreamwalker
Join Date: Feb 2015
Posts: 57
Originally Posted by elcius View Post
woops,
Code:
local worldx, worldy = x2+(x1-x2)*px, y2+(y1-y2)*py;
is correct, i forgot they put the top-left offset 2nd.
Will try it out, thank you!
  Reply With Quote