Hi, I want to share a powerful class I made for making scrolling parallax backgrounds. Just import into your project.
BEParallaxSprite *sky = [BEParallaxSprite parallexSpriteWithTexture:[SPTexture textureWithContentsOfFile:@"sky.png"] speed:0.5 direction:BE_PARALLAX_DIRECTION_LEFT];
Just pass it a texture and speed and it does the rest! Also, it has support for different directions: up, down, left, right. To create the illusion of distance using parallax, have your frontmost layer move the fastest and your back layer move the slowest. Also, this can be used for plain old scrolling backgrounds.
I'd also like to thank Shilo for his help on this.
I wouldn't have been able to create it without his advice.