Changes

Jump to navigation Jump to search

on.varChange

16 bytes added, 03:30, 18 June 2015
changed create by construction (valid in recent APIs)
Line 18: Line 18:     
This example is about Highscore Saving.<br />
 
This example is about Highscore Saving.<br />
More details here : http://www.inspired-lua.org/2011/08/save-a-high-score-without-cheating-possibility/
+
More details here : http://www.inspired-lua.org/index.php/2011/08/save-a-high-score-without-cheating-possibility/
    
<source lang="lua">
 
<source lang="lua">
   −
function on.create()
+
function on.construction()
 
   if not var.recall("highscore") then
 
   if not var.recall("highscore") then
 
     highscore = 0
 
     highscore = 0

Navigation menu