Need a simple function, that I can include in an already existing project. I need an array of images to slide across the screen in a specific time. I'll also need the function to call another function should the array reach a specific distance. Everything is explained in the attached image. This should be a very quick, very simple solution, so please don't see my pricing as lowballing. Thank you.
Note: I'll need this function to be compatible with a cocos2d box2d project.