Difference between revisions of "Gamecamp"

From Ghoulwiki
Jump to: navigation, search
(game)
Line 31: Line 31:
 
* states (menu,game,highscore)
 
* states (menu,game,highscore)
 
* map (texteditor, vertical)
 
* map (texteditor, vertical)
* enemies and deco spawn and despawn
+
* enemies,deco,shots spawn from right (map) and despawn
 
* parallax background / stars
 
* parallax background / stars
 +
* interaktive : program new enemies
 +
* object system with stepper (createclass? :syntax?)
  
 
== collab edit test, didn't work out though ==
 
== collab edit test, didn't work out though ==

Revision as of 11:55, 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


game

  • sidescroller
  • tyrian gfx pack von lostgarden
  • states (menu,game,highscore)
  • map (texteditor, vertical)
  • enemies,deco,shots spawn from right (map) and despawn
  • parallax background / stars
  • interaktive : program new enemies
  • object system with stepper (createclass? :syntax?)

collab edit test, didn't work out though