Virtual object tracking method and device, electronic equipment and readable storage medium
By displaying the continuing tracking prompt logo on the game terminal device, the virtual object is directly controlled to switch to the next target, solving the problem of cumbersome virtual object tracking operations and improving the tracking efficiency and user experience in the game.
Patent Information
- Application Number
- CN202411008365.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-19
AI Technical Summary
In the game, players need to frequently switch to tracked virtual objects, and the existing technology leads to cumbersome operation steps and inefficient efficiency.
By displaying the continuing tracking prompt identifier on the terminal device, the target virtual object is directly controlled to continue tracking and determine the second tracking object, reducing operation steps and improving tracking efficiency.
It simplifies the tracking process of virtual objects, improves the tracking efficiency in the game, meets the needs of tasks to be completed, and enhances the game experience.
Smart Images

Figure CN118976246A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of human-computer interaction technology, and in particular to a method, device, electronic device and readable storage medium for tracking a virtual object. Background Art
[0002] During the game, players can track other virtual objects by controlling the target virtual object so that they can attack or defend more effectively; or they can obtain virtual props or game bonuses by defeating other virtual objects to better complete game tasks.
[0003] In the related art, players may have the need to continuously track multiple virtual objects. After the player controls the target virtual object to end the tracking process for the currently tracked object, it is necessary to enter the tracking setting interface through the relevant controls in the interface, select the virtual object that needs to be continued to be tracked through the object screening interface, and continue to track the virtual object. The above-mentioned operation steps of selecting to continue tracking the virtual object are repetitive and cumbersome, resulting in the problem of low tracking efficiency. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a virtual object tracking method, device, electronic device and readable storage medium. After determining that the target virtual object has completed the tracking process of the first tracking object, a continue tracking prompt mark is displayed, and the target virtual object is directly controlled to continue tracking the second tracking object that matches the tracking task to be completed by the target virtual object by triggering the continue tracking event indicated by the continue tracking prompt mark, thereby reducing the operation steps of continuing to track the virtual object, and meeting the tracking requirements of the tracking task to be completed while improving the tracking efficiency.
[0005] In a first aspect, an embodiment of the present application provides a method for tracking a virtual object, wherein a graphical user interface is provided through a terminal device, and at least a portion of a game scene is displayed on the graphical user interface; the game scene includes a target virtual object controlled by the terminal device; the tracking method includes:
[0006] In response to the target virtual object completing the tracking process of the first tracking object, displaying a continuing tracking prompt mark;
[0007] In response to triggering of a continue tracking event indicated by the continue tracking prompt indicator, a second tracking object is determined based on a tracking task to be completed by the target virtual object, and the target virtual object is controlled to track the second tracking object.
[0008] In a second aspect, an embodiment of the present application further provides a tracking device for a virtual object, wherein a graphical user interface is provided through a terminal device, and at least a portion of a game scene is displayed on the graphical user interface; the game scene includes a target virtual object controlled by the terminal device; the tracking device includes:
[0009] An identification display module, configured to display a continuing tracking prompt identification in response to the target virtual object completing the tracking process of the first tracking object;
[0010] The object tracking module is used to respond to the triggering of the continue tracking event indicated by the continue tracking prompt mark, determine a second tracking object based on the tracking task to be completed by the target virtual object, and control the target virtual object to track the second tracking object.
[0011] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the virtual object tracking method as described in any one of the first aspects.
[0012] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the virtual object tracking method as described in any one of the first aspects is executed.
[0013] The virtual object tracking method, device, electronic device and readable storage medium provided in the embodiments of the present application are responsive to the target virtual object completing the tracking process of the first tracking object, displaying a continue tracking prompt mark; responsive to the triggering of a continue tracking event indicated by the continue tracking prompt mark, determining a second tracking object based on the tracking task to be completed by the target virtual object, and controlling the target virtual object to track the second tracking object. In this way, after determining that the target virtual object has completed the tracking process of the first tracking object, a continue tracking prompt mark is displayed, and the target virtual object is directly controlled to continue tracking the second tracking object that matches the tracking task to be completed by the target virtual object by directly triggering the continue tracking event indicated by the continue tracking prompt mark, thereby reducing the operation steps for continuing to track the virtual object, and meeting the tracking requirements of the tracking task to be completed while improving the tracking efficiency.
[0014] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 A flowchart of a virtual object tracking method provided in an embodiment of the present application;
[0017] Figure 2 One of the schematic diagrams of the graphical user interface provided in the embodiment of the present application;
[0018] Figure 3 The second schematic diagram of the graphical user interface provided in the embodiment of the present application;
[0019] Figure 4 The third schematic diagram of the graphical user interface provided in the embodiment of the present application;
[0020] Figure 5 One of the schematic diagrams of the two-dimensional map interface provided in the embodiment of the present application;
[0021] Figure 6 The second schematic diagram of the two-dimensional map interface provided in the embodiment of the present application;
[0022] Figure 7 The third schematic diagram of the two-dimensional map interface provided in the embodiment of the present application;
[0023] Figure 8 A fourth schematic diagram of a graphical user interface provided in an embodiment of the present application;
[0024] Fig. 9 A schematic diagram of the structure of a virtual object tracking device provided in an embodiment of the present application;
[0025] Fig.10 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0027] First, the nouns involved in this application are introduced:
[0028] (1) Graphical User Interface
[0029] A graphical user interface is an interface display format for communication between people and computers. It allows users to manipulate icons, logos or menu options on the screen using input devices such as a mouse or keyboard. It also allows users to manipulate icons or menu options on the screen by performing touch operations on the touch screen of a touch terminal to select commands, start programs or perform other tasks.
[0030] (2) Target virtual character:
[0031] Refers to a dynamic object that can be controlled in a game scene. Optionally, the dynamic object can be a virtual character, a virtual animal, a cartoon character, etc. The virtual character is a character controlled by a player through an input device (e.g., a terminal device), or an artificial intelligence (AI) set in a virtual scene battle through training, or a non-player character (NPC) set in a game scene battle. Optionally, the virtual character may include a virtual character that competes in a game scene. Optionally, the number of virtual characters in the game scene battle is preset, or is dynamically determined according to the number of clients joining the battle, and the embodiment of the present application is not limited to this. In a possible implementation, the user can control the virtual character to move in the virtual scene, for example, control the virtual character to run, jump, crawl, etc., and can also control the virtual character to use the skills, virtual props, etc. provided by the application to fight with other virtual characters.
[0032] Secondly, the background technology of this application is introduced:
[0033] During the game, players can track other virtual objects by controlling the target virtual object so that they can attack or defend more effectively; or they can obtain virtual props or game bonuses by defeating other virtual objects to better complete game tasks.
[0034] In the related art, players may have the need to continuously track multiple virtual objects. After the player controls the target virtual object to end the tracking process for the currently tracked object, it is necessary to enter the tracking setting interface through the relevant controls in the interface, select the virtual object that needs to be continued to be tracked through the object screening interface, and continue to track the virtual object. The above-mentioned operation steps of selecting to continue tracking the virtual object are repetitive and cumbersome, resulting in the problem of low tracking efficiency.
[0035] Based on this, an embodiment of the present application provides a method for tracking a virtual object, which reduces the operation steps for continuing to track the virtual object, improves the tracking efficiency, and meets the tracking requirements of the tracking task to be completed.
[0036] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the tracking method of the virtual object are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0037] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0038] In a possible implementation, an embodiment of the present invention provides a method for tracking a virtual object, and provides a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above (such as a local touch terminal), or can be a client device in the cloud interaction system mentioned above. The following is an example of the virtual object tracking method running on a local terminal device (hereinafter referred to as the terminal device).
[0039] See also Figure 1 , Figure 1 A flowchart of a virtual object tracking method provided by an embodiment of the present application. Figure 1 As shown in , the virtual object tracking method provided by the embodiment of the present application includes:
[0040] S101: In response to the completion of the tracking process of the target virtual object for the first tracking object, display a continue tracking prompt mark.
[0041] S102: In response to triggering of a continue tracking event indicated by the continue tracking prompt indicator, determine a second tracking object based on a tracking task to be completed by the target virtual object, and control the target virtual object to track the second tracking object.
[0042] The virtual object tracking method provided in the embodiment of the present application displays a continue tracking prompt mark after determining that the target virtual object has completed the tracking process of the first tracking object, and directly controls the target virtual object to continue tracking the second tracking object that matches the tracking task to be completed by the target virtual object by triggering the continue tracking event indicated by the continue tracking prompt mark, thereby reducing the operation steps of continuing to track the virtual object, and meeting the tracking requirements of the tracking task to be completed while improving the tracking efficiency.
[0043] The following is a description of the exemplary steps of the present application embodiment:
[0044] S101: In response to the completion of the tracking process of the target virtual object for the first tracking object, display a continue tracking prompt mark.
[0045] In an embodiment of the present application, in the game, the player can track other virtual objects by controlling the target virtual object so that the player can attack or defend more effectively; or obtain virtual props or game bonuses by defeating other virtual objects to better complete the game tasks.
[0046] For example, the player can track the target tracking object in the game, obtain the virtual props dropped by the target tracking object by defeating the target tracking object, and synthesize the target props by accumulating the obtained virtual props to assist in executing the game tasks.
[0047] In one possible implementation, when the target virtual object is tracking other tracking objects, when it is determined that the tracking object has been defeated, it determines to end the current tracking process. In order to better meet the game operation needs of the player in the game process, the current tracking process can also be ended by canceling the operation. This provides a variety of tracking ending methods that meet the needs of the players, which helps to improve the richness of the game and the efficiency of human-computer interaction.
[0048] Specifically, the step of “displaying a continuing tracking prompt mark in response to the target virtual object completing the tracking process of the first tracking object” includes:
[0049] a1: in response to the target virtual object completing the tracking process for the first tracking object, displaying a continuing tracking prompt mark; or,
[0050] a2: In response to the target virtual object canceling the tracking process for the first tracking object, displaying a continue tracking prompt mark.
[0051] In a possible implementation, the target virtual object completes the tracking process of the first tracking object, which means that the target virtual object tracks the first tracking object, defeats the first tracking object, and obtains a bonus (attribute bonus, or obtains props dropped by the first tracking object). The entire process ends.
[0052] In a possible implementation manner, the target virtual object cancels the tracking process for the first tracking object when the target virtual object does not track the first tracking object but cancels the tracking process for the first tracking object during the process of tracking the first tracking object.
[0053] In a possible implementation, the player may cancel the tracking process of the target virtual object for the first tracking object through a cancel operation to end the current tracking process for the first tracking object.
[0054] Specifically, the cancel operation may be performed through a cancel control displayed in the graphical user interface or a trigger operation of a cancel response area.
[0055] In a possible implementation, the response range of the cancel control may be a response area; the cancel response area may be an area displayed in a graphical user interface, and the cancel response area includes the cancel control. The display shape of the cancel response area may be a preset shape (rectangle, circle), etc., or may be consistent with the shape of the cancel control.
[0056] In another possible implementation, the cancel response area may also be an area hidden in the graphical user interface. In this case, the cancel control included in the cancel response area may be displayed in the graphical user interface or may be hidden in the graphical user interface.
[0057] Regardless of the above display mode, the response range of the cancel response area is greater than or equal to the control response range of the cancel control. The response range of the cancel response area can be pre-set during the game setting process. For example, the response range of the cancel response area can be within the preset range of the cancel control.
[0058] In a possible implementation, the triggering operation for canceling the control may be a touch operation for canceling the control or a click operation for canceling the control.
[0059] For example, when the terminal device is a mobile terminal, the trigger operation for canceling the control can be a touch operation for canceling the control (long press operation, click operation or sliding operation, etc.); when the terminal device is a PC, the trigger operation for canceling the control can be a click operation for canceling the control through an external input device (through a mouse click operation, etc.).
[0060] Furthermore, if it is determined that the tracking process of the current target virtual object for the first tracking object is completed, a continue tracking prompt icon can be displayed in the graphical user interface. By displaying the continue tracking prompt icon to display the current result for the first tracking object, the second tracking object can be quickly continued to be tracked by triggering the continue tracking event corresponding to the displayed continue tracking prompt icon, which helps to improve the object tracking efficiency.
[0061] In a possible implementation, displaying the continue tracking prompt mark may include displaying prompt information, in which the tracking result of the current target virtual object for the first tracking object is displayed.
[0062] Exemplarily, if the target virtual object defeats the first tracking object, the prompt information displayed may display the prompt information “the target virtual object defeats the first tracking object”; if the target virtual object cancels tracking of the first tracking object, the prompt information displayed may display the prompt information “the target virtual object cancels the first tracking object”.
[0063] In a possible implementation, the continue tracking prompt logo may be statically displayed at a preset position of the graphical user interface; or it may be dynamically displayed in the graphical user interface, and as the display time changes, the display position in the graphical user interface also changes accordingly.
[0064] In a possible implementation, during the display of the continue tracking prompt icon, the second tracking object can be quickly and continuously tracked by directly triggering a continue tracking event indicated by the continue tracking prompt icon, which helps to improve the object tracking efficiency.
[0065] S102: In response to triggering of a continue tracking event indicated by the continue tracking prompt indicator, determine a second tracking object based on a tracking task to be completed by the target virtual object, and control the target virtual object to track the second tracking object.
[0066] In an embodiment of the present application, the player can trigger the operation through the continue tracking prompt mark to trigger the continue tracking event, and then, directly after completing the tracking process for the first tracking object, quickly track the second tracking object, which simplifies the operation steps of tracking the object and further improves the tracking efficiency.
[0067] In the embodiment of the present application, there are different triggering methods for the continuation tracking events corresponding to different continuation tracking prompt identifiers, and the different triggering methods will be described below respectively.
[0068] In a possible implementation, the display of the continue tracking prompt identifier includes a continue tracking control; the step of “responding to the triggering of the continue tracking event indicated by the continue tracking prompt identifier, determining the second tracking object based on the tracking task to be completed by the target virtual object” includes:
[0069] b1: during the display process of displaying the continue tracking prompt mark, in response to a triggering operation on the continue tracking control, determining a second tracking object based on the tracking task to be completed by the target virtual object.
[0070] In a possible implementation, the tracking control may be a display of a continuation tracking prompt mark together with the display prompt information. The display position of the tracking control in the graphical user interface may be consistent with the display position of the display prompt information in the graphical user interface. It may be displayed at a preset position in the graphical user interface, or it may be dynamically floating displayed in the graphical user interface.
[0071] In another possible implementation, the display position of the tracking control in the graphical user interface may also be consistent with the display position of the display prompt information in the graphical user interface. After determining that the target virtual object has completed the tracking process of the first tracking object, the tracking control can be directly displayed in the preset display area of the graphical user interface, and the player can directly determine the second tracking object by triggering the tracking control.
[0072] Similarly, the triggering operation for the tracking control can be a touch operation for the tracking control or a click operation for the tracking control.
[0073] For example, when the terminal device is a mobile terminal, the trigger operation for the tracking control may be a touch operation (long press operation, click operation or sliding operation, etc.) for the tracking control; when the terminal device is a PC, the trigger operation for the tracking control may be a click operation (through a mouse click operation, etc.) for the tracking control through an external input device.
[0074] In a possible implementation, instruction information may be displayed at a preset position of the trigger control to prompt the player to continue the tracking operation by triggering the tracking control.
[0075] Exemplarily, the indication information may be information such as “Next” or “next”.
[0076] Furthermore, the tracking control may also be an indicator mark, and the player may determine the second tracking object and continue to track the second tracking object by triggering the indicator mark.
[0077] In another possible implementation, if it is determined that the current continue tracking prompt mark is only displaying the display prompt information, the player can issue a continue tracking instruction through a continue tracking gesture during the display of the continue tracking prompt mark.
[0078] Specifically, the displaying of the continuing tracking prompt identifier includes displaying prompt information; the step of "in response to the triggering of the continuing tracking event indicated by the continuing tracking prompt identifier, determining the second tracking object based on the tracking task to be completed by the target virtual object" includes:
[0079] c1: during the display process of displaying the continue tracking prompt mark, in response to the player issuing a continue tracking gesture, determining a second tracking object based on the tracking task to be completed by the target virtual object.
[0080] In the implementation manner of the present application, during the display process of displaying the continue tracking prompt mark, the player's gesture image can be collected by the camera device of the terminal device, and the continue tracking gesture can be identified from the player gesture image.
[0081] Specifically, the camera device of the terminal device may collect an image of the real environment in which the player is located, and crop a player gesture image containing the player's hand information from the real environment image, and recognize the continued tracking gesture from the player gesture image through image recognition technology.
[0082] In one possible implementation, the specific posture information of the continue tracking gesture can be informed in the game instructions before the player enters the game. When the continue tracking gesture is recognized from the collected player gesture image through image recognition technology, it is determined that the player has issued a continue tracking instruction, and then the process of determining the second tracking object is directly executed to track the screened second tracking object.
[0083] In summary, after the target virtual object completes the tracking process for the first tracking object, the player can issue instructions to continue tracking in different ways. The player can choose the most convenient way to issue instructions to continue tracking, which helps to improve the richness of the game and the efficiency of human-computer interaction.
[0084] Furthermore, after it is determined that the player has issued a continue tracking instruction, the second tracking object can be directly screened out for tracking. The screening process of the second tracking object will be described below.
[0085] Specifically, the step of “determining a second tracking object based on the tracking task to be completed by the target virtual object” includes:
[0086] d1: Based on the tracking task to be completed by the target virtual object, determine at least one object to be tracked included in the tracking task, the object attributes of each object to be tracked, and the tracking order of each object to be tracked.
[0087] d2: Determine the second tracking object based on the object attribute of each to-be-tracked object or the tracking order of each to-be-tracked object.
[0088] In an embodiment of the present application, after determining that the target virtual object has completed the tracking process of the first tracking object, the second tracking object is determined based on the tracking task to be completed by the target virtual object. By determining the second tracking object based on the tracking task to be completed, the determined second tracking object can be more in line with the player's tracking needs, which helps the player's gaming experience and human-computer interaction efficiency.
[0089] In a possible implementation manner, if determining the second tracking object requires first determining the tracking task to be completed by the target virtual object, the process of determining the tracking task to be completed by the target virtual object will be described below.
[0090] Specifically, the tracking task to be completed by the target virtual object is determined by the following steps:
[0091] e1: Based on a first tracking object tracked by the target virtual object in the attack mode, determine an object attribute of the first tracking object.
[0092] e2: Determine the tracking task based on the object attribute of the first tracking object and the association between the first tracking object and other tracking objects.
[0093] In an embodiment of the present application, the game scene of the present application may be a location-based service (LBS) game for a game based on a geographic location by combining a global positioning system. In the LBS game, the real world and the virtual world are integrated to allow players to experience the fun of the virtual world in the real world. For example, based on the positioning function of the mobile terminal, the real world where the mobile terminal controlling the target virtual object is located can be converted into a map scene in the game, and the target virtual object can be controlled to move accordingly in the map scene through the movement of the mobile terminal in the real world to control the target virtual object to complete the virtual interactive behavior associated with the virtual location.
[0094] Specifically, the lbs game can be divided into walking mode and non-walking mode (attack mode). In the walking mode, there is a mapping relationship between the movement of the target virtual object in the map scene and the movement of the mobile terminal used to control the target virtual object in the real world. The target virtual object is controlled to move in the map scene based on the movement information of the mobile terminal in the real world. Therefore, in the walking mode, there is a certain randomness in the tracking objects defeated or encountered by the target virtual object, and the task to be completed by the target virtual object cannot be predicted in the walking mode; while in the non-walking mode (attack mode), the target virtual object attacks or tracks other virtual objects through the movement instructions and attack instructions issued by the player. The movement instructions and attack instructions issued by the player can analyze the current player's task intention, and then determine the tracking task to be completed by the target virtual object. Therefore, it is necessary to determine the tracking task to be completed by the target virtual object in the non-walking mode (attack mode).
[0095] In a possible implementation, the tracking task may be determined based on the object attributes of the first tracking object tracked by the target virtual object in the attack mode, and the association between the first tracking object and other tracking objects. Here, the object attributes of the first tracking object include but are not limited to the object type of the first tracking object, and the item type of the virtual item dropped after defeating the first tracking object, and the tracking task is determined in combination with the association between the first tracking object and other tracking objects, and the object attributes of other tracking objects.
[0096] In another possible implementation, the tracking task to be completed by the target virtual object can also be determined by the task assigned to the target virtual object or the task received by the target virtual object during the game. For example, during the game, the target virtual object is assigned to defeat multiple types of tasks in sequence. At this time, the assigned task can be determined as the tracking task to be completed by the target virtual object.
[0097] In another possible implementation, the tracking task to be completed by the target virtual object can also be determined based on the object attributes of the first tracking object and the player's historical game operation information. For example, the object attribute of the first tracking object is determined to be attribute A. According to the player's historical game operation information, it can be determined that after defeating the virtual object with attribute A, the player chooses to continue to defeat the virtual object with attribute B multiple times. Then, there is a relationship of defeating the virtual object with attribute A and the virtual object with attribute B in sequence. Based on this, defeating the virtual object with attribute A first and then defeating the virtual object with attribute B can be determined as the tracking task to be completed by the target virtual object.
[0098] Furthermore, if the virtual props dropped by the first tracking object after being defeated need to be combined with the virtual props dropped by other tracking objects of the same object type after being defeated into a usable target prop, then the tracking task at this time is to track the tracking objects with the same attributes; if the virtual props dropped by the first tracking object after being defeated need to be combined with the virtual props dropped by other tracking objects in sequence to form a usable target prop, then the tracking task at this time is to track multiple tracking objects in sequence. The following will explain the methods of determining the second tracking object under different tracking tasks.
[0099] In a possible implementation manner, if the tracking task to be completed indicates tracking a tracking object with the same attribute, the second tracking object is determined by the following steps:
[0100] f1: Determine the target object attribute of the first tracking object.
[0101] f2: Based on the object attributes of each object to be tracked, determine at least one candidate tracking object having the same target object attributes as the first tracking object.
[0102] f3: determining the distance between the current position of each candidate tracking object and the current position of the target virtual object, and determining the candidate tracking object with the smallest distance to the current position of the target virtual object as the second tracking object.
[0103] In an embodiment of the present application, if it is determined that the tracking task to be completed is to track a tracking object with the same attribute, after determining that the target virtual object has completed the tracking process for the first tracking object, the target object attribute of the first tracking object is determined. Here, the target object attribute refers to the object type of the first tracking object and / or the virtual props that can be obtained after defeating the first tracking object.
[0104] Furthermore, based on the target object attributes of the first tracking object, at least one candidate tracking object that is consistent with the target object attributes of the first tracking object is screened out from the game scene. If there is currently only one candidate tracking object that is consistent with the first tracking object, the only candidate tracking object is directly determined as the second tracking object; if there are currently more than one candidate tracking object that is consistent with the target object attributes of the first tracking object, the second tracking object can be determined by the distance between each candidate virtual object and the target virtual object.
[0105] Specifically, the distance between the current position of each candidate tracking object and the current position of the target virtual object is determined, and then the candidate tracking object that is closest to the target virtual object (with the shortest distance from the current position of the target virtual object) is determined as the second tracking object; if there are at least two candidate tracking objects with the same distance from the current position of the target virtual object, the candidate tracking object that is more in line with the player's tracking habits can be determined as the second tracking object based on the player's historical operation data.
[0106] In a possible implementation, if there is more than one candidate tracking object with the same target object attributes as the first tracking object, the player can also be allowed to intervene in the process of determining the second tracking object, that is, all candidate tracking objects can be displayed in a graphical user interface (for example, they can be displayed in a list), and then the second tracking object can be determined through the player's selection operation on the second tracking object. Although the solution for the player to determine the second tracking object through the selection operation is more in line with the player's tracking needs, the player still needs to make a selection again, which increases the steps and time for the player's tracking selection and reduces the tracking efficiency. Therefore, when determining the second tracking object, it is preferred to select a method that does not require the player to select an operation and directly determines the second tracking object.
[0107] In another possible implementation, if the tracking task to be completed indicates tracking a plurality of tracking objects in sequence, the second tracking object is determined by the following steps:
[0108] g1: Determine a tracking order between each to-be-tracked object in the to-be-completed tracking task, and determine the to-be-tracked object whose tracking order is after the first tracking object and adjacent to the tracking order of the first tracking object as the second tracking object.
[0109] In an embodiment of the present application, a tracking order between each object to be tracked in the tracking task is determined according to the tracking task. At the same time, the order of the first tracking object in the tracking task is determined, and the object to be tracked whose tracking order is after the first tracking object and adjacent to the tracking order of the first tracking object is determined as the second tracking object.
[0110] In a possible implementation manner, the tracking order between each to-be-tracked object may be determined according to the object attributes of the to-be-tracked object.
[0111] Exemplarily, the tracking task is to sequentially track a tracking object with object attribute A, a tracking object with object attribute B, a tracking object with object attribute C, and a tracking object with object attribute D. The current first tracking object is a tracking object with object attribute B. Then, the tracking object with object attribute C that is located in the tracking order and adjacent to the tracking object with object attribute B is the second tracking object.
[0112] In a possible implementation, if the tracking order is after the first tracking object, and there is more than one object to be tracked that is adjacent to the first tracking object in the tracking order, similarly, the candidate tracking object that is closest to the target virtual object (with the shortest distance from the current position of the target virtual object) can be determined as the second tracking object based on the distance between each object to be tracked and the target virtual object; if there are at least two candidate tracking objects with the same distance from the current position of the target virtual object, the candidate tracking object that is more in line with the player's tracking habits can be determined as the second tracking object based on the player's historical operation data.
[0113] Furthermore, in order for the player to more clearly determine the location of the second tracking object, object prompt information may be displayed at the location of the second tracking object after the second tracking object is determined.
[0114] Specifically, after the step of “responding to the triggering of the continue tracking event indicated by the continue tracking prompt indicator, determining the second tracking object based on the tracking task to be completed by the target virtual object”, the tracking method further includes:
[0115] h1: Control the target virtual object to face the second tracking object, and display object prompt information at the location of the second tracking object.
[0116] The object prompt information includes a prompt special effect and a distance between a location of the second tracking object and a location of the target virtual object.
[0117] In a possible implementation, in order to display the second tracking object in the graphical user interface, the virtual camera may be adjusted to point toward the location of the second tracking object, and then object prompt information may be displayed at the location of the second tracking object.
[0118] In a possible implementation, the prompt special effect may be a special effect displayed at the location of the second tracking object. For example, it may be a light beam special effect, or the location of the second tracking object may be highlighted. At the same time, the distance between the second tracking object and the location of the target virtual object may be displayed digitally at the location of the second tracking object.
[0119] In another possible implementation, a tracking guide mark may be displayed at the location of the target virtual object to indicate the tracking direction of the target virtual object to track the second tracking object.
[0120] Specifically, after the step of “responding to the triggering of the continue tracking event indicated by the continue tracking prompt indicator, determining the second tracking object based on the tracking task to be completed by the target virtual object”, the tracking method further includes:
[0121] i1: displaying a tracking guide mark at the location of the target virtual object, wherein the tracking guide mark points to the location of the second tracking object.
[0122] In a possible implementation, the display position of the tracking guide mark may be located “at the feet” of the target virtual object, and the display form of the tracking guide mark may be an arrow pointing to the location of the second tracking object.
[0123] In a possible implementation, the displayed continue tracking prompt logo is not always displayed in the graphical user interface. The continue tracking prompt logo has a preset display time. During the display of the continue tracking prompt logo, the operation of quickly tracking the second tracking object can be triggered to quickly track the second tracking object. After the preset display time, the display logo of the continue tracking prompt logo will be cancelled.
[0124] Specifically, after the step of "displaying a continuing tracking prompt mark in response to the target virtual object completing the tracking process of the first tracking object", the tracking method further includes:
[0125] j1: After the preset display time, cancel the display and continue tracking prompt mark.
[0126] In a possible implementation, the preset display time may be an autonomous setting made by the system, or, for a continue tracking prompt logo dynamically displayed in a graphical user interface, may be determined based on the moving speed of the continue tracking prompt logo in the graphical user interface and a preset moving distance.
[0127] For example, for the continue tracking prompt icon dynamically displayed in the graphical user interface, its moving range is from the left edge of the graphical user to the right edge of the graphical user. Then, the preset moving distance is the distance between the left edge of the graphical user and the right edge of the graphical user. The preset display time is determined based on the preset moving speed.
[0128] In a possible implementation, if the player does not intend to trigger a continue tracking event during the display of the continue tracking prompt logo, the player can choose not to perform any operation during the display of the continue tracking prompt logo and wait for the display of the continue tracking prompt logo to end, or the player can end the display of the continue tracking prompt logo by canceling the logo display operation.
[0129] Specifically, in response to the display cancellation operation, the display continuation tracking prompt indicator is cancelled.
[0130] In a possible implementation, the display cancellation operation may be performed through a trigger operation of a display cancellation control or a display cancellation response area displayed in a graphical user interface.
[0131] Similarly, the triggering operation for displaying the cancel control may be a touch operation for displaying the cancel control or a click operation for displaying the cancel control.
[0132] For example, when the terminal device is a mobile terminal, the trigger operation for displaying the cancel control can be a touch operation (long press operation, click operation or sliding operation, etc.) for displaying the cancel control; when the terminal device is a PC, the trigger operation for displaying the cancel control can be a click operation (through a mouse click operation, etc.) for displaying the cancel control through an external input device.
[0133] Furthermore, after canceling the display of the continue tracking prompt icon, if the player needs to trigger the tracking operation again, he needs to select the tracking object step by step according to the steps.
[0134] Specifically, after the step of “canceling the display of the continuous tracking prompt mark after the preset display time”, the tracking method further includes:
[0135] k1: In response to triggering of a tracking event, display a two-dimensional map interface; wherein the two-dimensional map interface includes a filter control.
[0136] k2: In response to a trigger operation on the filter control, an interface for selecting an object to be tracked is displayed.
[0137] k3: In response to a selection operation in the to-be-tracked object selection interface, determining a third tracking object, and controlling the target virtual object to track the third tracking object.
[0138] In an embodiment of the present application, the triggering of a tracking event can be through a triggering operation of a map control in a graphical user interface. After determining the triggering of the tracking event, a two-dimensional map interface is displayed, and a filter control is displayed in the two-dimensional map interface. Through the triggering operation of the filter control, a selection interface for the object to be tracked is displayed in the two-dimensional map interface.
[0139] Furthermore, object identifiers of multiple objects to be tracked are displayed in the object selection interface to be tracked. A third tracking object is determined by a selection operation on the object identifier of the object to be tracked in the object selection interface to be tracked, and an object detail information interface of the third tracking object is displayed in the two-dimensional map interface. A tracking control is displayed in the object detail information interface. In response to a trigger operation on the tracking control, the graphical user interface is returned, and object prompt information is displayed at the position of the third tracking object in the graphical user interface. At the same time, a tracking guide identifier pointing to the position of the third tracking object is displayed at the position of the target virtual object, and the target virtual object is controlled to track the third tracking object.
[0140] The following is an example of a virtual object tracking process in the embodiment of the present application.
[0141] See also Figure 2 , Figure 2 One of the schematic diagrams of the graphical user interface provided in the embodiment of the present application, such as Figure 2 As shown, in the graphical user interface 200, a target virtual object 210 is displayed. The current target virtual object 210 is ending the tracking process for the first tracking object (not shown in the figure). The target virtual object 210 defeats the first tracking object. At this time, a continue tracking prompt mark 220 is displayed in the graphical user interface 200. The continue tracking prompt mark 220 includes a continue tracking control 221 and a display prompt message 222. The display prompt message 222 displays the prompt message "The target virtual object defeats the first tracking object".
[0142] For further information, see Figure 3 , Figure 3 The second schematic diagram of the graphical user interface provided in the embodiment of the present application is as follows: Figure 3As shown, during the display process of the continue tracking prompt logo, if a trigger operation for the continue tracking prompt logo is received, the second tracking object is determined, and the second tracking object 230 is displayed in the graphical user interface 200. At the same time, the first prompt special effect 231 and the first distance prompt information 232 showing the distance between the position of the second tracking object and the position of the target virtual object are displayed at the position of the second tracking object 230; and the first tracking guide logo 240 pointing to the position of the second tracking object 230 is displayed at the position of the target virtual object 210.
[0143] For further information, see Figures 4 to 5 , Figure 4 The third schematic diagram of the graphical user interface provided in the embodiment of the present application is as follows: Figure 5 This is one of the schematic diagrams of the two-dimensional map interface provided in the embodiment of the present application, such as Figure 4 As shown, if after the display of the tracking prompt mark ends, in response to the triggering operation of the tracking control 250 in the graphical user interface 200, the two-dimensional map interface 500 is displayed; Figure 5 As shown, the two-dimensional map interface 500 includes a filter control 510 , and the player can select the tracking object by triggering the filter control 510 .
[0144] For further information, see Figure 6 , Figure 6 This is a second schematic diagram of a two-dimensional map interface provided in an embodiment of the present application, such as Figure 6 As shown, in response to the trigger operation for the filter control, the to-be-tracked object selection interface 520 is displayed, and the to-be-tracked object selection interface 520 includes multiple object identifiers 530 of the to-be-tracked objects. The player can select the third tracking object by selecting the multiple object identifiers 530 of the to-be-tracked objects.
[0145] For further information, see Figure 7 , Figure 7 The third schematic diagram of the two-dimensional map interface provided in the embodiment of the present application is as follows: Figure 7 As shown, in response to a selection operation of a target object among object identifiers of multiple objects to be tracked, an object detail information interface 540 is displayed, and a third tracking object is determined by triggering a tracking control 541 in the object detail information interface 540 .
[0146] For further information, see Figure 8 , Figure 8 The fourth schematic diagram of the graphical user interface provided in the embodiment of the present application is as follows: Figure 8As shown, after the third tracking object is determined, the third tracking object 260 is displayed in the graphical user interface 200. At the same time, a second prompt effect 261 and second distance prompt information 262 showing the distance between the location of the third tracking object and the location of the target virtual object are displayed at the location of the third tracking object 260; and a second tracking guide mark 270 pointing to the location of the third tracking object 260 is displayed at the location of the target virtual object 210.
[0147] The virtual object tracking method provided in the embodiment of the present application displays a continue tracking prompt mark in response to the target virtual object completing the tracking process of the first tracking object; in response to the triggering of the continue tracking event indicated by the continue tracking prompt mark, determines the second tracking object based on the tracking task to be completed by the target virtual object, and controls the target virtual object to track the second tracking object. In this way, after determining that the target virtual object has completed the tracking process of the first tracking object, the continue tracking prompt mark is displayed, and the target virtual object is directly controlled to continue tracking the second tracking object that matches the tracking task to be completed by the target virtual object by directly triggering the continue tracking event indicated by the continue tracking prompt mark, thereby reducing the operation steps of continuing to track the virtual object, and meeting the tracking requirements of the tracking task to be completed while improving the tracking efficiency.
[0148] Based on the same inventive concept, an embodiment of the present application also provides a virtual object tracking device corresponding to the virtual object tracking method. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned virtual object tracking method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0149] See also Fig. 9 , Fig. 9 A schematic diagram of the structure of a virtual object tracking device provided in an embodiment of the present application. Fig. 9 As shown in , the tracking device 900 includes:
[0150] The identification display module 910 is used to display a continuing tracking prompt identification in response to the target virtual object completing the tracking process of the first tracking object;
[0151] The object tracking module 920 is used to respond to the triggering of the continue tracking event indicated by the continue tracking prompt indicator, determine a second tracking object based on the tracking task to be completed by the target virtual object, and control the target virtual object to track the second tracking object.
[0152] In a possible implementation, when the identification display module 910 is used to display a continuing tracking prompt identification in response to the end of the tracking process of the target virtual object for the first tracking object, the identification display module 910 is used to:
[0153] In response to the target virtual object completing the tracking process for the first tracking object, displaying a continue tracking prompt mark; or,
[0154] In response to the target virtual object canceling the tracking process for the first tracking object, a continue tracking prompt icon is displayed.
[0155] In a possible implementation, the display of the continue tracking prompt identifier includes a continue tracking control; when the object tracking module 920 is used to respond to the triggering of the continue tracking event indicated by the continue tracking prompt identifier and determine the second tracking object based on the tracking task to be completed by the target virtual object, the object tracking module 920 is used to:
[0156] During the display process of displaying the continue tracking prompt mark, in response to a trigger operation for the continue tracking control, a second tracking object is determined based on the tracking task to be completed by the target virtual object.
[0157] In a possible implementation, the displaying of the continue tracking prompt identifier includes displaying prompt information; when the object tracking module 920 is used to respond to the triggering of the continue tracking event indicated by the continue tracking prompt identifier and determine the second tracking object based on the tracking task to be completed by the target virtual object, the object tracking module 920 is used to:
[0158] During the display process of displaying the continue tracking prompt mark, in response to the player issuing a continue tracking gesture, a second tracking object is determined based on the tracking task to be completed by the target virtual object.
[0159] In a possible implementation, when the object tracking module 920 is used to determine the second tracking object based on the tracking task to be completed by the target virtual object, the object tracking module 920 is used to:
[0160] Based on the tracking task to be completed by the target virtual object, determining at least one to-be-tracked object included in the tracking task, the object attributes of each to-be-tracked object, and the tracking order of each to-be-tracked object;
[0161] The second tracking object is determined based on an object attribute of each to-be-tracked object or a tracking order of each to-be-tracked object.
[0162] In a possible implementation manner, if the tracking task to be completed indicates tracking of tracking objects with the same attribute, the object tracking module 920 is configured to determine the second tracking object by the following steps:
[0163] Determining a target object attribute of the first tracking object;
[0164] Based on the object attributes of each object to be tracked, determining at least one candidate tracking object that is consistent with the target object attributes of the first tracking object;
[0165] The distance between the current position of each candidate tracking object and the current position of the target virtual object is determined, and the candidate tracking object having the smallest distance to the current position of the target virtual object is determined as the second tracking object.
[0166] In a possible implementation manner, if the tracking task to be completed indicates tracking a plurality of tracking objects in sequence, the object tracking module 920 is configured to determine the second tracking object by the following steps:
[0167] Determine a tracking order between each to-be-tracked object in the to-be-completed tracking task, and determine an to-be-tracked object whose tracking order is after the first tracking object and adjacent to the tracking order of the first tracking object as the second tracking object.
[0168] In a possible implementation, the tracking device 900 further includes a task determination module (not shown in the figure), which is used to determine the tracking task to be completed by the target virtual object through the following steps:
[0169] Determining an object attribute of a first tracking object tracked by the target virtual object in the attack mode;
[0170] The tracking task is determined based on the object attribute of the first tracking object and the association between the first tracking object and other tracking objects.
[0171] In a possible implementation, the tracking device 900 further includes an object prompt information display module (not shown in the figure), and the object prompt information display module is used to:
[0172] Controlling the target virtual object to face the second tracking object, and displaying object prompt information at the location of the second tracking object;
[0173] The object prompt information includes a prompt special effect and a distance between a location of the second tracking object and a location of the target virtual object.
[0174] In a possible implementation, the tracking device 900 further includes a guidance mark display module (not shown in the figure), and the guidance mark display module is used to:
[0175] A tracking guide mark is displayed at the location of the target virtual object, and the tracking guide mark points to the location of the second tracking object.
[0176] In a possible implementation, the tracking device 900 further includes a tag cancellation module (not shown in the figure), and the tag cancellation module is used to:
[0177] After the preset display time, cancel the display of the tracking reminder icon.
[0178] In a possible implementation, the tracking device 900 further includes an object screening and tracking module (not shown in the figure), and the object screening and tracking module is used to:
[0179] In response to the triggering of the tracking event, displaying a two-dimensional map interface; wherein the two-dimensional map interface includes a filter control;
[0180] In response to a trigger operation on the filter control, displaying a selection interface for an object to be tracked;
[0181] In response to a selection operation in the to-be-tracked object selection interface, a third tracking object is determined, and the target virtual object is controlled to track the third tracking object.
[0182] The virtual object tracking device provided in the embodiment of the present application displays a continue tracking prompt mark in response to the target virtual object completing the tracking process of the first tracking object; in response to the triggering of the continue tracking event indicated by the continue tracking prompt mark, determines the second tracking object based on the tracking task to be completed by the target virtual object, and controls the target virtual object to track the second tracking object. In this way, after determining that the target virtual object has completed the tracking process of the first tracking object, the continue tracking prompt mark is displayed, and the target virtual object is directly controlled to continue tracking the second tracking object that matches the tracking task to be completed by the target virtual object by directly triggering the continue tracking event indicated by the continue tracking prompt mark, thereby reducing the operation steps of continuing to track the virtual object, and meeting the tracking requirements of the tracking task to be completed while improving the tracking efficiency.
[0183] See also Fig.10 , Fig.10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 As shown in , the electronic device 1000 includes a processor 1010 , a memory 1020 and a bus 1030 .
[0184] The memory 1020 stores machine-readable instructions executable by the processor 1010. When the electronic device 1000 is running, the processor 1010 communicates with the memory 1020 via the bus 1030, so that the processor 1010 executes the following instructions when running:
[0185] In response to the target virtual object completing the tracking process of the first tracking object, displaying a continuing tracking prompt mark;
[0186] In response to triggering of a continue tracking event indicated by the continue tracking prompt indicator, a second tracking object is determined based on a tracking task to be completed by the target virtual object, and the target virtual object is controlled to track the second tracking object.
[0187] In a possible implementation, in the instructions executed by the processor 1010, in response to the end of the tracking process of the target virtual object for the first tracking object, displaying a continuing tracking prompt mark includes:
[0188] In response to the target virtual object completing the tracking process for the first tracking object, displaying a continue tracking prompt mark; or,
[0189] In response to the target virtual object canceling the tracking process for the first tracking object, a continue tracking prompt icon is displayed.
[0190] In a possible implementation, the display of the continue tracking prompt identifier includes a continue tracking control; in the instructions executed by the processor 1010, the response to the triggering of the continue tracking event indicated by the continue tracking prompt identifier, determining the second tracking object based on the tracking task to be completed by the target virtual object, includes:
[0191] During the display process of displaying the continue tracking prompt mark, in response to a trigger operation for the continue tracking control, a second tracking object is determined based on the tracking task to be completed by the target virtual object.
[0192] In a possible implementation, the displaying of the continue tracking prompt identifier includes displaying prompt information; in the instructions executed by the processor 1010, the response to the triggering of the continue tracking event indicated by the continue tracking prompt identifier, determining the second tracking object based on the tracking task to be completed by the target virtual object, includes:
[0193] During the display process of displaying the continue tracking prompt mark, in response to the player issuing a continue tracking gesture, a second tracking object is determined based on the tracking task to be completed by the target virtual object.
[0194] In a possible implementation manner, in the instructions executed by the processor 1010, determining the second tracking object based on the tracking task to be completed by the target virtual object includes:
[0195] Based on the tracking task to be completed by the target virtual object, determining at least one to-be-tracked object included in the tracking task, the object attributes of each to-be-tracked object, and the tracking order of each to-be-tracked object;
[0196] The second tracking object is determined based on an object attribute of each to-be-tracked object or a tracking order of each to-be-tracked object.
[0197] In a possible implementation manner, if the tracking task to be completed indicates tracking of tracking objects with the same attribute, the instructions executed by the processor 1010 determine the second tracking object through the following steps:
[0198] Determining a target object attribute of the first tracking object;
[0199] Based on the object attributes of each object to be tracked, determining at least one candidate tracking object that is consistent with the target object attributes of the first tracking object;
[0200] The distance between the current position of each candidate tracking object and the current position of the target virtual object is determined, and the candidate tracking object having the smallest distance to the current position of the target virtual object is determined as the second tracking object.
[0201] In a possible implementation manner, if the tracking task to be completed indicates tracking a plurality of tracking objects in sequence, the instructions executed by the processor 1010 determine the second tracking object through the following steps:
[0202] Determine a tracking order between each to-be-tracked object in the to-be-completed tracking task, and determine an to-be-tracked object whose tracking order is after the first tracking object and adjacent to the tracking order of the first tracking object as the second tracking object.
[0203] In a possible implementation manner, in the instructions executed by the processor 1010, the tracking task to be completed by the target virtual object is determined through the following steps:
[0204] Determining an object attribute of a first tracking object tracked by the target virtual object in the attack mode;
[0205] The tracking task is determined based on the object attribute of the first tracking object and the association between the first tracking object and other tracking objects.
[0206] In a possible implementation manner, the instructions executed by the processor 1010 further include:
[0207] Controlling the target virtual object to face the second tracking object, and displaying object prompt information at the location of the second tracking object;
[0208] The object prompt information includes a prompt special effect and a distance between a location of the second tracking object and a location of the target virtual object.
[0209] In a possible implementation manner, the instructions executed by the processor 1010 further include:
[0210] A tracking guide mark is displayed at the location of the target virtual object, and the tracking guide mark points to the location of the second tracking object.
[0211] In a possible implementation manner, the instructions executed by the processor 1010 further include:
[0212] After the preset display time, cancel the display of the tracking reminder icon.
[0213] In a possible implementation, the instructions executed by the processor 1010 display a two-dimensional map interface in response to triggering of a tracking event; wherein the two-dimensional map interface includes a filter control;
[0214] In response to a trigger operation on the filter control, displaying a selection interface for an object to be tracked;
[0215] In response to a selection operation in the to-be-tracked object selection interface, a third tracking object is determined, and the target virtual object is controlled to track the third tracking object.
[0216] Through the above method, after determining that the target virtual object has finished the tracking process for the first tracking object, a continue tracking prompt mark is displayed, and the target virtual object is directly controlled to continue tracking the second tracking object that matches the tracking task to be completed by the target virtual object by directly triggering the continue tracking event indicated by the continue tracking prompt mark, thereby reducing the operation steps of continuing to track the virtual object, and meeting the tracking requirements of the tracking task to be completed while improving the tracking efficiency. At the same time, a variety of tracking end methods that meet the needs of players are provided, which helps to improve the richness of the game and the efficiency of human-computer interaction. At the same time, players can issue instructions to continue tracking in different ways, and players can choose the most convenient way to issue instructions to continue tracking, which helps to improve the richness of the game and the efficiency of human-computer interaction.
[0217] The present application also provides a computer-readable storage medium, on which a computer program is stored, so that when the computer program is executed by a processor, the following instructions are executed:
[0218] In response to the target virtual object completing the tracking process of the first tracking object, displaying a continuing tracking prompt mark;
[0219] In response to triggering of a continue tracking event indicated by the continue tracking prompt indicator, a second tracking object is determined based on a tracking task to be completed by the target virtual object, and the target virtual object is controlled to track the second tracking object.
[0220] In a possible implementation, in the instructions executed by the computer-readable storage medium, in response to the end of the tracking process of the target virtual object for the first tracking object, displaying a continuing tracking prompt mark includes:
[0221] In response to the target virtual object completing the tracking process for the first tracking object, displaying a continue tracking prompt mark; or,
[0222] In response to the target virtual object canceling the tracking process for the first tracking object, a continue tracking prompt icon is displayed.
[0223] In a possible implementation, the display of the continue tracking prompt identifier includes a continue tracking control; in the instructions executed by the computer-readable storage medium, the response to the triggering of the continue tracking event indicated by the continue tracking prompt identifier, determining the second tracking object based on the tracking task to be completed by the target virtual object, includes:
[0224] During the display process of displaying the continue tracking prompt mark, in response to a trigger operation for the continue tracking control, a second tracking object is determined based on the tracking task to be completed by the target virtual object.
[0225] In a possible implementation, the displaying of the continue tracking prompt identifier includes displaying prompt information; in the instructions executed by the computer-readable storage medium, the response to the triggering of the continue tracking event indicated by the continue tracking prompt identifier, determining the second tracking object based on the tracking task to be completed by the target virtual object, includes:
[0226] During the display process of displaying the continue tracking prompt mark, in response to the player issuing a continue tracking gesture, a second tracking object is determined based on the tracking task to be completed by the target virtual object.
[0227] In a possible implementation manner, in the instructions executed by a computer-readable storage medium, determining the second tracking object based on the tracking task to be completed by the target virtual object includes:
[0228] Based on the tracking task to be completed by the target virtual object, determining at least one to-be-tracked object included in the tracking task, the object attributes of each to-be-tracked object, and the tracking order of each to-be-tracked object;
[0229] The second tracking object is determined based on an object attribute of each to-be-tracked object or a tracking order of each to-be-tracked object.
[0230] In a possible implementation, if the tracking task to be completed indicates tracking a tracking object with the same attribute, in the instructions executed by the computer-readable storage medium, in the instructions executed by the processor 1010, the second tracking object is determined by the following steps:
[0231] Determining a target object attribute of the first tracking object;
[0232] Based on the object attributes of each object to be tracked, determining at least one candidate tracking object that is consistent with the target object attributes of the first tracking object;
[0233] The distance between the current position of each candidate tracking object and the current position of the target virtual object is determined, and the candidate tracking object having the smallest distance to the current position of the target virtual object is determined as the second tracking object.
[0234] In a possible implementation manner, if the tracking task to be completed indicates tracking a plurality of tracking objects in sequence, the instructions executed by the computer-readable storage medium determine the second tracking object by the following steps:
[0235] Determine a tracking order between each to-be-tracked object in the to-be-completed tracking task, and determine an to-be-tracked object whose tracking order is after the first tracking object and adjacent to the tracking order of the first tracking object as the second tracking object.
[0236] In a possible implementation manner, in the instructions executed by the computer-readable storage medium, the tracking task to be completed by the target virtual object is determined by the following steps:
[0237] Determining an object attribute of a first tracking object tracked by the target virtual object in the attack mode;
[0238] The tracking task is determined based on the object attribute of the first tracking object and the association between the first tracking object and other tracking objects.
[0239] In a possible implementation manner, the instructions executed by the computer-readable storage medium further include:
[0240] Controlling the target virtual object to face the second tracking object, and displaying object prompt information at the location of the second tracking object;
[0241] The object prompt information includes a prompt special effect and a distance between a location of the second tracking object and a location of the target virtual object.
[0242] In a possible implementation manner, the instructions executed by the computer-readable storage medium further include:
[0243] A tracking guide mark is displayed at the location of the target virtual object, and the tracking guide mark points to the location of the second tracking object.
[0244] In a possible implementation manner, the instructions executed by the computer-readable storage medium further include:
[0245] After the preset display time, cancel the display of the tracking reminder icon.
[0246] In a possible implementation, the instructions executed by the computer-readable storage medium display a two-dimensional map interface in response to the triggering of a tracking event; wherein the two-dimensional map interface includes a filter control;
[0247] In response to a trigger operation on the filter control, displaying a selection interface for an object to be tracked;
[0248] In response to a selection operation in the to-be-tracked object selection interface, a third tracking object is determined, and the target virtual object is controlled to track the third tracking object.
[0249] Through the above method, after determining that the target virtual object has finished the tracking process for the first tracking object, a continue tracking prompt mark is displayed, and the target virtual object is directly controlled to continue tracking the second tracking object that matches the tracking task to be completed by the target virtual object by directly triggering the continue tracking event indicated by the continue tracking prompt mark, thereby reducing the operation steps of continuing to track the virtual object, and meeting the tracking requirements of the tracking task to be completed while improving the tracking efficiency. At the same time, a variety of tracking end methods that meet the needs of players are provided, which helps to improve the richness of the game and the efficiency of human-computer interaction. At the same time, players can issue instructions to continue tracking in different ways, and players can choose the most convenient way to issue instructions to continue tracking, which helps to improve the richness of the game and the efficiency of human-computer interaction.
[0250] 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.
[0251] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, 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 communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0252] 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.
[0253] In addition, each functional unit in each embodiment of the present application 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.
[0254] 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 non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0255] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for tracking a virtual object, characterized in that: Providing a graphical user interface through a terminal device, and displaying at least a portion of the game scene on the graphical user interface; The game scene includes a target virtual object controlled by the terminal device; the tracking method includes: In response to the target virtual object completing the tracking process of the first tracking object, displaying a continuing tracking prompt mark; In response to triggering of a continue tracking event indicated by the continue tracking prompt indicator, a second tracking object is determined based on a tracking task to be completed by the target virtual object, and the target virtual object is controlled to track the second tracking object.
2. The tracking method according to claim 1, characterized in that: In response to the target virtual object completing the tracking process of the first tracking object, displaying a continuing tracking prompt mark includes: In response to the target virtual object completing the tracking process for the first tracking object, displaying a continue tracking prompt mark; or, In response to the target virtual object canceling the tracking process for the first tracking object, a continue tracking prompt icon is displayed.
3. The tracking method according to claim 1, characterized in that: The display of the continue tracking prompt identifier includes a continue tracking control; the response to the triggering of the continue tracking event indicated by the continue tracking prompt identifier, determining the second tracking object based on the tracking task to be completed by the target virtual object, includes: During the display process of displaying the continue tracking prompt mark, in response to a trigger operation for the continue tracking control, a second tracking object is determined based on the tracking task to be completed by the target virtual object.
4. The tracking method according to claim 1, characterized in that: The displaying of the continuing tracking prompt identifier includes displaying prompt information; the responding to the triggering of the continuing tracking event indicated by the continuing tracking prompt identifier, determining the second tracking object based on the tracking task to be completed by the target virtual object, includes: During the display process of displaying the continue tracking prompt mark, in response to the player issuing a continue tracking gesture, a second tracking object is determined based on the tracking task to be completed by the target virtual object.
5. The tracking method according to claim 1, characterized in that: The determining a second tracking object based on the tracking task to be completed by the target virtual object includes: Based on the tracking task to be completed by the target virtual object, determining at least one to-be-tracked object included in the tracking task, the object attributes of each to-be-tracked object, and the tracking order of each to-be-tracked object; The second tracking object is determined based on an object attribute of each to-be-tracked object or a tracking order of each to-be-tracked object.
6. The tracking method according to claim 5, characterized in that: If the tracking task to be completed indicates tracking a tracking object with the same attribute, the second tracking object is determined by the following steps: Determining a target object attribute of the first tracking object; Based on the object attributes of each object to be tracked, determining at least one candidate tracking object that is consistent with the target object attributes of the first tracking object; The distance between the current position of each candidate tracking object and the current position of the target virtual object is determined, and the candidate tracking object having the smallest distance to the current position of the target virtual object is determined as the second tracking object.
7. The tracking method according to claim 5, characterized in that: If the tracking task to be completed indicates tracking multiple tracking objects in sequence, the second tracking object is determined by the following steps: A tracking order between each to-be-tracked object in the to-be-completed tracking task is determined, and an to-be-tracked object whose tracking order is after the first tracking object and adjacent to the tracking order of the first tracking object is determined as the second tracking object.
8. The tracking method according to claim 1, characterized in that: The tracking task to be completed by the target virtual object is determined by the following steps: Determining an object attribute of a first tracking object tracked by the target virtual object in the attack mode; The tracking task is determined based on the object attribute of the first tracking object and the association between the first tracking object and other tracking objects.
9. The tracking method according to claim 1, characterized in that: After determining the second tracking object based on the tracking task to be completed by the target virtual object in response to the triggering of the continuing tracking event indicated by the continuing tracking prompt mark, the tracking method further includes: Controlling the target virtual object to face the second tracking object, and displaying object prompt information at the location of the second tracking object; The object prompt information includes a prompt special effect and a distance between a location of the second tracking object and a location of the target virtual object.
10. The tracking method according to claim 1, characterized in that: After determining the second tracking object based on the tracking task to be completed by the target virtual object in response to the triggering of the continuing tracking event indicated by the continuing tracking prompt mark, the tracking method further includes: A tracking guide mark is displayed at the location of the target virtual object, and the tracking guide mark points to the location of the second tracking object.
11. The tracking method according to claim 1, characterized in that: After displaying a continuing tracking prompt mark in response to the end of the tracking process of the target virtual object for the first tracking object, the tracking method further includes: After the preset display time, cancel the display of the tracking reminder icon.
12. The tracking method according to claim 11, characterized in that: After canceling the display of the tracking reminder mark after the preset display time, the tracking method further includes: In response to the triggering of the tracking event, displaying a two-dimensional map interface; wherein the two-dimensional map interface includes a filter control; In response to a trigger operation on the filter control, displaying a selection interface for an object to be tracked; In response to a selection operation in the to-be-tracked object selection interface, a third tracking object is determined, and the target virtual object is controlled to track the third tracking object.
13. A virtual object tracking device, characterized in that: Providing a graphical user interface through a terminal device, and displaying at least a portion of the game scene on the graphical user interface; The game scene includes a target virtual object controlled by the terminal device; the tracking device includes: An identification display module, configured to display a continuing tracking prompt identification in response to the target virtual object completing the tracking process of the first tracking object; The object tracking module is used to respond to the triggering of the continue tracking event indicated by the continue tracking prompt mark, determine a second tracking object based on the tracking task to be completed by the target virtual object, and control the target virtual object to track the second tracking object.
14. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the virtual object tracking method as described in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the virtual object tracking method according to any one of claims 1 to 12 are executed.
