If I am to develop a game for Node Webkit Desktop, do I have a function that I can basically obtain a portion of my game screen and use it as sprite?
For instance, take this video as an example: youtube.com/watch
At 2:03, the game simply takes a snapshot and place it on a newspaper.
For me, I just want to take a snapshot of a frame at a particular moment and then show this snapshot. Is this possible?
The system Action : "Snapshot canvas" can do it, It'll save the picture in the system expression CanvasSnapshot after On canvas snapshot condition triggers
The picture is a Data URI, so you can load it into a sprite Via the "Load from URL : CanvasSnapshot"
Source:
Here
Also here