I’m trying to record the game play as it is one of the requirement. I cannot use any third party tool to do the recording. I googled and tried some of the implementations but they are not so productive. I need the solution for IOS right now then for later platforms.
Thanks in advance
You can timestamp your game input, and stores them in a list
then in playback mode, you just have to simulate the game input and blocks actual input
Record sprite movement in fixed timestep like every 20FPS or lower (depends on game)
Replay with interpolation between point_0 and point_1
Ya but my game is not deterministic its completely dependent on video streaming at the background which is a UIView. Actors are in EAGLView ie in cocos2d layer. Now i need to record both the streaming and the actor movement which respond according to the background video.
Sujit Yadawad wrote:
Ya but my game is not deterministic its completely dependent on video streaming at the background which is a UIView. Actors are in EAGLView ie in cocos2d layer. Now i need to record both the streaming and the actor movement which respond according to the background video. And i need the output in some video format.
Is there any reason not to just build as a linux / windows version and record using any generic screen capture tools? gameplay and visuals of the actual game window should still be the same right?
No sir we cant do that. Recording is a game feature that player chooses if he wishes while playing game and he can further go for posting it into YouTube so everything has to be done in real time.
Ah, apologies. I assumed this was for material to advertise the gameplay. Ignore me …
Solution for uploading to YouTube
Thanks for that. But its not what i wanted. My problem is not uploading videos to YouTube but the recording itself. Here is the problem statement in clear again-
- I’ve video streaming which from the camera and it is behind our cocos2d layer. Video is embedded an UIView
- The actor in the cocos2d layer which responds according to the background video (processing of each frame is implemented).
- User has got an option to record his game play while he is playing.
- Then if he wishes he can post that video in YouTube. So i want that output in some video format.
- No simulation or recreation of the game play as output video is must needed.
Did anybody find a solution?
Thanks you in advance.