Hi,
Can we have the screenshots save to disk on an android device from HTML5? How about a PC?
Thanks in advance.
In the Browser Object is "Invoke Download"
I.E.:
Take snapshot of canvas (PNG, quality 75)
Invoke download of CanvasSnapshot with Filename "Capture.png"
Paradox Is there any way to save just a part of the canvas, or a sprite area to a file? (during the runtime.. as png/jpg)
Develop games in your browser. Powerful, performant & highly capable.
Maybe within the snapshotting event set the size of the layout and scroll to the part of the screen you want to screenshot of, snapshot, and then immediately set the screen back to the prior settings. Never tried if that works, but that's the only approach I can think off with the standard objects of Construct 2 for now.
You mean "pop" out not poop out right?
I haven't done it in a long time, but I think MindfaQ's method is how I did it. Set everything but what you want invisible, including the background layer if you want transparent PNGs. I think it flashed on screen for one tick, but you hardly noticed it happen.
mindfaQ Paradox Yes, that method works but only with full screen scaling off to get 1:1 scaling. Still, it's good for what I need. Many thanks!