Movatterモバイル変換


[0]ホーム

URL:


CN118976246A - Virtual object tracking method, device, electronic device and readable storage medium - Google Patents

Virtual object tracking method, device, electronic device and readable storage medium
Download PDF

Info

Publication number
CN118976246A
CN118976246ACN202411008365.9ACN202411008365ACN118976246ACN 118976246 ACN118976246 ACN 118976246ACN 202411008365 ACN202411008365 ACN 202411008365ACN 118976246 ACN118976246 ACN 118976246A
Authority
CN
China
Prior art keywords
tracking
target virtual
virtual object
prompt
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411008365.9A
Other languages
Chinese (zh)
Inventor
徐璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co LtdfiledCriticalNetease Hangzhou Network Co Ltd
Priority to CN202411008365.9ApriorityCriticalpatent/CN118976246A/en
Publication of CN118976246ApublicationCriticalpatent/CN118976246A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The application provides a virtual object tracking method, a virtual object tracking device, electronic equipment and a readable storage medium, wherein a continuous tracking prompt identifier is displayed in response to the end of a target virtual object tracking process for a first tracking object; and responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object. Therefore, after the target virtual object is determined to finish the tracking process of the first tracking object, the continuous tracking prompt identifier is displayed, the target virtual object is directly controlled to continuously track and determine the second tracking object which is matched with the target virtual object to be completed and is used for tracking the tracking task, the operation steps of continuously tracking the virtual object are reduced, the tracking efficiency is improved, and meanwhile, the tracking requirement of the to-be-completed tracking task is met.

Description

Virtual object tracking method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of man-machine interaction technologies, and in particular, to a method and apparatus for tracking a virtual object, an electronic device, and a readable storage medium.
Background
During the game process, the player can track other virtual objects through controlling the target virtual object so that the player can attack or defend more effectively; or by defeating other virtual objects to obtain virtual props or game additions to better accomplish game tasks.
In the related art, a player may have a need to continuously track a plurality of virtual objects, after the player controls a target virtual object to finish the tracking process for the current tracked object, the player needs to enter a tracking setting interface through a related control in the interface, selects a virtual object to be continuously tracked through an object screening interface, and continuously tracks the virtual object, so that the operation steps of continuously tracking the virtual object by the selection are repeated and complicated, and the problem of lower tracking efficiency is caused.
Disclosure of Invention
Accordingly, an object of the present application is to provide a method, an apparatus, an electronic device, and a readable storage medium for tracking a virtual object, wherein after determining that a target virtual object ends a tracking process for a first tracking object, a tracking continuing prompt identifier is displayed, and directly, by triggering a tracking continuing event indicated by the tracking continuing prompt identifier, the target virtual object is directly controlled to continue tracking to determine a second tracking object that matches a tracking task to be completed by the target virtual object, so that operation steps for continuing to track the virtual object are reduced, and tracking efficiency is improved, and meanwhile, a tracking requirement of the tracking task to be completed is satisfied.
In a first aspect, an embodiment of the present application provides a method for tracking a virtual object, where a graphical user interface is provided by a terminal device, and at least a part of a game scene is displayed on the graphical user interface; the game scene comprises a target virtual object controlled by the terminal equipment; the tracking method comprises the following steps:
responding to the end of the target virtual object to the first tracking object tracking process, and displaying a continuous tracking prompt identifier;
And responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object.
In a second aspect, an embodiment of the present application further provides a tracking device for a virtual object, where a graphical user interface is provided by a terminal device, and at least part of a game scene is displayed on the graphical user interface; the game scene comprises a target virtual object controlled by the terminal equipment; the tracking device includes:
The mark display module is used for responding to the end of the target virtual object to the first tracking object tracking process and displaying a continuous tracking prompt mark;
And the object tracking module is used for responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium, and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor in communication with the storage medium via the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the method of tracking a virtual object as claimed in any one of the first aspects.
In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program is executed by a processor to perform the method for tracking a virtual object according to any one of the first aspects.
The embodiment of the application provides a virtual object tracking method, a device, electronic equipment and a readable storage medium, wherein a continuous tracking prompt identifier is displayed in response to the end of a target virtual object tracking process for a first tracking object; and responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object. Therefore, after the target virtual object is determined to finish the tracking process of the first tracking object, the continuous tracking prompt identifier is displayed, the target virtual object is directly controlled to continuously track and determine the second tracking object which is matched with the target virtual object to be completed and is used for tracking the tracking task, the operation steps of continuously tracking the virtual object are reduced, the tracking efficiency is improved, and meanwhile, the tracking requirement of the to-be-completed tracking task is met.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for tracking a virtual object according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a graphical user interface according to an embodiment of the present application;
FIG. 3 is a second diagram of a graphical user interface according to an embodiment of the present application;
FIG. 4 is a third diagram of a graphical user interface according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a two-dimensional map interface according to an embodiment of the present application;
FIG. 6 is a second diagram of a two-dimensional map interface according to an embodiment of the present application;
FIG. 7 is a third diagram of a two-dimensional map interface according to an embodiment of the present application;
FIG. 8 is a diagram of a graphical user interface according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a tracking device for virtual objects according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment obtained by a person skilled in the art without making any inventive effort falls within the scope of protection of the present application.
First, the terms related to the present application will be described:
(1) Graphic user interface
A graphical user interface is an interface display format in which a person communicates with a computer, allowing a user to manipulate icons, logos, or menu options on a screen using an input device such as a mouse or a keyboard, and also allowing a user to manipulate icons or menu options on a screen by performing a touch operation on a touch screen of a touch terminal to select a command, start a program, or perform some other task, etc.
(2) Target virtual character:
Refers to dynamic objects that can be controlled in a game scene. Alternatively, the dynamic object may be a virtual character, a virtual animal, a cartoon character, or the like. The virtual character is a character that a player controls through an input device (e.g., a terminal device), or is an artificial intelligence set in a virtual scene fight by training (ARTIFICIAL INTELLIGENCE, AI), or is a Non-player character set in a game scene fight (Non-PLAYER CHARACTER, NPC). Alternatively, the avatar may include a avatar that plays in the game scene. Optionally, the number of virtual characters in the game scene fight is preset, or is dynamically determined according to the number of clients joining the fight, which is not limited by the embodiment of the present application. In one possible implementation, a user can control a virtual character to move in the virtual scene, e.g., control the virtual character to run, jump, crawl, etc., as well as control the virtual character to fight other virtual characters using skills, virtual props, etc., provided by the application.
Next, the background technology of the present application is described:
During the game process, the player can track other virtual objects through controlling the target virtual object so that the player can attack or defend more effectively; or by defeating other virtual objects to obtain virtual props or game additions to better accomplish game tasks.
In the related art, a player may have a need to continuously track a plurality of virtual objects, after the player controls a target virtual object to finish the tracking process for the current tracked object, the player needs to enter a tracking setting interface through a related control in the interface, selects a virtual object to be continuously tracked through an object screening interface, and continuously tracks the virtual object, so that the operation steps of continuously tracking the virtual object by the selection are repeated and complicated, and the problem of lower tracking efficiency is caused.
Based on the above, the embodiment of the application provides a virtual object tracking method, which reduces the operation steps for continuously tracking the virtual object, and meets the tracking requirement of a to-be-completed tracking task while improving the tracking efficiency.
In an alternative embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud game. Taking cloud game as an example, cloud game refers to a game mode based on cloud computing. In the running mode of the cloud game, the running main body of the game program and the game picture presentation main body are separated, the storage and running of the tracking method of the virtual object are completed on the cloud game server, and the function of the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the cloud game server which performs information processing is a cloud. 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, codes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In an alternative embodiment, taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, may be rendered for display on a display screen of the terminal, or provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
In a possible implementation manner, the embodiment of the present invention provides a method for tracking a virtual object, and a graphical user interface is provided through a terminal device, where the terminal device may be the aforementioned local terminal device (such as a local touch terminal) or may be a client device in the aforementioned cloud interaction system. The following description will take the example that the above-mentioned virtual object tracking method is run in a local terminal device (hereinafter referred to as a terminal device).
Referring to fig. 1, fig. 1 is a flowchart of a method for tracking a virtual object according to an embodiment of the application. As shown in fig. 1, the method for tracking a virtual object provided by the embodiment of the present application includes:
and S101, responding to the end of the target virtual object tracking process for the first tracking object, and displaying a continuous tracking prompt identifier.
S102, responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object.
According to the virtual object tracking method provided by the embodiment of the application, after the target virtual object is determined to finish the tracking process of the first tracking object, the continuous tracking prompt identifier is displayed, the target virtual object is directly controlled to continuously track and determine the second tracking object which is matched with the target virtual object to be completed for tracking the task by triggering the continuous tracking event indicated by the continuous tracking prompt identifier, the operation steps of continuously tracking the virtual object are reduced, the tracking efficiency is improved, and the tracking requirement of the to-be-completed tracking task is met.
Exemplary steps of embodiments of the present application are described below:
and S101, responding to the end of the target virtual object tracking process for the first tracking object, and displaying a continuous tracking prompt identifier.
In the embodiment of the application, in the game, the player can track other virtual objects through controlling the target virtual object so that the player can attack or defend more effectively; or by defeating other virtual objects to obtain virtual props or game additions to better accomplish game tasks.
Illustratively, a player may acquire a virtual prop dropped by a target tracking object by tracking the target tracking object in a game, and synthesize the target prop by scraping the acquired virtual prop to assist in performing a game task with the target prop.
In one possible implementation manner, when the target virtual object tracks other tracking objects, and when the target virtual object determines to defeat the tracking object, the current tracking process is determined to be ended, and in order to better meet the game operation requirement of the player in the game process, the current tracking process can also be ended by canceling the operation, so that a tracking ending mode which is various and meets the requirement of the player is provided, and the improvement of the game richness and the man-machine interaction efficiency is facilitated.
Specifically, the step of responding to the end of the target virtual object tracking process for the first tracking object, displaying a tracking continuation prompt identifier includes:
a1: responding to the target virtual object to complete the tracking process of the first tracking object, and displaying a continuous tracking prompt identifier; or alternatively
A2: and responding to the target virtual object to cancel the tracking process of the first tracking object, and displaying the continuing tracking prompt identification.
In one possible implementation, the target virtual object completing the tracking process for the first tracked object may be that the target virtual object tracks to the first tracked object and defeats the first tracked object, while the entire process of obtaining the addition (attribute addition, or obtaining the prop that the first tracked object dropped) ends.
In one possible implementation, 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 when the target virtual object tracks the first tracking object.
In one possible embodiment, the player may cancel the tracking process of the target virtual object with respect to the first tracked object by the cancel operation to end the current tracking process with respect to the first tracked object.
In particular, the cancel operation may be performed by a trigger operation of a cancel control or a cancel response area presented in the graphical user interface.
In one possible implementation, the response range of the cancel control may be a response area; the cancel response area may be an area displayed in the graphical user interface, including a cancel control in the cancel response area. The display shape of the cancel response area may be a predetermined shape (rectangular, circular) or the like, or may be a shape that matches the shape of the cancel control.
In another possible implementation, the cancellation response area may also be an area hidden in the graphical user interface, where the cancellation control included in the cancellation response area may be displayed in the graphical user interface or hidden in the graphical user interface.
In any of the above display modes, the response range of the cancel response area is greater than or equal to the control response range of the cancel control, and the response range of the cancel response area may be preset in the game setting process, and may be, for example, the response range of the cancel response area within the preset range of the cancel control.
In one possible implementation, the triggering operation for the cancel control may be a touch operation for the cancel control or a click operation for the cancel control.
For example, when the terminal device is a mobile terminal, the trigger operation for the cancel control may be a touch operation (long press operation, click operation, or slide operation, etc.) for the cancel control; when the terminal device is a PC terminal, the triggering operation for the cancel control may be a click operation (by a click operation of a mouse, etc.) for the cancel control through an external input device.
Further, if it is determined that the tracking process of the current target virtual object with respect to the first tracking object is finished, the continuous tracking prompt identifier can be displayed in the graphical user interface, and the second tracking object can be rapidly and continuously tracked by triggering a continuous tracking event corresponding to the continuous tracking prompt identifier while displaying the current result of the continuous tracking prompt identifier with respect to the first tracking object, thereby being beneficial to improving the object tracking efficiency.
In one possible implementation, the presenting the tracking continuation prompt identifier may include presenting a prompt in which a tracking result of the first tracking object by the current target virtual object is presented.
For example, if the target virtual object defeats the first tracking object, a prompt message "the target virtual object defeats the first tracking object" may be displayed in the display prompt message; if the target virtual object cancels tracking the first tracking object, the prompt information of the target virtual object canceling the first tracking object can be displayed in the display prompt information.
In one possible implementation, the follow-up hint identification may be statically presented at a preset location of the graphical user interface; the graphical user interface can also be dynamically presented, with the presentation position in the graphical user interface changing as the presentation time changes.
In a possible implementation manner, in the display process of the continuous tracking prompt identifier, the second tracking object can be rapidly and continuously tracked directly through triggering of a continuous tracking event indicated by the continuous tracking prompt identifier, so that object tracking efficiency is improved.
S102, responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object.
In the embodiment of the application, the player can trigger the continuous tracking event by continuously tracking the prompt mark to trigger the operation, and further, the second tracking object is quickly tracked directly after the tracking process of the first tracking object is finished, so that the operation steps of tracking the object are simplified, and the tracking efficiency is further improved.
In the embodiment of the present application, different triggering modes exist for the continuous tracking events corresponding to different continuous tracking prompt identifiers, and the different triggering modes will be described below.
In one possible implementation, the presenting a follow-up cue identification includes a follow-up control; the step of responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identifier and determining a second tracking object based on the tracking task to be completed of the target virtual object includes:
b1: and in the display process of displaying the continuous tracking prompt identifier, responding to the triggering operation aiming at the continuous tracking control, and determining a second tracking object based on the tracking task to be completed of the target virtual object.
In a possible implementation manner, the tracking control and the presentation prompt information together form a presentation continuation tracking prompt identifier, and the presentation position of the tracking control in the graphical user interface may be consistent with the presentation position of the presentation prompt information in the graphical user interface, may be a preset position presented in the graphical user interface, or may be dynamically floating presented in the graphical user interface.
In another possible implementation manner, 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 is over for the tracking process of the first tracking object, the tracking control may be directly displayed in a preset display area of the graphical user interface, and the player determines the second tracking object directly through the triggering operation on the tracking control.
The triggering operation for the tracking control may be a touch operation for the tracking control or a click operation for the tracking control.
For example, when the terminal device is a mobile terminal, the triggering operation for the tracking control may be a touch operation (long press operation, click operation, or slide operation, etc.) for the tracking control; when the terminal device is a PC terminal, the triggering operation for the tracking control may be a click operation (by a click operation of a mouse, etc.) for the tracking control through an external input device.
In one possible implementation, the preset position of the trigger control may be a display indication information to prompt the player to continue the tracking operation through the trigger operation of the tracking control.
The indication information may be "Next" or "Next" information, for example.
Further, the tracking control may be an indication mark, and the player may determine the second tracking object through a triggering operation for the indication mark, so as to continue tracking the second tracking object.
In another possible implementation manner, if it is determined that the current tracking continuing prompt identifier only displays the presentation prompt information, the player may issue the tracking continuing instruction through the tracking continuing gesture during the display process of the tracking continuing prompt identifier.
Specifically, the display continuation tracking prompt identifier comprises display prompt information; the step of responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identifier and determining a second tracking object based on the tracking task to be completed of the target virtual object includes:
c1: and in the display process of the display continuing tracking prompt identifier, responding to the player issuing a continuing tracking gesture, and determining a second tracking object based on the tracking task to be completed of the target virtual object.
In the embodiment of the application, during the presentation process of presenting the continuous tracking prompt identifier, a player gesture image of a player can be acquired through a camera device of the terminal device, and the continuous tracking gesture is identified from the player gesture image.
Specifically, the method may be that a real environment image in which a player is located is collected according to an image capturing device of a terminal device, a player gesture image containing hand information of the player is cut out from the real environment image, and a continuous tracking gesture is identified from the player gesture image through an image identification technology.
In one possible implementation manner, specific gesture information of the continuous tracking gesture may be notified in a game description before the player enters the game, and after the continuous tracking gesture is identified from the collected gesture image of the player through the image identification technology, it is determined that the player issues a continuous tracking instruction, and then a process of determining the second tracking object is directly executed, so that the screened second tracking object is tracked.
In summary, after the target virtual object finishes the tracking process of the first tracking object, the player can issue the instruction to continue tracking through different modes, and the player can select the current most convenient mode to issue the instruction to continue tracking, which is beneficial to improving the game richness and the man-machine interaction efficiency.
Further, after determining that the player issues the tracking continuing instruction, the second tracking object may be directly screened out for tracking, and a screening process of the second tracking object will be described below.
Specifically, the step of determining a second tracking object based on the tracking task to be completed by the target virtual object includes:
d1: and determining at least one object to be tracked, object attributes of each object to be tracked and tracking sequence of each object to be tracked, which are included in the tracking task, based on the tracking task to be completed by the target virtual object.
D2: the second tracking object is determined based on the object attribute of each object to be tracked or the tracking order of the respective objects to be tracked.
In the embodiment of the application, after the target virtual object is determined to finish the tracking process of the first tracking object, the determination mode of the second tracking object is determined according to the tracking task to be completed of the target virtual object, and the determined second tracking object can be enabled to better meet the tracking requirement of the player through the second tracking object determined according to the tracking task to be completed, so that the game experience feeling and the man-machine interaction efficiency of the player are facilitated.
In one possible implementation, if the determination of the second tracking object requires that the target virtual object is determined first, the determination of the target virtual object is described below.
Specifically, the tracking task to be completed by the target virtual object is determined by the following steps:
e1: and determining object attributes of a first tracking object based on the first tracking object of the target virtual object tracked in the attack mode.
E2: the tracking task is determined based on the object properties of the first tracking object, the association between the first tracking object and other tracking objects.
In the embodiment of the application, the game scene can be a game based on a geographic position through combining a global positioning system and a position service (Location Based Services, lbs) game, wherein in the lbs game, the real world and the virtual world are fused, so that players experience the fun of the virtual world in the real world. For example, the real world where the mobile terminal controlling the target virtual object is located can be converted into a map scene in the game based on the mobile terminal positioning function, and the target virtual object is controlled to correspondingly move in the map scene through the movement of the mobile terminal in the real world so as to control the target virtual object to complete the virtual interaction behavior associated with the virtual position.
Specifically, in the lbs game, a walking mode in which a mapping relationship exists between the movement of a target virtual object in a map scene and the movement of a mobile terminal for controlling the target virtual object in the real world, and a non-walking mode (attack mode) in which the movement of the target virtual object in the map scene is controlled based on the movement information of the mobile terminal in the real world, so that in the walking mode, the target virtual object defeats or encounters a tracking object with a certain randomness, and in the walking mode, a task to be completed by the target virtual object cannot be predicted; in the non-walking mode (attack mode), the target virtual object attacks or other tracked virtual objects are performed through the movement instruction and the attack instruction issued by the player, the task intention of the current player can be analyzed through the movement instruction and the attack instruction issued by the player, and further the tracking task to be completed by the target virtual object is determined, so that the tracking task to be completed by the target virtual object needs to be determined in the non-walking mode (attack mode).
In one possible implementation, the tracking task may be determined according to an object attribute of a first tracking object of the tracking of the target virtual object in the attack mode and an association between the first tracking object and other tracking objects. Here, the object attribute of the first tracking object includes, but is not limited to, an object type of the first tracking object, and a prop type of a virtual prop 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 attribute of the other tracking objects.
In another possible implementation manner, the tracking task to be completed by the target virtual object may also be determined by a task to which the target virtual object is allocated or a task that the target virtual object is picked up during the game, for example, during the game, the target virtual object is allocated to a task that in turn defeats multiple kinds, where the allocated task may be determined as the tracking task to be completed by the target virtual object.
In another possible implementation manner, the tracking task to be completed by the target virtual object may be further determined according to the object attribute of the first tracking object and the historical game operation information of the player, which is exemplified by determining that the object attribute of the first tracking object is an attribute a, and determining that the player continues to defeat the virtual object of the attribute B multiple times after defeating the virtual object of the attribute a according to the historical game operation information of the player, so that an association relationship exists between the virtual object of the attribute a and the virtual object of the attribute B, and based on this, the virtual object of the attribute a can be defeated first and then the virtual object of the attribute B can be determined as the tracking task to be completed by the target virtual object.
Further, if the virtual prop falling after the first tracking object is defeated needs to be combined into a usable target prop by the virtual props falling after the other tracking objects of the same object type are defeated, the tracking task is to track the tracking object with the same attribute at the moment; if the virtual prop falling after the first tracking object is defeated needs to be combined with the virtual props falling from other tracking objects in sequence to form a usable target prop, then the tracking task tracks a plurality of tracking objects in sequence, and the mode of determining the second tracking object under different tracking tasks is described below.
In one possible implementation, if the to-be-completed tracking task indicates to track the tracking object with the same attribute, the second tracking object is determined by the following steps:
f1: a target object attribute of the first tracked object is determined.
F2: at least one candidate tracked object is determined that is consistent with the target object attribute of the first tracked object based on the object attribute of each object to be tracked.
F3: and 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 between the candidate tracking object and the current position of the target virtual object as the second tracking object.
In the embodiment of the application, if the tracking task to be completed is determined to be the tracking object with the same attribute, the target object attribute of the first tracking object is determined after the target virtual object is determined to finish the tracking process of the first tracking object, wherein the target object attribute refers to the object type of the first tracking object and/or the virtual prop which can be obtained after the first tracking object is defeated.
Further, at least one candidate tracking object consistent with the target object attribute of the first tracking object is selected from the game scene according to the target object attribute of the first tracking object, and if only one candidate tracking object consistent with the target object attribute of the first tracking object exists currently, the unique candidate tracking object is directly determined as a second tracking object; if more than one candidate tracking object consistent with the target object attribute of the first tracking object exists currently, the second tracking object can be determined through the distance between each candidate virtual object and the target virtual object.
Specifically, determining a distance between the current position of each candidate tracking object and the current position of the target virtual object, and further determining the candidate tracking object closest to the target virtual object (the distance between the candidate tracking object and the current position of the target virtual object is the smallest) as a second tracking object; if at least two candidate tracking objects with the same distance with the current position of the target virtual object exist, the candidate tracking objects which are more in line with the tracking habit of the player can be determined to be the second tracking objects according to the historical operation data of the player.
In one possible implementation manner, if there is more than one candidate tracking object consistent with the target object attribute of the first tracking object currently, the player may also intervene in the determination process of the second tracking object, that is, all candidate tracking objects may be displayed in the gui (for example, may be displayed in a list form), and then the second tracking object is determined through the selection operation of the player with respect to the second tracking object.
In another possible implementation manner, if the to-be-completed tracking task indicates that a plurality of tracking objects are tracked sequentially, the second tracking object is determined by the following steps:
g1: and determining the tracking sequence among each object to be tracked in the tracking task to be completed, and determining the object to be tracked, which is positioned behind the first tracking object and is adjacent to the tracking sequence of the first tracking object, as the second tracking object.
In the embodiment of the application, the tracking sequence of each object to be tracked in the tracking task is determined according to the tracking task, meanwhile, the sequence of the first tracking object in the tracking task is determined, the tracking sequence is positioned behind the first tracking object, and the object to be tracked adjacent to the tracking sequence of the first tracking object is determined as the second tracking object.
In one possible implementation, the determination of the tracking order between each object to be tracked may be determined from the object properties of the object to be tracked.
For example, the tracking task is to track the tracking object with the object attribute of a, the tracking object with the object attribute of B, the tracking object with the object attribute of C, and the tracking object with the object attribute of D sequentially, and then track the tracking object with the object attribute of B, which is located in the sequence of the tracking object with the object attribute of B and adjacent to the tracking object with the object attribute of B, and the tracking object with the object attribute of C, which is the second tracking object.
In one possible implementation manner, if the tracking order is located after the first tracking object and the object to be tracked adjacent to the tracking order of the first tracking object is more than one object, similarly, the candidate tracking object closest to the target virtual object (the distance between the candidate tracking object and the current position of the target virtual object is the smallest) may be determined as the second tracking object according to the distance between each object to be tracked and the target virtual object; if at least two candidate tracking objects with the same distance with the current position of the target virtual object exist, the candidate tracking objects which are more in line with the tracking habit of the player can be determined to be the second tracking objects according to the historical operation data of the player.
Further, in order that the player can determine the position of the second tracking object more clearly, the object prompt information may be displayed at the position of the second tracking object after the second tracking object is determined.
Specifically, after determining a second tracking object based on the tracking task to be completed of the target virtual object in response to the trigger for the continue tracking event indicated by the continue tracking hint identifier in step "the tracking method further includes:
h1: and controlling the target virtual object to face the second tracking object, and displaying object prompt information at the position of the second tracking object.
The object prompt information comprises a prompt special effect and a distance between the position of the second tracking object and the position of the target virtual object.
In one possible implementation, to display the second tracking object in the graphical user interface, the virtual camera may be adjusted, and the virtual camera is oriented to the position of the second tracking object, and then object prompt information is displayed at the position of the second tracking object.
In a possible implementation manner, the prompt special effect may be a special effect displayed at the position of the second tracking object, for example, may be a light pole special effect, or the position of the second tracking object is highlighted, and at the same time, the distance between the position of the second tracking object and the position of the target virtual object is displayed through numbers at the position of the second tracking object.
In another possible implementation manner, the tracking guide identifier may also be displayed at the position of the target virtual object, so as to indicate the tracking direction of the target virtual object to track the second tracking object.
Specifically, after determining a second tracking object based on the tracking task to be completed of the target virtual object in response to the trigger for the continue tracking event indicated by the continue tracking hint identifier in step "the tracking method further includes:
i1: and displaying a tracking guide identifier at the position of the target virtual object, wherein the tracking guide identifier points to the position of the second tracking object.
In one possible implementation, the display position of the tracking guide identifier may be "under foot" of the target virtual object, and the display form of the tracking guide identifier may be an arrow pointing to the position of the second tracking object.
In one possible implementation manner, the display continuation tracking prompt identifier is not always displayed in the graphical user interface, and has a preset display time, and in the display process of the continuation tracking prompt identifier, the operation of quickly tracking the second tracking object can be triggered to quickly track the second tracking object, and after the preset display time, the display identifier of the continuation tracking prompt identifier is cancelled.
Specifically, after the step of "responding to the end of the target virtual object tracking process for the first tracking object, and displaying the tracking continuation prompt identifier", the tracking method further includes:
j1: after the preset display time, canceling the display and continuing to track the prompt identifier.
In one possible implementation, the preset presentation time may be an autonomous setting by the system, or may be determined for the continuous tracking prompt identifier dynamically presented in the gui according to the movement speed of the continuous tracking prompt identifier in the gui and the preset movement distance.
For example, for the continuous tracking prompt identifier dynamically displayed on the graphical user interface, the 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, and then the preset display time is determined according to the preset moving speed.
In one possible implementation manner, if the player does not inadvertently trigger the continuing tracking prompt identifier presentation process, at this time, the player may choose not to do any operation in the continuing tracking prompt identifier presentation process, wait for the ending of the continuing tracking prompt identifier presentation, and may also end the presentation process for the continuing tracking prompt identifier by canceling the identifier presentation operation.
Specifically, in response to the presentation cancellation operation, the presentation continuation tracking hint identification is cancelled.
In one possible implementation, the presentation cancellation operation may be performed by a trigger operation of a presentation cancellation control or a presentation cancellation response area presented in a graphical user interface.
Likewise, the triggering operation for the show cancel control may be a touch operation for the show cancel control or a click operation for the show cancel control.
For example, when the terminal device is a mobile terminal, the triggering operation for the display cancellation control may be a touch operation (long press operation, click operation, or slide operation, etc.) for the display cancellation control; when the terminal device is a PC end, the triggering operation for the display cancellation control may be a click operation (by a click operation of a mouse, etc.) for the display cancellation control through an external input device.
Further, after the display continuation tracking prompt identifier is cancelled, if the player needs to trigger the tracking operation again, the player needs to select the tracking object step by step according to the step to select.
Specifically, after the step of "cancel the presentation continuation tracking hint flag after the preset presentation time", the tracking method further includes:
k1: responding to the trigger of the tracking event, and displaying a two-dimensional map interface; wherein the two-dimensional map interface comprises a screening control.
K2: and responding to the triggering operation aiming at the screening control, and displaying an object selection interface to be tracked.
And k3: and responding to the selection operation in the object selection interface to be tracked, determining a third tracking object, and controlling the target virtual object to track the third tracking object.
In the embodiment of the application, the triggering aiming at the tracking event can be through the triggering operation of the map control in the graphical user interface, after the triggering of the tracking event is determined, the two-dimensional map interface is displayed, the screening control is displayed in the two-dimensional map interface, and the object selection interface to be tracked is displayed in the two-dimensional map interface through the triggering operation aiming at the screening control.
Further, object identifiers of a plurality of objects to be tracked are displayed in the object selection interface to be tracked, a third tracking object is determined through selection operation of the object identifiers of the objects to be tracked in the object selection interface to be tracked, 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, the triggering operation of the tracking control is responded, the object prompt information is returned to the graphical user interface, further object prompt information is displayed at the position of the third tracking object in the graphical user interface, meanwhile, tracking guide identifiers pointing to the position of the third tracking object are displayed at the position of the target virtual object, and the target virtual object is controlled to track the third tracking object.
The following describes, by way of specific example, a tracking process of a virtual object in an embodiment of the present application:
Referring to fig. 2, fig. 2 is a schematic diagram of a gui provided by an embodiment of the present application, as shown in fig. 2, in the gui 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 identifier 220 is displayed in the gui 200, the continue tracking prompt identifier 220 includes a continue tracking control 221 and a display prompt 222, and a prompt "the target virtual object defeats the first tracking object" is displayed in the display prompt 222.
Further, referring to fig. 3, fig. 3 is a schematic diagram of a graphical user interface provided by an embodiment of the present application, as shown in fig. 3, if a trigger operation for a continuing tracking prompt identifier is received during the continuing tracking prompt identifier display process, determining a second tracking object, displaying the second tracking object 230 in the graphical user interface 200, and simultaneously displaying a first prompt special effect 231 at a location of the second tracking object 230 and a first distance prompt information 232 for displaying a distance between the location of the second tracking object and a location of a target virtual object; and a first tracking guide identifier 240 pointing to the location of the second tracking object 230 is shown at the location of the target virtual object 210.
Further, referring to fig. 4 to 5, fig. 4 is a third schematic diagram of the gui provided by the embodiment of the present application, and fig. 5 is one schematic diagram of the two-dimensional map interface provided by the embodiment of the present application, as shown in fig. 4, if the display of the tracking prompt identifier is completed, the two-dimensional map interface 500 is displayed in response to the triggering operation of the tracking control 250 in the gui 200; as shown in fig. 5, a two-dimensional map interface 500 includes a screen control 510, and a player can select a tracking object by a trigger operation on the screen control 510.
Further, referring to fig. 6, fig. 6 is a schematic diagram of a two-dimensional map interface provided by the embodiment of the present application, as shown in fig. 6, in response to a triggering operation for a screening control, an object selection interface 520 to be tracked is displayed, an object identifier 530 of a plurality of objects to be tracked is included in the object selection interface 520 to be tracked, and a player can select a third tracking object through a selection operation for the object identifiers 530 of the plurality of objects to be tracked.
Further, referring to fig. 7, fig. 7 is a schematic diagram of a three-dimensional map interface provided by an embodiment of the present application, as shown in fig. 7, in response to a selection operation of a target object in object identifiers of a plurality of objects to be tracked, an object detail information interface 540 is displayed, and a third tracked object is determined by a triggering operation of a tracking control 541 in the object detail information interface 540.
Further, referring to fig. 8, fig. 8 is a schematic diagram of a graphical user interface provided by the embodiment of the present application, as shown in fig. 8, after determining a third tracking object, displaying the third tracking object 260 in the graphical user interface 200, and simultaneously displaying a second prompt special effect 261 at the position of the third tracking object 260 and a second distance prompt information 262 for displaying a distance between the position of the third tracking object and the position of the target virtual object; and a second tracking guide identifier 270 pointing to the location of the third tracking object 260 is shown at the location of the target virtual object 210.
According to the virtual object tracking method provided by the embodiment of the application, the continuous tracking prompt identification is displayed in response to the end of the target virtual object to the first tracking object tracking process; and responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object. Therefore, after the target virtual object is determined to finish the tracking process of the first tracking object, the continuous tracking prompt identifier is displayed, the target virtual object is directly controlled to continuously track and determine the second tracking object which is matched with the target virtual object to be completed and is used for tracking the tracking task, the operation steps of continuously tracking the virtual object are reduced, the tracking efficiency is improved, and meanwhile, the tracking requirement of the to-be-completed tracking task is met.
Based on the same inventive concept, the embodiment of the present application further provides a virtual object tracking device corresponding to the virtual object tracking method, and since the principle of solving the problem of the device in the embodiment of the present application is similar to that of the virtual object tracking method in the embodiment of the present disclosure, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a virtual object tracking device according to an embodiment of the application. As shown in fig. 9, the tracking device 900 includes:
The identifier display module 910 is configured to respond to the end of the tracking process of the target virtual object on the first tracking object, and display a continuous tracking prompt identifier;
the object tracking module 920 is configured to 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 in response to the trigger of the continue tracking event indicated by the continue tracking hint identifier.
In one possible implementation, the identifier presentation module 910 is configured, when configured to present a tracking continuation hint identifier in response to the end of the target virtual object tracking process for the first tracking object, to:
responding to the target virtual object to complete the tracking process of the first tracking object, and displaying a continuous tracking prompt identifier; or alternatively
And responding to the target virtual object to cancel the tracking process of the first tracking object, and displaying the continuing tracking prompt identification.
In one possible implementation, the presenting a follow-up cue identification includes a follow-up control; the object tracking module 920 is configured, in response to a trigger for a continue tracking event indicated by the continue tracking hint identifier, when determining a second tracking object based on a tracking task to be completed by the target virtual object, the object tracking module 920 is configured to:
And in the display process of displaying the continuous tracking prompt identifier, responding to the triggering operation aiming at the continuous tracking control, and determining a second tracking object based on the tracking task to be completed of the target virtual object.
In one possible implementation, the presenting a continuation tracking prompt identifier includes presenting a prompt message; the object tracking module 920 is configured, in response to a trigger for a continue tracking event indicated by the continue tracking hint identifier, when determining a second tracking object based on a tracking task to be completed by the target virtual object, the object tracking module 920 is configured to:
And in the display process of the display continuing tracking prompt identifier, responding to the player issuing a continuing tracking gesture, and determining a second tracking object based on the tracking task to be completed of the target virtual object.
In one possible implementation, the object tracking module 920 is configured, when configured to determine a second tracking object based on the tracking task to be completed by the target virtual object, to:
Determining at least one object to be tracked, object attributes of each object to be tracked and tracking sequence of each object to be tracked, which are included in the tracking task, based on the tracking task to be completed by the target virtual object;
the second tracking object is determined based on the object attribute of each object to be tracked or the tracking order of the respective objects to be tracked.
In one possible implementation, if the to-be-completed tracking task indicates that the tracking object with the same attribute is tracked, the object tracking module 920 is configured to determine the second tracking object by:
Determining a target object attribute of the first tracking object;
determining at least one candidate tracking object consistent with the target object attribute of the first tracking object based on the object attribute of each object to be tracked;
And 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 between the candidate tracking object and the current position of the target virtual object as the second tracking object.
In one possible implementation, if the to-be-completed tracking task indicates that a plurality of tracking objects are tracked sequentially, the object tracking module 920 is configured to determine the second tracking object by:
And determining the tracking sequence among each object to be tracked in the tracking task to be completed, and determining the object to be tracked, which is positioned behind the first tracking object and is adjacent to the tracking sequence of the first tracking object, as the second tracking object.
In a possible implementation manner, the tracking device 900 further includes a task determining module (not shown in the figure), where the task determining module is configured to determine a tracking task to be completed by the target virtual object by:
Determining an object attribute of a first tracking object based on the first tracking object tracked by the target virtual object in an attack mode;
The tracking task is determined based on the object properties of the first tracking object, the association between the first tracking object and other tracking objects.
In one possible implementation, the tracking device 900 further includes an object hint information display module (not shown in the figure), where the object hint information display module is configured to:
Controlling the target virtual object to face the second tracking object, and displaying object prompt information at the position of the second tracking object;
The object prompt information comprises a prompt special effect and a distance between the position of the second tracking object and the position of the target virtual object.
In one possible implementation, the tracking device 900 further includes a guide identifier display module (not shown in the figure) for:
And displaying a tracking guide identifier at the position of the target virtual object, wherein the tracking guide identifier points to the position of the second tracking object.
In one possible implementation, the tracking device 900 further includes an identification cancellation module (not shown in the figure) for:
after the preset display time, canceling the display and continuing to track the prompt identifier.
In a possible implementation manner, the tracking device 900 further includes an object filtering tracking module (not shown in the figure), where the object filtering tracking module is configured to:
responding to the trigger of the tracking event, and displaying a two-dimensional map interface; wherein the two-dimensional map interface comprises a screening control;
Responding to the triggering operation aiming at the screening control, and displaying an object selection interface to be tracked;
And responding to the selection operation in the object selection interface to be tracked, determining a third tracking object, and controlling the target virtual object to track the third tracking object.
The virtual object tracking device provided by the embodiment of the application responds to the end of the target virtual object tracking process for the first tracking object, and displays the continuous tracking prompt identifier; and responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object. Therefore, after the target virtual object is determined to finish the tracking process of the first tracking object, the continuous tracking prompt identifier is displayed, the target virtual object is directly controlled to continuously track and determine the second tracking object which is matched with the target virtual object to be completed and is used for tracking the tracking task, the operation steps of continuously tracking the virtual object are reduced, the tracking efficiency is improved, and meanwhile, the tracking requirement of the to-be-completed tracking task is met.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the application. As shown in fig. 10, the electronic device 1000 includes a processor 1010, a memory 1020, and a bus 1030.
The memory 1020 stores machine readable instructions executable by the processor 1010, which when the electronic device 1000 is running, communicate between the processor 1010 and the memory 1020 over the bus 1030, such that the processor 1010 performs the following instructions when running:
responding to the end of the target virtual object to the first tracking object tracking process, and displaying a continuous tracking prompt identifier;
And responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object.
In a possible implementation manner, in the instructions executed by the processor 1010, the presenting a tracking continuation hint identifier in response to the end of the tracking process of the target virtual object for the first tracking object includes:
responding to the target virtual object to complete the tracking process of the first tracking object, and displaying a continuous tracking prompt identifier; or alternatively
And responding to the target virtual object to cancel the tracking process of the first tracking object, and displaying the continuing tracking prompt identification.
In a possible implementation manner, the presenting the continuous tracking prompt identifier includes a continuous tracking control; in the instructions executed by the processor 1010, the determining, in response to the trigger of the continue tracking event indicated by the continue tracking hint identifier, a second tracking object based on the tracking task to be completed by the target virtual object includes:
And in the display process of displaying the continuous tracking prompt identifier, responding to the triggering operation aiming at the continuous tracking control, and determining a second tracking object based on the tracking task to be completed of the target virtual object.
In a possible implementation manner, the display continuation tracking prompt identifier includes display prompt information; in the instructions executed by the processor 1010, the determining, in response to the trigger of the continue tracking event indicated by the continue tracking hint identifier, a second tracking object based on the tracking task to be completed by the target virtual object includes:
And in the display process of the display continuing tracking prompt identifier, responding to the player issuing a continuing tracking gesture, and determining a second tracking object based on the tracking task to be completed of the target virtual object.
In a possible implementation manner, in the instructions executed by the processor 1010, the determining, based on the tracking task to be completed by the target virtual object, a second tracking object includes:
Determining at least one object to be tracked, object attributes of each object to be tracked and tracking sequence of each object to be tracked, which are included in the tracking task, based on the tracking task to be completed by the target virtual object;
the second tracking object is determined based on the object attribute of each object to be tracked or the tracking order of the respective objects to be tracked.
In a possible implementation manner, if the to-be-completed tracking task indicates that the tracking object with the same attribute is tracked, the processor 1010 determines the second tracking object by following steps in the instructions executed by the processor:
Determining a target object attribute of the first tracking object;
determining at least one candidate tracking object consistent with the target object attribute of the first tracking object based on the object attribute of each object to be tracked;
And 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 between the candidate tracking object and the current position of the target virtual object as the second tracking object.
In a possible implementation manner, if the to-be-completed tracking task indicates that a plurality of tracking objects are tracked sequentially, the processor 1010 determines the second tracking object by following steps in the instructions executed by the processor:
And determining the tracking sequence among each object to be tracked in the tracking task to be completed, and determining the object to be tracked, which is positioned behind the first tracking object and is adjacent to the tracking sequence of the first tracking object, as the second tracking object.
In a possible implementation manner, the tracking task to be completed by the target virtual object is determined by the following steps in the instructions executed by the processor 1010:
Determining an object attribute of a first tracking object based on the first tracking object tracked by the target virtual object in an attack mode;
The tracking task is determined based on the object properties of the first tracking object, the association between the first tracking object and other tracking objects.
In a possible implementation manner, the instructions executed by the processor 1010 further include:
Controlling the target virtual object to face the second tracking object, and displaying object prompt information at the position of the second tracking object;
The object prompt information comprises a prompt special effect and a distance between the position of the second tracking object and the position of the target virtual object.
In a possible implementation manner, the instructions executed by the processor 1010 further include:
And displaying a tracking guide identifier at the position of the target virtual object, wherein the tracking guide identifier points to the position of the second tracking object.
In a possible implementation manner, the instructions executed by the processor 1010 further include:
after the preset display time, canceling the display and continuing to track the prompt identifier.
In one possible implementation, the processor 1010 executes instructions to present a two-dimensional map interface in response to a trigger to track an event; wherein the two-dimensional map interface comprises a screening control;
Responding to the triggering operation aiming at the screening control, and displaying an object selection interface to be tracked;
And responding to the selection operation in the object selection interface to be tracked, determining a third tracking object, and controlling the target virtual object to track the third tracking object.
By the method, after the target virtual object is determined to finish the tracking process of the first tracking object, the continuous tracking prompt identifier is displayed, the target virtual object is directly controlled to continuously track and determine the second tracking object which is matched with the target virtual object to be completed for tracking the task, the operation steps of continuously tracking the virtual object are reduced, the tracking efficiency is improved, and meanwhile, the tracking requirement of the to-be-completed tracking task is met. Meanwhile, various tracking ending modes meeting the requirements of players are provided, and the game richness and the man-machine interaction efficiency are improved. Meanwhile, the player can give the instruction of continuing to track through different modes, and the player can select the current most convenient mode to give the instruction of continuing to track, so that the game richness and the man-machine interaction efficiency are improved.
Embodiments of the present application also provide a computer-readable storage medium having a computer program stored thereon, such that the computer program, when executed by a processor, performs the following instructions:
responding to the end of the target virtual object to the first tracking object tracking process, and displaying a continuous tracking prompt identifier;
And responding to the trigger of the continuous tracking event indicated by the continuous tracking prompt identification, determining a second tracking object based on the tracking task to be completed of the target virtual object, and controlling the target virtual object to track the second tracking object.
In a possible implementation manner, in the instructions executed by the computer readable storage medium, the presenting the tracking continuation prompt identifier in response to the end of the tracking process of the target virtual object for the first tracking object includes:
responding to the target virtual object to complete the tracking process of the first tracking object, and displaying a continuous tracking prompt identifier; or alternatively
And responding to the target virtual object to cancel the tracking process of the first tracking object, and displaying the continuing tracking prompt identification.
In a possible implementation manner, the presenting the continuous tracking prompt identifier includes a continuous tracking control; in the instructions executed by the computer-readable storage medium, the determining, in response to the trigger for the continue tracking event indicated by the continue tracking hint identifier, a second tracking object based on the tracking task to be completed by the target virtual object includes:
And in the display process of displaying the continuous tracking prompt identifier, responding to the triggering operation aiming at the continuous tracking control, and determining a second tracking object based on the tracking task to be completed of the target virtual object.
In a possible implementation manner, the display continuation tracking prompt identifier includes display prompt information; in the instructions executed by the computer-readable storage medium, the determining, in response to the trigger for the continue tracking event indicated by the continue tracking hint identifier, a second tracking object based on the tracking task to be completed by the target virtual object includes:
And in the display process of the display continuing tracking prompt identifier, responding to the player issuing a continuing tracking gesture, and determining a second tracking object based on the tracking task to be completed of the target virtual object.
In a possible implementation manner, in the instructions executed by the computer-readable storage medium, the determining, based on the tracking task to be completed by the target virtual object, a second tracking object includes:
Determining at least one object to be tracked, object attributes of each object to be tracked and tracking sequence of each object to be tracked, which are included in the tracking task, based on the tracking task to be completed by the target virtual object;
the second tracking object is determined based on the object attribute of each object to be tracked or the tracking order of the respective objects to be tracked.
In a possible implementation manner, if the to-be-completed tracking task indicates to track the tracking object with the same attribute, the second tracking object is determined by the following steps in the instructions executed by the processor 1010 in the instructions executed by the computer readable storage medium:
Determining a target object attribute of the first tracking object;
determining at least one candidate tracking object consistent with the target object attribute of the first tracking object based on the object attribute of each object to be tracked;
And 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 between the candidate tracking object and the current position of the target virtual object as the second tracking object.
In a possible implementation manner, if the to-be-completed tracking task indicates that a plurality of tracking objects are tracked sequentially, the computer-readable storage medium executes instructions to determine the second tracking object by:
And determining the tracking sequence among each object to be tracked in the tracking task to be completed, and determining the object to be tracked, which is positioned behind the first tracking object and is adjacent to the tracking sequence of the first tracking object, as the second tracking object.
In a possible implementation manner, the tracking task to be completed by the target virtual object is determined by the following steps in instructions executed by a computer readable storage medium:
Determining an object attribute of a first tracking object based on the first tracking object tracked by the target virtual object in an attack mode;
The tracking task is determined based on the object properties of the first tracking object, the association between the first tracking object and other tracking objects.
In a possible implementation manner, the instructions executed by the computer-readable storage medium further include:
Controlling the target virtual object to face the second tracking object, and displaying object prompt information at the position of the second tracking object;
The object prompt information comprises a prompt special effect and a distance between the position of the second tracking object and the position of the target virtual object.
In a possible implementation manner, the instructions executed by the computer-readable storage medium further include:
And displaying a tracking guide identifier at the position of the target virtual object, wherein the tracking guide identifier points to the position of the second tracking object.
In a possible implementation manner, the instructions executed by the computer-readable storage medium further include:
after the preset display time, canceling the display and continuing to track the prompt identifier.
In one possible implementation, in instructions executed by a computer-readable storage medium, in response to a trigger to track an event, a two-dimensional map interface is presented; wherein the two-dimensional map interface comprises a screening control;
Responding to the triggering operation aiming at the screening control, and displaying an object selection interface to be tracked;
And responding to the selection operation in the object selection interface to be tracked, determining a third tracking object, and controlling the target virtual object to track the third tracking object.
By the method, after the target virtual object is determined to finish the tracking process of the first tracking object, the continuous tracking prompt identifier is displayed, the target virtual object is directly controlled to continuously track and determine the second tracking object which is matched with the target virtual object to be completed for tracking the task, the operation steps of continuously tracking the virtual object are reduced, the tracking efficiency is improved, and meanwhile, the tracking requirement of the to-be-completed tracking task is met. Meanwhile, various tracking ending modes meeting the requirements of players are provided, and the game richness and the man-machine interaction efficiency are improved. Meanwhile, the player can give the instruction of continuing to track through different modes, and the player can select the current most convenient mode to give the instruction of continuing to track, so that the game richness and the man-machine interaction efficiency are improved.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of 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.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present application, and are not intended to limit the scope of the present application, but it should be understood by those skilled in the art that the present application is not limited thereto, and that the present application is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (15)

Translated fromChinese
1.一种虚拟对象的追踪方法,其特征在于,通过终端设备提供一图形用户界面,在所述图形用户界面上显示至少部分游戏场景;所述游戏场景中包括通过所述终端设备控制的目标虚拟对象;所述追踪方法包括:1. A method for tracking a virtual object, characterized in that a graphical user interface is provided by a terminal device, and at least a part 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 comprises:响应所述目标虚拟对象对于第一追踪对象追踪过程的结束,展示继续追踪提示标识;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.根据权利要求1所述的追踪方法,其特征在于,所述响应所述目标虚拟对象对于第一追踪对象追踪过程的结束,展示继续追踪提示标识,包括:2. The tracking method according to claim 1, wherein the step of displaying a continuing tracking prompt icon in response to the target virtual object completing the tracking process of the first tracking object comprises:响应所述目标虚拟对象完成对于第一追踪对象追踪过程,展示继续追踪提示标识;或者,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.根据权利要求1所述的追踪方法,其特征在于,所述展示继续追踪提示标识包括继续追踪控件;所述响应针对于所述继续追踪提示标识指示的继续追踪事件的触发,基于所述目标虚拟对象待完成的追踪任务确定第二追踪对象,包括:3. The tracking method according to claim 1, wherein the displaying of the continuing tracking prompt identifier comprises a continuing tracking control; 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, comprises:在所述展示继续追踪提示标识的展示过程中,响应针对于所述继续追踪控件的触发操作,基于所述目标虚拟对象待完成的追踪任务确定第二追踪对象。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.根据权利要求1所述的追踪方法,其特征在于,所述展示继续追踪提示标识包括展示提示信息;所述响应针对于所述继续追踪提示标识指示的继续追踪事件的触发,基于所述目标虚拟对象待完成的追踪任务确定第二追踪对象,包括:4. The tracking method according to claim 1, wherein the displaying of the continuing tracking prompt identifier comprises 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, comprises:在所述展示继续追踪提示标识的展示过程中,响应于玩家下达继续追踪手势,基于所述目标虚拟对象待完成的追踪任务确定第二追踪对象。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.根据权利要求1所述的追踪方法,其特征在于,所述基于所述目标虚拟对象待完成的追踪任务确定第二追踪对象,包括:5. The tracking method according to claim 1, wherein determining the second tracking object based on the tracking task to be completed by the target virtual object comprises:基于所述目标虚拟对象待完成的追踪任务,确定所述追踪任务中包括的至少一个待追踪对象、每一个待追踪对象的对象属性以及各个待追踪对象的追踪顺序;Based on the tracking task to be completed by the target virtual object, determining 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;基于每一个待追踪对象的对象属性或者各个待追踪对象的追踪顺序,确定所述第二追踪对象。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.根据权利要求5所述的追踪方法,其特征在于,若所述待完成的追踪任务指示追踪同一属性的追踪对象,通过以下步骤确定所述第二追踪对象: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.根据权利要求5所述的追踪方法,其特征在于,若所述待完成的追踪任务指示依次追踪多个的追踪对象,通过以下步骤确定所述第二追踪对象:7. The tracking method according to claim 5, wherein 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:确定在所述待完成的追踪任务中每一个待追踪对象之间的追踪顺序,将追踪顺序位于所述第一追踪对象之后,且与所述第一追踪对象的追踪顺序相邻的待追踪对象,确定为所述第二追踪对象。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.根据权利要求1所述的追踪方法,其特征在于,通过以下步骤确定所述目标虚拟对象待完成的追踪任务: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.根据权利要求1所述的追踪方法,其特征在于,在所述响应针对于所述继续追踪提示标识指示的继续追踪事件的触发,基于所述目标虚拟对象待完成的追踪任务确定第二追踪对象之后,所述追踪方法还包括: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 continue tracking event indicated by the continue tracking prompt indicator, the tracking method further comprises:控制所述目标虚拟对象朝向所述第二追踪对象,在所述第二追踪对象所在位置展示对象提示信息;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.根据权利要求1所述的追踪方法,其特征在于,在所述响应针对于所述继续追踪提示标识指示的继续追踪事件的触发,基于所述目标虚拟对象待完成的追踪任务确定第二追踪对象之后,所述追踪方法还包括: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 continue tracking event indicated by the continue tracking prompt indicator, the tracking method further comprises:在所述目标虚拟对象所在位置处展示追踪指引标识,所述追踪指引标识指向所述第二追踪对象所在位置。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.根据权利要求1所述的追踪方法,其特征在于,在所述响应所述目标虚拟对象对于第一追踪对象追踪过程的结束,展示继续追踪提示标识之后,所述追踪方法还包括: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 comprises:在预设展示时间后,取消展示继续追踪提示标识。After the preset display time, cancel the display of the tracking reminder icon.12.根据权利要求11所述的追踪方法,其特征在于,在所述在预设展示时间后,取消展示继续追踪提示标识之后,所述追踪方法还包括:12. The tracking method according to claim 11, characterized in that after canceling the display of the continuous tracking prompt mark after the preset display time, the tracking method further comprises:响应于追踪事件的触发,展示二维地图界面;其中,所述二维地图界面中包括筛选控件;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.一种虚拟对象的追踪装置,其特征在于,通过终端设备提供一图形用户界面,在所述图形用户界面上显示至少部分游戏场景;所述游戏场景中包括通过所述终端设备控制的目标虚拟对象;所述追踪装置包括:13. A tracking device for a virtual object, characterized in that a graphical user interface is provided through a terminal device, and at least a part 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 comprises:标识展示模块,用于响应所述目标虚拟对象对于第一追踪对象追踪过程的结束,展示继续追踪提示标识;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.一种电子设备,其特征在于,包括:处理器、存储介质和总线,所述存储介质存储有所述处理器可执行的机器可读指令,当电子设备运行时,所述处理器与所述存储介质之间通过总线通信,所述处理器执行所述机器可读指令,以执行如权利要求1至12任一项所述的虚拟对象的追踪方法的步骤。14. An electronic device, characterized in that it comprises: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, when the electronic device is running, the processor and the storage medium communicate through 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.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如权利要求1至12任一项所述的虚拟对象的追踪方法的步骤。15. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, 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.
CN202411008365.9A2024-07-252024-07-25 Virtual object tracking method, device, electronic device and readable storage mediumPendingCN118976246A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202411008365.9ACN118976246A (en)2024-07-252024-07-25 Virtual object tracking method, device, electronic device and readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202411008365.9ACN118976246A (en)2024-07-252024-07-25 Virtual object tracking method, device, electronic device and readable storage medium

Publications (1)

Publication NumberPublication Date
CN118976246Atrue CN118976246A (en)2024-11-19

Family

ID=93446520

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202411008365.9APendingCN118976246A (en)2024-07-252024-07-25 Virtual object tracking method, device, electronic device and readable storage medium

Country Status (1)

CountryLink
CN (1)CN118976246A (en)

Similar Documents

PublicationPublication DateTitle
JP7653365B2 (en) Virtual object targeting method, device, and program
CN113440846B (en)Game display control method and device, storage medium and electronic equipment
US20250018294A1 (en)Method and apparatus for displaying information of virtual object, electronic device, and storage medium
CN112416196B (en)Virtual object control method, device, equipment and computer readable storage medium
JP7477640B2 (en) Virtual environment screen display method, device, and computer program
WO2022057529A1 (en)Information prompting method and apparatus in virtual scene, electronic device, and storage medium
CN111821691A (en)Interface display method, device, terminal and storage medium
CN113476825B (en)Role control method, role control device, equipment and medium in game
CN112402959A (en)Virtual object control method, device, equipment and computer readable storage medium
CN116099195A (en)Game display control method and device, electronic equipment and storage medium
CN115155052B (en)Method and device for controlling cursor through handle, electronic equipment and storage medium
CN111151004A (en)Game unit deployment method and device, electronic equipment and storage medium
CN115888068A (en)Control method and device of virtual role, electronic equipment and readable storage medium
CN113663326A (en)Game skill aiming method and device
JP7749843B2 (en) Method, device, electronic device and computer program for processing messages in a virtual scene
CN118976246A (en) Virtual object tracking method, device, electronic device and readable storage medium
CN113827971A (en)Game map marking method and device, electronic equipment and storage medium
KR102557808B1 (en)Gaming service system and method for sharing memo therein
CN115089968B (en)Operation guiding method and device in game, electronic equipment and storage medium
CN115400427B (en)Information processing method and device in game, electronic equipment and storage medium
CN117899451A (en)Game processing method and device, electronic equipment and storage medium
CN120381671A (en) Virtual object control method, device, electronic device and readable storage medium
CN119455386A (en) Information processing method, device, electronic device and storage medium in game
CN119548812A (en) Interface display control method, device, equipment and medium
CN119633375A (en) Method, device, electronic device and readable storage medium for sending information in a game

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp