Join token-based event handling: a comprehensive framework for game programming

  • Authors:
  • Taketoshi Nishimori;Yasushi Kuno

  • Affiliations:
  • Graduate School of Business Sciences, University of Tsukuba, Tokyo, Japan;Graduate School of Business Sciences, University of Tsukuba, Tokyo, Japan

  • Venue:
  • SLE'11 Proceedings of the 4th international conference on Software Language Engineering
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

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.