HI,
I'm currently developing an endless runner as a side project, The game has 3 lanes and is infinite. I would like to spawn obstacles and pick ups at random. I want the obstacles to different sizes, I want there to be coins and other type boost pick ups. I am not sure how to go about this properly, I want to make sure that there is enough room for obstacles, and pick ups but also for the player to not get trapped with and have no path to continue.
What is the best approach to handle such random spawning that does not make the game unplayable or look strange?
Thank you