1
Screen Recording
Peter0x44 edited this page 2025-11-26 03:32:11 +00:00

Within raylib, you have the ability to take a screenshot or record the screen to an animated .gif.

Screenshot

To take a screenshot, press F12. There will be a screenshot%%%.png file saved to the current working directory.

This requires SUPPORT_SCREEN_CAPTURE to be defined.

Screen Recording

To start recording the screen, press CTRL + F12. Press the keys again to save the recording to an animated screenrec%%%.gif to the current working directory.

This requires SUPPORT_GIF_RECORDING to be defined.