Hi all,
I'm having a problem porting my 0.7.3 app to 0.8.0. To scroll my game's background, I was adding sprites to a parent layer with different parallax values and changing the position of the parent layer. It appears that 0.8.0 uses a ParallaxNode and the sprites should be added to it with only the ParallaxNode itself being added to the parent layer. When I do this, the sprites positioning is completely messed up when I move the parent layer -- all the sprites seem to position themselves at the bottom left of the screen.
I've put together a sample app that demonstrates this issue. To demonstrate both scenarios, there are two method calls in ScrollingLayer.m's init method. Comment out either [self setupWithoutParallax] or [self setupWithParallax] to execute either scenario.
http://www.farbish.com/downloads/CocosTest.zip
Is there something I'm doing wrong?
->Dan