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
I have two characters I can control individually and at the same time, when controlling them both at the same time, I want to place my camera object between both characters. Can't figure it out.
Is this what you mean?
https://www.dropbox.com/s/u9sqydw35hmoo ... .capx?dl=0
I couldn't upload an attachment for some reason..
Find out the distance between them, e.g. horizontally X2 - X1
Divide by 2 to half it
Add to the original X1
codah
majesticAsFk
That's brilliant thanks guys all working
Develop games in your browser. Powerful, performant & highly capable.
i believe the same is
middle=(x1+x2)/2
This work if y1 and y2 are the same.
Otherwise, it will be :
x_middle = (x1+x2)/2
y_middle = (y1+y2)/2