Button to exit the game on Android

Discussion and feedback on Construct 2

Post » Sat Jan 30, 2016 10:15 pm

I've created a button and an event:

On touched Exit Button Browser execute javascript "window.close();"
On touched Exit Button Browser Close

But I have compiled in Cordoba and turned into the cocoon apk Default Webview engine: Canvas+
for android 4.2.2 but does not work the button to quit the game.
Can someone help me?
B
4
Posts: 6
Reputation: 212

Post » Sat Jan 30, 2016 10:26 pm

Add the browser object in Construct as it has a close or exit option not sure of the exact wording
B
9
S
3
Posts: 146
Reputation: 1,150

Post » Sat Jan 30, 2016 11:11 pm

I've created a button and an event:

On touched Exit Button Browser execute javascript "window.close();"
On touched Exit Button Browser Close

i make this my friend..... object browser s here with 2 functions.
B
4
Posts: 6
Reputation: 212

Post » Sun Jan 31, 2016 1:32 am

Try this.

Image
Risk Rocket now available on Google Play
Image
B
36
S
15
G
6
Posts: 337
Reputation: 6,300


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 12 guests