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
So I am trying to make a breakout game... but I have problem with the paddle, I don't use a mouse input but a touch one and whenever I stop touch the screen the paddle is moving to the left corner of the screen.. How can I make the paddle stay in the same position as before I stop touch the screen?
I´m not sure i understand what u say, but i think i this:
On touched object -> set X : object.x, set Y:object.Y
On any touch end -> set object.x: X, set object.y: Y
(Y an X are global variables)
Develop games in your browser. Powerful, performant & highly capable.
Please check it out.. . Also I don't need the .Y position, just the .X.
EDIT: I can not insert a link!
When not in touch the value of touch.x = 0 as is the value of touch.y..
So you will have to create an action to set the touch.x and touch.y to the desired x and y when not touching.