see the drawing. Can anyone give a tip?
tnks =)
Umm... what image??? I did not see any images...
hmmm, my bad...
this image, can you see now? =)
https://www.dropbox.com/s/8bqjac02w44v3 ... s.png?dl=0
Midpoint is just (X1+X2)/2. Same for Y.
but I have two equal elements (the planets), how will I know the Y of each planet? Knowing that it's the same duplicate planet.
Develop games in your browser. Powerful, performant & highly capable.
X: (Sprite(0).X + Sprite(1).X)/2
Y: (Sprite(0).Y + Sprite(1).Y)/2