Implementasi Artificial Intelligence pada Game Simulasi Menggunakan Unity
DOI:
https://doi.org/10.55606/juisik.v6i3.2292Keywords:
Artificial Intelligence, Finite State Machine, Game Development Life Cycle, NavMesh, Simulation Game.Abstract
This research is motivated by the rapid growth of the game industry in Indonesia and the need for interactive simulation systems based on Artificial Intelligence (AI). This study aims to develop a food court management simulation game by implementing NavMesh based on the A* algorithm for character navigation, as well as Finite State Machine (FSM) and smart reading to regulate the behavior of Non-Player Characters (NPCs). The method used is the Game Development Life Cycle (GDLC), which includes the stages of concept, design, development, and evaluation. The results show that the developed system is capable of producing an intuitive user interface and an interactive 3D environment. In addition, NPCs, such as customers, waiters, and cleaning staff, are able to behave adaptively according to environmental conditions. The testing results indicate that the system operates well structurally and functionally and is responsive across various Android devices. The implementation of AI methods in the developed system supports the creation of NPC interactions that adapt to the conditions of the game environment. Thus, the integration of AI methods can enhance interactivity and realism in food court management simulation games while providing users with a more dynamic gaming experience.
References
Amalia, S., Abidullah, M. D. F., Marcellino, F., Rabani, D. D., Azzahra, F. F., & Abdiansah, A. (2024). AI-Driven Traffic Simulation using Unity: Implementing Finite State Machines for Adaptive NPC Behaviour. Journal of Intelligent Computing & Health Informatics, 5(2), 72. https://doi.org/10.26714/jichi.v5i2.14595
Arbansyah. (2020). Implementasi finite state machine (FSM) pada agent permainan game lost animal at borneo berbasis android .
Arifudin, D., Fransjaya, M., El Fakhry, Y., & Syahrizaldy, H. A. (2025). Optimization of Player Experience and Enemy AI using A* Algorithm in Game. Sinkron, 9(1), 434–443. https://doi.org/10.33395/sinkron.v9i1.14349
Berrezueta-Guzman, S., & Wagner, S. (2026). Next-Gen orientation: supporting international students with generative AI NPCs in VR. Frontiers in Computer Science, 8. https://doi.org/10.3389/fcomp.2026.1799323
Carlos Medina, R. S., Shane Gittabao, H. B., & Agustin, V. A. (2023). Modifying JPS Algorithm Using Navmesh Data Structure Applied in 3D Using Unity.
del Bosque, A., Fernández-Arias, P., Lampropoulos, G., & Vergara, D. (2025). The Role of Artificial Intelligence in Gaming. Applied Sciences, 15(23), 12358. https://doi.org/10.3390/app152312358
Gandhi, A., & Punde Prathamesh. (2024). A* Algorithm and Unity for Augmented Reality-based Indoor Navigation. Grenze International Journal of Engineering & Technology, 10(1).
Hidayat, M. I., & Qoiriah, A. (2022). Implementasi Pathfinding dengan Algoritma A* pada Aplikasi Indoor Navigation Menggunakan Unity Navmesh. https://doi.org/10.26740/jinacs.v3n03.p334-342
Jeannie Novak. (2022a). Game Development Essentials: An Introduction (4th Edition) (4th ed.). NOVY Unlimited.
Jeannie Novak. (2022b). Game Development Essentials: An Introduction (4th Edition) (4th ed.). NOVY Unlimited.
Jeannie Novak. (2022c). Game Development Essentials: An Introduction (4th Edition) (4th ed.). NOVY Unlimited.
Joseph Hocking. (2022). Unity in Action, Third Edition: Multiplatform Game Development in C# (B. Whitney (ed.); Vol. 1). Manning Publications.
Junaidi, A., & Yunus, A. (2021). Implementasi Behavior Tree pada Perilaku Npc di Game Sidescroller. https://doi.org/10.33479/kurawal.v4i2.459
Karpouzis, K., & Tsatiris, G. (2021). AI in (and for) Games. http://arxiv.org/abs/2105.03123
Lamia, K., Lumenta, A., & Sugiarso, B. (2022). Implementation of the A* (A Star) Algorithm in the Minahasa Culture 3D Game. 11, 55–66. https://doi.org/10.35793/jtek.11.2.2022.40153
Mutaqin, G., Fadilah, J. N., & Nugroho, F. (2021). Implementasi Metode Path Finding dengan Penerapan Algoritma A-Star untuk Mencari Jalur Terpendek pada Game “Jumrah Launch Story.” Walisongo Journal of Information Technology, 3(1), 43–48. https://doi.org/10.21580/wjit.2021.3.1.7042
Safira, L., Harsadi, P., & Harjanto, S. (2021). Penerapan Navmesh dengan Algoritma A Star Pathfinding Pada Game Edukasi 3d Go Green. Jurnal Teknologi Informasi Dan Komunikasi (TIKomSiN), 9(1), 17. https://doi.org/10.30646/tikomsin.v9i1.540
Setiawan, M. L., Arbansyah, A., & Suryawan, S. H. (2023). Penerapan Algoritma A* dan Behaviour Trees untuk Perilaku Non-Player Character(NPC) pada Game “The Last Hope” Berbasis Android Menggunakan Unity 2D. Jurnal CoSciTech (Computer Science and Information Technology), 4(2), 451–460. https://doi.org/10.37859/coscitech.v4i2.5418
Sungkaew, K., Lungban, P., & Lamhya, S. (2022). Game development software engineering: digital educational game promoting algorithmic thinking. International Journal of Electrical and Computer Engineering, 12(5), 5393–5404. https://doi.org/10.11591/ijece.v12i5.pp5393-5404
Wihartiko, F. D., Nurdiati, S., & Budiono, A. (2023). Solving Agricultural Price Recommendation Problem Using Smart Reading Algorithms. https://doi.org/10.1016/j.procs.2022.12.275
Xia, B., Ye, X., & Abuassba, A. O. . (2020). Recent Research on AI in Games. 2020 International Wireless Communications and Mobile Computing (IWCMC), 505–510. https://doi.org/10.1109/IWCMC48107.2020.9148327





