– RS_ScreenShot.js

タイトル
作者名
ヘルプ
- Key Code Link
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode

- Change Log
2015.12.22 (v1.0.0) - First Release.
2016.03.20 (v1.0.1) - Added parameter called key.
2016.08.13 (v1.0.2) - Added previewWindow.
2016.11.27 (v1.0.3) - Added the code that can delete the texture from the memory.
2016.11.27 (v1.0.4) : Fixed preview window in the html format instead of an image.
- Displays the name of the screen shot file in the preview window.
- Plays the sound when you are taking a screenshot.
2016.12.08 (v1.0.42) - Added code to remove references to URL objects.
2018.02.27 (v1.0.5) :
- Fixed the getPath function issue in RMMV 1.6.0.
- Changed the source code for RMMV 1.6.0.
2018.04.25 (v1.0.6) - Added a feature that allows you to select the file format in the screenshot.
2019.03.13 (v1.0.7) :
- Fixed the issue that is not showing the image to preview window in the RMMV 1.6.2
パラメータ
date 2015.12.22

param key
type number
desc Type the keyCode.
default 118

param Screenshot Preview Window
type boolean
desc
default true

param Play Se
type boolean
desc Yes - true, No - false
default true

param Se Name
desc Specify a sound file from audio/se folder.
default Save
require 1
dir audio/se/
type file

param file format
text File Format
type select
desc Select desired file format in the game screenshot.
default png
option png
value png
option jpeg
value jpeg

reference http://stackoverflow.com/questions/32613060/how-to-take-screenshot-with-node-webkit

ライセンス表記
The MIT License
Copyright (c) 2015 biud436
Free for commercial and non commercial use.

紹介ページ https://github.com/biud436/MV/blob/master/RS_ScreenShot.js