PDA

View Full Version : Gscript Gestures


Astram
10-25-2011, 04:56 AM
I'm not a computer genius but I know that mac computers are highly capable and encouraged to use gestures. I think that we should integrate the gesture systems to Graal. Wouldn't it be so much easier on zodiac to open your inventory by sliding 3 fingers to the side? Or on Era, simply swiping you hand across the mouse pad to easily switch guns? A function for it could be.

//Movement 1, 2, and 3 are the movement of each finger on the trackpad
//each defined by the number of fingers and which way you slide them
//The top left of the trackpad gets scanned first for movement1
function onGesture(fingers, movement1, movement2, movement3) {
if (fingers == 3 && movement1 == "Up-Left" && movement2 == "Down-Left" && movement3 == "Down-Right") {
player.chat = "Gesture Correct";
}

It is already in minecraft too. As I already said, I'm not sure it can be integrated into Graal but its worth a shot.

fowlplay4
10-25-2011, 05:09 AM
A gimmick that only an extremely small amount of players (Mac users with trackpads) will actually be able to use, I don't think this will ever see the light of day.

I also disagree and believe pressing Q is easier than a 3 finger slide gesture.

Using mouse events you can already make your own 'gscript gestures'.

Tricxta
10-25-2011, 06:00 AM
A gimmick that only an extremely small amount of players (Mac users with trackpads) will actually be able to use, I don't think this will ever see the light of day.

I also disagree and believe pressing Q is easier than a 3 finger slide gesture.

Using mouse events you can already make your own 'gscript gestures'.

That wouldn't support multi-touch however. It would be cool to have the support for iServers.

fowlplay4
10-25-2011, 06:13 AM
That wouldn't support multi-touch however. It would be cool to have the support for iServers.

There already is multi-touch support (http://forums.graalonline.com/forums/showthread.php?t=134257507).

cbk1994
10-25-2011, 06:25 AM
There already is multi-touch support (http://forums.graalonline.com/forums/showthread.php?t=134257507).

That's not relevant to the Mac, though. Trackpads don't plot your fingers on the screen, they watch which directions you move your fingers. Tapping in the top left of your trackpad isn't the same as clicking in the top left of your screen.

I do agree that multi-touch gestures aren't needed in Graal.

Tricxta
10-25-2011, 07:23 AM
There already is multi-touch support (http://forums.graalonline.com/forums/showthread.php?t=134257507).

:0 amazing, thank you :)

Admins
10-26-2011, 05:40 AM
We will probably add gesture support something to the Mac version because it's needed for some games, there will probably be some way to get the multitouch events with exact positions.