Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Simple iPhone App (iOS7) Animating and Intercepting Events Image Based Animation

Animating background

Im not sure how to animate background that moves to the right with 8 different slices 960 width. e.g

This is screen , images start and go on the screen .. |.....screen......| <-------- |image1| <--- |image2| <--- |image3| etc..

.. one by other . So they push their selfs and format and illusion by moving backgrounds images to right .

Should i do it with NSArray ? or what technique is used for this ?

I currently did a push one but it don't work . It works for my obstacles to move so they push their selfs to the right but as i did that on images , I'm my order instead of random as the obstacles.

E.G images : http://scr.hu/2icp/iltvf

What is happening :

http://scr.hu/2icp/4gceb

And other image should come behind it till 8 then restart .

For anyone telling me to watch something again or to get better used to frameworks etc.. well this is my way of learning to make what i want and apply it over and over again in my projects etc..

Thanks