Walk through the level with the slime and try to grab enough food. You might have to spit some out again to get past certain obstacles, but make sure you've eaten enough to break through the platforms at the end of every level.
Use the arrow keys to move.
Use the space bar to jump.
Other instructions are given on the signposts during the game.