CocoonJS Query

Get help using Construct 2

Post » Tue Apr 23, 2013 8:08 pm

Hello,

I've been trying out CocoonJS, and wanted to find out a bit more info on its functionality with C2.

Basically I wanted to find out if there's a way to close my app using C2 & Cocoon (I've read some threads which mention shutting down with the "Browser" object, but I don't think cocoon fully supports that yet!).

Thanks for any advice you can offer   
B
8
S
2
G
1
Posts: 63
Reputation: 880

Post » Wed Apr 24, 2013 11:48 am

Did you try the Browser object's 'close' action?
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Apr 24, 2013 12:23 pm

Hi @Ashley,

I was aware of the 'close' option, but I'm exporting to CocoonJS. And I was under the impression that the Browser object was not fully supported by Cocoon yet. Do you know if this has changed recently?

Thanks.
B
8
S
2
G
1
Posts: 63
Reputation: 880

Post » Wed Apr 24, 2013 12:58 pm

The Browser object's 'Close' action should work in CocoonJS.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Apr 24, 2013 1:48 pm

@Ashley,
Thanks for the reply.

I set up the close action as advised, exported to CocoonJS and ran it (using Android CocoonJS launcher), but could not close the app. Am I missing something?



Thanks again.
B
8
S
2
G
1
Posts: 63
Reputation: 880

Post » Wed Apr 24, 2013 3:19 pm

Sorry @Ashley my bad, I was being an idiot! It's working fine now.
Thanks again for your patience.
B
8
S
2
G
1
Posts: 63
Reputation: 880


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests