LittleStain Okay, it's mistake for not giving complete details. Here is the complete scenario,
The game is about climbing up to a top platform. Player has to climb up by jumping all the top platforms. As he climbs up to a platform, screen should scroll up and create another platform above the player at random position. This game is a platformer game but the player will move only vertically not horizontally.
Screen (360, 640)
I tried what you suggested but it isn't working.
I hope you understood my problem.