|Supervisor:||Prof. Gudrun Klinker|
|Advisor:||Dyrda, Daniel (@ga67gub)|
The thesis evaluates possible use cases for statecharts in games and extracts requirements from them. With these requirements an engine is developed which executes statecharts in the Unity game engine. This engine is then optimized using caching, cache optimizations, and other optimizations; and an approach for multithreading the engine is presented. The final engine is able to execute 1000 copies of a statechart within nine milliseconds on average.
The code developed is available here: https://github.com/file-not-found42/StatechartEngine