CN112023401A - Processing method and device for path searching recovery and electronic equipment - Google Patents
Processing method and device for path searching recovery and electronic equipment Download PDFInfo
- Publication number
- CN112023401A CN112023401A CN202010954275.4A CN202010954275A CN112023401A CN 112023401 A CN112023401 A CN 112023401A CN 202010954275 A CN202010954275 A CN 202010954275A CN 112023401 A CN112023401 A CN 112023401A
- Authority
- CN
- China
- Prior art keywords
- searching
- information
- finding
- position information
- automatic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000011084 recovery Methods 0.000 title claims abstract description 62
- 238000003672 processing method Methods 0.000 title claims abstract description 16
- 238000000034 method Methods 0.000 claims abstract description 41
- 230000000977 initiatory effect Effects 0.000 claims abstract description 31
- 238000004590 computer program Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 7
- 238000013507 mapping Methods 0.000 claims description 6
- 230000001976 improved effect Effects 0.000 abstract description 8
- 230000006870 function Effects 0.000 description 45
- 238000010586 diagram Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000001965 increasing effect Effects 0.000 description 4
- 239000003550 marker Substances 0.000 description 4
- 244000035744 Hura crepitans Species 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
- A63F13/56—Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
- A63F13/537—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
- A63F13/5372—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
- A63F13/537—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
- A63F13/5378—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for displaying an additional top view, e.g. radar screens or maps
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Radar, Positioning & Navigation (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Navigation (AREA)
- Instructional Devices (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The application discloses a processing method and device for path searching recovery and electronic equipment, and relates to the technical field of games. The method comprises the following steps: receiving a path searching recovery instruction; firstly, acquiring current position information of a game role and destination position information of a last time automatic route searching initiated by the game role; and then initiating automatic route finding according to the current position information and the destination position information. The method and the device for the route searching recovery can simplify the operation steps of the route searching recovery, the player can trigger the route searching recovery by one key, the route searching function in the multilevel menu is not needed to be manually searched by the user, the operation is simple and convenient, the operation time and the operation cost of the player can be saved, and the experience of the game in the aspect of the operation fluency is improved.
Description
Technical Field
The present application relates to the field of game technologies, and in particular, to a method and an apparatus for processing a way finding recovery, and an electronic device.
Background
One of the main features of the sand box game is the high degree of freedom of the player, and in order to achieve the design purpose, more function modules need to be added in the game, and the function and content depth are increased to provide a larger selection space. The biggest difference between the mobile phone game and the computer client game lies in the physical limitation of the size of equipment, the size of a mobile phone screen is limited, functional areas cannot be added infinitely in a main interface for ensuring the game experience of a player, and partial functions need to be stored in a menu with two or even more levels.
In the game, the player can freely select the target which needs to be executed at present and switch at any time according to the change of the actual situation, which means that a large amount of path-finding interruption situations can occur. After the path searching interruption occurs, the user is required to manually search the path searching function in the multilevel menu at present, then find the destination position initiating the path searching last time according to the memory, and finally set the automatic path searching according to the destination position.
However, such an operation process in the multi-level menu is cumbersome and increases the operation time of the player. Furthermore, after the player initiates a route-finding operation with high operation cost, if the route-finding is interrupted and needs to be recovered, the player needs to initiate a route-finding operation again with high cost, thereby greatly increasing the operation cost of the player.
Disclosure of Invention
In view of this, the present application provides a processing method and apparatus for path finding recovery, and an electronic device, and mainly aims to solve the technical problems that the conventional path finding recovery method is complicated to operate, and increases the operating time and operating cost of a player.
According to an aspect of the present application, there is provided a processing method for way-finding recovery, the method including:
receiving a path searching recovery instruction;
acquiring current position information of a game role and destination position information of a last automatic route searching initiated by the game role;
and initiating automatic route finding according to the current position information and the destination position information.
According to another aspect of the present application, there is provided a processing apparatus for way finding recovery, the apparatus including:
the receiving module is used for receiving a path searching recovery instruction;
the system comprises an acquisition module, a path searching module and a path searching module, wherein the acquisition module is used for acquiring current position information of a game role and destination position information of a last-time automatic path searching initiated by the game role;
and the route searching module is used for initiating automatic route searching according to the current position information and the destination position information.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the processing method of the above-described way finding recovery.
According to still another aspect of the present application, an electronic device is provided, which includes a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, and the processor implements the processing method of the above-mentioned way finding recovery when executing the computer program.
By means of the technical scheme, compared with a traditional way searching recovery mode, the way searching recovery processing method, the way searching recovery processing device and the electronic equipment can simplify the operation steps of way searching recovery, a player can trigger the way searching recovery by one key, and the automatic way searching can be initiated again according to the current position information of a game role and the destination position information of the last time automatic way searching initiated by the game role. The route searching function in the multilevel menu is not required to be searched manually by a user, the operation is simple and convenient, the operation time and the operation cost of a player can be saved, and the experience of the game in the aspect of operation fluency is improved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart illustrating a processing method for way finding recovery according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating another processing method for way-finding recovery according to an embodiment of the present application;
FIG. 3 is a diagram illustrating an example of a task system initiated way finding representation provided by an embodiment of the present application;
FIG. 4 illustrates an exemplary diagram of a map marker tracking interface provided by an embodiment of the present application;
FIG. 5 illustrates an exemplary schematic diagram of an item location tracking interface provided by an embodiment of the present application;
FIG. 6 illustrates an exemplary diagram for displaying tracking target information provided by an embodiment of the present application;
fig. 7 shows a schematic structural diagram of a processing apparatus for way-finding recovery according to an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The method aims to solve the technical problems that the operation of the traditional way searching recovery mode is complicated, and the operation time and the operation cost of a player are increased. The embodiment provides a processing method for way-finding recovery, as shown in fig. 1, the method includes:
101. a way-finding recovery instruction is received.
In a game scene of a mobile terminal (such as a mobile phone, a tablet personal computer, and the like), compared with a game of a computer client, due to the physical limitation of the size of the device, a functional area cannot be added infinitely in a game main interface, and part of functions need to be contained in a menu of two or even more levels. When it is desired to activate the functions in these multi-level menus, the operation time of the player user is increased and the ease of use is reduced, on the premise that the single use cost of some functions is high and cannot be reduced. Therefore, in order to facilitate the fast recovery again after the automatic route searching interruption, in the embodiment, a shortcut key for route searching recovery may be set at a specific position of the game main interface or at a certain position of the menu, and the user may input a route searching recovery instruction by triggering the shortcut key. Furthermore, in order to save the space of the game interface occupied by the shortcut key, the shortcut key can be displayed after the automatic route searching event is started until the route searching event is completed; after the automatic path searching function is not triggered and the path searching function is completed, the shortcut key does not need to be displayed, and the purpose of saving occupied space is further achieved. It should be noted that the form of the shortcut key may be preset according to actual situations, for example, the shortcut key is set at a corner of the main interface, or an original function button is switched to the shortcut key (for example, after the way searching is interrupted, the original way searching function button is switched to the shortcut key with the way searching recovery function), and the like.
With the present embodiment, after the game character (player) initiates the automatic way-finding, the automatic way-finding is performed according to the instruction of the player. The player in the game can freely select the target which the player wants to execute at present and switch at any time according to the change of the actual situation, for example, if a rare collection object in the map is found midway and the player actively breaks the way to the collection, or if a team friend is found midway and the player actively breaks the previous chat, and the like. After the action is finished, the last unfinished path searching target needs to be restored, and at the moment, the automatic path searching task can be quickly restored by inputting a path searching restoration instruction. The execution main body of this embodiment may be a device or an apparatus for performing the way-finding recovery process, and may be configured on the client side (e.g., a terminal side such as a smart phone or a tablet computer), and may be used for performing the fast recovery process after the automatic way-finding interruption of the game, and specifically may execute the processes shown in steps 102 to 103.
102. The method comprises the steps of obtaining current position information of a game role and destination position information of a game role which initiates automatic route finding last time.
The current position information may include map information (a game scene map, a map version, and the like) of the game character currently in the game, a coordinate position of the game character currently in the map, and the like. The destination location information may include a destination location specified by the last time the game character initiated the auto-routing, i.e., a location of an object being tracked by the game character (e.g., a destination location to be reached for completing a task, or a location to which the user specified to go in a map, or a location of a place where a particular item appeared, etc.).
In this embodiment, whenever a game character initiates a new auto-seek (different destination), the destination location information of the auto-seek may be stored accordingly, and then when the auto-seek is interrupted, the location information of the auto-seek destination before the auto-seek interruption may be determined according to the last stored destination location information of the auto-seek, as the destination location information of the last auto-seek initiated by the game character acquired in step 102.
It should be noted that, in the embodiment, in order to simplify the size of the function itself, only the position information of the route searching destination initiated at the last time can be stored, so that the one-key quick recovery of the game character after the last automatic route searching interruption can be realized, no extra operation is required by the user, the operation efficiency can be improved, and the operation cost can be saved.
103. And initiating automatic route finding according to the current position information of the game role and the destination position information of the last initiated automatic route finding of the game role.
For example, the automatic route searching process is executed according to the walking route in the game map according to the current position of the game character and the destination position of the game character which initiates the automatic route searching last time. When the automatic route searching is carried out, the game role can automatically advance to the destination position from the current position as the starting point until the destination position is reached, and then the automatic route searching process is finished.
Compared with the traditional way searching recovery mode, the way searching recovery processing method provided by the embodiment can simplify the operation steps of way searching recovery, a player can trigger way searching recovery by one key, and automatic way searching can be initiated again according to the current position information of the game role and the position information of the destination where the game role initiates automatic way searching last time. The route searching function in the multilevel menu is not required to be searched manually by a user, the operation is simple and convenient, the operation time and the operation cost of a player can be saved, and the experience of the game in the aspect of operation fluency is improved.
Further, as a refinement and an extension of the specific implementation of the foregoing embodiment, in order to fully describe the implementation of this embodiment, this embodiment further provides another processing method for way finding recovery, as shown in fig. 2, where the method includes:
201. and acquiring corresponding function entry information when the game role initiates the automatic way finding last time.
The user can carry out corresponding route searching operation in order to enable the game role to automatically search the route according to the appointed place. The background can acquire an operation path corresponding to the operation of the user in the game control interface and a function interface called correspondingly, and further acquire and acquire corresponding function entry information when the game role initiates the automatic route finding last time.
For example, a player user operates a game character to automatically seek a route to a certain marker point (a marker point in a game map, such as a cave entrance position, a store position, a canyon entrance position, etc.) through a map interface, and a corresponding function entrance operates an automatic seek route from the game map to guide the game character to initiate.
For another example, when a player clicks a task bar in a menu and confirms that a task is executed, the task system initiates an automatic way-finding related to the completion of the task, and the corresponding function entry directs the game character to initiate an automatic way-finding in the task system.
For another example, in order to obtain a game treasure or collect a specific item such as a game item, the player user goes to the position where the specific item appears to automatically find a way, and the corresponding function entry is an automatic way finding initiated by operating and guiding a game role in the specific item management system.
202. And acquiring a path searching type identifier corresponding to the function entry information corresponding to the last time when the game role initiates the automatic path searching.
In the existing sandbox game design system, because the amount of information input to the player user during the game is large, the player user may be stressed in object memory, and when the player actively interrupts the previous route seeking behavior during the game, the previous object may be forgotten. Therefore, in order to assist the player to memorize, optionally, when the automatic route searching is interrupted, the target currently tracked by the game character can be correspondingly displayed, and specifically, the route searching category identification corresponding to the function entry information corresponding to the last time the automatic route searching was initiated by the game character can be used as a guide.
Specifically, before step 202, the method may further include: counting the entry information of each function related to the path finding function in the game; then, carrying out route searching classification according to the counted information of each function entry to obtain the mapping relation between each function entry information and different route searching category identifications, wherein the different route searching category identifications at least comprise: task class identification, map mark class identification and article class identification; correspondingly, step 202 may specifically include: and acquiring the route searching category identification corresponding to the corresponding function entry information when the game role initiates the automatic route searching last time by utilizing the mapping relation obtained by statistics.
In this embodiment, all function entries related to the way-finding function in the game can be summarized and sorted in advance, so as to reduce the number of categories for the player to remember, and the common situation of the sandbox game can be divided into three categories: task class, map tag class, item class. For example, for a task class, all location information related to tasks initiated by the task system may be counted, and a routing representation (via the left tracking bar) may be initiated for the task system as shown in fig. 3; for the map marker class, all position information in the markers set in the map and the map event markers can be counted, and as shown in fig. 4, a tracking interface is marked for the map; for the class of articles, all location information about the place of occurrence in a particular article can be counted, as shown in fig. 5, for an article location tracking interface.
203. And after the game role initiates automatic path searching for the last time, displaying the obtained path searching category identification, and keeping displaying the path searching category identification after path searching interruption.
For this embodiment, after the game character initiates the automatic route searching last time, not only the position information (destination position information) of the game character initiating the automatic route searching last time needs to be saved, but also the route searching category identifier is taken as the identifier of the guide in combination with the classification manner in step 202, so as to display the target currently tracked by the player and assist the player to memorize. For example, when a player seeks a route for a certain mark through a map interface, from the time of initiating the route seeking, the lower-seeking category identifier will be displayed as a "mark" or a "map mark" to prompt the player that the current/last tracking target type is a map mark. The way-finding category identification can still be displayed after the way-finding interruption. The method of the embodiment assists the memory of the player by inducing the classification and display of the function entries, and reduces the negative experience of the player in the aspect of target memory in the game.
The displayed routing category identifiers may be located at corner locations of the game master interface and have a small footprint to reduce impact on the player's gaming experience. For example, as shown in fig. 6, the way-finding category identification can be displayed in the lower left corner area of the game main interface.
Further optionally, if the game role initiates a new automatic route searching task, the display route searching category identifier is updated according to the corresponding function entry information when the automatic route searching is newly initiated. By the timely updating mode, when a game role initiates a new automatic path searching, the path searching category identification corresponding to the latest path searching task can be replaced and displayed in time, so that a player can remember the latest automatic path searching target in time, and the game experience of the player is improved.
204. After the path searching interruption, if a path searching recovery instruction is received, the current position information of the game role and the destination position information of the game role which initiates the automatic path searching last time are obtained.
After the way searching interruption occurs, the player user can input a way searching recovery instruction by triggering to realize one-key automatic recovery way searching. Optionally, the functional area for triggering the input of the route searching recovery instruction may be set to the area for displaying the route searching category identifier in step 203, so that not only can the interface space be saved, but also the player can more conveniently control the functional area, and the user directly clicks and triggers a button to automatically recover the route searching following the prompted target information.
205. And initiating automatic route finding according to the current position information of the game role and the destination position information of the last initiated automatic route finding of the game role.
Optionally, step 205 may specifically include: determining the starting position of the path finding according to the current position information of the game role, and determining the end position of the path finding according to the destination position information of the automatic path finding initiated by the game role last time; and then calling the navigation information of the game map, and initiating automatic route finding from the starting position to the end position.
For example, as shown in fig. 6, the area displaying the route searching category identification information is a clickable functional area, and after initiating a route searching, when the route searching is interrupted due to any reason, the functional area is clicked, that is, the current player position is used as a starting point, the stored map of the last route searching result, that is, the coordinate information is used as an end point, and the route searching is initiated again from the current new position to the target position, so as to achieve the functional goal of recovering the interrupted route searching state.
In a specific application scenario, sometimes a game character has already reached a destination position of an automatic route searching, and then calling the automatic route searching function wastes certain resources, and it is likely that a player user mistakenly thinks that an exception occurs in a game because the game character does not make a substantial change. Therefore, in order to solve the problem, further optionally, the invoking the game map navigation information to initiate an automatic route finding from the starting position to the ending position may specifically include: judging whether the distance between the starting point position and the end point position is smaller than a preset threshold value or not; if the distance between the starting position and the end position is smaller than a preset threshold value, displaying prompt information (such as prompt in the form of characters, audio, character animation and the like) of the destination; and if the distance between the starting position and the end position is greater than or equal to a preset threshold value, calling the navigation information of the game map, and initiating automatic route finding from the starting position to the end position.
Through the optional mode, when the current position of the game role is close to the route searching destination and can be considered to be reached, the prompt information can be used for reminding, and when the current position of the game role is far from the route searching destination, the automatic route searching operation is initiated again. The resource waste is saved, the player can be helped to correctly understand the route searching operation, and the game experience is improved.
In addition to the above scenario, sometimes the user may inadvertently repeat the previous automatic route searching process, such as mistakenly searching for the destination of the previous task to find the route for the current task; or the player intentionally repeats the previous automatic routing to return to the previously experienced location, such as to complete a transaction, or to retrieve an item not picked up, or to meet a friend for chat, etc. Therefore, in order to accurately confirm the operation behavior of the player user and reduce the misoperation of the player user, optionally, step 205 may specifically include: judging whether the task of the game role for initiating the automatic path finding last time is completed; if the task is finished, displaying prompt information (such as prompt in the form of characters, audio, character animation and the like) that the task is finished, and initiating automatic route searching according to the current position information of the game character and the position information of the destination where the game character initiates automatic route searching last time after receiving an instruction for confirming to continue automatic route searching; if the task is not completed, initiating automatic route searching according to the current position information of the game role and the position information of the destination where the game role initiates the automatic route searching last time. By the mode of prompting information and confirming by the player user, the operation behavior of the player user can be accurately confirmed, the misoperation of the player user is reduced, and the game experience of the player user is improved.
Since sometimes the path-finding interruption is not only once, there may be multiple path-finding interruptions in the process of one automatic path-finding, so to implement fast recovery after each path-finding interruption, further optionally, after step 205, the method in this embodiment may further include: if the path searching is interrupted again and a path searching recovery instruction is received, acquiring the latest position information of the game role; and then initiates automatic way finding according to the latest position information and the destination position information. For example, the game character initiates automatic seek from A to B, during which seek interruption occurs at C, automatic seek is initiated from C to B upon receiving seek recovery instruction, then seek interruption occurs again at D, and automatic seek is continued from D to B upon receiving seek recovery instruction.
Further optionally, in order to enrich the game experience function, after step 205, the method of this embodiment may further include: in the automatic route searching process, the route searching remaining time is displayed according to the remaining route information, for example, how long the remaining time reaches the destination of the route searching, so that a player user can master the game time; if the destination position information of the route searching is changed, the task of automatic route searching can be tracked and executed according to the changed destination position information. For example, the target of the route searching is a movable target, or the position of the target changed and updated due to game updating, and the like, after the position is changed, the task of automatic route searching can be executed according to the changed position tracking, so that the situation that the goal cannot be reached due to the fact that the game character searches according to the position which is failed before is avoided.
The general way-finding recovery scheme of the embodiment greatly simplifies the operation steps of the way finding recovery and improves the experience of the game in the aspect of operation fluency under the condition that the cost of single initiation of multi-target way finding cannot be effectively reduced. And through the classification and display of the induction function entries, the player is assisted to memorize, and the negative experience of the player in the aspect of object memory in the game is lightened. The scheme of the embodiment is simple, low in implementation cost, high in compatibility and easy to popularize in the same or similar game types.
Further, as a specific implementation of the method shown in fig. 1 and fig. 2, this embodiment provides a processing apparatus for way finding recovery, as shown in fig. 7, the apparatus includes: a receiving module 31, an obtaining module 32, and a path searching module 33.
A receiving module 31, configured to receive a path finding recovery instruction;
the obtaining module 32 is configured to obtain current position information of a game character and position information of a destination where the game character has initiated an automatic route finding last time;
and the route searching module 33 is configured to initiate an automatic route searching according to the current location information and the destination location information.
In a specific application scenario, the route searching module 33 is specifically configured to determine a starting position of a route search according to the current position information, and determine an end position of the route search according to the destination position information; and calling the navigation information of the game map, and initiating automatic route finding from the starting position to the end position.
In a specific application scenario, the route searching module 33 may be further configured to determine whether a distance between the starting point position and the ending point position is smaller than a preset threshold; if the distance between the starting position and the end position is smaller than a preset threshold value, displaying a prompt message of arriving at a destination; if the distance between the starting position and the end position is larger than or equal to a preset threshold value, calling game map navigation information, and initiating automatic route finding from the starting position to the end position.
In a specific application scenario, the way searching module 33 may be further configured to determine whether a task of the game character that initiates an automatic way searching last time is completed; if the task is completed, displaying prompt information that the task is completed, and initiating automatic route searching according to the current position information and the destination position information after receiving an instruction for confirming to continue automatic route searching; and if the task is not finished, initiating automatic route searching according to the current position information and the destination position information.
In a specific application scenario, the apparatus further comprises: a first display module;
the obtaining module 32 may be further configured to, before the receiving of the path finding recovery instruction, obtain corresponding function entry information when the game character initiates an automatic path finding last time;
the obtaining module 32 may be further configured to obtain a way-finding category identifier corresponding to the function entry information;
the first display module can be used for displaying the path-finding category identification after the game role initiates an automatic path finding for the last time, and keeping displaying the path-finding category identification after the path finding is interrupted.
In a specific application scenario, the apparatus further comprises: a classification module;
the classification module is used for counting the information of each function entry related to the route searching function in the game before the route searching category identification corresponding to the function entry information is obtained; performing way finding classification according to the counted function entry information to obtain a mapping relation between the function entry information and different way finding category identifications, wherein the different way finding category identifications at least comprise: task class identification, map mark class identification and article class identification;
the obtaining module 32 is specifically configured to obtain the route searching category identifier corresponding to the function entry information by using the mapping relationship.
In a specific application scenario, the first display module may be further configured to update and display the route searching category identifier according to corresponding function entry information when a new automatic route searching task is initiated by the game character.
In a specific application scenario, the obtaining module 32 may be further configured to, after initiating an automatic path finding according to the current location information and the destination location information, obtain the latest location information where the game character is located if a path finding recovery instruction is received after the path finding is interrupted again;
the route searching module 33 is further configured to initiate an automatic route searching according to the latest position information and the destination position information.
In a specific application scenario, the apparatus further comprises: a second display module;
the second display module can be used for displaying the remaining time of the route searching according to the remaining route information in the automatic route searching process;
the route searching module 33 is further configured to, if the destination location information is changed, track and execute an automatic route searching task according to the changed destination location information.
It should be noted that other corresponding descriptions of the functional units involved in the processing apparatus for path finding recovery provided in this embodiment may refer to the corresponding descriptions in fig. 1 and fig. 2, and are not described herein again.
Based on the above-mentioned methods shown in fig. 1 and fig. 2, correspondingly, the present embodiment further provides a storage medium, on which a computer program is stored, and the program, when executed by a processor, implements the processing method of the way-finding recovery shown in fig. 1 and fig. 2.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method of the embodiments of the present application.
Based on the method shown in fig. 1 and fig. 2 and the virtual device embodiment shown in fig. 7, in order to achieve the above object, an embodiment of the present application further provides an electronic device, which may specifically be a smart phone, a tablet computer, or other network devices, and the device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the processing method of the way-finding recovery as shown in fig. 1 and fig. 2.
Optionally, the entity device may further include a user interface, a network interface, a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, and the like. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), etc.
It will be understood by those skilled in the art that the above-described physical device structure provided in the present embodiment is not limited to the physical device, and may include more or less components, or combine some components, or arrange different components.
The storage medium may further include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the above-described physical devices, and supports the operation of the information processing program as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and communication with other hardware and software in the information processing entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. By applying the scheme of the embodiment, compared with the traditional way searching and recovering mode, the method can simplify the operation steps of the way searching and recovering, a player can trigger the way searching and recovering by one key, and specifically, the automatic way searching can be initiated again according to the current position information of the game role and the position information of the destination where the game role initiates the automatic way searching last time. The route searching function in the multilevel menu is not required to be searched manually by a user, the operation is simple and convenient, the operation time and the operation cost of a player can be saved, and the experience of the game in the aspect of operation fluency is improved.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.
Claims (12)
1. A processing method for path-finding recovery is characterized by comprising the following steps:
receiving a path searching recovery instruction;
acquiring current position information of a game role and destination position information of a last automatic route searching initiated by the game role;
and initiating automatic route finding according to the current position information and the destination position information.
2. The method according to claim 1, wherein the initiating an automatic route finding according to the current location information and the destination location information specifically comprises:
determining the starting position of the route searching according to the current position information, and determining the end position of the route searching according to the destination position information;
and calling the navigation information of the game map, and initiating automatic route finding from the starting position to the end position.
3. The method according to claim 2, wherein the invoking game map navigation information to initiate an automatic route finding from the start position to the end position comprises:
judging whether the distance between the starting point position and the end point position is smaller than a preset threshold value or not;
if the distance between the starting position and the end position is smaller than a preset threshold value, displaying a prompt message of arriving at a destination;
if the distance between the starting position and the end position is larger than or equal to a preset threshold value, calling game map navigation information, and initiating automatic route finding from the starting position to the end position.
4. The method according to claim 1, wherein the initiating an automatic route finding according to the current location information and the destination location information specifically comprises:
judging whether the task of the game role which initiates the automatic path finding last time is completed;
if the task is completed, displaying prompt information that the task is completed, and initiating automatic route searching according to the current position information and the destination position information after receiving an instruction for confirming to continue automatic route searching;
and if the task is not finished, initiating automatic route searching according to the current position information and the destination position information.
5. The method of claim 1, wherein prior to said receiving a way seek recovery instruction, the method further comprises:
acquiring corresponding function entry information when the game role initiates automatic route finding last time;
acquiring a way-finding category identifier corresponding to the function entry information;
and after the game role initiates automatic path searching for the last time, displaying the path searching category identification, and keeping displaying the path searching category identification after path searching interruption.
6. The method according to claim 5, wherein before the obtaining the routing category identifier corresponding to the function entry information, the method further comprises:
counting the entry information of each function related to the path finding function in the game;
performing way finding classification according to the counted function entry information to obtain a mapping relation between the function entry information and different way finding category identifications, wherein the different way finding category identifications at least comprise: task class identification, map mark class identification and article class identification;
the obtaining of the route finding category identifier corresponding to the function entry information specifically includes:
and acquiring the route searching category identification corresponding to the function entry information by using the mapping relation.
7. The method of claim 5, further comprising:
and if the game role initiates a new automatic route searching task, updating and displaying the route searching type identification according to corresponding function entry information when the automatic route searching is initiated newly.
8. The method of claim 1, wherein after initiating an automatic route search based on the current location information and the destination location information, the method further comprises:
if the path searching is interrupted again and a path searching recovery instruction is received, acquiring the latest position information of the game role;
and initiating automatic route finding according to the latest position information and the destination position information.
9. The method of claim 1, wherein after initiating an automatic route search based on the current location information and the destination location information, the method further comprises:
in the automatic route searching process, displaying the remaining time of the route searching according to the remaining route information;
and if the destination position information is changed, tracking and executing an automatic route searching task according to the changed destination position information.
10. A processing apparatus for way finding recovery, comprising:
the receiving module is used for receiving a path searching recovery instruction;
the system comprises an acquisition module, a path searching module and a path searching module, wherein the acquisition module is used for acquiring current position information of a game role and destination position information of a last-time automatic path searching initiated by the game role;
and the route searching module is used for initiating automatic route searching according to the current position information and the destination position information.
11. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 9.
12. An electronic device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the method of any one of claims 1 to 9 when executing the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010954275.4A CN112023401B (en) | 2020-09-11 | 2020-09-11 | Processing method and device for path finding recovery and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010954275.4A CN112023401B (en) | 2020-09-11 | 2020-09-11 | Processing method and device for path finding recovery and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112023401A true CN112023401A (en) | 2020-12-04 |
CN112023401B CN112023401B (en) | 2024-08-16 |
Family
ID=73588725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010954275.4A Active CN112023401B (en) | 2020-09-11 | 2020-09-11 | Processing method and device for path finding recovery and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112023401B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113926195A (en) * | 2021-10-15 | 2022-01-14 | 网易(杭州)网络有限公司 | Method and device for prompting task in game, electronic equipment and readable medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106422330A (en) * | 2016-10-14 | 2017-02-22 | 网易(杭州)网络有限公司 | Method and device for pathfinding of unit |
WO2018130135A1 (en) * | 2017-01-13 | 2018-07-19 | 腾讯科技(深圳)有限公司 | Method and device for controlling way-finding of simulation object, and server |
CN109621420A (en) * | 2018-12-26 | 2019-04-16 | 网易(杭州)网络有限公司 | Method for searching, device, medium and electronic equipment in game |
CN110755848A (en) * | 2019-11-06 | 2020-02-07 | 网易(杭州)网络有限公司 | Path finding method in game, terminal and readable storage medium |
CN110812844A (en) * | 2019-11-06 | 2020-02-21 | 网易(杭州)网络有限公司 | Path finding method in game, terminal and readable storage medium |
CN111135574A (en) * | 2019-12-25 | 2020-05-12 | 网易(杭州)网络有限公司 | Game scene generation method and device, computer readable medium and electronic equipment |
CN111375205A (en) * | 2020-03-06 | 2020-07-07 | 网易(杭州)网络有限公司 | Processing method and device for path finding path in game, electronic equipment and storage medium |
-
2020
- 2020-09-11 CN CN202010954275.4A patent/CN112023401B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106422330A (en) * | 2016-10-14 | 2017-02-22 | 网易(杭州)网络有限公司 | Method and device for pathfinding of unit |
WO2018130135A1 (en) * | 2017-01-13 | 2018-07-19 | 腾讯科技(深圳)有限公司 | Method and device for controlling way-finding of simulation object, and server |
CN109621420A (en) * | 2018-12-26 | 2019-04-16 | 网易(杭州)网络有限公司 | Method for searching, device, medium and electronic equipment in game |
CN110755848A (en) * | 2019-11-06 | 2020-02-07 | 网易(杭州)网络有限公司 | Path finding method in game, terminal and readable storage medium |
CN110812844A (en) * | 2019-11-06 | 2020-02-21 | 网易(杭州)网络有限公司 | Path finding method in game, terminal and readable storage medium |
CN111135574A (en) * | 2019-12-25 | 2020-05-12 | 网易(杭州)网络有限公司 | Game scene generation method and device, computer readable medium and electronic equipment |
CN111375205A (en) * | 2020-03-06 | 2020-07-07 | 网易(杭州)网络有限公司 | Processing method and device for path finding path in game, electronic equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113926195A (en) * | 2021-10-15 | 2022-01-14 | 网易(杭州)网络有限公司 | Method and device for prompting task in game, electronic equipment and readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN112023401B (en) | 2024-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110339572B (en) | Method and device for editing card group in game and electronic equipment | |
CN111767108B (en) | Application program label generation method, application interface display method and device | |
WO2017098332A2 (en) | Method and system for inputting information | |
CN113055525A (en) | File sharing method, device, equipment and storage medium | |
CN104090781A (en) | Method and device for processing upgrading information | |
CN110554898A (en) | Marking method in game scene, touch terminal and readable storage medium | |
CN113101638A (en) | Interactive data processing method and device in game | |
CN105608101A (en) | Method and device for utilizing address in text, and mobile terminal | |
CN112684959A (en) | Control method and device and electronic equipment | |
CN112023401B (en) | Processing method and device for path finding recovery and electronic equipment | |
US9526985B2 (en) | Method for forming game content group, computer-readable, non-transitory medium, and computer | |
CN105205066B (en) | Picture searching method and device | |
CN104731439A (en) | Gesture packaging and task executing method and device | |
CN112057848A (en) | Information processing method, device, equipment and storage medium in game | |
CN115501603A (en) | Game interaction method, device, equipment and storage medium | |
CN112291411A (en) | Method, terminal and computer readable medium for recommending operation sequence | |
WO2024221772A1 (en) | Search method and apparatus in game, and electronic device | |
CN112181570A (en) | Background task display method and device and electronic equipment | |
CN110882540A (en) | Sound source positioning method and device, storage medium and electronic device | |
KR20160145007A (en) | Message input reception device, message system, program, and information storage medium | |
CN114764363A (en) | Prompting method, prompting device and computer storage medium | |
CN104360801A (en) | Terminal | |
CN113730912B (en) | Display control method and device of target resource and touch terminal | |
CN111163221A (en) | Group address book updating method and device, storage medium and terminal equipment | |
US20240325900A1 (en) | Non-transitory computer-readable medium and video game processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |