I am creating the simple game. In that game car will move and obstacles will come in the car way we will have to save that car from that obstacles. What I have done. I have created the car with the box2d body and I have added the parallax background now it seems that car is moving. The problem I am facing is that how will I add the obstacles box2d object randomly in the way of car ? How will I add the random box2d objects in the parallax background?