skip to main content
10.1145/1930021.1930026acmotherconferencesArticle/Chapter ViewAbstractPublication PagesecoopConference Proceedingsconference-collections
research-article

ContextLua: dynamic behavioral variations in computer games

Published: 22 June 2010 Publication History

Abstract

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.

References

[1]
AiGameDev. 10 Reasons the Age of Finite State Machines is Over. http://aigamedev.com/open/ articles/fsm-age-is-over.
[2]
Malte Appeltauer, Robert Hirscheld, Hidehiko Masuhara, Michael Haupt, and Kazunori Kawauchi. Event-based Software Composition. In Proceedings of Software Composition 2010, Lecture Notes in Computer Science. Springer-Verlag, June 2010.
[3]
Malte Appeltauer, Robert Hirschfeld, Michael Haupt, Jens Lincke, and Michael Perscheid. A Comparison of Context-oriented Programming Languages. In COP '09: International Workshop on Context-Oriented Programming, pages 1--6, New York, NY, USA, 2009. ACM Press.
[4]
Pascal Costanza and Robert Hirschfeld. Language Constructs for Context-oriented Programming: An Overview of ContextL. In DLS '05: Proceedings of the 2005 symposium on Dynamic languages, pages 1--10, New York, NY, USA, 2005. ACM Press.
[5]
Epic Games. UnrealScript Language Reference. http://unreal.epicgames.com/UnrealScript.htm.
[6]
Fabien Fleutot. Metalua - Static Meta-Programming for Lua. http://metalua.luaforge.net.
[7]
John David Funge. Artificial Intelligence For Computer Games: An Introduction. A. K. Peters, Ltd., Natick, MA, USA, 2004.
[8]
Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. Design Patterns: Elements of Reusable Object-oriented Software. Addison-Wesley, Boston, MA, USA, 1995.
[9]
Robert Hirschfeld, Pascal Costanza, and Oscar Nierstrasz. Context-oriented Programming. Journal of Object Technology, 7(3):125--151, March-April 2008.
[10]
Robert Hirschfeld, Michael Perscheid, Christian Schubert, and Malte Appeltauer. Dynamic Contract Layers. In 25th Symposium on Applied Computing, Lausanne, Switzerland, New York, NY, USA, 2010. ACM DL.
[11]
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes. The Design and Implementation of a Language for Extending Applications. In Proceedings of XXI SEMISH (Brazilian Seminar on Software and Hardware), pages 273--284, Caxambu, 1994.
[12]
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes. The Evolution of Lua. In HOPL III: Proceedings of the third ACM SIGPLAN conference on History of programming languages, pages 2-1--2-26, 2007.
[13]
John E. Laird and Michael van Lent. Human-Level AI's Killer Application: Interactive Computer Games. In Proceedings of the Seventeenth National Conference on Artificial Intelligence and Twelfth Conference on Innovative Applications of Artificial Intelligence, pages 1171--1178. AAAI Press / The MIT Press, 2000.
[14]
Martin von Löwis, Marcus Denker, and Oscar Nierstrasz. Context-oriented Programming: Beyond Layers. In ICDL '07: Proceedings of the 2007 International Conference on Dynamic Languages, volume 286 of ACM International Conference Proceeding Series, pages 143--156, New York, NY, USA, 2007. ACM Press.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
COP '10: Proceedings of the 2nd ACM International Workshop on Context-Oriented Programming
June 2010
35 pages
ISBN:9781450305310
DOI:10.1145/1930021
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

  • CEKTRA
  • University of Maribor
  • AITO: Assoc Internationale por les Technologies Objects

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 June 2010

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Conference

ECOOP '10
Sponsor:
  • AITO

Acceptance Rates

Overall Acceptance Rate 17 of 25 submissions, 68%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)6
  • Downloads (Last 6 weeks)1
Reflects downloads up to 15 Sep 2024

Other Metrics

Citations

Cited By

View all

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media