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
Hi,
I'm wondering if there is any way to stop the mouse cursor from leaving the game screen?
I want it to stick to the gamescreen unless you press escape.
The technology for this is not yet available in the browsers.
In a few updates the MouseLock API will be available and should allow you to just exactly do that.
For now, I don't think there's a way to do it.
o.o i think this can't happen , just make full screen mode
I don't like the idea to force the player to press a specified button just to get the mouse out of the game. Kids or amateur user will have big trouble, as many people still play the game but don't care about the button control.
This is not a game launcher, just a web browser after all.
Develop games in your browser. Powerful, performant & highly capable.
Thank you for your replies. I'll just go with an other solution then. :)
hylists: What you say is completely true. Though I wanted this mainly for a personal project where I would be the only player ;)