Skip to main content

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

  • Conference paper
Software Language Engineering (SLE 2011)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 6940))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  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. Dorf, M.: Need high levels of concurrency? Try stackless Python (July 2010), http://www.learncomputer.com/stackless-python/

  3. Forgy, C.L.: Rete: a fast algorithm for the many pattern/many object pattern matching problem. Artifical Intelligence 19(1), 17–37 (1982)

    Article  Google Scholar 

  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)

    Chapter  Google Scholar 

  5. Friedman-Hill, E.: Jess in Action: Rule-Based Systems in Java. Manning Publications Co, Greenwich (2003)

    Google Scholar 

  6. Gagnon, E.: SableCC, an object-oriented comiler framework, Master’s Thesis, McGill University (1998)

    Google Scholar 

  7. Gelernter, D.: Generative communication in Linda. ACM Transactions on Programming Languages and Systems 7(1), 80–112 (1985)

    Article  MATH  Google Scholar 

  8. Jess: The rule engine for the Java platform, http://www.jessrules.com/

  9. Nishimori, T., Kuno, Y.: Join token: A language mechanism for interactive game programming (2011) (under submission)

    Google Scholar 

  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. Slovàcek, V., Macik, M., Klíma, M.: Development framework for pervasive computing applications. SIGACCESS Newsletter 95, 17–29 (2009)

    Google Scholar 

  12. Stackless Python, http://www.stackless.com/

  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. Sweeney, T.: UnrealScript language reference, http://udn.epicgames.com/Three/UnrealScriptReference.html

  15. Tismer, C.: Continuations and Stackless Python. In: Proceedings of the 8th International Python Conference (2000)

    Google Scholar 

  16. Ungar, D., Smith, R.B.: Self: the power of simplicity. In: OOPSLA 1987, pp. 227–242 (1987)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Nishimori, T., Kuno, Y. (2012). Join Token-Based Event Handling: A Comprehensive Framework for Game Programming. In: Sloane, A., Aßmann, U. (eds) Software Language Engineering. SLE 2011. Lecture Notes in Computer Science, vol 6940. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-28830-2_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-28830-2_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-28829-6

  • Online ISBN: 978-3-642-28830-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics