I actually got it working now. Each bird has a y speed tag, but they don't move on the x, the pipes do. Therefore I just had to add some code to change the targeted y position each time the pipe passes an x position and the birds try to level out their y with it. Simple stuff! The pipes are sprites, so an array is not needed :)