I can't remember the name of a game I used to play a while ago. It was an rpg platformer, where you played a hero who defeated the main villain, but was sent through time with a portal. There were some ice level with fans that would propel you up. There was a desert level with switches that would control moving walls, and there was a level with a tower at the top of witch you could upgrade your weapons.