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'm making a running game and want the camera to follow the person in the lead. I've got two players and they only run on the X-axis.
Develop games in your browser. Powerful, performant & highly capable.
Instead of following the nearest, Just compare the x of both character every tick, and set the position of the camera to whatever character has the biggest X value
Unless they're running from the right to the left, on which case the camera should follow the one with the least X value
This might help you.
WASD- Left guy
Arrow Keys- Right guy
https://mega.co.nz/#!7xV3UBID!WUV7rUU6y ... IeEaKosWFA - File hosting
I do have WASD and Arrow keys set, but thanks for your help, both.
It's no problem, also I was just telling you the controls for the .capx i sent you. Glad I could help