Changes

Jump to navigation Jump to search

Changes in OS 3.2

235 bytes added, 12:31, 6 June 2012
Line 53: Line 53:  
The physics module is the chipmunk physics engine.<br />  
 
The physics module is the chipmunk physics engine.<br />  
 
color is just a table containing colors. (color.red (or color["red"]) will return the color code for red.)<br />
 
color is just a table containing colors. (color.red (or color["red"]) will return the color code for red.)<br />
We don't know what strict is or does. <br />
+
'strict' is a module which apparently, makes it so Lua checks uses of undeclared global variables. All global variables must be 'declared' through a regular assignment (even assigning nil will do) in a main chunk before being used anywhere or assigned to inside a function.<br />
 
Usage: [[require]] 'modulename'<br />
 
Usage: [[require]] 'modulename'<br />
  

Navigation menu