开发者

How to capture video of iPhone game, in-game

开发者 https://www.devze.com 2023-01-16 10:59 出处:网络
I want the users of 开发者_StackOverflow社区my game to be able to record video of the game while playing it similar to the app Talking Tom Cat. I was wondering how to accomplish this. Do you have any

I want the users of 开发者_StackOverflow社区my game to be able to record video of the game while playing it similar to the app Talking Tom Cat. I was wondering how to accomplish this. Do you have any ideas? I want both video and audio of the game to be recorded...

Any clue would help :) Cheers!


One way would be to save your users input together with the frame index as a demofile if your game mechanics are deterministic. This way, you could let the game 'play itself' by reading the input form a file (which would be quite small compared to a full screen video with audio track) Thats the way DooM 1+2 and Quake 1 stored there Demos

Otherwise, i would look for 'screen scraping on iphone' on google.

Do they provide realtime video file generation on the IPhone? is it powerfull enough for this?

Another way would be to dump copies of your framebuffer to a file for each frame (or for 25 per second) and encode these to a video file afterwards. You will have to capture your sound to a file manually too, probaly strwaming it to flash while you are playing.

If these approaches are feasible on an iPhone, i don't know, but that's how I would try to implement such a thing on a PC.

0

精彩评论

暂无评论...
验证码 换一张
取 消