Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
654 views

How to get position of CCSprite added to CCParallaxNode?

I have a CCparallaxNodeExtras that scrolls infinite (following the space game tutorial). I added as a child a CCSprite made of other CCSprite, like this: ...
nosmirck's user avatar
  • 785
1 vote
1 answer
719 views

How can I scroll sprites when swiping using Cocos2D?

I'm adding 3 sprites (layers) to CCParallaxNode: ...
el.severo's user avatar
  • 111
1 vote
1 answer
645 views

Dynamic bodies with Parallax Scrolling

I have an object that has a dynamic body. Currently, I'm setting it's position to follow the sprite when the parallax layer move. After a certain event, the object suppose to fall to the ground. That'...
Marcell's user avatar
  • 21
4 votes
1 answer
5k views

How to create endless scrolling landscape using coco2d's CCParallaxNode

I created a horizontally scrolling landscape using CCParallaxNode. However it does not seem to support endless scrolling in one direction. As soon as the first image "ends" the background shines ...
CodeSmile's user avatar
  • 1,734