A neat Pro feature in is that you can record the gameplay to a data file that can then be used to replay the game or be output to video.

Record Gameplay

This command will output the gameplay to the gameplay.render file:

./dragonruby --set renderstream.filename gameplay.render

Replay the Renderstream

You can then replay the just recorded file with:

./dragonruby-replay mygame gameplay.render

Output to MP4

Using ffmpeg, dragonruby-replay can take the *.render file and convert it into an MP4 video. Useful for getting high-quality footage for sharing, editing trailers, and more.

./dragonruby-replay mygame gameplay.render gameplay.mp4

References