Difference between revisions of "Gamecamp"

From Ghoulwiki
Jump to: navigation, search
Line 1: Line 1:
 
http://www.gamecampmunich.de/  
 
http://www.gamecampmunich.de/  
 
* http://www.gamecampmunich.de/sessions/ !  vorschlag eintragen ?
 
* http://www.gamecampmunich.de/sessions/ !  vorschlag eintragen ?
* note : http://etherpad.com/
 
* note : http://ietherpad.com/WkXqSs9AOr
 
  
  
=== lua intro ===
+
== lua intro ==
  
 
* kein int, alles float
 
* kein int, alles float
Line 18: Line 16:
  
  
==== tables ====
+
=== tables ===
  
 
* arrays : table.insert(mytable,o)
 
* arrays : table.insert(mytable,o)
Line 25: Line 23:
 
* key und value any
 
* key und value any
 
* löschen = assign nil
 
* löschen = assign nil
 +
 +
 +
 +
 +
 +
== collab edit test, didn't work out though ==
 +
 +
* note : http://etherpad.com/
 +
* note : http://ietherpad.com/WkXqSs9AOr
 +
* note : http://piratepad.net/TCRLQs5Bd5

Revision as of 11:48, 23 May 2010

http://www.gamecampmunich.de/


lua intro

  • kein int, alles float
  • multiple return
  • todo : unpack
  • for i=1,10 do ... end
  • if (cond) then ... elseif (cond) then ... else ... end
  • for k,v in pairs(mytable) do ... end
  • for k,v in ipairs(mytable) do ... end
  • function bla:blub () ... end  : TODO : implizites self


tables

  • arrays : table.insert(mytable,o)
  • assoc/map : mytable[name] = value
  • set : mytable[o] = true
  • key und value any
  • löschen = assign nil



collab edit test, didn't work out though