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
77
S
29
G
18
Posts: 222
Reputation: 14,279

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
80
S
48
G
31
Posts: 426
Reputation: 23,027


Return to How do I....?

Who is online

Users browsing this forum: Sproadic and 6 guests