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 条
  • [21] Natural Semantics for Domain-Specific Language
    Steingartner, William
    Novitzka, Valerie
    [J]. NEW TRENDS IN DATABASE AND INFORMATION SYSTEMS, ADBIS 2021, 2021, 1450 : 181 - 192
  • [22] A domain-specific visual language for domain model evolution
    Sprinkle, J
    Karsai, G
    [J]. JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2004, 15 (3-4): : 291 - 307
  • [23] Domain-Specific and Domain-Independent Interactive Behaviors in Andes
    Chi, Min
    Vanlehn, Kurt
    [J]. ARTIFICIAL INTELLIGENCE IN EDUCATION: BUILDING TECHNOLOGY RICH LEARNING CONTEXTS THAT WORK, 2007, 158 : 548 - +
  • [24] ProMoBox: A Framework for Generating Domain-Specific Property Languages
    Meyers, Bart
    Deshayes, Romuald
    Lucio, Levi
    Syriani, Eugene
    Vangheluwe, Hans
    Wimmer, Manuel
    [J]. SOFTWARE LANGUAGE ENGINEERING, SLE 2014, 2014, 8706 : 1 - +
  • [25] Generating fluent embedded domain-specific languages with subchaining
    Nakamaru, Tomoki
    Ichikawa, Kazuhiro
    Yamazaki, Tetsuro
    Chiba, Shigeru
    [J]. JOURNAL OF COMPUTER LANGUAGES, 2019, 50 : 70 - 83
  • [26] Generating domain-specific visual language editors from high-level tool specifications
    Grundy, John
    Hosking, John
    Zhu, Nianping
    Liu, Na
    [J]. ASE 2006: 21ST IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2006, : 25 - 34
  • [27] LegalLanguage: A Domain-Specific Language for Legal Contexts
    Soares, Ambrosio Alves
    Martins, Paula Ventura
    da Silva, Alberto Rodrigues
    [J]. ADVANCES IN ENTERPRISE ENGINEERING XIII, EEWC 2019, 2020, 374 : 33 - 51
  • [28] EXTENSIBLE HOST LANGUAGE FOR DOMAIN-SPECIFIC LANGUAGES
    Chodarev, Sergej
    Kollar, Jan
    [J]. COMPUTING AND INFORMATICS, 2016, 35 (01) : 84 - 110
  • [29] A Domain-Specific Language for Exploratory Data Visualization
    Smeltzer, Karl
    Erwig, Martin
    [J]. PROCEEDINGS OF THE 17TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES (GPCE'18), 2018, : 1 - 13
  • [30] A Test Model For Domain-Specific Language Development
    kihlman, Ludvig
    [J]. 2017 9TH COMPUTER SCIENCE AND ELECTRONIC ENGINEERING (CEEC), 2017,