RAIL: A Domain-Specific Language for Generating NPC Behaviors in Action/Adventure Game

被引:0
|
作者
Zhu, Meng [1 ]
Wang, Alf Inge [1 ]
机构
[1] Norwegian Univ Sci & Technol, Sem Saelandsvei 7-9, N-7491 Trondheim, Norway
关键词
Game development; Domain specific language; NPC behavio;
D O I
10.1007/978-3-319-76270-8_58
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Domain-Specific Modeling (DSM) has shown its effectiveness of improving software productivity in many software domains [1], where Domain Specific Language (DSL) plays a key role. Also in the domain of video games, researchers have proposed various DSLs for developing different aspects of several game genres. This paper presents a DSL named RAIL for generating Non-Playable Character (NPC) behaviors in Action/Adventure Games. Our DSL borrows concepts from State Machines and adds some features to better suit the target domain. Further, we have implemented a tool-chain for RAIL using the Eclipse language workbench, and the tool-chain has been integrated with the level editor of the Torque2D game engine. To evaluate the DSL, we developed a prototype game and collected data regarding the development time and code lines. The results showed that RAIL significantly improves the productivity of developing NPC behaviors in the target game with a reasonable associated cost. In addition, the integration of the RAIL and the Torque 2D tool-chains provides a smooth development workflow.
引用
收藏
页码:868 / 881
页数:14
相关论文
共 50 条
  • [1] A Domain-Specific Language for Generating Dataflow Analyzers
    Zeng, Jia
    Mitchell, Chuck
    Edwards, Stephen A.
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 164 (02) : 103 - 119
  • [2] A domain-specific language for experimental game theory
    Walkingshaw, Eric
    Erwig, Martin
    [J]. JOURNAL OF FUNCTIONAL PROGRAMMING, 2009, 19 : 645 - 661
  • [3] Applying Simulation and a Domain-Specific Language for an Adaptive Action Library
    Buch, Jacob Porksen
    Laursen, Johan Sund
    Sorensen, Lars Caroe
    Ellekilde, Lars-Peter
    Kraft, Dirk
    Schultz, Ulrik Pagh
    Petersen, Henrik Gordon
    [J]. SIMULATION, MODELING, AND PROGRAMMING FOR AUTONOMOUS ROBOTS (SIMPAR 2014), 2014, 8810 : 86 - 97
  • [4] Generating Domain-Specific Process Studios
    Mos, Adrian
    Cortes-Cornax, Mario
    [J]. 2016 IEEE 20TH INTERNATIONAL ENTERPRISE DISTRIBUTED OBJECT COMPUTING CONFERENCE (EDOC), 2016, : 40 - 49
  • [5] A Domain-Specific Language for Microservices
    Donham, Jacob
    [J]. PROCEEDINGS OF THE 9TH ACM SIGPLAN INTERNATIONAL SYMPOSIUM ON SCALA (SCALA '18), 2018, : 2 - 12
  • [6] Generating Domain-Specific Visual Language Tools from Abstract Visual Specifications
    Grundy, John C.
    Hosking, John
    Li, Karen Na
    Ali, Norhayati Mohd
    Huh, Jun
    Li, Richard Lei
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (04) : 487 - 515
  • [7] A Domain-Specific Language for Aviation Domain Interoperability
    Comitz, Paul
    [J]. 2013 INTEGRATED COMMUNICATIONS, NAVIGATION AND SURVEILLANCE CONFERENCE (ICNS), 2013,
  • [8] Generating Version Convertors for Domain-Specific Languages
    de Geest, Gerardo
    Vermolen, Sander
    van Deursen, Arie
    Visser, Eelco
    [J]. FIFTEENTH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2008, : 197 - 201
  • [9] Generating Domain-Specific Interactive Validation Documents
    Vu, Fabian
    Happe, Christopher
    Leuschel, Michael
    [J]. FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS (FMICS 2022), 2022, 13487 : 32 - 49
  • [10] Generating Domain-Specific Interactive Validation Documents
    Vu, Fabian
    Happe, Christopher
    Leuschel, Michael
    [J]. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2022, 13487 LNCS : 32 - 49