Quit
From MaratisWiki
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
Line 1: | Line 1: | ||
+ | {{lua-function|quit|}} | ||
+ | |||
Bind a key to quit the game | Bind a key to quit the game | ||
Latest revision as of 16:55, 8 February 2014
quit()
Bind a key to quit the game
Example :
function onSceneUpdate() if isKeyPressed("K") then quit() end end