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
How do I switch direction of platform player on one tap?
left to right or vice versa
Suggestion would be to check the x value of the touch. You could then simulate a left movement if touch x is less than player x. Opposite of course would be that a touch x greater than player x would simulate a right movement.
Develop games in your browser. Powerful, performant & highly capable.
If you'd like to toggle on tap you could use a boolean variable on the player and toggle boolean on tap..
then have an event
if boolean = true - platform simulate pressing right
else - platform simulate pressing left
Awesome thanks the boolean works perfect.