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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
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)
Dorf, M.: Need high levels of concurrency? Try stackless Python (July 2010), http://www.learncomputer.com/stackless-python/
Forgy, C.L.: Rete: a fast algorithm for the many pattern/many object pattern matching problem. Artifical Intelligence 19(1), 17–37 (1982)
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)
Friedman-Hill, E.: Jess in Action: Rule-Based Systems in Java. Manning Publications Co, Greenwich (2003)
Gagnon, E.: SableCC, an object-oriented comiler framework, Master’s Thesis, McGill University (1998)
Gelernter, D.: Generative communication in Linda. ACM Transactions on Programming Languages and Systems 7(1), 80–112 (1985)
Jess: The rule engine for the Java platform, http://www.jessrules.com/
Nishimori, T., Kuno, Y.: Join token: A language mechanism for interactive game programming (2011) (under submission)
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)
Slovàcek, V., Macik, M., Klíma, M.: Development framework for pervasive computing applications. SIGACCESS Newsletter 95, 17–29 (2009)
Stackless Python, http://www.stackless.com/
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)
Sweeney, T.: UnrealScript language reference, http://udn.epicgames.com/Three/UnrealScriptReference.html
Tismer, C.: Continuations and Stackless Python. In: Proceedings of the 8th International Python Conference (2000)
Ungar, D., Smith, R.B.: Self: the power of simplicity. In: OOPSLA 1987, pp. 227–242 (1987)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)