Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
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)
Please check it out.. . Also I don't need the .Y position, just the .X.
EDIT: I can not insert a link!
Develop games in your browser. Powerful, performant & highly capable.
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.