Method and device for processing way-finding path in game, electronic equipment and storage medium
A processing method and pathfinding technology, applied in the field of games, can solve the problems of large client memory space and computing overhead, not supporting pathfinding in 3D scenes, poor flexibility, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0096] see figure 1 , figure 1 It is a flowchart of a method for processing a pathfinding path in a game provided in Embodiment 1 of the present application. The processing of the pathfinding path in a game includes the following steps:
[0097] S101: Obtain a preset main route, where the preset main route includes a plurality of waypoints and a route formed by connecting every two adjacent waypoints.
[0098] In the specific implementation, the preset main path can be generated in advance according to the game scene. The preset main path is a pre-generated main path based on the game scene, which can provide planning information for the game scene route during real-time pathfinding, and can assist in obtaining flexible Accurate pathfinding results to improve pathfinding efficiency. Wherein, one or more preset main paths can be set in the same game scene, and different preset main paths can be set in advance in different game scenes. Here, the preset main path includes a pl...
Embodiment 2
[0182] Based on the same application concept, Embodiment 2 of the present application also provides a device for processing pathfinding paths in games corresponding to the method for processing pathfinding paths in games provided in Embodiment 1. Since the device in the embodiment of the present application solves the problem The principle is similar to the processing method of the pathfinding path in the game in the first embodiment of the present application, so the implementation of the device can refer to the implementation of the method, and the repetition will not be repeated.
[0183] see Figure 3 to Figure 6 as shown, image 3 It shows one of the functional block diagrams of a pathfinding path processing device 300 in a game provided by Embodiment 2 of the present application; Figure 4 Shows the second functional block diagram of a pathfinding path processing device 300 in a game provided by Embodiment 2 of the present application; Figure 5 show Figure 4 A funct...
Embodiment 3
[0222] Based on the same application idea, see Figure 7 As shown, it is a schematic structural diagram of an electronic device 700 provided in Embodiment 3 of the present application, including: a processor 710, a memory 720 and a bus 730, and the memory 720 stores machine-readable instructions executable by the processor 710 , when the electronic device 700 is running, the processor 710 communicates with the memory 720 through the bus 730, and the machine-readable instructions are executed when the processor 710 is running, as described in the first embodiment The steps of the processing method of the pathfinding path in the game.
[0223] Specifically, when the machine-readable instructions are executed by the processor 710, the following processing may be performed:
[0224] Obtaining a preset main path, wherein the preset main path includes a plurality of waypoints, and a route formed by connecting every two adjacent waypoints;
[0225] Obtain the first grid in the game...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com