programming

lua and game code : sep 19

lua might work fine for game code as long as all sleeping management is kept in c++. 95% of a level can be sleeping at any given time. that is for both AI and physics. if the AI is based upon sensors to wake it up, then the actual AI time would be pretty small. you could construct the state machine in lua and have that call other AI code. this is cool because then you can have single object specific code for special characters. you could also store any speech