Lock mouse inside window?

Started by Muyfa666, Sat 26/03/2016 19:39:38

Previous topic - Next topic

Muyfa666

Are there any way to "lock" to mouse inside a windowed AGS game?

So far I found nothing. Any suggestions?

Crimson Wizard

#1
We have just released a new version that allows to do that:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=53360.0

If you want to have such ability with the previously made game, download the ZIP package with new version of AGS, and copy "acwin.exe" file into game's folder, then run it (instead of game's exe).

Mouse lock is toggled with Ctrl+Alt.
You may also configure "autolock". Open game's "acsetup.cfg" file with any text editor and add following:
Code: text

[mouse]
auto_lock=1

This will lock mouse anytime you switch to game window.

If you get any trouble with that, please report in the forum thread mentioned above.

SMF spam blocked by CleanTalk