A utility to record gameplay in a cocos2d game