How do I use phone buttons

Get help using Construct 2

Post » Wed Nov 02, 2016 5:40 am

I did some light research and could not find the options to use the phones native buttons. Like the back button. Most apps use the back button to return to previous layouts and when on the main menu, it gives you the option to exit the game. This is all ease peasy except I cannot find the options to use the phones native buttons...
B
13
S
7
G
1
Posts: 31
Reputation: 1,876

Post » Wed Nov 02, 2016 7:07 am

There are some mobile buttons trigger in the browser object

https://www.scirra.com/manual/110/browser

However I have never tried them and I highly doubt the back button will do what is expected outside of an actual app (exemple: mobile browser preview), so try and see.
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
22
G
18
Posts: 2,123
Reputation: 17,150

Post » Wed Nov 02, 2016 1:21 pm

You can use the Cordova Plugin
viewtopic.php?f=189&t=164385
B
17
S
10
G
19
Posts: 140
Reputation: 11,457


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests