Design and implementation of a 2D game with a turn-based combat system in the Unity environment
DOI:
https://doi.org/10.34767/SIMIS.2026.01.01Keywords:
Unity, C#, turn-based combat system (TBS), game design, RPG, pixel artAbstract
The article presents the process of designing, implementing, and unit-level evaluation of a 2D game with a turn-based combat system, developed in the Unity environment using the C# programming language. The main objective of the study was to build a complete, modular game project integrating key mechanics characteristic of the cRPG genre: exploration of a persistent world, an equipment-based character progression system, and a tactical, turn-based combat system inspired by the production “Broken Ranks.” As part of the research, a functional analysis of the implemented systems was conducted, including item management, combat logic, and interactions with the environment. Software engineering methods, such as use case diagrams and entity diagrams, were employed to design the system architecture. The results confirm the correctness of the implemented mechanics and demonstrate high scalability and flexibility of the project, which constitutes a solid foundation for further development. Directions for future work were also proposed, including the expansion of enemy artificial intelligence, the introduction of a multiplayer mode, and procedural content generation.
References
Blog producenta gry Broken Ranks (dawniej The Pride of Taern). Sekcja opisująca mechanikę walki. Dostęp: brokenranks.com/#sectionFights
Dokumentacja Microsoft: Język programowania C#. Dostęp: docs.microsoft.com/pl/dotnet/csharp/
Freeman, A., & G. (2022). Programowanie gier w Unity i C#. Kompletny przewodnik. Helion.
Halpern, J. (2019). Jak pisać świetne gry 2D w Unity. Niezależne programowanie w języku C#. Helion.
Nystrom, R. (2014). Game Programming Patterns. Genever Benning. Dostęp: gameprogrammingpatterns.com
Oficjalna dokumentacja narzędzia Piskel do tworzenia pixel art. Dostęp: www.piskelapp.com
Stellman, A., & Greene, J. (2023). C#. Rusz głową! Wydanie IV. Helion.
Unity Technologies. Unity User Manual (2022.3 LTS). Dostęp: docs.unity3d.com/Manual/index.html
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.