Research of Path Finding and Reality on Game
- Author
- HanZuo
- Advisor
- ChenHongGang
- School
- Southwestern University
- Major
- Applied Computer Technology
- Classification
- TP301.6 Algorithm Theory
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 13
- Citations
- 0
Abstract
With the development of society, the continuous improvement of people’s material level, at the same time, thanks to the proliferation of computers and the rapid development of software technology, the game industry has been rapid development, especially in the21st Century, the game industry is rapidly becoming a sunrise industry.Pathfinding system is a very important part of the game system, a good pathfinding algorithms is very important for the game. There are many common pathfinding algorithm, such as depth-first search, breadth-first search, Dijkstra, Floyd algorithm and A*algorithm. A*algorithm is the most widely used algorithms in the current game development, and it’s also the focus of Pathfinding in game artificial intelligence. As a heuristic search algorithm, A*algorithm is very efficient compared with the other search algorithm, the heuristic function is:F (n)=G (n)+H (n), G (n) represents the actual distance from the starting node to the current node, H (n) represents the estimated value from the current node to the next node. A*algorithm is always looking for the minimum estimated value of the node, and choose the minimum node, therefore it can find the shortest path. The game map is based on the node, and the final path is the optimal solution, but the final path often does not comply with the real situation, how to solve the problem of the authenticity in the pathfinding is a very important issue.Firstly, this paper study the A*algorithm deeply and analyze the cause of the problem, then propose an improved A*algorithm based on the Floyd algorithm and the Bezier curves.The improved algorithm removed the inflection point and extra collinear nodes, to avoid the situation of walking snake-line when it can walk a straight line, and also smooth the path when it bypass obstacle, this improved algorithm solution the problem of A*algorithm. Finally, the simulation results of traditional A*algorithm, based binary heap A*algorithm and improved algorithm comparison of the final line effects and time efficiency. In this paper, use30*30rectangular grids to simulate the game map, for better result, I generates the fixed map and random map, a fixed map primarily the time efficiency of the comparison algorithm, also the final path effects; random map is mainly observed in the complex environment, the algorithm path effect. By several experimental comparison of experimental data obtained to verify the effectiveness of the improved algorithm, improving the algorithm in the time consumption is better than the traditional A*algorithm, A*algorithm is slightly lower than the binary heap optimization, but the path is more smooth and realistic.
Table of contents
Summary 5-6
Abstract 6-8
Chapter 1 Introduction 8-12
1.1 Introduction 8-9 <br / > 1.2 research background and significance 9-10
1.2.1 game AI 9
1.2.2 game path Search Status 9-10
1.3 dissertation research priorities and chapters arrangements 10-12
1.3.1 thesis focuses 10
1.3.2 papers organizational structure 10-12
Chapter 2 theory and technology 12-24
2.1 game artificial intelligence in Figure 12-13
2.2 diagram and its related concepts 13 -15
2.2.1 diagram shows 13-14
2.2.2 Figure search 14-15
2.3 basic path search algorithm 15 - 22
2.3.1 depth-first search 15-17
2.3.2 BFS 17-18
2.3.3 Dijkstra algorithm 18 - 20
2.3.4 Floyd algorithm 20-22
2.4 Summary 22-24
Chapter 3 A * search algorithm 24-34
3.1 Overview 24
3.2 heuristic search algorithm 24-25
3.2.1 evaluation function 24-25
3.2.2 inspiration several metrics 25
3.3 A * algorithm 25-33
3.3.1 A * algorithm is the basic principle 25-27
3.3. 2 A * algorithm Detailed 27-32
3.3.3 A * several common heuristic function 32-33
3.4 Summary 33-34 <br / > Chapter 4 a * algorithm flaw in the game and improve 34-48
authenticity nbsp 4.1 game development and design ; 34-35
4.2 A * algorithm defects 35-38
4.3 wayfinding improvement strategies 38-46
4.3.1 binary heap algorithms to improve the efficiency of 39-43
4.3. 2 Floyd smooth straight path 43-45
4.3.3 Bezier smooth inflection path 45-46
4.4 Summary 46-48
5th experimental analysis and conclusions chapter 48-54
5.1 purpose 48
5.2 experimental environment 48
5.3 results and analysis 48 -54
5.3.1 experimental map 48-49
experimental data and analysis 5.3.2 fixed map under 49-51
5.3.3 random map under the experimental data and analysis 51-54
Chapter 6 summarizes the thesis and outlook 54-56
6.1 This work summarizes 54
6.2 Prospects 54-56
References 56-60
Thanks 60-62
studying for a Master's degree theses published 62
Related dissertations
- Intelligent Path Planning for Automated Guided Vehicles Based on Topological Map
- A Method for Degree Reduction of Bézier Curve Based on Partitioned Matrix Derivation
- Study on Spline Curves and Surfaces in CAD/CAE
- Research and Implementation of Automatic Font Outline Generation for Nǚshu
- Research of FPGA Routing Technology
- Design of Radial Turbine Vane Based on Bezier Curve
- Research on Fast Route Planning Method Adapted to Directional Endpoint Constraints
- Research on Intelligent Navigation Technology for Building Fire Escape
- The Turbodrill Blade Design and CFD Analysis
- Research on Design of Intelligent Vehicle and Its Path Planning
- Research on robot navigation technology based on visual information
- Research on Application of the Key Technologies of Simulation Welding Software System
- The Research on Cutting and Reconstructing the Model of Soft-tissue in Virtual Surgery
- Elliptical Arcs in Quartic Rational Bezier Form and an Approximation by Quartic Bezier Curves
- Research of the Optimization Problem on Bezier Curve
- 2D Engine Design Based on Openvg and Implemented by C Model
- Technology research on subdivision of triangular B é zier curve mesh model approximation
- Research of Human Motion Postures Based on Inertial Motion Capture
- Design and Implementation of the Warning Simulation System Based on the OGRE Engine
- Study on Hybrid Clipping Method for Solving Polynomial Roots