Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
hello,
i need some tip on how to find midpoint x,y between 2 multitouches... between touch 0 and touch 1.
thanx!
Develop games in your browser. Powerful, performant & highly capable.
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
R0J0hound
saves the day once again... !!!