Component-based Architecture Each functionality is a game component Data-driven method for objects creation Design Patterns: “Favor composition over inheritance”
Don’t use CBA... yet CBA can’t save your world OOD can do good things too Don’t make everything a component Leave messy code alone You might need an editor or tool
Drawbacks of Lua Most editors don’t support auto-completion code Goodbye to debuggers & breakpoints Hello to loggers & print() No excuse for coffee break time
My Programming Trilogy C++ Generic framework Objective-C iOS platform-specific OpenGL ES implementation Lua Data description Game logic 10% 65% 25% C++ Lua Objectitve-C