Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Iphone Gaming

  1. #1
    Unhappy Iphone Gaming
    HI,

    I am trying to write a game for apple iphone but am not able to trace a touch at a particular sprite coz when i am using
    - (BOOL)ccTouchesEndedNSSet *)touches withEventUIEvent *)event
    {

    UITouch *touch = [touches anyObject];
    .
    .
    .}
    This function detects the touch for evry object but i want to detect the touch for only a single object.
    Hu to do that with this method ?
    Please help me out.

  2. #2
    my suggestion is to get touch location and then check if it's inside specific object.

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •