Route generation method and device in game, electronic equipment and storage medium
By generating and displaying tracking routes in the game, the lengthy tracking process caused by the dispersion of virtual objects is solved, and the game efficiency and experience is improved.
Patent Information
- Application Number
- CN202411144845.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-12-13
AI Technical Summary
In open world games, when players collect virtual objects, the tracking process is lengthy and inefficient, which increases the difficulty of operation and gaming experience burden.
Provide a graphical user interface through the terminal device, determine virtual character tasks, display game maps and mark object refresh locations, respond to route editing operations, generate and display tracking routes, and guide players to quickly locate and track target objects.
It effectively reduces the player's operation process, improves the efficiency of virtual object tracking, and improves the game experience.
Smart Images

Figure CN119113518A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game interaction technology, and in particular to a method for generating a route in a game, a device for generating a route in a game, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the development of game technology, the game world is becoming more and more explorable, especially in some open world games, which can provide players with a vast game world full of various gameplays. Among them, for some collection-based gameplays, players are required to collect corresponding materials in the game world, and different materials are distributed in different locations in the game world. Players need to control virtual characters to move continuously in the game world to complete the corresponding material collection. In the process of collecting materials, the distribution of the materials themselves is relatively scattered. If the player is not familiar with the collection location, it will cause the player to control the virtual character to run the map repeatedly, increasing the collection process and reducing the collection efficiency. Summary of the invention
[0003] The embodiments of the present invention provide a method, device, electronic device and computer-readable storage medium for generating a route in a game, so as to solve or partially solve the problems of lengthy tracking process and low tracking efficiency when tracking virtual objects in the game world.
[0004] An embodiment of the present invention discloses a method for generating a route in a game, wherein a graphical user interface is provided through a terminal device, wherein the graphical user interface displays at least a portion of a game scene, wherein the game scene includes a virtual character controlled by the terminal device, and the method includes:
[0005] Determining a game task corresponding to the virtual character, wherein the game task is used to instruct the virtual character to collect virtual objects in the game scene;
[0006] Displaying a game map corresponding to the game scene, and displaying an object mark at a refresh position corresponding to the virtual object on the game map;
[0007] In response to a route editing operation applied to the game map, a target object marker is determined according to an operation track corresponding to the route editing operation and a distribution of the object marker in the game map, and a tracking route for tracking a target virtual object corresponding to the target object marker is displayed.
[0008] The embodiment of the present invention also discloses a route generation device in a game, comprising:
[0009] A task determination module, used to determine a game task corresponding to a virtual character, wherein the game task is used to instruct the virtual character to collect virtual objects in the game scene;
[0010] A map display module, used to display a game map corresponding to the game scene, and to display an object mark at a refresh position corresponding to the virtual object on the game map;
[0011] The route display module is used to respond to the route editing operation acting on the game map, determine the target object mark according to the operation track corresponding to the route editing operation and the distribution of the object mark in the game map, and display the tracking route for tracking the target virtual object corresponding to the target object mark.
[0012] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0013] The memory is used to store computer programs;
[0014] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0015] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0016] The embodiments of the present invention include the following advantages:
[0017] In an embodiment of the present invention, during a game, by determining a game task corresponding to a virtual character, the game task is used to instruct the virtual character to collect virtual objects in a game scene. Then, the player can call up a game map, and the terminal can display the game map corresponding to the game scene, and display an object mark at a refresh position corresponding to the virtual object on the game map. Then, the terminal can respond to a route editing operation applied to the game map, determine a target object mark according to an operation track corresponding to the route editing operation and the distribution of the object mark in the game map, and display a tracking route for tracking the target virtual object corresponding to the target object mark. Thus, when tracking a virtual object in the game world, the player can input a corresponding route editing operation in the game map, and the terminal can generate and display a corresponding tracking route according to the route editing operation and the distribution of the object mark, and guide the user to track the corresponding virtual object through the tracking route. The player's operation process is effectively reduced through a convenient triggering method. At the same time, virtual objects are navigated based on the tracking route, which can effectively improve the tracking efficiency and ensure the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flowchart of the steps of a route generation method in a game provided in an embodiment of the present invention;
[0019] Figure 2 is a schematic diagram of a game interface provided in an embodiment of the present invention;
[0020] Figure 3 is a schematic diagram of a game interface provided in an embodiment of the present invention;
[0021] Figure 4 is a schematic diagram of a game interface provided in an embodiment of the present invention;
[0022] Figure 5 is a schematic diagram of a game interface provided in an embodiment of the present invention;
[0023] Figure 6 is a schematic diagram of a game interface provided in an embodiment of the present invention;
[0024] Figure 7 is a schematic diagram of a game interface provided in an embodiment of the present invention;
[0025] Figure 8 is a schematic diagram of a game interface provided in an embodiment of the present invention;
[0026] Fig. 9 is a structural block diagram of a route generating device in a game provided in an embodiment of the present invention;
[0027] Fig.10 It is a block diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0029] As an example, in a vast game world, there are often many exploration contents, and players can control virtual characters to move in the game world and explore the gameplay contents of the game world, etc. Among them, when the player wants to track the corresponding virtual object, since the virtual object to be tracked may be relatively scattered in the game world, it is necessary to constantly control the virtual character to move in the game scene. If the player is not familiar with the location of the virtual object, it will cause the player to control the virtual character to run repeatedly, which will increase the collection process and reduce the collection efficiency.
[0030] In this regard, in the present invention, during the game process, by determining the game task corresponding to the virtual character, the game task is used to instruct the virtual character to collect virtual objects in the game scene, and then the player can call up the game map, the terminal can display the game map corresponding to the game scene, and display the object mark at the refresh position corresponding to the virtual object on the game map, and then the terminal can respond to the route editing operation acting on the game map, determine the target object mark according to the operation track corresponding to the route editing operation and the distribution of the object mark in the game map, and display the tracking route for tracking the target virtual object corresponding to the target object mark, so that when tracking the virtual object in the game world, the player can input the corresponding route editing operation in the game map, and the terminal can generate and display the corresponding tracking route according to the route editing operation and the distribution of the object mark, and guide the user to track the corresponding virtual object through the tracking route, and effectively reduce the player's operation process through a convenient triggering method. At the same time, navigating the virtual object based on the tracking route can effectively improve the tracking efficiency and ensure the player's gaming experience.
[0031] Reference Figure 1 , shows a flowchart of the steps of a route generation method in a game provided in an embodiment of the present invention, wherein a graphical user interface is provided through a terminal device, and the graphical user interface displays at least part of a game scene, and the game scene includes a virtual character controlled by the terminal device, and specifically may include the following steps:
[0032] Step 101, determining a game task corresponding to a virtual character, wherein the game task is used to instruct the virtual character to collect virtual objects in the game scene;
[0033] Optionally, the present invention can be applied to an electronic terminal (hereinafter referred to as a terminal), in which a corresponding application program can be run, and a corresponding game scene screen can be displayed through a graphical user interface, and a player can control a virtual character in the game scene screen to perform corresponding game operations, such as moving, releasing skills, attacking, teleporting, etc. In addition, the terminal can also display interactive controls for controlling virtual characters, game function controls for triggering corresponding game functions, and map controls in the graphical user interface, and players can control virtual objects to move, attack, release skills, etc. in the game scene through the interactive controls, and can also evoke relevant game functions through the game function controls, such as opening a backpack, opening a task interface, opening an attribute interface, opening an achievement interface, etc., and can also evoke a game map through a map control.
[0034] In some feasible implementations, in the process of tracking virtual objects, a game task corresponding to the virtual character may be determined first, so as to instruct the virtual character to collect virtual objects in the game scene through the game task. Optionally, the terminal may respond to the tracking instruction acting on the virtual object, determine a number of virtual objects, and generate game tasks corresponding to the virtual objects.
[0035] Specifically, the terminal may respond to a selection operation on a virtual object, determine a number of virtual objects corresponding to the selection operation, and generate a number of game tasks corresponding to the virtual objects; or respond to a game upgrade instruction for a virtual character, determine a number of virtual objects corresponding to the game upgrade instruction, and generate a number of game tasks corresponding to the virtual objects. The game upgrade instruction includes at least one of a character upgrade instruction, a skill upgrade instruction, and an equipment upgrade instruction.
[0036] It should be noted that in the above process, the virtual objects can be material objects in the game scene, virtual weapons, virtual runes, virtual rune development materials, game skill upgrade materials, virtual weapon upgrade materials, character development materials and high-value treasure chests, etc. The player can actively select the virtual object he wants to track, and the terminal can also generate corresponding game upgrade instructions based on the character data of the virtual character, such as character upgrade instructions, skill upgrade instructions, equipment upgrade instructions, etc., which respectively represent the materials required to upgrade the virtual character, the materials required to upgrade the skills, the materials required to upgrade the equipment, etc., so that through targeted tracking, the game resources (i.e., virtual objects) required by the player can be quickly located.
[0037] Step 102, displaying a game map corresponding to the game scene, and displaying an object mark at a refresh position corresponding to the virtual object on the game map;
[0038] In an embodiment of the present invention, the map control may be a small map in the game, and the small map may present the map information of the current game scene of the virtual character to the player. Then, the terminal may respond to the trigger operation acting on the map control, display the game map in the graphical user interface, and display the refresh position of the virtual object in the game map and display the corresponding object mark. Among them, the virtual object may include a first virtual object and a second virtual object. The first virtual object may be a virtual object that needs to be collected corresponding to the game task, and the second virtual object is a virtual object recommended for the player to collect. Then, the first object mark corresponding to the first virtual object and the second object mark corresponding to the second virtual object may be displayed in the game map, so that when the game map is called up, the terminal may display the first object mark corresponding to the virtual object that the player wants to track in the game map, and at the same time display the second object mark recommended for the player to collect in the game map. Through the object marks displayed in the game map, the relative position of the virtual object can be intuitively and quickly perceived.
[0039] It should be noted that the second virtual object can be a virtual object with high resource value. When the virtual object that the player currently wants to track is a virtual object with high resource value, this type of virtual object can be the first virtual object, that is, during the tracking process, the first virtual object and the second virtual object can be converted according to actual game requirements. In the game map, it can also include teleportation points and other types of marks, such as task marks, event marks, etc., which are not limited by the present invention.
[0040] Before tracking, the player can select the target virtual object to be tracked. After selecting the target virtual object, when the player calls up the game map through the map control, the terminal can display the object mark corresponding to the target virtual object at the refresh position of the virtual object in the game map based on the position of each target virtual object in the game world, so that the player can intuitively and quickly perceive the relative position of the virtual object. The refresh position can be the position where the virtual object can be refreshed in the game map.
[0041] For example, the player can first select the target virtual object ① required for the development of the virtual character and call up the game map. The terminal can obtain the position of the target virtual object ① in the game world, and then display the object mark A corresponding to the target virtual object ① at the corresponding position in the game map based on the position; the player can also first select the target virtual object ② required for the development of the virtual weapon and call up the game map. The terminal can obtain the position of the target virtual object ② in the game world, and then display the object mark B corresponding to the target virtual object ② at the corresponding position in the game map based on the position, etc.; the player can also select multiple target virtual objects that need to be tracked at one time. For example, if the player selects the target virtual object ③ required for the game skill upgrade and the target virtual object ④ required for the virtual weapon upgrade, the terminal can display the object mark C corresponding to the target virtual object ③ and the object mark D corresponding to the target virtual object ④ in the game map based on the same processing process, so that the player can intuitively and quickly perceive the relative position of the virtual objects.
[0042] Optionally, when the target virtual object that the player wants to track is a material virtual object, after obtaining the position information of the target virtual object in the game world, the terminal can also obtain the number of target virtual objects at the corresponding position at the same time. Figure 2 , showing a schematic diagram of a game interface provided in an embodiment of the present invention, in which an object mark 220 corresponding to an identifier 210 corresponding to a target virtual object tracked by a player and a quantity 230 corresponding to the object mark 220, as well as a current position 240 corresponding to a virtual character can be displayed in a game map, so that while the object mark corresponding to the target virtual object is displayed in the game map, the number of target virtual objects can also be displayed, so that the player can intuitively and quickly perceive the relative position of the virtual object, and can also perceive the number of target virtual objects at different positions, so as to assist the player in making better game decisions.
[0043] Step 103, in response to a route editing operation applied to the game map, a target object marker is determined according to an operation track corresponding to the route editing operation and the distribution of the object marker in the game map, and a tracking route for tracking a target virtual object corresponding to the target object marker is displayed.
[0044] With respect to the object markers displayed in the game map, the player can perceive the distribution of the target virtual object in the game world according to the distribution of the object markers in the game map, and then can input the corresponding route editing operation in the game map according to their own needs. The terminal can determine the target object marker according to the operation track corresponding to the route editing operation and the distribution of the object markers in the game map, and display the tracking route for tracking the target virtual object corresponding to the target object marker. The tracking route can include several target object markers. Therefore, when tracking the virtual object in the game world, the player can input the corresponding route editing operation in the game map, and the terminal can generate and display the corresponding tracking route according to the route editing operation and the distribution of the object markers, and guide the user to track the corresponding virtual object through the tracking route. The player's operation process is effectively reduced through a convenient triggering method. At the same time, the virtual object is navigated based on the tracking route, which can effectively improve the tracking efficiency and ensure the player's gaming experience.
[0045] Regarding route generation, after the player inputs a route editing operation, the terminal can first determine the first distribution information of the first virtual object in the game map, and the second distribution information of the second virtual object in the game map, and then determine the target object mark based on the operation trajectory and the first distribution information corresponding to the route editing operation, or the operation trajectory, the first distribution information and the second distribution information, and display the tracking route for tracking the target virtual object corresponding to the target object mark.
[0046] Among them, the first distribution information may include the location information of the first object markers to which each first virtual object belongs on the game map, and the second distribution information may include the location information of the second object markers to which each second virtual object belongs on the game map. Based on the distribution information, the locations of the first object markers and the second object markers on the game map can be accurately determined.
[0047] In some feasible implementations, the terminal may determine the route based only on the operation trajectory and the first distribution information, or may determine the route based on the operation trajectory, the first distribution information, and the second distribution information. Specifically, the terminal may use the operation trajectory and the first distribution information to filter out the first target object marker from the game map, and generate an initial tracking route corresponding to the first target object marker. After the initial tracking route is generated, if a second target object marker that meets the conditions is detected, the initial tracking route may be adjusted based on the second target object marker to obtain the target tracking route; if there is no second target object marker that meets the conditions, the initial tracking route is directly used as the target tracking route. Specifically, the terminal may use the initial tracking route and the second distribution information to filter out the second target object marker from the game map, and adjust the initial tracking route to the target tracking route corresponding to the first target object marker and the second target object marker.
[0048] Among them, after generating the initial tracking route, the terminal can determine the relative distance between each second object mark and the initial tracking route based on the second distribution information, and use the second object mark whose relative distance is less than or equal to the first preset distance threshold as the second target object mark, and adjust the initial tracking route to the target tracking route corresponding to the first target object mark and the second target object mark, thereby effectively reducing the player's operation process through a convenient triggering method, and navigating the virtual object based on the tracking route can effectively improve the tracking efficiency and ensure the player's gaming experience.
[0049] In some feasible implementations, the route editing operation can be a sliding operation, and the terminal can respond to the sliding operation on the game map, determine the sliding trajectory of the sliding operation in the game map, determine the target object mark according to the sliding trajectory and the distribution of the object mark in the game map, and display the tracking route for tracking the target virtual object corresponding to the target object mark. Therefore, the player inputs the corresponding sliding operation in the game map, and the terminal can display the corresponding tracking route according to the sliding operation. The player's operation process is effectively reduced through a convenient triggering method. At the same time, the virtual object is navigated based on the tracking route, which can effectively improve the tracking efficiency and ensure the player's gaming experience.
[0050] In one example, after determining the sliding trajectory corresponding to the sliding operation, the terminal can use the object mark passed by the sliding trajectory as the target object mark, connect the target object marks in sequence, and then display the tracking route for tracking the target virtual object corresponding to the target object mark in the game map, so that the player can select multiple target object marks through sliding operations in the game map. Based on the multiple target object marks selected by the player, the terminal can display the corresponding tracking route in the game map, so that the player can track the target virtual object corresponding to the target object mark based on the tracking route.
[0051] Optionally, the terminal can also use the object marks passed by the sliding trajectory and the object marks whose distance from the sliding trajectory is less than or equal to a preset distance threshold as target object marks, and then connect the target object marks in turn, and then display the tracking route for tracking the target virtual object corresponding to the target object mark in the game map. Based on the target object mark selected by the player, the terminal can also automatically use the object mark that is "closer" to the sliding trajectory as the target object mark, and track it together with the target object mark selected by the player. Then, the player can display the corresponding tracking route by inputting the corresponding sliding operation. The player's operation process is effectively reduced through a convenient triggering method. At the same time, navigating the virtual object based on the tracking route can effectively improve the tracking efficiency and ensure the player's gaming experience.
[0052] For example, refer to Figure 3 , shows a schematic diagram of a game interface provided in an embodiment of the present invention. When a player inputs a corresponding sliding operation in a game map, and a sliding track corresponding to the sliding operation passes through a corresponding object mark, the terminal can use the object mark passed by the sliding track as a target object mark and display a tracking route for the target object mark. And, Figure 4 As shown, the terminal can also add the object mark that is "close to" the sliding track to the tracking route and display the corresponding tracking route.
[0053] In another example, the terminal can obtain the sliding start point and the sliding end point corresponding to the sliding trajectory, and then lock the area in the game map according to the sliding start point and the sliding end point to obtain the tracking area corresponding to the sliding trajectory, and then use the object mark in the tracking area as the target object mark, connect the target object marks in turn, and display the tracking route corresponding to the target object mark. Therefore, the player can input the corresponding sliding operation in the game map, and the terminal can display the corresponding tracking route according to the sliding operation. The convenient triggering method effectively reduces the player's operation process. At the same time, the virtual object is navigated based on the tracking route, which can effectively improve the tracking efficiency and ensure the player's gaming experience.
[0054] For the tracking area, the terminal may first determine the line between the sliding start point and the sliding end point, and then diffuse the preset width in a direction perpendicular to the line to obtain the tracking area corresponding to the sliding track. Optionally, the preset width may be a width set according to game requirements, and the present invention is not limited to this.
[0055] For example, refer to Figure 5 , showing a schematic diagram of a game interface provided in an embodiment of the present invention. When the player inputs a corresponding sliding operation in the game map, the terminal can determine the starting point and the end point corresponding to the sliding operation, and then connect the starting point and the end point, and expand them according to a preset width to obtain the corresponding tracking area, and then use the object mark in the tracking area as the target object mark, and then display the tracking route for the target object mark.
[0056] After the corresponding tracking route is generated through the above process, since the tracking route contains at least two target object marks, the player can also adjust the target object mark in the tracking route. Optionally, the terminal can respond to a removal instruction acting on the target object mark, remove the target object mark corresponding to the removal instruction from the tracking route, and obtain an updated first tracking route.
[0057] It should be noted that, in the above process, a corresponding distance threshold can be set for the object mark that is "close" to the sliding track. When the relative distance between the object mark in the game map and the sliding track is less than or equal to the distance threshold, the terminal can use the object mark as the target object mark to add it to the tracking route.
[0058] In one example, the terminal may first respond to the dragging operation of dragging the first target object mark out of the tracking route, generate a removal instruction corresponding to the dragging operation, and then respond to the removal instruction to remove the first target object mark from the tracking route to obtain an updated first tracking route, so that the player can flexibly adjust the tracking route according to their own needs through a quick operation method, so that the tracking route is more in line with the player's needs, effectively ensuring the player's gaming experience. For example, referring to Figure 6 When the player inputs a long press operation on the target object mark in the tracking route and drags it out of the tracking route, the terminal can remove the first object mark selected by the player from the tracking route and update the tracking route.
[0059] Accordingly, in addition to removing the target object mark in the tracking route, the player can also add a new target object mark to the tracking route. Optionally, the terminal can respond to the mark adding instruction acting on the tracking route and add the second target object mark corresponding to the mark adding instruction to the tracking route to obtain an updated second tracking route. Figure 7 When the player inputs a long press operation on a second object marker outside the tracking route and drags it into the tracking route, the terminal can add the second object marker selected by the player to the tracking route and update the tracking route.
[0060] In one example, the terminal can generate a mark adding instruction for the tracking route in response to a dragging operation of dragging the second target object mark into the tracking route, and then add the second target object mark to the tracking route in response to the mark adding instruction to obtain an updated second tracking route. The player can flexibly adjust the tracking route according to his own needs through quick operations, so that the tracking route better meets the player's needs and effectively guarantees the player's gaming experience.
[0061] In addition, in addition to the above-mentioned generation and display of the corresponding tracking route according to the route editing operation input by the player, when the player selects the target virtual object to be tracked, the terminal can also obtain the current position of the virtual character in the game scene, and then use the current position as the starting point to display several tracking routes corresponding to the current position according to the target position of the target virtual object in the game scene to which the object mark belongs. Therefore, when tracking the virtual objects in the game world, the terminal can, based on the target virtual object that the player needs to track, find the path according to the current position of the virtual character and the target position of the target virtual object in the game scene when the player calls up the game map, and display several tracking routes corresponding to the current position of the virtual character in the game map based on the path-finding results. On the one hand, multiple tracking routes are provided to the player through automatic path-finding to simplify the operation process. On the other hand, virtual objects are navigated based on the tracking routes, which can effectively improve the tracking efficiency and ensure the player's gaming experience.
[0062] In some feasible implementations, the terminal can obtain the number of objects and the target position corresponding to each of the object marks, and then use the number of objects and the target position to find the way, and obtain several tracking routes for the current position. On the one hand, this provides players with multiple tracking routes through automatic pathfinding to simplify the operation process. On the other hand, it can navigate virtual objects based on the tracking routes, which can effectively improve tracking efficiency and ensure the player's gaming experience.
[0063] In one example, referring to Figure 8 , shows a schematic diagram of a game interface provided in an embodiment of the present invention, the terminal can obtain the target position of the virtual object in the game scene and the number of objects at the target position, and then use a path planning algorithm (such as Dijkstra algorithm, A* algorithm, etc.) to calculate the shortest path from the current position of the virtual character to the position of each virtual object, and then optimize the tracking order according to the distribution and number of virtual objects to reduce the total distance and time. For example, a greedy algorithm or dynamic programming can be used to determine the optimal tracking order, so as to generate a specific tracking route according to the calculated optimal path and order. Further, the terminal can convert the tracking route into a visual path, including key points on the path, turn instructions, etc., and then display several different tracking routes generated in the form of graphics or marks on the game map. Optionally, for the tracking route, the terminal can provide a variety of display options, such as different colors, line types, etc., for the player to choose. And, allow the player to adjust the collection route through the interactive interface, such as selecting a specific virtual object, changing the starting point, etc., and then update the collection route in real time according to the player's operation to adapt to the change of the player's position or the update of the distribution of virtual objects.
[0064] It should be noted that the embodiments of the present invention include but are not limited to the above examples. It is understandable that those skilled in the art can also make settings according to actual needs under the guidance of the ideas of the embodiments of the present invention, and the present invention is not limited to this.
[0065] In an embodiment of the present invention, during a game, by determining a game task corresponding to a virtual character, the game task is used to instruct the virtual character to collect virtual objects in a game scene. Then, the player can call up a game map, and the terminal can display the game map corresponding to the game scene, and display an object mark at a refresh position corresponding to the virtual object on the game map. Then, the terminal can respond to a route editing operation applied to the game map, determine a target object mark according to an operation track corresponding to the route editing operation and the distribution of the object mark in the game map, and display a tracking route for tracking the target virtual object corresponding to the target object mark. Thus, when tracking a virtual object in the game world, the player can input a corresponding route editing operation in the game map, and the terminal can generate and display a corresponding tracking route according to the route editing operation and the distribution of the object mark, and guide the user to track the corresponding virtual object through the tracking route. The player's operation process is effectively reduced through a convenient triggering method. At the same time, virtual objects are navigated based on the tracking route, which can effectively improve the tracking efficiency and ensure the player's gaming experience.
[0066] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0067] Reference Fig. 9 , shows a structural block diagram of a route generation device in a game provided in an embodiment of the present invention, wherein a graphical user interface is provided through a terminal device, wherein the graphical user interface displays at least part of a game scene, wherein the game scene includes a virtual character controlled by the terminal device, and specifically may include the following modules:
[0068] A task determination module 901 is used to determine a game task corresponding to a virtual character, wherein the game task is used to instruct the virtual character to collect virtual objects in the game scene;
[0069] A map display module 902, used to display a game map corresponding to the game scene, and to display an object mark at a refresh position corresponding to the virtual object on the game map;
[0070] The route display module 903 is used to respond to the route editing operation acting on the game map, determine the target object mark according to the operation trajectory corresponding to the route editing operation and the distribution of the object mark in the game map, and display the tracking route for tracking the target virtual object corresponding to the target object mark.
[0071] In some feasible implementations, the virtual object includes a first virtual object and a second virtual object, the first virtual object is a virtual object that needs to be collected corresponding to the game task, and the second virtual object is a virtual object recommended for the player to collect, and the route display module 903 is specifically used for:
[0072] Determining first distribution information of the first virtual object in the game map, and second distribution information of the second virtual object in the game map;
[0073] According to the operation track corresponding to the route editing operation and the first distribution information, or the operation track, the first distribution information and the second distribution information, a target object mark is determined, and a tracking route for tracking the target virtual object corresponding to the target object mark is displayed.
[0074] In some feasible implementations, the route display module 903 is specifically used to:
[0075] Using the operation track and the first distribution information to select a first target object marker from the game map, and generating an initial tracking route associated with the first target object marker;
[0076] The initial tracking route and the second distribution information are used to screen out a second target object marker from the game map, and the initial tracking route is adjusted to a target tracking route corresponding to the first target object marker and the second target object marker.
[0077] In some feasible implementations, the object mark includes a first object mark corresponding to the first virtual object and a second object mark corresponding to the second virtual object, and the route display module 903 is specifically used to:
[0078] determining a relative distance between each of the second object markers and the initial tracking route based on the second distribution information;
[0079] A second object mark whose relative distance is less than or equal to the first preset distance threshold is used as a second target object mark, and the initial tracking route is adjusted to a target tracking route corresponding to the first target object mark and the second target object mark.
[0080] In some feasible implementations, the route display module 903 is specifically used to:
[0081] In response to a sliding operation on the game map, a sliding trajectory of the sliding operation in the game map is determined, a target object mark is determined according to the sliding trajectory and the distribution of the object mark in the game map, and a tracking route for tracking the target virtual object corresponding to the target object mark is displayed.
[0082] In some feasible implementations, the route display module 903 is specifically used to:
[0083] The object mark passed by the sliding track is used as the target object mark, and the target object marks are connected in sequence to display a tracking route for tracking the target virtual object corresponding to the target object mark.
[0084] In some feasible implementations, the route display module 903 is specifically used to:
[0085] taking the object marks that the sliding track passes through and the object marks whose distance from the sliding track is less than or equal to a second preset distance threshold as target object marks;
[0086] The target object marks are connected in sequence to display a tracking route for tracking the target virtual object corresponding to the target object mark.
[0087] In some feasible implementations, the route display module 903 is specifically used to:
[0088] Obtain a sliding start point and a sliding end point corresponding to the sliding track;
[0089] According to the sliding start point and the sliding end point, a region is locked in the game map to obtain a tracking region corresponding to the sliding track;
[0090] The object markers in the tracking area are used as target object markers, and the target object markers are connected in sequence to display a tracking route for tracking the target virtual object corresponding to the target object marker.
[0091] In some feasible implementations, the route display module 903 is specifically used to:
[0092] Determine a line between the sliding start point and the sliding end point;
[0093] Diffusion is performed along a direction perpendicular to the connection line with a preset width to obtain a tracking area corresponding to the sliding track.
[0094] Some possible implementations also include:
[0095] The removal module is used to respond to the removal instruction acting on the target object mark, remove the target object mark corresponding to the removal instruction from the tracking route, and obtain an updated first tracking route.
[0096] In some feasible implementations, the removal module is specifically used to:
[0097] In response to a drag operation of dragging the first target object marker out of the tracking route, generating a removal instruction corresponding to the drag operation;
[0098] In response to the removal instruction, the first target object marker is removed from the tracking route to obtain an updated first tracking route.
[0099] Some possible implementations also include:
[0100] The adding module is used to respond to the mark adding instruction acting on the tracking route, add the second target object mark corresponding to the mark adding instruction to the tracking route, and obtain an updated second tracking route.
[0101] In some feasible implementations, the adding module is specifically used to:
[0102] In response to a dragging operation of dragging a second target object marker into the tracking route, generating a marker adding instruction for the tracking route;
[0103] In response to the mark adding instruction, the second target object mark is added to the tracking route to obtain an updated second tracking route.
[0104] Some possible implementations also include:
[0105] A position acquisition module, used to acquire the current position of the virtual character in the game scene;
[0106] The tracking module is used to take the current position as a starting point and display a plurality of tracking routes corresponding to the current position according to the target position of the target virtual object to which the object mark belongs in the game scene.
[0107] In some feasible implementations, the tracking module is specifically used to:
[0108] Obtaining the number of objects and target positions corresponding to each of the object tags;
[0109] The number of objects and the target position are used to perform pathfinding to obtain a plurality of tracking routes for the current position.
[0110] In some feasible implementations, the task determination module 901 is specifically used to:
[0111] In response to a tracking instruction acting on a virtual object, a number of virtual objects are determined, and game tasks corresponding to the virtual objects are generated.
[0112] In some feasible implementations, the task determination module 901 is specifically used to:
[0113] In response to a selection operation on a virtual object, determining a number of virtual objects corresponding to the selection operation, and generating game tasks corresponding to the number of virtual objects;
[0114] or, in response to a game upgrade instruction for the virtual character, determining a number of virtual objects corresponding to the game upgrade instruction, and generating game tasks corresponding to the number of virtual objects;
[0115] The game upgrade instructions include at least one of a character upgrade instruction, a skill upgrade instruction, and an equipment upgrade instruction.
[0116] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0117] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, each process of the route generation method embodiment in the above-mentioned game is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0118] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the route generation method embodiment in the above game is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0119] Fig.10 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0120] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the electronic device structure involved in the embodiments of the present invention does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0121] It should be understood that in the embodiment of the present invention, the radio frequency unit 1001 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 1010 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 1001 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 1001 can also communicate with the network and other devices through a wireless communication system.
[0122] The electronic device provides users with wireless broadband Internet access through the network module 1002, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0123] The audio output unit 1003 can convert the audio data received by the RF unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output it as sound. Moreover, the audio output unit 1003 can also provide audio output related to a specific function performed by the electronic device 1000 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, etc.
[0124] The input unit 1004 is used to receive audio or video signals. The input unit 1004 may include a graphics processor (GPU) 10041 and a microphone 10042. The graphics processor 10041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 1006. The image frame processed by the graphics processor 10041 can be stored in the memory 1009 (or other storage medium) or sent via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 1001 in the case of a telephone call mode.
[0125] The electronic device 1000 also includes at least one sensor 1005, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 10061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 10061 and / or the backlight when the electronic device 1000 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 1005 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0126] The display unit 1006 is used to display information input by the user or information provided to the user. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0127] The user input unit 1007 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 10071 or near the touch panel 10071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 10071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the coordinates of the contact point, and then sends it to the processor 1010, receives the command sent by the processor 1010 and executes it. In addition, the touch panel 10071 can be implemented in various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 10071, the user input unit 1007 may also include other input devices 10072. Specifically, other input devices 10072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
[0128] Further, the touch panel 10071 may be covered on the display panel 10061. When the touch panel 10071 detects a touch operation on or near it, it is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. It can be understood that in one embodiment, the touch panel 10071 and the display panel 10061 are used as two independent components to implement the input and output functions of the electronic device, but in some embodiments, the touch panel 10071 and the display panel 10061 can be integrated to implement the input and output functions of the electronic device, which is not limited here.
[0129] The interface unit 1008 is an interface for connecting an external device to the electronic device 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1008 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 1000 or may be used to transmit data between the electronic device 1000 and an external device.
[0130] The memory 1009 can be used to store software programs and various data. The memory 1009 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 1009 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0131] The processor 1010 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 1009 and calling data stored in the memory 1009, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1010.
[0132] The electronic device 1000 may also include a power supply 1011 (such as a battery) for supplying power to each component. Preferably, the power supply 1011 may be logically connected to the processor 1010 via a power management system, thereby managing functions such as charging, discharging, and power consumption through the power management system.
[0133] In addition, the electronic device 1000 includes some functional modules not shown, which will not be described in detail here.
[0134] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0135] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0136] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0137] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0138] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0139] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0140] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0141] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0142] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0143] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A route generation method in a game, It is characterized in that Providing a graphical user interface through a terminal device, wherein the graphical user interface displays at least a portion of a game scene, wherein the game scene includes a virtual character controlled by the terminal device, and the method includes: Determining a game task corresponding to the virtual character, wherein the game task is used to instruct the virtual character to collect virtual objects in the game scene; Displaying a game map corresponding to the game scene, and displaying an object mark at a refresh position corresponding to the virtual object on the game map; In response to a route editing operation applied to the game map, a target object marker is determined according to an operation track corresponding to the route editing operation and a distribution of the object marker in the game map, and a tracking route for tracking a target virtual object corresponding to the target object marker is displayed.
2. The method according to claim 1, It is characterized in that The virtual objects include a first virtual object and a second virtual object, the first virtual object is a virtual object that needs to be collected corresponding to the game task, and the second virtual object is a virtual object recommended for the player to collect, and the target object mark is determined according to the operation track corresponding to the route editing operation and the distribution of the object mark in the game map, and the tracking route for tracking the target virtual object corresponding to the target object mark is displayed, including: Determining first distribution information of the first virtual object in the game map, and second distribution information of the second virtual object in the game map; According to the operation track corresponding to the route editing operation and the first distribution information, or the operation track, the first distribution information and the second distribution information, a target object mark is determined, and a tracking route for tracking the target virtual object corresponding to the target object mark is displayed.
3. The method according to claim 2, It is characterized in that The step of determining a target object marker according to the operation track and the first distribution information and the second distribution information, and displaying a tracking route for tracking a second virtual object corresponding to the target object marker, includes: Using the operation track and the first distribution information to select a first target object marker from the game map, and generating an initial tracking route associated with the first target object marker; The initial tracking route and the second distribution information are used to screen out a second target object marker from the game map, and the initial tracking route is adjusted to a target tracking route corresponding to the first target object marker and the second target object marker.
4. The method according to claim 3, It is characterized in that The object mark includes a first object mark corresponding to the first virtual object and a second object mark corresponding to the second virtual object, and the using the initial tracking route and the second distribution information to filter out a second target object mark from the game map, and adjusting the initial tracking route to a target tracking route corresponding to the first target object mark and the second target object mark includes: determining a relative distance between each of the second object markers and the initial tracking route based on the second distribution information; A second object mark whose relative distance is less than or equal to the first preset distance threshold is used as a second target object mark, and the initial tracking route is adjusted to a target tracking route corresponding to the first target object mark and the second target object mark.
5. The method according to claim 1, It is characterized in that The step of responding to a route editing operation on the game map, determining a target object marker according to an operation track corresponding to the route editing operation and a distribution of the object marker in the game map, and displaying a tracking route for tracking a target virtual object corresponding to the target object marker, includes: In response to a sliding operation on the game map, a sliding trajectory of the sliding operation in the game map is determined, a target object mark is determined according to the sliding trajectory and the distribution of the object mark in the game map, and a tracking route for tracking the target virtual object corresponding to the target object mark is displayed.
6. The method according to claim 5, It is characterized in that The step of determining a target object mark according to the sliding track and the distribution of the object mark in the game map, and displaying a tracking route for tracking a target virtual object corresponding to the target object mark, comprises: The object mark passed by the sliding track is used as the target object mark, and the target object marks are connected in sequence to display a tracking route for tracking the target virtual object corresponding to the target object mark.
7. The method according to claim 6, It is characterized in that The method of using the object mark passed by the sliding track as the target object mark, connecting the target object marks in sequence, and displaying a tracking route for tracking the target virtual object corresponding to the target object mark includes: taking the object marks that the sliding track passes through and the object marks whose distance from the sliding track is less than or equal to a second preset distance threshold as target object marks; The target object marks are connected in sequence to display a tracking route for tracking the target virtual object corresponding to the target object mark.
8. The method according to claim 5, It is characterized in that The step of determining a target object mark according to the sliding track and the distribution of the object mark in the game map, and displaying a tracking route for tracking a target virtual object corresponding to the target object mark, comprises: Obtain a sliding start point and a sliding end point corresponding to the sliding track; According to the sliding start point and the sliding end point, a region is locked in the game map to obtain a tracking region corresponding to the sliding track; The object markers in the tracking area are used as target object markers, and the target object markers are connected in sequence to display a tracking route for tracking the target virtual object corresponding to the target object marker.
9. The method according to claim 8, It is characterized in that The performing of area locking in the game map according to the sliding start point and the sliding end point to obtain a tracking area corresponding to the sliding track includes: Determine a line between the sliding start point and the sliding end point; Diffusion is performed along a direction perpendicular to the connection line with a preset width to obtain a tracking area corresponding to the sliding track.
10. The method according to any one of claims 1 to 9, It is characterized in that Also includes: In response to a removal instruction acting on the target object tag, the target object tag corresponding to the removal instruction is removed from the tracking route to obtain an updated first tracking route.
11. The method according to claim 10, It is characterized in that The step of responding to the removal instruction acting on the target object tag and removing the target object tag corresponding to the removal instruction from the tracking route to obtain an updated first tracking route includes: In response to a drag operation of dragging the first target object marker out of the tracking route, generating a removal instruction corresponding to the drag operation; In response to the removal instruction, the first target object marker is removed from the tracking route to obtain an updated first tracking route.
12. The method according to any one of claims 1 to 9, It is characterized in that Also includes: In response to a mark adding instruction acting on the tracking route, a second target object mark corresponding to the mark adding instruction is added to the tracking route to obtain an updated second tracking route.
13. The method according to claim 12, It is characterized in that The step of responding to the mark adding instruction acting on the tracking route, adding the second target object mark corresponding to the mark adding instruction to the tracking route, and obtaining an updated second tracking route, comprises: In response to a dragging operation of dragging a second target object marker into the tracking route, generating a marker adding instruction for the tracking route; In response to the mark adding instruction, the second target object mark is added to the tracking route to obtain an updated second tracking route.
14. The method according to claim 1, It is characterized in that After displaying the game map corresponding to the game scene, the method further includes: Obtaining the current position of the virtual character in the game scene; Taking the current position as a starting point, a plurality of tracking routes corresponding to the current position are displayed according to the target position of the target virtual object to which the object mark belongs in the game scene.
15. The method according to claim 14, It is characterized in that The step of displaying a plurality of tracking routes corresponding to the current position according to the target position of the target virtual object to which the object mark belongs in the game scene comprises: Obtaining the number of objects and target positions corresponding to each of the object tags; The number of objects and the target position are used to perform pathfinding to obtain a plurality of tracking routes for the current position.
16. The method according to claim 1, It is characterized in that The step of determining the game task corresponding to the virtual character includes: In response to a tracking instruction acting on a virtual object, a number of virtual objects are determined, and game tasks corresponding to the virtual objects are generated.
17. The method according to claim 16, It is characterized in that The step of responding to the tracking instruction acting on the virtual object, determining a plurality of virtual objects, and generating game tasks corresponding to the virtual objects includes: In response to a selection operation on a virtual object, determining a number of virtual objects corresponding to the selection operation, and generating game tasks corresponding to the number of virtual objects; or, in response to a game upgrade instruction for the virtual character, determining a number of virtual objects corresponding to the game upgrade instruction, and generating game tasks corresponding to the number of virtual objects; The game upgrade instructions include at least one of a character upgrade instruction, a skill upgrade instruction, and an equipment upgrade instruction.
18. A route generation device in a game, It is characterized in that include: A task determination module, used to determine a game task corresponding to a virtual character, wherein the game task is used to instruct the virtual character to collect virtual objects in the game scene; A map display module, used to display a game map corresponding to the game scene, and to display an object mark at a refresh position corresponding to the virtual object on the game map; The route display module is used to respond to the route editing operation acting on the game map, determine the target object mark according to the operation track corresponding to the route editing operation and the distribution of the object mark in the game map, and display the tracking route for tracking the target virtual object corresponding to the target object mark.
19. An electronic device, It is characterized in that It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 17 when executing the program stored in the memory.
20. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 17.
Citation Information
Cited By
Game assisting method, terminal and computer readable storage medium
CN115408085A
Scene display method and device, electronic equipment and computer readable storage medium
CN119607544A
Game plane design generation system based on AI
CN119857270A
