Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've created 3 layers and added to a parallax node in my game play scene; I don't know why it crashes when I'm enabling touch, self.isTouchEnabled = YES; on one of my layers; I want that touch to be enabled to all my layes

Note: registerWithTouchDispatcher and ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event methods are implemented into each .m file of the layer (including game scene).

Any clue how to fix this?

share|improve this question
    
Please tag your posts with the relevant platform/technology tags, in future; it will only help you to get answers more quickly. –  Nick Wiggill Dec 21 '11 at 12:45
    
@NickWiggill: Ok, thanks for the tip! –  el.severo Dec 21 '11 at 12:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.