Record
Actions to record the game and players download the clips. Works on desktop, and in the browser.
Authors and contributors to this experimental extension: Add00.
Actions to record the game and let players download the clips. Includes options to pause and resume recordings. Additionally, frame rate and file format can be chosen.
Tip
Learn how to install new extensions by following a step-by-step guide.
Actions
Pause recording
Pause recording.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
Resume recording
Resume recording.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
Save recording
Save recording to the file system on destop, or to the downloads folder for web. Always ask for permission to save a file.
See parameters
- Parameter 1 (string): File location, set using a FileSystem path e.g. FileSystem::DesktopPath() (only used for desktop saves)
- Parameter 2 (string): Name to save file as
Technical note: parameters 0, 3 are internal parameters handled by GDevelop.
Set codec
Set the video codec, if a selected codec is unsupported on the users platform a supported one will be picked by deafult.
See parameters
- Parameter 1 (string): codec
Technical note: parameters 0, 2 are internal parameters handled by GDevelop.
Set GIF Dithering
Enable dithering in GIF, must be set before starting a recording. Defaults to false.
See parameters
- Parameter 1 (❓ True or False): Dithering
Technical note: parameters 0, 2 are internal parameters handled by GDevelop.
Set file format
Set the file format, if a selected file format is unsupported on the users platform a supported one will be picked by deafult.
See parameters
- Parameter 1 (🔤 String): Recording format (one of: "webm", "mp4", "ogg", "gif")
Technical note: parameters 0, 2 are internal parameters handled by GDevelop.
Set frame rate
Set the frame rate, must be set before starting a recording. Defaults to the min FPS set in the game properties.
See parameters
- Parameter 1 (🔢 Number): Recommended fps for video: 25, 30, 60, for GIFs use 5, 10, 20
Technical note: parameters 0, 2 are internal parameters handled by GDevelop.
Set GIF quality
Set the GIF quality, must be set before starting a recording. Defaults to 10.
See parameters
- Parameter 1 (🔢 Number): Quality
Technical note: parameters 0, 2 are internal parameters handled by GDevelop.
Set video bit rate
Set the video bit rate, must be set before starting a recording. Defaults to 2500000.
See parameters
- Parameter 1 (🔢 Number): video bits per second
Technical note: parameters 0, 2 are internal parameters handled by GDevelop.
Start recording
Start the recording.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
Stop recording
End the recording.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
Conditions
Is format supported on user device
Check if the specified format is available on the users device. To avoid unsupported formats pick commons ones like MP4 or WebM.
See parameters
- Parameter 1 (🔤 String): Select a common format for the best results (one of: "webm", "mp4", "ogg", "gif")
Technical note: parameters 0, 2 are internal parameters handled by GDevelop.
When an errror has occurred
Check if an error has occurred.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
When recording has paused
Check if a recording has just been paused.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
When recording has resumed
Check if a recording has just been resumed.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
When recording has saved
Check if recording has just been saved.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
When recording has started
Check if recording has just started.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
When recording has stopped
Check if recording has just stopped.
See parameters
Technical note: parameters 0, 1 are internal parameters handled by GDevelop.
Expressions
Expression | Description | |
---|---|---|
Record::Codec() |
Returns the current video codec. | |
Record::Dithering() |
Returns whether or not dithering is enabled for GIFs. | |
Record::ErrorType() |
When an error occurs this method will return what type of error it is. | |
Record::Format() |
Returns the current video format. | |
Record::FrameRate() |
Get the current framerate. | |
Record::Quality() |
Get the current GIF quality. | |
Record::Status() |
Returns the current status of the reccorder: inactive (not recording), recording, or paused. | |
Record::VideoBitRate() |
Returns the current video bit rate per second. |
This page is an auto-generated reference page about the Record extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.