Hello Everyone.
I have a 2 sprites both of them had an imagepoint.
the Question is how can I pin or set the position from 1st-Sprite's Imagepoint to 2nd-Sprite's Imagepoint ?
Thank you.
Develop games in your browser. Powerful, performant & highly capable.
Calculate the x,y distance of the image point of 1st sprite from its origin.
Set 1st sprite position to 2nd sprite imagepoint.
Offset by the x,y distance calculated.
Pin.
Thank You Casper !!!
for quick reply
and it WORKING very well :D