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
61
S
22
G
12
Posts: 210
Reputation: 10,117

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
71
S
41
G
24
Posts: 358
Reputation: 18,468


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests