How can I add input detection to my I-phone opengl game?

m s

New member
The graphics engine works but I added the code

-void handleTouches: (NSSet *) touch withEvent:(UIEvent *) event inView:(GLView *) view
{
ranme = TRUE;
}

...and yet ranme is never set to true (IE the function does not execute upon touching the screen)!
*******************
A few notes:
A) I am running the program under I-Phone simulator version 3.1.2

How can I make sure the "gettouches" event fires?
it's actually "handletouches" not "gettouches"...
 
Back
Top