0
votes
0answers
224 views

detect sprites by tag in parallax

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 ...
1
vote
1answer
591 views

How can I scroll sprites when swiping using Cocos2D?

I'm adding 3 sprites (layers) to CCParallaxNode: BGLayer = [CCSprite spriteWithFile:@"Layer.png"]; [_backgroundNode addChild:BGLayer z:2 parallaxRatio:layer1Speed ...