Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Latest commit

 

History

History
25 lines (20 loc) · 1.11 KB

screenshots.md

File metadata and controls

25 lines (20 loc) · 1.11 KB
title
Taking Screenshots

Taking Screenshots

The com.jme3.app.state.ScreenshotAppState enables your users to take screenshots of the running game.

You activate this feature as follows in your simpleInitApp() method:

ScreenshotAppState screenShotState = new ScreenshotAppState();
this.stateManager.attach(screenShotState);

The default screenshot key is KeyInput.KEY_SYSRQ, alos known as “System Request / Print Screen” key. On Mac keyboards, this key does not exist, so on Mac OS you take screenshots using Command+Shift+3 (fullscreen) or Command+Shift+4 (windowed: press space to select a window and then click).

The screenshot is saved to the user directory.