You have to destroy enough cubes to level up. You can collect gems to access new worlds and pass the level.