Performance Analysis of ECS Architecture in 2D Mobile Game Development: Ocean Hero

  • Raynaldi Irfansya Regar (Corresponding Author) University Sam Ratulangi
  • Benny Pinontoan Universitas Sam Ratulangi
  • Christian A. J. Soewoeh Universitas Sam Ratulangi
Keywords: Entity Component System, Object-Oriented Programming, Mobile Game, Stress Testing, Unity DOTS

Abstract

Mobile game development frequently encounters computational performance bottlenecks when a system must render and update the logic of many objects simultaneously in each frame. Conventional Object-Oriented Programming (OOP) architecture produces high memory overhead and elevated cache miss rates because game objects are allocated in scattered, non-contiguous memory locations. This research aims to design, implement, and analyze the performance of an Entity Component System (ECS) architecture in a 2D Android educational arcade game titled Ocean Hero. The development process followed the Game Development Life Cycle (GDLC). ECS separates identity, data, and behavior into entities, components, and systems, allowing game logic to process homogeneous component data sequentially through Unity DOTS. Evaluation was conducted on a Samsung Galaxy A15 4G by comparing ECS and OOP implementations through white-box functional verification and stress testing across six entity workloads from 500 to 3,000 entities, each observed over a 20-second tracking period. The ECS implementation maintained a stable 30 FPS and 33.3 ms frame time across all tested entity levels. In contrast, the OOP implementation degraded to 11 FPS and 90.73 ms frame time at 3,000 entities. Based on the relative performance improvement formula, ECS achieved approximately 172.7% higher runtime performance than OOP at the highest workload. These results confirm that ECS is an effective architectural solution for improving scalability and computational efficiency in real-time 2D mobile games with large entity counts.

Downloads

Download data is not yet available.

References

E. Adams, Fundamentals of Game Design, 3rd ed. Berkeley, CA, USA: New Riders, 2014.

T. M. Connolly, E. A. Boyle, E. MacArthur, T. Hainey, and J. M. Boyle, "A systematic literature review of empirical evidence on computer games and serious games," Computers & Education, vol. 59, no. 2, pp. 661-686, 2012, doi: 10.1016/j.compedu.2012.03.004.

F. Febriyanto, R. P. Sari, and S. Rahmayuda, "Implementasi Metode Game Development Life Cycle (GDLC) pada Perancangan Game Edukasi Pra Kemerdekaan Kalimantan Barat," Jurnal Teknologi Informasi, vol. 5, no. 3, 2024, doi: 10.46576/djtechno.

M. Foxman, "United We Stand: Platforms, Tools and Innovation With the Unity Game Engine," Social Media + Society, vol. 5, no. 4, 2019, doi: 10.1177/2056305119880177.

L. I. Hatledal, Y. Chu, A. Styve, and H. Zhang, "Vico: An entity-component-system based co-simulation framework," Simulation Modelling Practice and Theory, vol. 108, 2021, doi: 10.1016/j.simpat.2020.102243.

B. Isik, G. E. Isik, and M. Zilka, "Game-based learning for industrial maintenance: A Unity 3D educational game of compressed air system training," Procedia Computer Science, vol. 253, pp. 784-793, 2025, doi: 10.1016/j.procs.2025.01.140.

Y. Li, D. Chen, and X. Deng, "The impact of digital educational games on student's motivation for learning," PLOS ONE, vol. 19, no. 1, 2024, doi: 10.1371/journal.pone.0294350.

R. S. Pressman and B. R. Maxim, Software Engineering: A Practitioner's Approach, 9th ed. New York, NY, USA: McGraw-Hill Education, 2020.

L. Rodriguez-Calzada, M. Paredes-Velasco, and J. Urquiza-Fuentes, "The educational impact of a comprehensive serious game within the university setting," Heliyon, vol. 10, no. 16, 2024, doi: 10.1016/j.heliyon.2024.e35608.

I. Sommerville, Software Engineering, 10th ed. Boston, MA, USA: Pearson, 2016.

J. Gregory, Game Engine Architecture, 3rd ed. Boca Raton, FL, USA: CRC Press, 2018.

Unity Technologies, "Entities overview | Entities 1.0.16," Unity Manual, 2024. [Online]. Available: https://docs.unity3d.com/Packages/com.unity.entities@1.0/manual/index.html

Unity Technologies, "Burst compiler | Burst 1.8.29," Unity Manual, 2026. [Online]. Available: https://docs.unity3d.com/Packages/com.unity.burst@1.8/manual/index.html

Unity Technologies, "Profiler overview," Unity Manual 2022.3, 2026. [Online]. Available: https://docs.unity3d.com/2022.3/Documentation/Manual/Profiler.html

Unity Technologies, "Introduction to the Data-Oriented Technology Stack for advanced Unity developers," Unity Resources, 2024. [Online]. Available: https://unity.com/resources/introduction-to-dots-ebook

B. Gregg, Systems Performance: Enterprise and the Cloud, 2nd ed. Hoboken, NJ, USA: Pearson, 2020.

Newzoo, Global Games Market Report 2024, Newzoo BV, 2024. [Online]. Available: https://newzoo.com/resources/trend-reports/newzoo-global-games-market-report-2024-free-version

Published
2026-06-21
How to Cite
Regar, R. I., Pinontoan, B., & Soewoeh, C. A. J. (2026). Performance Analysis of ECS Architecture in 2D Mobile Game Development: Ocean Hero. Journal of Artificial Intelligence and Technology Information (JAITI), 4(2), 236-244. https://doi.org/10.58602/jaiti.v4i2.267