Automatic way-finding method in game

An automatic and game technology, applied in the field of network information, can solve the problems of low search efficiency and long search time, and achieve the effect of improving search efficiency and reducing search

Inactive Publication Date: 2015-07-08
四川天上友嘉网络科技有限公司
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method needs to search a lot of irrelevant wayfinding points to find the reachable path, so the search efficiency is relatively low and the search time is relatively long

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic way-finding method in game

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0009] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0010] see figure 1 , is a schematic diagram of an embodiment of the automatic pathfinding method in the game of the present invention. The automatic pathfinding method of the embodiment of the present invention includes:

[0011] S1: Divide the game map into gridded wayfinding points, and at least one wayfinding point is an obstacle point.

[0012] Among them, the map is divided into gridded wayfinding points, one wayfinding point is a grid, and all map sce...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an automatic way-finding method in a game. The automatic way-finding method comprises the following steps: S1: dividing a game map into meshed way-finding points, wherein at least one way-finding point is an obstacle point; S2: selecting the two way-finding points as a starting point and a target point, and taking the starting point as a current way-finding point; S3: searching a next way-finding point in the direction from the current way-finding point to the target point, and judging whether the next way-finding point is the obstacle point or not; S4: if the next way-finding point is not the obstacle point, judging whether the next way-finding point is the target point; S5: if the next way-finding point is the obstacle point, taking a searching path as a way-finding path; if the next way-finding point is not the obstacle point, taking the next way-finding point as the current way-finding point, and carrying out the step S3; and S6: if the next way-finding point is the obstacle point, searching the next way-finding point in the left and right directions of the obstacle point, and taking the next way-finding point as the current way-finding point and carrying out the step S3. By the aid of the automatic way-finding method, the search, which is not related with the way-finding point, can be reduced and the searching efficiency is improved.

Description

technical field [0001] The invention relates to the field of network information technology, in particular to an automatic pathfinding method in games. Background technique [0002] When game users play games, they need to manipulate game characters to perform various actions, including moving and fighting. And movement is the basic action of the game. In order to save game users from having to spend time and energy to find the target in the game, automatic pathfinding came into being. Automatic pathfinding can make game characters automatically move to the target position specified by the game user. [0003] The traditional automatic pathfinding method is to divide the game map into grid-like pathfinding points. After the game user selects the target point, he starts to search for the shortest reachable path from the starting point to the target point. This method needs to search many irrelevant wayfinding points to find the reachable path, so the search efficiency is rel...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): A63F13/56
Inventor 刘自明何啸威
Owner 四川天上友嘉网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products