Quit
(Difference between revisions)
Dahnielson (Talk | contribs) |
Dahnielson (Talk | contribs) |
||
Line 8: | Line 8: | ||
[[Category:Lua scripting]] | [[Category:Lua scripting]] | ||
+ | [[Category:Lua function]] | ||
+ | [[Category:System]] |
Revision as of 18:43, 4 February 2014
Bind a key to quit the game
Example :
function onSceneUpdate() if isKeyPressed("K") then quit() end end