Back to Search Start Over

UgameFeature: Automatic Code Generation for Unity Game Projects

Authors :
Kritz, Joshua
Roos, Mart de
Pires, Luís Ferreira
Moreira, João Luiz Rebelo
Guizzardi, Giancarlo
Hammoudi, Slimane
Seidewitz, Edwin
Services, Cybersecurity & Safety
Digital Society Institute
Source :
Proceedings of the 10th International Conference on Model-Driven Engineering and Software Development, MODELSWARD 2022, Online Streaming, February 6-8, 2022, 371-378, STARTPAGE=371;ENDPAGE=378;TITLE=Proceedings of the 10th International Conference on Model-Driven Engineering and Software Development, MODELSWARD 2022, Online Streaming, February 6-8, 2022
Publication Year :
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.

Details

Language :
English
Database :
OpenAIRE
Journal :
Proceedings of the 10th International Conference on Model-Driven Engineering and Software Development, MODELSWARD 2022, Online Streaming, February 6-8, 2022, 371-378, STARTPAGE=371;ENDPAGE=378;TITLE=Proceedings of the 10th International Conference on Model-Driven Engineering and Software Development, MODELSWARD 2022, Online Streaming, February 6-8, 2022
Accession number :
edsair.doi.dedup.....b9284d5b513537043aea697626721194