Join Token-Based Event Handling: A Comprehensive Framework for Game Programming

  • Taketoshi Nishimori
  • Yasushi Kuno
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6940)

Abstract

In action game programming, programmers have to control multiple concurrent activities on the screen corresponding to multiple game characters. To address this difficulty, many game-oriented scripting languages have been proposed so far. However, current scripting languages seem to lack support for interactions among multiple concurrent activities in a state-dependent manner. To overcome this problem, we propose an event handling framework called “join token” in which the states of game characters can be expressed as tokens and interactions can be described as handlers specifying multiple tokens. For the purpose of evaluation, we have developed a game scripting language called “Mogemoge,” and wrote several sample games in this language. In this paper, we describe experiences of using join token framework for sample games and compare the code written in Mogemoge against a code written in an existing scripting language.

Keywords

video game programming language event handling framework scripting language 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Bornér, J.: What are the key issues for commercial aop use: how does aspectwerkz address them? In: 3rd International Conference on Aspect-Oriented Software Development, pp. 5–6 (2004)Google Scholar
  2. 2.
    Dorf, M.: Need high levels of concurrency? Try stackless Python (July 2010), http://www.learncomputer.com/stackless-python/
  3. 3.
    Forgy, C.L.: Rete: a fast algorithm for the many pattern/many object pattern matching problem. Artifical Intelligence 19(1), 17–37 (1982)CrossRefGoogle Scholar
  4. 4.
    Fournet, C., Gonthier, G.: A Calculus of Mobile Agents. In: Sassone, V., Montanari, U. (eds.) CONCUR 1996. LNCS, vol. 1119, pp. 406–421. Springer, Heidelberg (1996)CrossRefGoogle Scholar
  5. 5.
    Friedman-Hill, E.: Jess in Action: Rule-Based Systems in Java. Manning Publications Co, Greenwich (2003)Google Scholar
  6. 6.
    Gagnon, E.: SableCC, an object-oriented comiler framework, Master’s Thesis, McGill University (1998)Google Scholar
  7. 7.
    Gelernter, D.: Generative communication in Linda. ACM Transactions on Programming Languages and Systems 7(1), 80–112 (1985)MATHCrossRefGoogle Scholar
  8. 8.
    Jess: The rule engine for the Java platform, http://www.jessrules.com/
  9. 9.
    Nishimori, T., Kuno, Y.: Join token: A language mechanism for interactive game programming (2011) (under submission) Google Scholar
  10. 10.
    Popovici, A., Alonso, G., Gross, T.: Just-in-time aspects: Efficient dynamic weaving for java. In: 2nd International Conference on Aspect-Oriented Software Development, pp. 100–109 (2003)Google Scholar
  11. 11.
    Slovàcek, V., Macik, M., Klíma, M.: Development framework for pervasive computing applications. SIGACCESS Newsletter 95, 17–29 (2009)Google Scholar
  12. 12.
    Stackless Python, http://www.stackless.com/
  13. 13.
    Susini, J.-F.: The reactive programming approach on top of Java/J2ME. In: Proceedings of the 4th International Workshop on Java Technologies for Real-Time and Embedded Systems, pp. 227–236 (2006)Google Scholar
  14. 14.
    Sweeney, T.: UnrealScript language reference, http://udn.epicgames.com/Three/UnrealScriptReference.html
  15. 15.
    Tismer, C.: Continuations and Stackless Python. In: Proceedings of the 8th International Python Conference (2000)Google Scholar
  16. 16.
    Ungar, D., Smith, R.B.: Self: the power of simplicity. In: OOPSLA 1987, pp. 227–242 (1987)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Taketoshi Nishimori
    • 1
  • Yasushi Kuno
    • 1
  1. 1.Graduate School of Business SciencesUniversity of TsukubaTokyoJapan

Personalised recommendations