How do I

Get help using Construct 2

Post » Sat Mar 26, 2016 5:48 am

How can i make exit button for mobile games, also when open the game again i want resume button visible.
B
55
S
18
G
10
Posts: 209
Reputation: 8,546

Post » Sat Mar 26, 2016 6:04 am

You could use the browser's close action? Although I don't see why this would be necessary on a mobile platform (and I'm unsure it would work). As for making the resume button visible:
On start of layout if (global variable) = 0, add 1
if (global variable) =1, set resume button visible.

You'll need to tie that variable in to a local storage setup so that it sets itself each time you load the game.


Hope that helps!
B
65
S
39
G
24
Posts: 352
Reputation: 18,106


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Google [Bot], JackTYGA, Kin, worm1 and 30 guests