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
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
Hi, i have some events driven by the mouse position. When you play the game , and you drag your mouse outside the layout window , all events driven by mouse continue to progress. How to bound the mouse movement to the layout?
You could use clamp to constrain the x and y positions. See the attached capx.
You are welcome
Develop games in your browser. Powerful, performant & highly capable.
Plz , download this capx and try to run it in node webkit preview. Then move the mouse out of the screen. :-/
Again, you need to use clamp for the rest of the events.