How do I create 'Browser Alert Box'?

Get help using Construct 2

Post » Sat Jan 21, 2017 12:30 pm

I added the 'Browser Alert Box' but don't see anywhere to add the actual 'Alert' text.

What i would like to happen is, if the user touches the Back/Menu button an alert will pop up asking the user if they wish to quit the game.

I did have events that would create textboxes on the layouts asking if the user wishes to quit, and yes/no to complete the actions. But those look cheesey.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Sat Jan 21, 2017 5:25 pm

Did you use > Browser > console > log > alert ? Maybe ?

Got to use > Browser > window > alert
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Sat Jan 21, 2017 5:44 pm

@99Instances2Go

Thanks brother I'll look into it.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Sat Jan 21, 2017 7:12 pm

B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

Post » Sat Jan 21, 2017 8:43 pm

That's awesome @korbaach

Thank You!

Now if you or anyone can fix the Global Leaderboards from stopping ALL my audio....I'd buy you a cake on valentines.
B
38
S
18
G
19
Posts: 664
Reputation: 14,107


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 37 guests