Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions automated_updates_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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-07-13",
"summary": "Improved screenshot docs (desktop-only platform support, automatic .png extension) and fixed filesystem docs (duplicate async 'Delete a file' heading, wrong load-path wording)"
}
]
}
6 changes: 3 additions & 3 deletions docs/gdevelop5/all-features/filesystem/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ This action loads the JSON formatted text from a file and converts it into a sce
== Parameters ==
** Scene variable: ** The name of the scene variable to which the loaded structure will be added.

** Load path: ** The path on the file system where the file should be saved.
** Load path: ** The path on the file system where the file is located.
It is advised to use the expressions for special folders (see below) to keep your game platform independent.

** (Optional) Result variable: ** Variable to store the result. It can either hold the value 'ok': the task was successful or 'error': an error occurred.
Expand All @@ -143,7 +143,7 @@ This action loads the JSON formatted text from a file and converts it into a sce
== Parameters ==
** Scene variable: ** The name of the scene variable to which the loaded structure will be added.

** Load path: ** The path on the file system where the file should be saved.
** Load path: ** The path on the file system where the file is located.
It is advised to use the expressions for special folders (see below) to keep your game platform independent.

** (Optional) Result variable: ** Variable to store the result. It can either hold the value 'ok': the task was successful or 'error': an error occurred. The variable will be updated, at the moment the file operation has finished.
Expand Down Expand Up @@ -184,7 +184,7 @@ It is advised to use the expressions for special folders (see below) to keep you

---

#### Delete a file
#### Delete a file (async)
This action deletes the file at the given file path __asynchronously__.
== Parameters ==
** File path: ** The path on the file system where the file is located.
Expand Down
10 changes: 8 additions & 2 deletions docs/gdevelop5/all-features/screenshot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ title: Screenshot extension

This extension lets you save a screenshot of the running game in a specified folder.

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 to a file only works when the game is exported for **Windows, Linux or macOS**. It is not supported in web games or on mobile (Android/iOS), because browsers are not allowed to write files to the player's computer.

To use it, just add an action and search for `screenshot` or go to `Other Actions`/`Screenshot`/`Take screenshot`.

### Actions

Expand All @@ -17,10 +21,12 @@ 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.

If the path does not already end with `.png`, the extension automatically appends it, so the screenshot is always saved as a PNG image.

!!! note

In order to create a game that runs on all supported platforms you should use the special folders from the file system extension in combination with the path separator. These determine the path to common folders like *Pictures*, *Documents* or *Desktop* automatically. You can read more about it in [this article](/gdevelop5/all-features/filesystem).
Expand Down