How do I disable the Mouse?

Get help using Construct 2

Post » Fri Jun 30, 2017 9:31 pm

I am attempting to make a game that utilizes the the mouse to look around and one issue I have come across is the way the mouse can move offscreen,

I downloaded the MouseLock plugin seen here: plugin-mouse-lock-v0-5-updated_t102112

The problem with that is I get this error when I activate the plugin.

Image

Is there any other way to get the mouse to lock onto the screen?
B
16
S
4
G
4
Posts: 59
Reputation: 3,091

Post » Sat Jul 01, 2017 12:26 am

Is this for a browser game or desktop?
If it's for a browser, it's probably best to allow the user to click off the game (this is a convention for browser objects), so making the cursor invisible is a better idea.
For desktop, fullscreen should make the mouse bound to the window.

Is there any reason you need the mouse to not be able to move at all?
B
42
S
14
G
3
Posts: 165
Reputation: 5,115


Return to How do I....?

Who is online

Users browsing this forum: dop2000, TheRealDannyyy and 65 guests