Comparison of capabilities of the Unity environment and LibGDX in terms of computer game development

Piotr Kosidło

piotr.kosidlo@pollub.edu.pl
(Poland)

Karol Kowalczyk


(Poland)

Marcin Badurowicz


Lublin University of Technology (Poland)

Abstract

As part of the work on the article, two 2D games were created – one based on the Unity environment and the other based on LibGDX. Main focus in the work was to compare the performance of both games. For this purpose, research was carried out to determine which game has a better impact on the usage of CPU and RAM resources. Attention was also paid to community support for both tools and the programmer’s comfort during the work in both of these tools. The results of the performance studies suggest that LibGDX may be a better choice for creating small projects where performance is a priority. However, the support of the community and the comfort of working with the environment and the lack of need to use external programs speak in favor of Unity.


Keywords:

Unity, LibGDX, computer games

Statista, https://www.statista.com/chart/21017/most-popular-programming-languages, [03.03.2020].
  Google Scholar

J. Cook, LibGDX Game Development By Example, Packt Publishing (2015).
  Google Scholar

J. Halpern, Developing 2D games with Unity: independent game programming with C#, Apress (2019).
DOI: https://doi.org/10.1007/978-1-4842-3772-4   Google Scholar

J. Hocking, Unity In Action: Multiplatform Game Development In C# With Unity 5, Manning Publications (2015).
  Google Scholar

LibGDX maps documentation, https://github.com/libgdx/libgdx/wiki/Tile-maps, [03.05.2021].
  Google Scholar

Github - Texture Packer, https://github.com/libgdx/libgdx/wiki/Texture-packer, [10.07.2021].
  Google Scholar

LibGDX - Box2D documentation, https://github.com/libgdx/libgdx/wiki/Box2d, [15.05.2021].
  Google Scholar

Unity Scenes - dokumentacja, https://docs.unity3d.com/Manual/CreatingScenes.html, [30.08.2021].
  Google Scholar

Unity Grid - dokumentacja, https://docs.unity3d.com/Manual/class-Grid.html, [30.08.2021].
  Google Scholar

Unity - metoda Start(), https://docs.unity3d.com/ScriptReference/MonoBehaviour.Start.html, [30.08.2021].
  Google Scholar

Unity - metoda OnTriggerEnter2D(), https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerEnter2D.html, [30.08.2021].
  Google Scholar

Stack Overflow, https://stackoverflow.com, [07.09.2021].
  Google Scholar

Download


Published
2021-12-30

Cited by

Kosidło, P., Kowalczyk, K., & Badurowicz, M. (2021). Comparison of capabilities of the Unity environment and LibGDX in terms of computer game development. Journal of Computer Sciences Institute, 21, 324–329. https://doi.org/10.35784/jcsi.2735

Authors

Piotr Kosidło 
piotr.kosidlo@pollub.edu.pl
Poland

Authors

Karol Kowalczyk 

Poland

Authors

Marcin Badurowicz 

Lublin University of Technology Poland

Statistics

Abstract views: 278
PDF downloads: 242