How do I end program

Get help using Construct 2

Post » Sun Mar 16, 2014 9:16 am

hi guys,

So is there any way in which i can end the program on click of a button?

Thanks,
Ashwin
B
15
S
3
G
1
Posts: 111
Reputation: 1,664

Post » Sun Mar 16, 2014 10:20 am

How you want to end it? Like shut down the browser? No, thats not possible?
B
14
S
3
G
1
Posts: 255
Reputation: 2,027

Post » Sun Mar 16, 2014 10:22 am

try adding a browser object and then its

on sprite clicked -- browser close

edit capx added
You do not have the required permissions to view the files attached to this post.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Sun Mar 16, 2014 10:27 am

Really? It's allowed to close the user's browser? Never exptected that! Wow, you can do so much annoying things with that :D
B
14
S
3
G
1
Posts: 255
Reputation: 2,027

Post » Sun Mar 16, 2014 10:51 am

It only closes the current (game) tab, not the whole browser (unless the current tab is the only one open). Important to note that this also works with Node Webkit and on mobile exporters - it'll exit the app entirely.
B
57
S
15
G
11
Posts: 912
Reputation: 12,626

Post » Sun Mar 16, 2014 10:57 am

Nice! I didn't knew that works with mobile exporters...
B
17
S
5
G
2
Posts: 173
Reputation: 2,085

Post » Mon Mar 17, 2014 5:59 am

Not work to me...
B
17
S
5
G
2
Posts: 173
Reputation: 2,085

Post » Mon Mar 17, 2014 9:30 am

Tarkion wrote:Not work to me...

For mobile?
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Mon Mar 17, 2014 10:27 am

Doc Ai wrote:
Tarkion wrote:Not work to me...

For mobile?

For chrome...
I haven't tested in mobile...
B
17
S
5
G
2
Posts: 173
Reputation: 2,085

Post » Mon Mar 17, 2014 10:43 am

Tarkion wrote:For chrome...
I haven't tested in mobile...

Really? It works for me.Maybe you have some other opened tabs.
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Next

Return to How do I....?

Who is online

Users browsing this forum: Cubeeo and 24 guests