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
Our educational partners
Free education resources to use in the classroom
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
My question is fairly simple, most people here have played breakout. Is there a way I can use the mouse for the "paddle" but only allow it to move left or right, instead of all around the screen?
just set the x position to mousex. Clamp the range with clamp().
Thankyou, nice to get an answer to a question finally. Im at work right now so can't try it out, but im eager to get back and plug it in. Let you know how it works for me.
Develop games in your browser. Powerful, performant & highly capable.
It's going to work, trust me.
It works like a charm.Here's an example cap.