by lnanek2 · 14y ago · 0 comments
I wish it was easier to implement. Taking screenshots and encoding them seemed too resource intensive for mobile. I did start tilting my app architectures toward streams of events that could be sent to a server and the graphics reproduced, though.
Maybe that's what is happening here. Instrument all Cocos2d calls and replay them to regenerate the video.
We have made this super simple for game devs - we have a startRecording and a stopRecording API. Round based games lend themselves well to starting recording at the beginning of the round and stopping at the end without bothering the user. So, the cocos2d calls don't have to be instrumented and replayed. Check out http://kamcord.com/documentation/ for the details.