From a0486732da62ccdc71b2ab264c2f9bf4f375c034 Mon Sep 17 00:00:00 2001 From: 4ian <1280130+4ian@users.noreply.github.com> Date: Sat, 15 Aug 2026 10:10:12 +0000 Subject: [PATCH] [Auto] [Improve] Documented screenshot extension desktop-only limitation and automatic PNG extension appending --- automated_updates_data.json | 4 ++++ docs/gdevelop5/all-features/screenshot/index.md | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/automated_updates_data.json b/automated_updates_data.json index 88dd158d37e..1d945bbeb56 100644 --- a/automated_updates_data.json +++ b/automated_updates_data.json @@ -104,6 +104,10 @@ { "date": "2026-07-07", "summary": "Improved keyboard docs: added 'Key just pressed' (held vs one-frame) and 'Any key released' conditions, control-remapping note, and a reference list of valid key names" + }, + { + "date": "2026-08-15", + "summary": "Improved screenshot extension docs: documented desktop-only limitation (no web/mobile support) and automatic .png extension appending" } ] } diff --git a/docs/gdevelop5/all-features/screenshot/index.md b/docs/gdevelop5/all-features/screenshot/index.md index bb4518a4228..45c8137e51c 100644 --- a/docs/gdevelop5/all-features/screenshot/index.md +++ b/docs/gdevelop5/all-features/screenshot/index.md @@ -7,6 +7,10 @@ This extension lets you save a screenshot of the running game in a specified fol Note: As of GDevelop 5.0.0-beta92 the screenshot action is no longer an extension. Just add an action and search for `screenshot` or go to `Other Actions`/`Screenshot`/`Take screenshot`. +!!! warning + + Taking a screenshot is only supported when the game runs as a **desktop application** (Windows, Linux or macOS). It does nothing when the game runs on the **web** or on **mobile**, because those platforms don't allow writing files directly to the file system. + ### Actions #### Take screenshot @@ -17,9 +21,9 @@ Use this action to save a screenshot of everything which is currently drawn on t **Save path**: The file path where the screenshot should be saved. -The save path needs to be an absolute path on the file system (Like "C:\MyFolder\MyScreenshot.png" on Windows)' +The save path needs to be an absolute path on the file system (Like "C:\MyFolder\MyScreenshot.png" on Windows). -Relative paths are not supported. +Relative paths are not supported. If the path doesn't already end with `.png`, the extension automatically appends it, so the file is always saved as a PNG image. !!! note