Quit

From MaratisWiki
Revision as of 19:17, 4 February 2014 by Dahnielson (Talk | contribs)
Jump to: navigation, search

Bind a key to quit the game

Example :

   function onSceneUpdate()
       if isKeyPressed("K") then quit() end
   end
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox