Record ipod gameplay
For an unjailbroken iPhone, it is not possible to do it directly on the device.

However, if you jailbreak, you can get Display Recorder from the Cydia Store. It costs $4.99. There are other alternatives, but Display Recorder is so far the best I hae tried.