@thesis{thesis, author={Octavian Felix}, title ={PENERAPAN ALGORITMA PATHFINDING A* DALAM GAME DUAL LEGACY BERBASIS ANDROID}, year={2023}, url={http://eprints.ukmc.ac.id/9713/}, abstract={In game there are 2 types of characters, player characters and NPC (Non-Playable Character) characters that cannot be controlled by the player. To overcome the static nature of NPC, artificial intelligence / algorithms are given. The algorithm given to NPC is the A Star (A*) algorithm. The A Star (A*) algorithm is a pathfinding algorithm in the case of finding closest path to the player and avoiding existing obstacles. The enemy NPC is tasked with chasing the player and must also kill/reduce the player's health. The A* algorithm will calculate the distance of one of the paths, then save it and then calculate the distance of the other paths. When all paths have been calculated, the algorithm will choose the shortest path. Applying the A* pathfinding algorithm to the Android-based Dual Legacy 2D Side-Scrolling RPG npc game where it is hoped that with this algorithm the npc can search and chase players through the closest path. The conclusion of this research is the A Star Algorithm has been successfully implemented for enemy npc to approach the player if the player enters the enemy's calculation range and the enemy npc approaches the player from the shortest distance by avoiding existing obstacles. Keywords: A Star (A*) Algorithm, NPC, Game, Android, 2D Side-Scrolling RPG} }