How do I exit an app?

Just started using Construct 2? Post your questions here

Post » Wed Apr 02, 2014 7:42 pm

If I put an exit button, which action can exit from the game?
B
5
S
1
Posts: 22
Reputation: 448

Post » Thu Apr 03, 2014 8:48 am

so it's not possible to quit the app except by the physical button of the mobile?
B
5
S
1
Posts: 22
Reputation: 448

Post » Thu Apr 03, 2014 9:07 am

You can exit an app by using the Browser objects "close" action :)
B
33
S
6
G
7
Posts: 494
Reputation: 8,252

Post » Thu Apr 03, 2014 11:44 am

Thank you! I'm going to try!
B
5
S
1
Posts: 22
Reputation: 448

Post » Mon Apr 07, 2014 1:28 pm

Wallygator wrote:Thank you! I'm going to try!


Yeah, I've had success with Browser-> On Mobile Back Button Pressed, then do Action Browser->Close (if the user pushes the physical device button) or you can use the same Action Browser-> Close if user touches your EXIT button object.
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Post » Tue Apr 08, 2014 7:26 am

Yes, I tried too and it works fine ;)
B
5
S
1
Posts: 22
Reputation: 448

Post » Thu Jun 05, 2014 12:25 pm

Hi all,
i have a trouble..
i've followed the instruction to close game by using browser,
but it doesn't work for me?
in the preview, when i touch exit button nothing happen?
In my event sheet :
is touching "exit" ------ >>> browser : close
Plese help..
B
5
S
1
Posts: 6
Reputation: 388

Post » Thu Jun 05, 2014 1:52 pm

Manley23 wrote:
Wallygator wrote:Thank you! I'm going to try!


Yeah, I've had success with Browser-> On Mobile Back Button Pressed, then do Action Browser->Close (if the user pushes the physical device button) or you can use the same Action Browser-> Close if user touches your EXIT button object.


Thank you mate!

andias77 wrote:Hi all,
i have a trouble..
i've followed the instruction to close game by using browser,
but it doesn't work for me?
in the preview, when i touch exit button nothing happen?
In my event sheet :
is touching "exit" ------ >>> browser : close
Plese help..


yeah I got same problem
looks like it works only on mobile, not on browser
B
6
S
1
Posts: 13
Reputation: 730

Post » Thu Jun 05, 2014 3:08 pm

@TheCrott : so if it doesn't work on browser, is it still work on mobile?
B
5
S
1
Posts: 6
Reputation: 388

Post » Fri Jun 13, 2014 7:22 am

do you mean like this
You do not have the required permissions to view the files attached to this post.
B
252
S
39
G
15
Posts: 1,965
Reputation: 40,765


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests