"Taking photo" of an area and turn it into Sprite

0 favourites
  • 2 posts
From the Asset Store
A well commented RPG game template to learn from or use as a base for your own game!
  • 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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)