- Home /
Created a Game for an Experiment. Is it possible to have an off screen camera recording the game?
I created a game, where you have a first person point of view and you need to walk around a small space and find a hidden box. I am using software to record the person's play time, but through the first person perspective make coding and recording data very hard. So is there someway to get an overview of the whole arena(pretty small) and record it without letting the other person know?
Answer by Dave-Carlile · Jul 30, 2015 at 02:43 PM
You can have another camera positioned anywhere and rendering to a render texture. You should be able to do a search to find ways of saving the frames to a movie file.
Alternatively, make the game multiplayer and have another computer player somewhere. Point that camera where you want and use fraps or something to record the screen.
Awesome thanks for the help. Only problem with the multiplayer part is that we will have the game on a laptop and travel to schools with it. But how do i go about rendering to a render texture?
You can stick a Raw Image on the new UI and put the rendertexture in it.
Link that RenderTexture up to the camera. Its easy.
Do you know if there are any tutorials on how to do that? Thanks!
Itd take you 10 $$anonymous$$utes to work it out :)
Start here but use a RawImage.
Right click in project explorer and create a rendertexture.
Drag it to your RawImage and select it as the Target Texture in the camera.
I suspect it may be cheaper to record transforms etc than creating a ton of pngs and attempting to convert them to video or play them back in sequence. Game perspective shouldnt affect the difficulty in doing that.
Your answer
Follow this Question
Related Questions
Capture Videos In Unity Without Stretch and change according to orientation 0 Answers
Unity Microphone Auto start recording and auto stop recording 0 Answers
What format does Unity's webcam video capture feature record in? 0 Answers
Advice on recording a Game Promotional Video in Unity? 1 Answer
Unity Recorder crash 0 Answers