Aspect Weaving for Multiple Video Game Engines using Composition Specifications

Ben Geisler, Shane Kavage

2020

Abstract

In the realm of video game development, unique Domain Specific Languages (DSL’s) are used in each of the most popular game engines making code sharing and reuse extremely difficult. For this reason, common software engineering practices such as design patterns and modularity have lagged. GAMESPECT is an aspect-oriented DSL (DSAL) that seeks to generalize concerns of video game programming. This paper explores the technology involved, namely composition specifications which enable the usage of XText and TXL to weave aspect code into multiple game engines and multiple languages. We describe the four main steps of the weaving process: reification, matching, ordering and mixing. Our results demonstrate the technical accuracy of the DSAL as well as the efficiency across several samples in Unreal Game Engine 4(UE4) and Unity. The DSAL employed is a single-to-many source language featuring transformation and aspect insertion (via weaving) to multiple languages in these engines including C++, Skookum Script, LUA, and C#. The GAMESPECT technology has been employed beneficially in modern video game development across active titles on the PC, Android and Nintendo Switch.

Download


Paper Citation


in Harvard Style

Geisler B. and Kavage S. (2020). Aspect Weaving for Multiple Video Game Engines using Composition Specifications.In Proceedings of the 15th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE, ISBN 978-989-758-421-3, pages 454-462. DOI: 10.5220/0009444104540462


in Bibtex Style

@conference{enase20,
author={Ben Geisler and Shane Kavage},
title={Aspect Weaving for Multiple Video Game Engines using Composition Specifications},
booktitle={Proceedings of the 15th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,},
year={2020},
pages={454-462},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0009444104540462},
isbn={978-989-758-421-3},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 15th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE,
TI - Aspect Weaving for Multiple Video Game Engines using Composition Specifications
SN - 978-989-758-421-3
AU - Geisler B.
AU - Kavage S.
PY - 2020
SP - 454
EP - 462
DO - 10.5220/0009444104540462