Is game record function fully working?

Hello Defold,

I used start_record message to record my on-going game (Blowing Bubble HD) :
msg.post(“@system:”, “start_record”, { file_name = “test_rec.ivf”, frame_period = 1, fps = 60 } )

I see the record feature doesn’t support audio and would like to know whether it captures full game render ? See the screenshot, the resolution is in HD (1920x1080) but the record only scale the whole game to a haft and fill the remains in black.

I’m working with the latest Defold editor in Macbook Air (OSX El Captain 10.11.4), Display resolution 1366 x 768.

Thanks,
RG1-

Not sure if/what limitations we have. @sicher, do you know?

Sorry, that feature is really limited. We added it for internal use and it wasn’t really meant to become a part of the public API and a stable released feature. The resolution problem could be an easy fix, but adding audio is more complicated.

Thanks for your quick information.

I see that audio record is not supported as it is metioned in the api document. That’s Ok as we normally edit/add sound/music if we make game trailer basing on the video record later.

Is the resolution issue actually limited? Or we need to have the display that has the resolution matched exactly with the game resolution.

I guessed the issue occurs b/c I recorded a game which was running in 1366 x 768 display for 1920x1080 original game resolution.

Although, it is only for internal use, it would be great if we can record the game to make game trailer without third party recording tool.

Thanks,
RG1

1 Like

Look like it’s too difficult to record a 1080 HD movie as it exceeds the hardware capility of my Mac , so I decide to use 720p quality.

Anyway , the buit-in record feature is great as there’s only a few engine supports it. I’m not sure if the quality of record is acceptable if I use a computer that supports HD display fully. However, the feature is helpful for reporting bugs.

Thanks again for your attention.
RG1-

2 Likes

The resolution problem could be fixed in black box “system” code or Ex can custom built-in code to record running game with the resolution exceed hardware capacity ?

I tried to add custom render and modify display_profile but my attempt doesn’t work. As I observed, the resolution of the game is exact the resolution of the running window. The recording process will add black area to fill the configured resolution.

My requirement is quite simple :

  • Create a 1080p version of the game (configure window_width and window_hieght value of game object - 1920/1080)
  • Use System record message to record the running game.
  • Need to get 1920x1080 video to make a game trailer.
  • The result is independent with the display/monitor and graphic card.

Any suggestion to achieve it is very appreciated.