Quit

From MaratisWiki
Revision as of 10:19, 8 November 2012 by Vegas (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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