UgameFeature: Automatic Code Generation for Unity Game Projects
Joshua Kritz, Mart de Roos, Luís Pires, João Moreira, Giancarlo Guizzardi
2022
Abstract
Computer games are complex software systems, which means that their development requires some level of programming skills. However, their design also involves the creation of game objects (characters, scenarios, etc.), animations and story lines, which are designed by game domain experts, who in general have minimal (or no) programming skills. Game engines have been developed to facilitate game development by reducing programming efforts and enhancing productivity, but we observed that most of these engines still require programming skills in order to be used. In this paper, we discuss how Model-Driven Engineering technologies, particularly metamodelling and model transformations, can be used to facilitate game development. We define a Domain Specific Language called UGameFeature to be used by game designers to define games that can be automatically transformed into scripts that can be executed by the Unity game engine. In order to facilitate the code generation step, we defined an intermediate metamodel, so that structural differences between the UGameFeature metamodel and the Unity engine scripts can be accommodated by an intermediate model-to-model transformation. We claim that with this approach we could define a streamlined process to go from game design to game implementation, in this way surpassing the benefits already offered by game engines. We also discuss some practical obstacles of applying MDE techniques and give recommendations to practitioners who want to apply them in their projects.
DownloadPaper Citation
in Harvard Style
Kritz J., de Roos M., Pires L., Moreira J. and Guizzardi G. (2022). UgameFeature: Automatic Code Generation for Unity Game Projects. In Proceedings of the 10th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-758-550-0, pages 371-378. DOI: 10.5220/0010990000003119
in Bibtex Style
@conference{modelsward22,
author={Joshua Kritz and Mart de Roos and Luís Pires and João Moreira and Giancarlo Guizzardi},
title={UgameFeature: Automatic Code Generation for Unity Game Projects},
booktitle={Proceedings of the 10th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2022},
pages={371-378},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0010990000003119},
isbn={978-989-758-550-0},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 10th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - UgameFeature: Automatic Code Generation for Unity Game Projects
SN - 978-989-758-550-0
AU - Kritz J.
AU - de Roos M.
AU - Pires L.
AU - Moreira J.
AU - Guizzardi G.
PY - 2022
SP - 371
EP - 378
DO - 10.5220/0010990000003119