Hello!
I have loaded 11 pictures through an array and a loop and then tweenlite’d them so them come on the screen from the right and move across 'til the middle picture is in the middle of the screen.
Now, I am trying to figure out how to make it so I can move them to the right or left by a press of a button, (bntLeft and btnRight).
Three pictures show on the screen at one time. So if btnRight is clicked then the 3 pictures which are off the screen to the right would come on and center in the screen. And if btnRight was clicked again then the pictures would move to the left and the last picture would come on.
I don’t know if that is going to make sense to anyone but me so I have created a picture to show what I mean.
I also attached a snippet of the code I am using in case you need to see it.
So, do you know a good way to go about this?
Thanks for any help!