hello,
i need some tip on how to find midpoint x,y between 2 multitouches... between touch 0 and touch 1.
thanx!
A midpoint is just this: (a+b)/2
So for touch it would look like this. I don't think that was the correct syntax for touch but you should get the idea.
midx = (touch(0).x+touch(1).x)/2
midy = (touch(0).y+touch(1).y)/2
Develop games in your browser. Powerful, performant & highly capable.
R0J0hound
saves the day once again... !!!