On Mon, Jul 6, 2009 at 12:51 PM, Symadept<[email protected]> wrote: > Hi, > > I am developing one game where the shooter objects shall shoot the objects > once they come within the range of the shooter. Do I have any callback like > the way we register collision function for various objects. > > Kindly respond and correct me if I am in a wrong track. >
Cocos does not yet offer collision detection. You can use a physics library like chipmunk (many games used this) or you can try using the spatial index that we use to detect mouseover in the editor. See batchpicker in branches/cocos2d-editor/ and look for it. Regards, Lucio --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
