Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
gdevelop5:all-features:screenshot [2018/12/30 21:43]
4ian
gdevelop5:all-features:screenshot [2021/11/22 23:06] (current)
Line 2: Line 2:
 This extension lets you save a screenshot of the running game in a specified folder. 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''.
 ==== Actions ==== ==== Actions ====
 === Take screenshot === === Take screenshot ===
Line 20: Line 21:
  
 ``` ```
-FileSystem::PicturesPath() + FileSystem::PathDelimiter() + my_screenshot.png+FileSystem::PicturesPath() + FileSystem::PathDelimiter() + "my_screenshot.png"
 ``` ```
  
-This will save the screen shot to the //Pictures// folder on Windows, LInux and MacOS. +This will save the screenshot to the //Pictures// folder on Windows, Linux and MacOS.