Hi I'm trying to make a screen that will have a bunch of platforms that will place themselves randomly around a JFrame. I know how to do the stuff to make the character jump and to deal with the collisions just not a way to place the platforms on the screen randomly so they are close enough together that the character could reach. Any help is appreciated.
Think of the problem in reverse. Instead of creating platforms that are randomly placed and then making sure they are withing jumping range of the player, instead create the platforms at the maximum jumping range of the player and then move them randomly. So long as all your random movements are done towards the player you are guaranteed that they will be in range.