- Code: Select all
if (strcmp(gesture, "udlrd") == 0){
ExitGame();
}
to see if the gesture is Up, down, left, right, then down, and thaen close the game if it if true.
Get it here: http://www.worth.id.au/~joshua/gesturerec.zip






if (strcmp(gesture, "udlrd") == 0){
ExitGame();
}
Users browsing this forum: No registered users and 1 guest