Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Kinoko on Wed 16/06/2004 15:32:56

Title: Disabling mouse permanently
Post by: Kinoko on Wed 16/06/2004 15:32:56
If I wanted to make a game based solely on keyboard input with no mouse cursor, would the best way to achieve this be to set the cursor mode to 'wait' and give it a transparent graphic?
Title: Re: Disabling mouse permanently
Post by: Isegrim on Wed 16/06/2004 16:55:51
Why not HideMouseCursor()?
Title: Re: Disabling mouse permanently
Post by: Kinoko on Thu 17/06/2004 02:12:27
Would this also completely disable it's use?
Title: Re: Disabling mouse permanently
Post by: Gilbert on Thu 17/06/2004 02:55:38
Nope, but all mouse usage were designed by the game maker him(her)self, so you can just don't use any interactions related to mouse usage in your game (and comment out any mouse-related stuff in the script).
Title: Re: Disabling mouse permanently
Post by: Scorpiorus on Thu 17/06/2004 08:25:33
Or, if you want to use these interactions, you could combine HideMouseCursor() with your idea of setting a mouse cursor to the wait mode. Thus, only the any click interaction is possible for player to run with a mouse click but you can then just don't use it at all.
Title: Re: Disabling mouse permanently
Post by: Radiant on Thu 17/06/2004 11:38:44
Or you could just take the on_mouse_click function and have it simply read 'return'.