So I am trying to make a game that will randomize the position of the sprites after each successful attempt.
My lander should collide with the landing pad, destroy, and respawn somewhere at the top of the screen. Whenever this collision happens, I want my landing pad to also destroy and respawn on the ground (y=12). When the lander lands properly, I want it to add a point to the score.
Eventually I would like to add obstacles that spawn randomly after each success that you would have to navigate around and some powerups to replenish fuel. Can anyone help me fix the respawn code for my lander and landing pad?