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?
Develop games in your browser. Powerful, performant & highly capable.
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
Nice, it work. Thanks for help.
No problem, good luck with your project