You use a screen capture program called HyperCam. Plenty of people buy it, but free versions can occasionally be found if you look around.
The easiest route is to head to youtube.com and search for HyperCam — you should turn up a download link along with tutorials on configuring it.
Two things to set before recording: the capture region, so you are only filming the Zwinky window rather than your whole desktop, and the audio source, which is where most first attempts go wrong. Screen capture tools frequently default to microphone input, so if you want the game's sound, switch it to the correct output device.