How do I save canvas screenshot into mobile device?

Get help using Construct 2

Post » Thu Jan 05, 2017 3:42 am

Hi there, can anyone share with me how to save a screenshot into a mobile device? I know the browser's invoke download doesn't work in mobile device.. Help please, thanks
B
48
S
20
G
6
Posts: 71
Reputation: 6,470

Post » Thu Jan 05, 2017 10:32 am

To do that, I used system take snapshot of canvas to take screenshot and Cordova ScreenCapture Plugin to save the screenshot into mobile device, works on android, but I haven't try on IOS..
B
48
S
20
G
6
Posts: 71
Reputation: 6,470

Post » Sun Mar 12, 2017 4:57 pm

johnkx wrote:To do that, I used system take snapshot of canvas to take screenshot and Cordova ScreenCapture Plugin to save the screenshot into mobile device, works on android, but I haven't try on IOS..

Please can you share your sheets? Mine is not working. i'm using intel xdk do i need to setup something from intel xdk too? Thanks
Image
B
8
S
4
Posts: 17
Reputation: 792

Post » Mon Apr 17, 2017 2:44 am

Currently I could not find my capx file, you can try


Create a global variable and set the value to " "

On touch button
- System: Take snapshot canvas

On canvas snapshot
- System: set myGlobalVariable to CanvasSnapshot

System myGlobalVariable != " "
- CordovaScreenCapture: Save screencapture to image file
B
48
S
20
G
6
Posts: 71
Reputation: 6,470


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests