Quit

From MaratisWiki
(Difference between revisions)
Jump to: navigation, search
 
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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox