How do I exit/close/quit my game

Get help using Construct 2

Post » Sun May 10, 2015 6:18 pm

So Im making small game for Desktop. I make nice big button with EXIT on it. I have events ready but cant find action that exit/close/quit my game.
I wanna use NWjs to export it.
Im missing something?
B
9
S
3
G
3
Posts: 36
Reputation: 2,433

Post » Sun May 10, 2015 6:39 pm

You can use the browser object and use the action "close".

So for example: on esc key pressed > browser close

This should work with Node Webkit
B
52
S
22
G
12
Posts: 725
Reputation: 11,716

Post » Sun May 10, 2015 6:49 pm

Nice, it work. Thanks for help.
B
9
S
3
G
3
Posts: 36
Reputation: 2,433

Post » Sun May 10, 2015 7:05 pm

No problem, good luck with your project :)
B
52
S
22
G
12
Posts: 725
Reputation: 11,716


Return to How do I....?

Who is online

Users browsing this forum: marc254 and 7 guests