Hosain Wasty, Benjamin; Semmo, Amir; Appeltauer, Malte; Steinert, Bastian; Hirschfeld, Robert
Proceedings of the 2nd International Workshop on Context-Oriented Programming
Behavioral variations are central to modern computer games as they are making the gameplay a more interesting user experience. However, these variations significantly add to the implementation complexity. We discuss the domain of computer games with respect to dynamic behavioral variations and argue that context-oriented programming is of special interest for this domain. This motivates our extension to the dynamic scripting language Lua, which is frequently used in the development of computer games. Our newly provided programming constructs allow game developers to use layers for defining and activating variations of the basic gameplay.