Records a Game.GameWindow and exports it as an animated GIF.
Compatibility note: this functionality is only available in projects exported to the C#/Windows based platforms (which includes the default VM running on Windows). Be sure to check the isSupported() function.
- namespace GameGifCap
Checks to see if the GIF recorder is available for the currently running platform.
True if the GIF recorder is currently supported.
Represents a GIF recording session.
Creates a new GIF recorder instance.
Frames per second of the game
Removes all recorded data up to this point.
Checks if the recorder is actively recording.
True if the recorder is recording.
Pauses the recording.
Starts recording the screen.
Saves the Animated GIF to disk.
Desired file path to save the file to.
function setTargetSize(width, height)[link]
Sets the desired size of the final image. MUST be called before recording! If this is different than the size of the GameWindow, then the image is stretched.
Width of the image
Height of the image
reference to itself for chaining syntax