In the infinite jumper demo the platforms are created randomly (layout width -20) and when they hit viewport bottom, and at a random Y spacing 8, 80 pixels apart.
Wen the game starts > player jumping. He jumps up from the 1st platform he is on > add 100 to Score.
But there are other platforms next to and underneath the player (greater than Player.X, Player.Y)
Those platforms (greater than) do not get scored unless the player has landed on them or untill they are destroyed.
I'd like the platforms that the player DOES NOT land on but that are greater than Player.Y to be counted also.
So if there are 5 platforms 20 pixels apart in a line on the Y axis, if the player jumps on to the highest plaform, those other 4 below the player are not counted until they reach the bottom of the viewport and are destroyed.
So there are 2 scoring modes- when the player lands on a platform, that platform and ALL others GREATER THAN Player.Y are scored, AND when the platforms are destroyed, they are scored also.