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
58
S
25
G
14
Posts: 792
Reputation: 13,300

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
58
S
25
G
14
Posts: 792
Reputation: 13,300


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests