Android - usage of back button

Get help using Construct 2

Post » Mon May 12, 2014 3:26 pm

Guys,

Has anyone been able to use the Android back button to exit the game or minimize it.
I'm using crosswalk build and it doesnt seem like it works.

It would be nice to trigger a app close/minimize when user touches the android system's 'back' and people are kinda asking for it. :mrgreen:
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
6
G
5
Posts: 391
Reputation: 5,662

Post » Mon May 12, 2014 10:08 pm

Same question but for a custom exit menu according to game design. I'm using Ludey for compiling.
B
5
Posts: 27
Reputation: 479

Post » Thu May 15, 2014 9:17 pm

Up
B
5
Posts: 27
Reputation: 479

Post » Thu May 15, 2014 9:20 pm

Browser plugin should be all you need.
You do not have the required permissions to view the files attached to this post.
B
56
S
15
G
13
Posts: 825
Reputation: 17,643

Post » Fri May 16, 2014 11:24 pm

Thanks for your advice. If I trigger back button on android with the browser plugin, what command i must use for close game?
B
5
Posts: 27
Reputation: 479

Post » Sat May 17, 2014 12:49 pm

in browser plugin, there is also a close action which ends the game.
You do not have the required permissions to view the files attached to this post.
B
15
S
3
G
1
Posts: 111
Reputation: 1,664

Post » Sat May 17, 2014 10:07 pm

Google doesn't really want you closing your apps though. They prefer the user was able to just press the Home button and return to the app later at the exact same spot.
B
56
S
15
G
13
Posts: 825
Reputation: 17,643

Post » Sun May 18, 2014 10:48 pm

Thanks To all, great advices ;)
B
5
Posts: 27
Reputation: 479


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, ksiads, R0J0hound and 2 guests