Pathfinding of 2D & 3D game real-time strategy with depth direction A∗ algorithm for multi-layer

The pathfinding analysis has importance for various working such as logistics, transportation, operation management, system analysis and design, project management, network and production line. Especially, game programming technology has effect to economic and dominates culture, increasingly. The shortest path analysis is artificial intelligent which developed capability about think cause and effect, learning and thinking like human. Heuristic technique is method for solving a problem which gets result or not. It may return unexpected value which depends on each problem. 3D game realtime strategy uses shortest path analysis control path for movement of character, wheeled vehicle, animals, and fantasy buildings. It uses path for movement ever time, both in sea, terra and sky (three layers). The position of 3D object use refers 2D coordinate. Generally, the most of 3D game strategy both on LAN and online will play on terrain more than inside building or the room. This research proposes two essences. It proposes comparison rapidity, intelligence and efficiency about seven path finding algorithms which is principle algorithm are familiar. These algorithms used in game computer extensively as follows [1] Depth First Search [2] Iterative Deepening [3] Breadth First Search [4] Dijkstra's Algorithm [5] Best First Search [6] A-Star Algorithm (A∗) [7] Iterative Deepening A∗. Besides, this research proposes Depth Direction A∗ algorithm method which new method which use linear graph theory cooperate with A∗ Algorithm calculate increase efficiency of avoid barrier object on maps and search for shortest path of multi-layer. It movement are natural characteristic more other method. The cost node grows less than A∗ algorithm in clear area and plan about expand node before processed. It guarantee about expand node less than A∗ algorithm node certainly. It takes time movement and avoid barrier object less than uses other algorithm. This work able decrease expand node 22.12–70.67% depend on property of area between pathway by define 3D rendering rate are stable.