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
52
S
18
G
10
Posts: 209
Reputation: 8,466

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
55
S
32
G
23
Posts: 333
Reputation: 16,616


Return to How do I....?

Who is online

Users browsing this forum: blissfulwizard and 15 guests