Wait for Mouse Click

cybernetsurfer7
15 Nov 2013, 04:58I'm working on a game in which I'm attempting to remove all user text input and relying solely on a click interface. However, I have some initial start-up text that I would like the game to pause on while waiting for a mouse click. There is a built in feature for waiting on a keystroke. I was wondering if there is a way to do the same only waiting for a mouse, either built in or via javascript. Thanks in advance.
Cheers!
Cheers!
The Pixie
15 Nov 2013, 09:18The standard "wait" script command will work with a mouse click on the "Continue" link, just as well as a key stroke.
Liam315
15 Nov 2013, 09:30If you have hidden the command bar then you can use this for each wait script.
It should be possible to make the game respond to a click anywhere on the screen using JS but that one is a bit beyond me.
request (Show, "command")
wait {
request (Hide, "command")
}
It should be possible to make the game respond to a click anywhere on the screen using JS but that one is a bit beyond me.