Method, device, terminal, storage medium, and computer program for controlling virtual objects

The method optimizes virtual object control by identifying and targeting candidate objects within a virtual environment, addressing inefficiencies in existing systems and enhancing interaction precision and resource use.

JP7543557B2Active Publication Date: 2024-09-02TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2023521166
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-12-22
Filing Date
2021-11-22
Publication Date
2024-09-02
Estimated Expiration
2041-11-22

AI Technical Summary

Technical Problem

Existing virtual object control methods in computer technology, such as in network games and military simulations, face challenges in accurately positioning operations, leading to inefficient use of computer resources and complex user interactions due to inaccurate targeting of virtual objects.

Method used

A method and device for controlling virtual objects by generating a virtual environment screen with target function controls, identifying candidate virtual objects based on predetermined conditions, and executing operations on selected objects using candidate object identifiers, thereby optimizing resource use and simplifying user interactions.

Benefits of technology

This approach enhances the accuracy and efficiency of virtual object control by reducing resource wastage and simplifying user operations, improving the smoothness and precision of man-machine interactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007543557000002
    Figure 0007543557000002
  • Figure 0007543557000007
    Figure 0007543557000007
  • Figure 0007543557000009
    Figure 0007543557000009
Patent Text Reader

Abstract

The present application discloses a method, device, terminal, and storage medium for controlling a virtual object, which relate to the computer technical field. The method includes: generating a virtual environment screen and a target function control; determining a candidate virtual object whose target attribute value satisfies a predetermined condition in response to a trigger operation on the target function control, and generating a candidate object identifier for the candidate virtual object; and determining the selected candidate object identifier as a target object identifier in response to a selection operation on the candidate object identifier, and controlling a first virtual object to perform a target operation on the target virtual object corresponding to the target object identifier. In the present application, triggering the target object identifier can control the first virtual object to release the target operation on the target virtual object, thereby simplifying the operation execution process and reducing resource waste.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application was filed with the China Patent Office on December 22, 2020, bearing application number 202011529651.1, and claims priority to a Chinese patent application entitled "Virtual object skill release method, device, terminal and storage medium", the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD The present application relates to the field of computer technology, and in particular to a method, device, terminal, and storage medium for controlling a virtual object. [Background technology]

[0003] With the development of computer technology, virtual objects are applied to more and more scenarios, for example, in scenarios such as network games, military simulation exercises, etc., virtual objects are used to simulate users, and during each virtual scenario, they interact by performing operations, for example, in the process of a multiplayer online role-playing game, players control virtual objects with different occupational attributes to play a game or play entertainment in the virtual world. In the related art, when controlling a virtual object to perform an operation, the action area of ​​the operation needs to be continuously adjusted, but if the operation is performed by acting on the area, the virtual object that needs to receive the operation cannot be accurately positioned, and the operation performed does not achieve the desired effect, resulting in a waste of computer resources. Summary of the Invention [Problem to be solved by the invention]

[0004] Various embodiments of the present application provide a method, device, terminal, and storage medium for controlling a virtual object. [Means for solving the problem]

[0005] A method for controlling a virtual object executed by a computer device, the method comprising: generating a virtual environment screen and a target function control, in which a first virtual object and a second virtual object are generated in the virtual environment screen, the target function control triggering the first virtual object to perform a target operation corresponding to a target function, the target operation triggering a change in a target attribute value of the second virtual object; determining a second virtual object, the target attribute value of which satisfies a predetermined condition, as a candidate virtual object in response to a trigger operation on the target function control, and generating a candidate object identifier for the candidate virtual object; In response to a selection operation on the candidate object identifier, determining the selected candidate object identifier as a target object identifier and controlling the first virtual object to perform the target operation on a target virtual object corresponding to the target object identifier.

[0006] A virtual object control device, comprising: a first generation module for generating a virtual environment screen and a target function control, in which a first virtual object and a second virtual object are generated in the virtual environment screen, the target function control triggering the first virtual object to execute a target operation corresponding to a target function, and the target operation triggering a change in a target attribute value of the second virtual object; A second generation module that, in response to a trigger operation on the target function control, determines a second virtual object whose target attribute value satisfies a predetermined condition as a candidate virtual object, and generates a candidate object identifier of the candidate virtual object; and a control module that, in response to a selection operation on the candidate object identifier, determines the selected candidate object identifier as a target object identifier and controls the first virtual object to perform the target operation on a target virtual object corresponding to the target object identifier.

[0007] A terminal, the terminal including a processor and a memory, the memory storing at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, code set or instruction set being loaded and executed by the processor to realize the method for controlling a virtual object described in the above aspect.

[0008] A computer-readable storage medium having at least one computer program stored therein, the computer program being loaded and executed by a processor to realize the method for controlling a virtual object described in the above aspect.

[0009] A computer program product or a computer program, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium, a processor of a terminal reading the computer instructions from the computer-readable storage medium, and the processor executing the computer instructions, causing the terminal to realize the method of controlling a virtual object provided by various possible implementations of the above aspects.

[0010] The details of one or more embodiments of the application are set forth in the drawings and description which follow. Other features, objects and advantages of the application will become apparent from the description, drawings and claims. [Brief description of the drawings]

[0011] In order to more clearly describe the technical solutions of the embodiments of the present application, the following briefly introduces the drawings necessary for describing the embodiments. Obviously, the following drawings are only some embodiments of the present application, and other drawings can be obtained based on these drawings on the premise that no inventive work is undertaken by those skilled in the art.

[0012] [Figure 1] 1 is a schematic diagram of an implementation environment according to one exemplary embodiment of the present application. [Diagram 2] 1 is a flowchart of a method for controlling a virtual object according to an exemplary embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram of a virtual environment screen according to one exemplary embodiment of the present application. [Figure 4] FIG. 2 is a schematic implementation diagram of controlling a first virtual object to perform a target operation according to one exemplary embodiment of the present application. [Diagram 5] 13 is a flowchart of a method for controlling a virtual object according to another exemplary embodiment of the present application. [Figure 6] FIG. 2 is a schematic diagram of candidate object identifier generation according to an exemplary embodiment of the present application; [Figure 7] FIG. 11 is a schematic implementation diagram of a process of controlling a first virtual object to perform a target operation according to another exemplary embodiment of the present application. [Figure 8] FIG. 4 is a schematic diagram of generation of candidate object identifiers according to another exemplary embodiment of the present application; [Figure 9] 13 is a flowchart of a method for controlling a virtual object according to another exemplary embodiment of the present application. [Figure 10] FIG. 4 is a schematic diagram of generation of candidate object identifiers according to another exemplary embodiment of the present application; [Figure 11] FIG. 4 is a schematic diagram of generation of candidate object identifiers according to another exemplary embodiment of the present application; [Figure 12] 13 is a flowchart of a method for controlling a virtual object according to another exemplary embodiment of the present application. [Figure 13]FIG. 1 is a block diagram of a virtual object control device according to an exemplary embodiment of the present application. [Figure 14] FIG. 2 is a configuration block diagram of a terminal according to an exemplary embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application are further described in detail below with reference to the drawings.

[0014] As referred to herein, "plurality" refers to two or more than two. "And / or" describes a relationship between related objects, where three relationships are possible, for example, A and / or B indicates three cases: A exists alone, A and B exist together, and B exists alone. The sign " / " generally indicates that the related objects before and after are in an "or" relationship.

[0015] First, the terms used in the embodiments of the present application will be explained. 1) Virtual Environment A virtual environment is generated (or provided) when an application program is executed on a terminal. The virtual environment may be a simulation environment for the real world, a semi-simulated semi-virtual three-dimensional environment, or a purely virtual three-dimensional environment. The virtual environment may be any one of a two-dimensional virtual environment, a two-and-a-half-dimensional virtual environment, and a three-dimensional virtual environment. The following embodiment describes the virtual environment as a three-dimensional virtual environment by way of example, but is not limited thereto. Optionally, the virtual environment is further applied to a battle between at least two virtual characters. Optionally, the virtual environment has virtual resources used by at least two virtual characters.

[0016] 2) Virtual Objects The virtual object is an object that can be moved in the virtual environment. The movable object may be at least one of a virtual person and a virtual animal, and the virtual person may be, for example, a cartoon character. Optionally, when the virtual scenario is a three-dimensional virtual scenario, the virtual object may be a three-dimensional solid model. Each virtual character has its own shape and volume in the three-dimensional virtual scenario and occupies a part of the space in the three-dimensional virtual scenario. Optionally, the virtual character is a three-dimensional character built based on three-dimensional human body skeleton technology, and expresses different appearances by wearing different skins. In some embodiments, the virtual character may be realized as a 2.5-dimensional model or a two-dimensional model, and the embodiments of the present application are not limited thereto.

[0017] User Interface (UI) Control: Any visible control or element found in the user interface of an application program, including, but not limited to, controls such as pictures, input boxes, text boxes, buttons, and labels, some of which can respond to user actions.

[0018] The method according to the present application may be applied to virtual reality application programs, 3D map programs, military simulation programs, first-person shooter games, massive multiplayer online role-playing games (MMORPGs), etc., and the following embodiments will be described taking the application in games as an example.

[0019] A game with a virtual environment generally consists of one or more game world maps, the virtual environment in the game simulates a real-world scenario, and the user controls the virtual object in the game to perform actions such as walking, running, jumping, shooting, fighting, driving, switching virtual props, and damaging other virtual objects with virtual props in the virtual environment. The virtual object further has various functions, for example, a healing function, which can change the target attribute value of the virtual object, for example, the target attribute value of other virtual objects in the same camp. The virtual object realizes the function by performing an operation corresponding to the function, and different functions correspond to different operations. A plurality of attributes are associated with the virtual object, and the attributes of the virtual object include, but are not limited to, attack, defense, speed, intelligence, agility, strength, or life, and the like, and the attribute value refers to the value of the attribute, for example, the attribute value corresponding to the life attribute is a life value, some attribute values ​​are modifiable, and some attribute values ​​are unmodifiable, and the target attribute value includes at least one of each modifiable attribute value of the virtual object. For example, it may be a life value.

[0020] In related technology, when a treatment function of a virtual object is used to restore the attribute values ​​of other virtual objects in a team, the position where the operation is performed is moved by an operation such as dragging to the position where a target virtual object whose attribute value needs to be restored is located, or the direction in which the operation is performed is adjusted to the direction in which the target virtual object is located so that the target virtual object is positioned within the range of the operation.

[0021] According to the virtual object control method in the above-mentioned related art, the attribute value of the target virtual object can be restored only when the user controls the operation execution area so as to position the target virtual object within the operation execution area and triggers the operation corresponding to the function control. The operation is complicated and the learning cost of the operation is high. If the target virtual object is not aimed at or the target virtual object moves during the operation execution process, the operation will act on a virtual object that does not need to change the target attribute value or on an invalid area, which wastes resources and reduces the operation efficiency of controlling a virtual object to perform an operation.

[0022] 1 shows a schematic diagram of an implementation environment according to one embodiment of the present application. The implementation environment includes a first terminal 110, a server 120 and a second terminal 130.

[0023] An application program 111 supporting a virtual environment is installed and executed on the first terminal 110, and when the first terminal executes the application program 111, a user interface of the application program 111 is generated on the screen of the first terminal 110. The application program 111 may be any one of a military simulation program, a multiplayer online battle arena game (MOBA), a battle royale shooting game, and a simulation game (SLG). In this embodiment, the application program 111 is an MMORPG. The first terminal 110 is a terminal used by a first user 112, and the first user 112 uses the first terminal 110 to control a first virtual object in a virtual environment to activate it, and the first virtual object may be called a master virtual character of the first user 112. The activities of the first virtual object include, but are not limited to, at least one of body posture adjustment, creeping, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and releasing skills. Illustratively, the first virtual object is a first virtual person, such as a simulated person or a cartoon character.

[0024] An application program 131 supporting a virtual environment is installed and executed on the second terminal 130, and when the second terminal 130 executes the application program 131, a user interface of the application program 131 is generated on the screen of the second terminal 130. The client may be any one of a military simulation program, a MOBA game, a battle royale shooting game, and a SLG game, and in this embodiment, the application program 131 is an MMORPG. The second terminal 130 is a terminal used by a second user 132, and the second user 132 uses the second terminal 130 to control a second virtual object in the virtual environment to be active, and the second virtual object may be called a master virtual character of the second user 132. Exemplarily, the second virtual object may be a second virtual person, such as a simulation person or an anime character.

[0025] Optionally, the first virtual object and the second virtual object are in the same virtual world. Optionally, the first virtual object and the second virtual object may belong to the same camp, the same team, or the same organization, have a friend relationship, or have temporary communication authority. Optionally, the first virtual object and the second virtual object may belong to different camps, different teams, different organizations, or be in an enemy relationship. The embodiment of the present application is described by taking as an example that the first virtual object and the second virtual object belong to the same camp.

[0026] Alternatively, the application programs installed on the first terminal 110 and the second terminal 130 are similar, or the application programs installed on the two terminals are the same type of application programs on different operating system platforms (Android or IOS). The first terminal 110 generally refers to one of the multiple terminals, and the second terminal 130 generally refers to the other of the multiple terminals, and this embodiment will be described using only the first terminal 110 and the second terminal 130 as an example. The device types of the first terminal 110 and the second terminal 130 may be similar or different, and the device types may include at least one of a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer.

[0027] 1 only shows two terminals, in other embodiments, there are other terminals that can access the server 120. Optionally, there are also one or more terminals corresponding to developers, in which an application program development and editing platform supporting a virtual environment is installed, the developer edits and updates the application program on the terminal, and transmits the updated application program installation package to the server 120 via a wired or wireless network, and the first terminal 110 and the second terminal 130 download the application program installation package from the server 120 to realize the update of the application program.

[0028] A first terminal 110, a second terminal 130 and other terminals are connected to a server 120 via a wireless network or a wired network.

[0029] The server 120 includes at least one of a single server, a server cluster consisting of multiple servers, a cloud computing platform, and a virtualization center. The server 120 provides back-end services for application programs supporting a 3D virtual environment. Alternatively, the server 120 is responsible for main computing operations, and the terminal is responsible for secondary computing operations, or the server 120 is responsible for secondary computing operations, and the terminal is responsible for main computing operations, or the server 120 and the terminal perform collaborative computing through a distributed computing architecture.

[0030] In one illustrative example, the server 120 includes a memory 121 , a processor 122 , a user account database 123 , an interaction service module 124 , and a user-facing Input / Output Interface (I / O interface) 125 . The processor 122 loads instructions stored in the server 120 and processes data in the user account database 123 and the interaction service module 124. The user account database 123 stores data of user accounts used by the first terminal 110, the second terminal 130 and other terminals, such as the avatar of the user account, the nickname of the user account, the combat power index of the user account, and the service area in which the user account is located. The interaction service module 124 provides an interaction function, such as providing multiple battle rooms for users to battle in battles such as 1V1 battle, 3V3 battle, 5V5 battle, etc., and the user I / O interface 125 establishes communication and exchanges data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network.

[0031] 2 shows a flowchart of a method for controlling a virtual object according to an exemplary embodiment of the present application. In this embodiment, the method is described as being applied to the first terminal 110 or the second terminal 130 in the implementation environment of FIG. 1, or other terminals in the implementation environment, and the method includes the following steps:

[0032] Step 201: Generate a virtual environment screen and a target function control, in which a first virtual object and a second virtual object are generated on the virtual environment screen, the target function control triggers the first virtual object to perform a target operation corresponding to the target function, and the target operation triggers the second virtual object to change a target attribute value.

[0033] The first virtual object and the second virtual object may belong to the same camp or different camps. The target function control is a control for realizing a target function, and the target function is realized by executing a target operation. The virtual environment screen is a screen in the virtual environment.

[0034] In some embodiments, the virtual environment screen may be a screen in a virtual environment adopted in a military simulation exercise, and the virtual object in the virtual environment is a virtual soldier participating in the exercise, and the virtual soldier is displayed on the virtual environment screen, and while playing the virtual soldier, the virtual soldier interacts by performing operations having certain functions, such as performing an operation to help a comrade to provide help to the comrade, or performing an operation against the enemy to stop the enemy's advance, thereby achieving the soldier's tasks during the exercise.

[0035] The method of the embodiment of the present application is applied to a virtual environment, the virtual environment includes a first virtual object and a second virtual object. Optionally, the virtual environment of the embodiment of the present application may further include a third virtual object, the third virtual object belongs to a different camp from the first virtual object and the second virtual object, the third virtual object performs an operation corresponding to a function or uses a virtual prop to change the target attribute value of the first virtual object and the second virtual object, and the first virtual object performs an operation corresponding to a function to change the target attribute value of the second virtual object. For example, the target attribute value is a life value, and the first virtual object performs an operation corresponding to a healing function to recover the life value of the second virtual object to a certain extent.

[0036] In some embodiments, the terminal generates the virtual environment by a virtual environment screen. Optionally, the virtual environment screen is a screen in which the virtual environment is observed from a viewpoint of a virtual object. The viewpoint is a viewing angle when the virtual environment is observed from a first-person or third-person viewpoint of the virtual object. Optionally, in embodiments of the present application, the viewpoint is a viewing angle when a virtual object is observed by a camera model in the virtual environment.

[0037] Optionally, the camera model automatically tracks the virtual object in the virtual environment, i.e., when the position of the virtual object in the virtual environment is changed, the camera model is simultaneously changed to track the position of the virtual object in the virtual environment, and the camera model is always located within a predetermined distance range of the virtual object in the virtual environment. Optionally, during the automatic tracking process, the relative position between the camera model and the virtual object does not change.

[0038] The camera model refers to a three-dimensional model around a virtual object in a virtual environment. When a first-person perspective is adopted, the camera model is located near or at the head of the virtual object. When a third-person perspective is adopted, the camera model is located behind the virtual object and bound to the virtual object. It may be located at any location within a predetermined distance from the virtual object. The camera model is used to observe the virtual object in the virtual environment from different angles. Optionally, when the third-person perspective is a first-person over-the-shoulder perspective, the camera model is located behind the virtual object (e.g., the head and shoulders of a virtual person). Optionally, in addition to the first-person perspective and the third-person perspective, the perspective further includes other perspectives, such as a planar perspective. When a planar perspective is adopted, the camera model is located above the head of the virtual object, and the planar perspective is a perspective for observing the virtual environment from an aerial planar angle. Optionally, the camera model is not actually generated in the virtual environment, i.e., the camera model is not generated in the virtual environment generated in the user interface. The camera model is described as being located at an arbitrary position with a predetermined distance from the virtual object, and optionally, one virtual object corresponds to one camera model, and the camera model rotates around the virtual object as a rotation center, for example, the camera model is rotated around any point of the virtual object as a rotation center, and during the rotation process, the camera model is rotated in angle and shifted in displacement, and when rotating, the distance between the camera model and the rotation center is maintained as it is, that is, the camera model is rotated on the surface of a sphere with the rotation center as the sphere center, and any point of the virtual object may be the head, body, or any point around the virtual object, which is not limited to the embodiment of the present application. Optionally, when the camera model observes a virtual object, the central direction of the viewpoint of the camera model is the direction in which the point on the sphere where the camera model is located points to the sphere center.

[0039] Optionally, the camera model can further observe the virtual object at a predetermined angle in different directions of the virtual object. Optionally, the first virtual object is a virtual object controlled by a user through a terminal, and the second virtual object includes at least one of a virtual object controlled by another user and a virtual object controlled by a back-end server, and the first virtual object and the second virtual object belong to the same camp.

[0040] Optionally, the virtual environment view in an embodiment of the present application is a view of the virtual environment from the perspective of the first virtual object.

[0041] 3, the user interface 301 includes a first virtual object 302, three second virtual objects, and a target function control 306, the three second virtual objects being virtual object a, virtual object b, and virtual object c, respectively, where virtual object a refers to virtual object 303, virtual object b refers to virtual object 304, and virtual object c refers to virtual object 305. Although FIG. 3 shows only three second virtual objects, in some embodiments, the virtual environment screen may include more or less second virtual objects. The user interface 301 has generated target attribute values ​​of each virtual object, identifiers of the virtual objects, and other controls, etc.

[0042] Step 202: In response to a trigger operation on the target function control, determine a second virtual object whose target attribute value satisfies a predetermined condition as a candidate virtual object, and generate a candidate object identifier for the candidate virtual object.

[0043] The trigger operation for the target function control includes, but is not limited to, a click operation, a double click operation, or a long press operation, and the candidate virtual object is a second virtual object whose target attribute value meets a predetermined condition, and optionally, in an embodiment of the present application, the predetermined condition is that the target attribute value is lower than an attribute value threshold, and the attribute value threshold is preset and may be set to a specific numerical value or a percentage. For example, if the attribute value is a life value represented by hit points, the attribute value threshold may be 80 points or 80%.

[0044] In some embodiments, the terminal monitors the target attribute value of each second virtual object in real time, and when it determines that there is a second virtual object whose target attribute value meets the predetermined condition, switches the target function control from a default state to a quick trigger state, in the default state, the user selects an execution direction of the target operation by a trigger operation on the target function control, and controls the first virtual object to execute the target operation on the second virtual object in the execution direction and operation execution area, and in the quick trigger state, the user triggers the target function control to generate an object identifier of the second virtual object whose target attribute value meets the predetermined condition.

[0045] Optionally, the object identifier includes at least one of a model thumbnail of the virtual object and a corresponding account identifier of the virtual object, including but not limited to a username, an avatar, and the like.

[0046] Alternatively, the candidate object identifiers may be generated around the target function control, and the generating arrangement manner may be at least one of horizontal arrangement generation, vertical arrangement generation or arc-shaped generation, to which the present embodiment is not limited.

[0047] Optionally, the trigger operation on the target function control may be at least one of clicking, long pressing, double clicking, etc., to trigger the target function control to generate a candidate object identifier. Optionally, the generation manner of the target function control in the default state and the quick trigger state may be similar or different.

[0048] As shown in Fig. 4, when the target attribute values ​​of the second virtual object a, the second virtual object b, and the second virtual object c satisfy a predetermined condition, the terminal switches the target function control 404 in the default state to the quick trigger state, and when a trigger operation on the target function control 404 is received in the quick trigger state, an object identifier 405 of the second virtual object a, an object identifier 406 of the second virtual object b, and an object identifier 407 of the second virtual object c are generated. The virtual object 401 in Fig. 4 is the second virtual object a, the virtual object 402 is the second virtual object b, and the virtual object 403 is the second virtual object c.

[0049] Step 203: In response to a selection operation on a candidate object identifier, determine the selected candidate object identifier as a target object identifier, and control a first virtual object to perform a target operation on a target virtual object corresponding to the target object identifier.

[0050] The identifier of the target virtual object is the target object identifier, i.e. the virtual object according to the target object identifier is the target virtual object. Optionally, the selection operation on the target object identifier is to drag the target function control to the location where the target object identifier is located.

[0051] In some embodiments, when the target function control is in a default state, the user manually selects an execution area of ​​the target operation by the target function control to execute the target operation; when the target function control is in a quick trigger state, as soon as the user triggers the target function control, a candidate object identifier is generated, in this case, a target object identification of a target virtual object for which a target attribute value is to be changed is selected from the candidate object identifier, and the first virtual object can be controlled to automatically execute the target operation on the target virtual object by the selection operation on the target object identifier, and there is no need to manually select the execution area of ​​the target operation. The execution area of ​​the target operation refers to the action area of ​​the target operation. The target object identifier is the identifier of the target virtual object. That is, the target virtual object is the virtual object corresponding to the target object identifier.

[0052] Illustratively, as shown in FIG. 4 , when a user triggers (e.g., clicks, long presses, slides, etc.) the target object identifier 406, the first virtual object executes a target operation on the target virtual object, and the user does not need to manually control the target function control 404 to set an operation execution area on the target virtual object 402. After the first virtual object executes the target operation on the target virtual object 402, the terminal generates an operation execution effect on the target virtual object 402, and the operation execution effect indicates the change amount of the target attribute value of the target virtual object 402. The operation execution area is the execution area of ​​the target operation.

[0053] In this embodiment, when there is a second virtual object whose target attribute value satisfies a predetermined condition, a trigger operation on the target function control can trigger the generation of a corresponding candidate object identifier; when a candidate object identifier is selected, the selected candidate object identifier is determined as a target object identifier, and the first virtual object is controlled to perform a target operation on the target virtual object, thereby changing the target attribute value of the target virtual object, and avoiding the target operation acting on a location where the second virtual object does not exist or on a second virtual object whose target attribute value does not need to be changed, thereby reducing the waste of data processing resources and calculation resources in the man-machine interaction process; and a target operation can be triggered to be performed on the target virtual object through the user's selection operation on the target object identifier, thereby simplifying the operation execution process in man-machine interaction and improving the efficiency and smoothness of man-machine interaction.

[0054] In some embodiments, the trigger operation on the target function control and the selection operation on the target object identifier are consecutive operations. In order to avoid accidentally touching other candidate object identifiers due to mistakes in consecutive operations, in this embodiment, when generating a candidate object identifier, it is generated based on a generation priority, and the generation priority represents the distance between the generated candidate object identifier and the target function control. The higher the generation priority, the closer the distance to the target function control, making it easier for the user to trigger the target object identifier, and controlling the first virtual object to perform the target operation on the target virtual object.

[0055] Referring to Fig. 5, a flowchart of a method for controlling a virtual object according to an exemplary embodiment of the present application is shown. In this embodiment, the method is described as being applied to the first terminal 110 or the second terminal 130, or other terminals in the implementation environment of Fig. 1, and the method includes the following steps:

[0056] Step 501: Generate a virtual environment screen and a target function control, in which a first virtual object and a second virtual object are generated on the virtual environment screen, the target function control triggers the first virtual object to perform a target operation corresponding to the target function, and the target operation triggers the second virtual object to change a target attribute value.

[0057] For the embodiment of step 501, please refer to step 201 above.

[0058] Step 502: In response to a trigger operation on a target function control, a target attribute value of a second virtual object in the operation execution area is obtained.

[0059] In some embodiments, the target operation has an operation execution area, and the target function control controls the first virtual object to execute the target operation on a second virtual object in the operation execution area, so that when a trigger operation on the target function control is received, the terminal operation obtains a target attribute value of the second virtual object in the execution area, and thereafter determines whether a second virtual object that satisfies a predetermined condition exists.

[0060] Alternatively, the operation execution area may be a circular range centered on the first virtual object and having a radius of a predetermined length, or may be a range corresponding to the virtual environment screen currently observed from the viewpoint of the first virtual object, and the embodiments of the present application are not limited thereto.

[0061] Step 503: Determine a second virtual object whose target attribute value is lower than an attribute value threshold as a first candidate virtual object.

[0062] After obtaining the target attribute value of the second virtual object in the operation execution area, the terminal detects whether the target attribute value of the second virtual object is lower than an attribute value threshold, and if there is a second virtual object whose attribute value is lower than the attribute value threshold, determines the second virtual object as a first candidate virtual object. The user can select a target virtual object from the first candidate virtual objects and change the target attribute value of the target virtual object through a target skill.

[0063] Step 504: Determine a corresponding generation position for each first candidate object identifier, where the first candidate object identifier is the object identifier of the first candidate virtual object.

[0064] The generation location of the first candidate object identifier refers to the location of the generated first candidate object identifier in the interface. When the terminal receives a trigger operation on the target function control, it generates a first candidate object identifier of the first candidate virtual object, and the user controls the first virtual object to perform a target operation on the target virtual object corresponding to the target object identifier by a selection operation on the target object identifier in the first candidate object identifier.

[0065] Optionally, the trigger operation on the target function control is a long press operation, the selection operation on the target object identifier is a drag operation, the location where the target object identifier is located is the end point of the drag operation, and the long press operation and the drag operation are consecutive operations.

[0066] In some embodiments, when the long press operation and the drag operation are consecutive operations, if the distance between the target function control and the corresponding object identifier of the first candidate virtual object that needs to change the target attribute value is large, it is easy to cause the operation failure, and the consecutive operation is interrupted, leading to the execution failure of the target operation. Therefore, after the terminal receives the trigger operation on the target function control, it determines the corresponding generation position of each of the first candidate object identifiers, for example, the terminal determines the generation position of the first candidate object identifier according to the distance between the first candidate virtual object and the first virtual object, so as to maintain an appropriate distance between the first candidate object identifier and the target function control, thereby reducing the operation error in the man-machine interaction process and improving the operation accuracy.

[0067] Step 505: Generate a first candidate object identifier at a generation location.

[0068] In this embodiment, when a trigger operation for a target function control is received, a second virtual object in the operation execution area, whose target attribute value is lower than an attribute value threshold, is determined as a first candidate virtual object; before generating an object identifier, a generation priority of the first candidate object identifier is first determined, and a generation position is determined according to the generation priority; further, the user's selection operation for the target object identifier is accelerated, the execution efficiency of the operation is improved, the situation of erroneous touching of other candidate object identifiers during the trigger process is reduced, and the waste of data processing resources and calculation resources is reduced during the man-machine interaction process.

[0069] In some embodiments, the step of determining a corresponding generation location for each of the first candidate object identifiers comprises the following steps.

[0070] Step 1: Obtain a distance between a first candidate virtual object and a first virtual object as a first object distance, and determine a generation priority of each first candidate object identifier, where the generation priority is determined based on at least one of a target attribute value of the first candidate virtual object, the first object distance, and a current game score of the first candidate virtual object.

[0071] In some embodiments, the generation position is determined based on a generation priority. The generation priority is determined based on a target attribute value of the first candidate virtual object. The target attribute value and the generation priority have a negative relationship, and the lower the target attribute value of the first candidate virtual object, the higher the generation priority of the corresponding first candidate object identifier. For example, the first candidate virtual objects currently satisfying a predetermined condition include a second virtual object A, a second virtual object B, and a second virtual object C, and if the hit points of the second virtual object A are 50%, the hit points of the second virtual object B are 80%, and the hit points of the second virtual object C are 20%, then the generation priority of the corresponding object identifiers of the second virtual objects A, B, and C is C>A>B.

[0072] Optionally, the generation priority is further determined based on a first object distance between the candidate virtual object and the first virtual object. After receiving a trigger operation for the target function control, the terminal obtains coordinate information of all first candidate virtual objects in the virtual environment at this time, and obtains a first object distance between each first candidate virtual object and the first virtual object based on the coordinate information, and the first object distance and the generation priority have a negative relationship, that is, the closer the distance to the first virtual object, the higher its generation priority.

[0073] Optionally, the generation priority is further determined based on the current game score of the first candidate virtual object. The current game score represents the game fighting power of the first candidate virtual object, and the game fighting power of different first candidate virtual objects has different influence on the game result, so when the user controls the first virtual object to perform the target operation, the action object of the target operation may be considered based on the game fighting power.

[0074] In some embodiments, the generation priority and the current game score have a positive relationship, for example, the higher the current game score of the first candidate virtual object, the higher its generation priority. Optionally, the terminal determines the current game score by obtaining the current game attributes of each first candidate virtual object, the current game attributes include at least one of the number of breakthroughs, the battle level, and the equipment attribute of the virtual object, and the number of breakthroughs, the battle level, and the equipment attribute of the virtual object and the current game score are all positively related, that is, the higher the number of breakthroughs of the virtual object, the higher the current game score, the higher the battle level, the higher the current game score, and the higher the equipment attribute, the higher the current game score.

[0075] Optionally, when determining the generation priority of each first candidate object identifier, it is determined based on at least one of the above methods. When determining the generation priority by combining multiple options, it is determined based on the weight of different options. The corresponding weight values ​​of different options may be set by the user or may be preset. For example, it is determined based on the target attribute value and the current game score of the first candidate virtual object at the same time, the weight of the target attribute value is 60%, and the weight of the current game score is 40%.

[0076] Step 2: Determine a corresponding generation position of each first candidate object identifier based on the generation priority, and the distance from the generation position to the target function control has a positive relationship with the generation priority.

[0077] After determining the generation priority of the first candidate object identifier, a generation position is determined based on the generation priority. Since the long press operation on the target function control and the drag operation on the target object identifier are consecutive operations, there is a positive relationship between the distance from the generation position to the target function control and the generation priority.

[0078] The positive relationship between the distance from the generation position to the target function control and the generation priority means that the higher the generation priority, the closer the distance from the generation position to the target function control, and the lower the generation priority, the farther the distance from the generation position to the target function control. In the above embodiment, the generation priority is determined based on at least one of the target attribute value of the first candidate virtual object, the first object distance, and the current game score, so that the generation priority takes into full consideration the situation of the first candidate virtual object to improve the accuracy of the generation priority, and the positive relationship between the distance from the generation position to the target function control and the generation priority means that the higher the generation priority, the closer the distance from the generation position to the target function control. In this way, when the long press operation and the drag operation are consecutive operations, the distance between the corresponding object identifier of the first candidate virtual object that needs to change the target attribute value and the target function control is close, which increases the success rate of the target operation execution in the man-machine interaction process, avoids duplicate operations, and reduces the probability of wasting computing resources.

[0079] In some embodiments, the method further includes a step of receiving an attribute value reply request sent from a server, where the attribute value reply request is sent from a second virtual object via the server and includes a requested object identifier, and the step of determining a generation priority of each first candidate object identifier includes a step of determining the requested object identifier as the highest generation priority if, within a predetermined period after receiving the attribute value reply request, a trigger operation on a target function control is received and the requested object identifier belongs to the first candidate object identifier.

[0080] The attribute value reply request includes a request object identifier, which points to the second virtual object that triggered the attribute value reply request, and requests the first virtual object to obtain a target operation, i.e., to perform a target operation on the second virtual object that triggered the attribute value reply request.

[0081] When determining the generation priority of the first candidate virtual object, the terminal determines it based on the attribute value reply request of the first candidate virtual object. Optionally, when the second virtual object needs to change the target attribute value, the terminal corresponding to the second virtual object sends an attribute value reply request to the server, and the server forwards the attribute value reply request to the terminal of the first virtual object, and the attribute value reply request includes a request object identifier. The request object identifier indicates the second virtual object that triggers the attribute value reply request.

[0082] After receiving an attribute value reply request, if the terminal receives a trigger operation for a target function control within a predetermined period, it detects whether the requested object identifier belongs to the first candidate object identifier, and if so, determines the requested object identifier to be the highest generation priority.

[0083] Alternatively, when there are multiple second virtual objects sending attribute value reply requests and the corresponding request object identifiers all belong to the first candidate object identifier, the generation priority is determined according to the request time of the attribute value reply request, and the request object identifier included in the attribute value reply request with the earliest request time is determined to be the highest generation priority.

[0084] For example, as shown in FIG. 8 , an attribute value reply request 802 of a second virtual object 801 is generated on the virtual environment screen, and when the second virtual object 801 is a first candidate virtual object, when the terminal receives an operation on a target function control 803 and triggers the generation of a first candidate object identifier, the generation priority of the corresponding object identifier 804 of the second virtual object 801 is the highest and the distance to the target function control 803 is the shortest.

[0085] In the above embodiment, within a predetermined period after receiving an attribute value reply request, if a trigger operation on a target function control is received and the requested object identifier belongs to a first candidate object identifier, the requested object identifier is determined to have the highest generation priority, so as to execute the target operation on the second virtual object which actively requested the target operation, and independently execute the target operation on the second virtual object which is in urgent need, thereby improving the effectiveness of the operation and saving data processing resources and computing resources in the man-machine interaction process.

[0086] In some embodiments, generating the first candidate object identifier at the generation location includes generating the first candidate object identifier at the generation location, and object information for the first candidate virtual object, the object information including at least one of a target attribute value, a first object distance, and a current game score.

[0087] The target attribute value is generated around the object identifier, and the generation method includes ring generation, strip generation or number form generation. The first object distance and the current game score are generated around the object identifier in number form, and when various object information is generated, the generation positions of different object information may be different, for example, the generation positions of the target attribute value, the first object distance and the current game score may be different.

[0088] As shown in FIG. 6, the first candidate virtual objects include a second virtual object a, a second virtual object b, and a second virtual object c, where the virtual object 601a in FIG. 6 refers to the second virtual object a, the virtual object 601b refers to the second virtual object b, and the virtual object 601c refers to the second virtual object c, and the object identifiers include a corresponding object identifier 602a of the second virtual object a, a corresponding object identifier 602b of the second virtual object b, and a corresponding object identifier 602c of the second virtual object c, where the target attribute value of the second virtual object b < the target attribute value of the second virtual object a < the target attribute value of the second virtual object c, so the generation priority of the object identifiers is object identifier 602b > object identifier 602a > object identifier 602c. At the time of generation, distance between object identifier 602b and target function control 603<distance between object identifier 602a and target function control 603<distance between object identifier 602c and target function control 603. At the generated position of the object identifier, target attribute values ​​are further generated to surround the identifier.

[0089] In the above embodiment, by generating a first candidate object identifier and object information of a first candidate virtual object at a generation position, the object information of the candidate virtual object can be intuitively obtained, and the target object identifier can be easily determined, thereby improving the efficiency of determining the target object identifier from the first candidate object identifier, reducing the calculation time for achieving the result, and saving calculation resources.

[0090] In some embodiments, the step of determining the selected candidate object identifier as a target object identifier in response to a selection operation on the candidate object identifier and controlling the first virtual object to perform a target operation on a target virtual object corresponding to the target object identifier includes the steps of determining the selected first candidate object identifier as a target object identifier in response to a selection operation on the first candidate object identifier and obtaining current location information of the target virtual object corresponding to the target object identifier, and controlling the first virtual object to perform the target operation on the target virtual object based on the current location information.

[0091] Because the target operation is a range-type operation and has a certain scope of action, when the terminal receives a selection operation on the target object identifier in the first candidate object identifier, the terminal can obtain the current location information of the target virtual object.

[0092] In some embodiments, when the terminal receives a long press operation on the target function control, the terminal generates a first candidate object identifier, detects an end position of the drag operation on the target function control, determines the first candidate object identifier at the end position as a target object identifier, and obtains current position information of the target virtual object. If it is detected that the first candidate object identifier does not exist at the end position, the execution of the target operation fails, and the first candidate object identifier is eliminated. After obtaining the current position information of the target virtual object, the terminal controls the first virtual object to perform the target operation on the target virtual object, and the user does not need to manually adjust the execution area of ​​the target operation to perform the target operation on the target virtual object.

[0093] Optionally, after performing a target operation on a target virtual object, the target function control enters a function cooling state, in which the target function control cannot be triggered, and after the function cooling reaches a predetermined period, the target function control recovers to a triggerable state.

[0094] 7, when a long press operation on a target function control 701 is received and the end position of the drag operation is an object identifier 702 in the first candidate object identifier, the terminal obtains position information of a second virtual object 703 corresponding to the object identifier 702, and performs a target operation on the second virtual object 703 according to the position information. After the target operation is performed, an operation execution effect is generated around the second virtual object 703, and the target function control 701 enters a function cooling state, and the function cooling duration is 15 s.

[0095] In the above embodiment, current position information of a target virtual object corresponding to a target object identifier is obtained, and a first virtual object is controlled to perform a target operation on the target virtual object based on the current position information. Because the position of the target virtual object may change, controlling the first virtual object to perform a target operation on the target virtual object based on the current position information of the target virtual object allows the target operation to be performed based on the position where the target virtual object is located, thereby improving the accuracy of the operation and saving computer resources.

[0096] In one application scenario, there may be a second virtual object outside the operation execution area that needs to change the target attribute value, and when it is located outside the operation execution area, the user must manually control the first virtual object to move to the target virtual object that needs to change the change target attribute value, and adjust the operation execution direction to perform the target operation on the target virtual object. In this process, the position and operation execution direction of the first virtual object are manually adjusted, so that the operation is complicated and the target operation is likely to act on other positions, resulting in resource waste. Therefore, in some embodiments, the first virtual object is automatically controlled to perform the target operation by selecting the object identifier of the second virtual object outside the operation execution area, thereby improving the operation execution efficiency and reducing the resource waste. In some embodiments, the candidate virtual object further includes a second candidate virtual object, and the step of determining the second virtual object whose target attribute value meets a predetermined condition as the candidate virtual object in response to the trigger operation on the target function control and generating the candidate object identifier of the candidate virtual object further includes the following steps.

[0097] Step 902: In response to a trigger operation on a target function control, a target attribute value of a second virtual object outside the operation execution area is obtained.

[0098] In some embodiments, when a trigger operation on a target function control is received, not only the object identifiers of the candidate virtual objects within the operation execution area but also the object identifiers of the candidate virtual objects outside the operation execution area can be generated, and the user can change the target attribute value of the second virtual object outside the operation execution area by a selection operation on the object identifiers.

[0099] Therefore, after receiving a trigger operation for the target function control, the terminal obtains the target attribute value of the second virtual object outside the operation execution area to determine whether it meets a predetermined condition.

[0100] Step 903: Determine a second virtual object whose target attribute value is lower than an attribute value threshold as a second candidate virtual object.

[0101] A second virtual object whose target attribute value is lower than the attribute value threshold and is within the operation execution area is a first candidate virtual object, and the object identifier of the first candidate virtual object is a first candidate object identifier. A second virtual object whose target attribute value is lower than the attribute value threshold and is outside the operation execution area is a second candidate virtual object, and the object identifier of the second candidate virtual object is a second candidate object identifier.

[0102] Optionally, the terminal determines a second virtual object, of which the target attribute value is lower than an attribute value threshold, as a second candidate virtual object, among second virtual objects outside the operation execution area.

[0103] Step 904: Generate a second candidate object identifier of a second candidate virtual object and a second object distance between the second candidate virtual object and the first virtual object, where the generation method or the generation area of ​​the first candidate object identifier is different from that of the second candidate object identifier.

[0104] After determining the second candidate virtual object, the terminal generates a second candidate object identifier of the second candidate virtual object, and because the second candidate virtual object is located outside the operation execution area, in some embodiments, while generating the second candidate object identifier, a second object distance between the second candidate virtual object and the first virtual object is generated. Optionally, the generation position of the second candidate object identifier may be determined based on a generation priority, and the determination manner of the generation priority can be referred to the determination manner of the generation priority of the first candidate object identifier in the above embodiment.

[0105] In some embodiments, the generation methods or generation areas of the first candidate object identifier and the second candidate object identifier are different so that the user can clearly distinguish between candidate virtual objects within the operation execution area and candidate virtual objects outside the operation execution area.

[0106] Optionally, the first candidate object identifier and the second candidate object identifier are distinguished by at least one of a resulting size, a resulting color, or a resulting brightness.

[0107] For example, as shown in FIG. 10 , the second virtual object a is located within the operation execution area, the second virtual object b and the second virtual object c are located outside the operation execution area, the attribute values ​​of the second virtual object a, the second virtual object b and the second virtual object c targets are all lower than the attribute value threshold, the virtual object 1001 is the second virtual object a, the virtual object 1002 is the second virtual object b, and the virtual object 1003 is the second virtual object c, so when a trigger operation on the target function control 1004 is received, a corresponding object identifier 1005 of the second virtual object a, a corresponding object identifier 1006 of the second virtual object a, and a corresponding object identifier 1007 of the second virtual object a are generated. The generation size of object identifier 1005 is larger than object identifier 1006 and object identifier 1007, and object identifier 1005 is different from the generation area of ​​object identifier 1006 and object identifier 1007, so a second object distance is generated on the object identifier 1006 side and the object identifier 1007 side.

[0108] In the above embodiment, a second candidate object identifier and a second object distance of a second candidate virtual object are generated. Since the second candidate virtual object is a virtual object outside the operation execution area and its target attribute value is lower than the attribute value threshold, the second object distance can be intuitively obtained, which helps determine the movement status of the second candidate virtual object when the second object distance changes, improves the positioning efficiency of the second candidate virtual object, reduces the calculation time for achieving the result, and saves calculation resources.

[0109] In some embodiments, in response to a selection operation on the candidate object identifier, determining the selected candidate object identifier as a target object identifier and controlling the first virtual object to perform a target operation on a target virtual object corresponding to the target object identifier further includes the steps of:

[0110] Step 905: In response to a selection operation on the target object identifier in the second candidate object identifier, obtain current location information of the target virtual object.

[0111] When the terminal receives a selection operation on a target object identifier in the second candidate object identifier, the terminal obtains current location information of the target virtual object, and controls the first virtual object to perform a target operation on the current location information.

[0112] Step 906: Control the first virtual object to move to the target virtual object based on the current position information.

[0113] Because the target virtual object is located outside the operation execution area, before controlling the first virtual object to perform the target operation, the terminal automatically controls the first virtual object to move to the current position of the target virtual object.

[0114] Step 907: If the target virtual object is located within the operation execution area, control the first virtual object to perform a target operation on the target virtual object based on the current position information.

[0115] When controlling the first virtual object to move to the position of a target virtual object, the terminal detects the distance between the first virtual object and the target virtual object in real time, and when it detects that the target virtual object is located within an operation execution area, performs a target operation on the target virtual object based on the current position information of the second target virtual object, thereby avoiding the user from manually controlling the first virtual object to move to the target virtual object outside the operation execution area, and improving the operation execution efficiency.

[0116] In this embodiment, the first virtual object is controlled to move to the target virtual object based on the current position information, and when the target virtual object is located within the operation execution area, the first virtual object is controlled to perform a target operation on the target virtual object based on the current position information, so that the first virtual object can be automatically controlled to move, and the target virtual object is positioned within the operation execution area, and there is no need for the user to manually control the first virtual object to move and adjust the operation execution area, and the target operation is performed on the target virtual object, thereby improving the efficiency and smoothness of man-machine interaction.

[0117] In some embodiments, the trigger operation for the target function control includes a long press operation, the selection operation for the target object identifier includes a drag operation, the position of the drag end point of the drag operation coincides with the position of the target object identifier, and the long press operation and the drag operation are consecutive operations.

[0118] The starting point of the drag operation may be the position where the target function control is located, and after performing a long press operation on the target function control, a drag operation is performed on the position of the target object identifier, thereby achieving a selection operation on the target object identifier.

[0119] In this embodiment, the long press and drag operations are used to conveniently and quickly realize the selection operation for the target object identifier, thereby improving the efficiency and smoothness of man-machine interaction.

[0120] In some embodiments, the trigger operation on the target function control, in addition to triggering the generation of a candidate object identifier, further triggers the generation of an execution location selection control, the execution location selection control determining an operation execution location, the operation execution location indicating a location on which the target operation acts, and the step of generating the candidate object identifier of the candidate virtual object includes the steps of determining a control generation area of ​​the execution location selection control and generating the candidate object identifier in the generation area outside the control generation area.

[0121] The user operates the execution position selection control to manually adjust the operation execution position of the target operation to execute the target operation. The operation execution position may be an area or a specific location, and if it is an area, it may be called an operation execution area. The generation position of the candidate object identifier is outside the control generation area of ​​the operation execution position selection control.

[0122] As shown in FIG. 11, when the terminal receives a trigger operation for a target function control, it triggers the generation of an operation execution location selection control and a candidate object identifier, and the control generation area 1101 of the operation execution location selection control and the candidate object identifier 1102 are generated in an area different from each other.

[0123] In this embodiment, by generating a candidate object identifier in a generation area outside the control generation area, the collisions between the positions of the candidate object identifier and the positions of the control generation area, the collisions between positions, and the operation collisions are reduced, the probability of erroneous operation is reduced, and duplicate operations and the resulting waste of computing resources are effectively avoided.

[0124] In some application scenarios, there is no second virtual object in the virtual environment that belongs to the same camp as the first virtual object, and there is no need to perform the target operation if the second virtual object does not exist.

[0125] In some embodiments, before generating an object identifier of a second virtual object whose target attribute value satisfies a predetermined condition in response to a trigger operation on the target functional control, the method further includes obtaining a quantity of the second virtual object in the virtual environment, and monitoring the target attribute value of the second virtual object if the quantity of the second virtual object is greater than a quantity threshold.

[0126] The quantity threshold may be a default value or a value set by a user.When a second virtual object exists in the virtual environment, the terminal monitors the target attribute value of the second virtual object.

[0127] Since the terminal monitors the target attribute values ​​of the second virtual objects in the virtual environment in real time, when the power consumption of the terminal is high and the number of second virtual objects is small, the user can generally accurately control the first virtual object to perform a target operation on the second virtual object. Therefore, in this embodiment, only when the quantity of the second virtual objects is greater than a quantity threshold, the terminal is triggered to detect the target attribute values ​​of each second virtual object. When the quantity of the second virtual objects is large, the corresponding target attribute values ​​of the second virtual objects can be quickly grasped, and there is no need to detect the corresponding target attribute values ​​of the second virtual objects in real time, thereby reducing the power consumption of the terminal and reducing the waste of computing resources when detecting the target attribute values.

[0128] In some embodiments, the method further includes ceasing monitoring for the target attribute value of the second virtual object when the quantity of the second virtual object is less than a quantity threshold.

[0129] In this embodiment, when the quantity of the second virtual object is less than the quantity threshold, the monitoring of the target attribute value of the second virtual object is stopped, thereby reducing the power consumption of the terminal.

[0130] Combining the above embodiments, in one illustrative example, FIG. 12 shows the control flow of a virtual object. Step 1201: The target attribute value monitoring function is started. Step 1202: Detect whether a second virtual object exists; if YES, execute step 1203; Step 1203: In response to a long press operation on the target function control, it is determined whether a second virtual object whose target attribute value is lower than the attribute value threshold exists, and if YES, step 1204 is executed. Step 1204: Generate candidate object identifiers. Step 1205: It is determined whether or not a candidate object identifier exists at the drag operation end position, and if YES, step 1206 is executed. Step 1206: Control the first virtual object to release the target skill on the target virtual object.

[0131] FIG. 13 is a block diagram of a virtual object control device according to an exemplary embodiment of the present application, which may be provided in the first terminal 110 or the second terminal 130 in the implementation environment of FIG. 1, or in another terminal, and the device includes: A first generation module 1301 for generating a virtual environment screen and a target function control, in which a first virtual object and a second virtual object are generated in the virtual environment screen, the target function control triggers the first virtual object to perform a target operation corresponding to a target function, and the target operation triggers a change in a target attribute value of the second virtual object; A second generating module 1302 that, in response to a trigger operation on a target function control, determines a second virtual object whose target attribute value satisfies a predetermined condition as a candidate virtual object and generates a candidate object identifier of the candidate virtual object; and a control module 1303 that, in response to a selection operation on a candidate object identifier, determines the selected candidate object identifier as a target object identifier and controls the first virtual object to execute a target operation on a target virtual object corresponding to the target object identifier.

[0132] In this embodiment, when there exists a second virtual object whose target attribute value satisfies a predetermined condition, a trigger operation on the target function control triggers the generation of a corresponding candidate object identifier; when a candidate object identifier is selected, the selected candidate object identifier is determined as a target object identifier; and the first virtual object is controlled to perform a target operation on the target virtual object, thereby changing the target attribute value of the target virtual object, thereby avoiding the target operation acting on a location where the second virtual object does not exist or on a second virtual object whose target attribute value does not need to be changed, thereby reducing the waste of calculation resources in the man-machine interaction process; and the target operation can be triggered to be performed on the target virtual object through the user's selection operation on the target object identifier, thereby simplifying the operation execution process, improving the efficiency of the operation execution, and enhancing the smoothness of the man-machine interaction.

[0133] Optionally, the candidate virtual objects include a first candidate virtual object, and the second generating module 1302 is a first acquisition unit for acquiring a target attribute value of a second virtual object in an operation execution area in response to a trigger operation on the target function control; a first determination unit for determining a second virtual object whose target attribute value is lower than an attribute value threshold as a first candidate virtual object; a second determination unit for determining a corresponding generation location for each of the first candidate object identifiers, the first candidate object identifiers being object identifiers of the first candidate virtual objects; a first generating unit for generating the first candidate object identifier at a generating location.

[0134] Optionally, the second decision unit further comprises: Obtain a distance between a first candidate virtual object and the first virtual object as a first object distance, and determine a generation priority of each first candidate object identifier, the generation priority being determined based on at least one of a target attribute value of a second virtual object, the first object distance, and a current game score of the first candidate virtual object; A corresponding generation position for each first candidate object identifier is determined based on the generation priority, and a distance from the generation position to the target functional control is configured to have a positive relationship with the generation priority.

[0135] Optionally, the apparatus comprises: The receiving module further includes a receiving module for receiving an attribute value reply request sent from the server, the attribute value reply request being sent from the second virtual object via the server and including a requested object identifier.

[0136] Optionally, the second decision unit further comprises: A trigger operation for a target function control is received within a predetermined period after receiving an attribute value reply request, and if the requested object identifier belongs to the first candidate object identifier, the requested object identifier is determined to have the highest generation priority.

[0137] Optionally, the first generating unit further comprises: A first candidate object identifier and object information of the first candidate virtual object are generated at a generation location, the object information being configured to include at least one of a target attribute value, a first object distance, and a current game score.

[0138] Optionally, the control module 1303 may: a second acquisition unit for determining, in response to a selection operation on the first candidate object identifier, the selected first candidate object identifier as a target object identifier, and acquiring current location information of a target virtual object corresponding to the target object identifier; and a first control unit configured to control the first virtual object to perform a target operation on the target virtual object based on the current position information.

[0139] Optionally, the candidate virtual objects further include a second candidate virtual object, and the second generating module 1302 is a third acquisition unit for acquiring a target attribute value of a second virtual object outside the operation execution area in response to a trigger operation on the target function control; a third determination unit for determining a second virtual object whose target attribute value is lower than an attribute value threshold as a second candidate virtual object; The virtual object recognition system further includes a second generation unit that obtains a distance between the second candidate virtual object and the first virtual object as a second object distance, and generates a second candidate object identifier and a second object distance of the second candidate virtual object, where the first candidate object identifier and the second candidate object identifier have different generation methods or generation areas.

[0140] Optionally, the control module 1303 may: a fourth acquisition unit for acquiring current location information of the target virtual object in response to a selection operation on the target object identifier in the second candidate object identifier; a second control unit that controls the first virtual object to move to the target virtual object based on the current position information; and a third control unit configured to control the first virtual object to perform a target operation on the target virtual object based on the current position information when the target virtual object is located within the operation execution area.

[0141] Optionally, the trigger operation for the target function control includes a long press operation, the selection operation for the target object identifier includes a drag operation, the position of the drag end point of the drag operation coincides with the position of the target object identifier, and the long press operation and the drag operation are consecutive operations.

[0142] Optionally, the trigger operation on the target function control is further used to trigger the generation of an execution location selection control.

[0143] Optionally, the second generating module 1302 further comprises: The control is configured to determine a control generation region of the execution location selection control and generate candidate object identifiers in the generation region outside the control generation region.

[0144] Optionally, the apparatus comprises: an acquisition module for acquiring a quantity of a second virtual object in the virtual environment; a monitoring module that monitors a target attribute value of the second virtual object when the quantity of the second virtual object is greater than a quantity threshold; and a stop module for stopping monitoring the target attribute value of the second virtual object when the quantity of the second virtual object is less than the quantity threshold.

[0145] As described above, in the embodiment of the present application, when there is a candidate virtual object whose target attribute value satisfies a predetermined condition, a trigger operation on the target function control can be performed to trigger the generation of a corresponding candidate object identifier, and the user can further perform a selection operation on the target object identifier in the candidate object identifier to control the first virtual object to perform a target operation corresponding to the target function on the target virtual object, thereby changing the target attribute value of the target virtual object to avoid the target skill being released to a location where the second virtual object does not exist or to a second virtual object whose target attribute value does not need to be changed, thereby improving the skill hit rate and avoiding the waste of skill resources; the user's selection operation on the target object identifier can be performed to trigger the execution of the target operation on the target virtual object, thereby simplifying the operation execution process and improving operation efficiency.

[0146] 14, a block diagram of a terminal 1400 according to an exemplary embodiment of the present application is shown. The terminal 1400 may be a portable mobile terminal, such as a smartphone, a tablet computer, a Moving Picture Experts Group Audio Layer III (MP3) player, or a Moving Picture Experts Group Audio Layer IV (MP4) player. The terminal 1400 may be called a user device, a portable terminal, or other names.

[0147] Generally, the terminal 1400 includes a processor 1401 and a memory 1402 .

[0148] The processor 1401 may include one or more processing cores, for example, a 4-core processor, an 8-core processor, etc. The processor 1401 may be implemented in at least one hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1401 may further employ a main processor and a co-processor, where the main processor is a processor that processes data in a wake state and is also called a central processing unit (CPU), and the co-processor is a low-power consumption processor that processes data in a standby state. In some embodiments, the processor 1401 is integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing content to be generated on a display. In some embodiments, the processor 1401 further includes an artificial intelligence (AI) processor, where the AI ​​processor processes computing operations related to machine learning.

[0149] The memory 1402 includes one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1402 may further include high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices, flash memory. In some embodiments, the non-transitory computer-readable storage media in the memory 1402 stores at least one instruction that is executed by the processor 1401 to implement a method according to an embodiment of the present application.

[0150] In some embodiments, the terminal 1400 may optionally further include a peripheral interface 1403 and at least one peripheral device. Specifically, the peripheral device includes at least one of a radio frequency circuit 1404, a touch display 1405, a camera component 1406, an audio circuit 1407, a positioning component 1408, and a power source 1409.

[0151] The peripheral interface 1403 connects at least one peripheral associated with input / output (I / O) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, the memory 1402, and the peripheral interface 1403 are integrated on the same chip or circuit board, while in other embodiments, any one or two of the processor 1401, the memory 1402, and the peripheral interface 1403 may be implemented on separate chips or circuit boards, to which the present embodiment is not limited.

[0152] The radio frequency circuit 1404 transmits and receives radio frequency (RF) signals, also called electromagnetic signals. The radio frequency circuit 1404 communicates with communication networks and other communication devices via the electromagnetic signals. The radio frequency circuit 1404 converts electrical signals into electromagnetic signals for transmission or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1404 includes an antenna system, an RF transceiver, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, user identity module cards, and the like. The radio frequency circuit 1404 communicates with other terminals via at least one wireless communication protocol, including, but not limited to, the World Wide Web, metropolitan area networks, intranets, mobile communication networks of various generations (2G, 3G, 4G, and 5G), wireless local area networks, and / or Wireless Fidelity WiFi networks. In some embodiments, the radio frequency circuitry 1404 may further include circuitry related to Near Field Communication (NFC), although this application is not limited thereto.

[0153] The touch display 1405 generates a UI. The UI may include graphics, text, icons, videos, and any combination thereof. The touch display 1405 further includes a capability of collecting touch signals on or above the surface of the touch display 1405. The touch signals are input as control signals to the processor 1401 for processing. The touch display 1405 provides virtual buttons and / or a virtual keyboard, also referred to as soft buttons and / or a soft keyboard. In some embodiments, the touch display 1405 may be one and is located on the front panel of the terminal 1400, in other embodiments, the touch display 1405 may be at least two and is located on different surfaces of the terminal 1400 or designed to be folded, and in further embodiments, the touch display 1405 may be a flexible display and is located on a curved or folded surface of the terminal 1400. Furthermore, the touch display 1405 may be designed to have a non-rectangular irregular shape, i.e., an irregular display. The touch display 1405 is fabricated from materials such as Liquid Crystal Display (LCD) and Organic Light-Emitting Diode (OLED).

[0154] The camera component 1406 collects images or videos. Optionally, the camera component 1406 includes a front camera and a rear camera. Generally, the front camera realizes video calling or selfies, and the rear camera realizes taking photos or videos. In some embodiments, there are at least two rear cameras, each of which is one of a main camera, a depth camera, and a wide-angle camera, and the main camera and the depth camera are combined to realize a background blur function, and the main camera and the wide-angle camera are combined to realize a panoramic shooting and a virtual reality (VR) shooting function. In some embodiments, the camera component 1406 further includes a flash. The flash may be a single color temperature flash or a dual color temperature flash. The dual color temperature flash refers to a combination of a warm-color flash and a cool-color flash, and can be used to compensate for light at different color temperatures.

[0155] The audio circuit 1407 provides an audio interface between the user and the terminal 1400. The audio circuit 1407 includes a microphone and a speaker. The microphone collects sound waves from the user and the environment, converts the sound waves into electrical signals, and inputs them to the processor 1401 for processing, or to the radio frequency circuit 1404 for voice communication. The microphone may be multiple, and each microphone may be provided at a different part of the terminal 1400 for stereo collection or noise reduction. The microphone may be an array microphone or an omnidirectional microphone. The speaker converts the electrical signal from the processor 1401 or the radio frequency circuit 1404 into an acoustic wave. The speaker may be a conventional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into an acoustic wave that can be heard by humans, but also convert the electrical signal into an acoustic wave that cannot be heard by humans for applications such as distance measurement. In some embodiments, the audio circuit 1407 may further include an earphone jack.

[0156] The positioning component 1408 realizes navigation or location-based services (LBS) by locating the current geographic location of the terminal 1400. The positioning component 1408 may be a positioning component based on the United States Global Positioning System (GPS), the Chinese Beidou system, or the Russian Galileo system.

[0157] The power source 1409 provides power to each component in the terminal 1400. The power source 1409 may be an AC power source, a DC power source, a primary battery, or a rechargeable battery. If the power source 1409 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged by a wireless coil. The rechargeable battery may be used to support a quick-charge technology.

[0158] In some embodiments, terminal 1400 further includes one or more sensors 1410, including, but not limited to, an acceleration sensor 1411, a gyro sensor 1412, a pressure sensor 1413, a fingerprint sensor 1414, an optical sensor 1415, and a proximity sensor 1416.

[0159] The acceleration sensor 1411 detects the magnitude of acceleration on three coordinate axes of a coordinate system established in the terminal 1400. For example, the acceleration sensor 1411 detects components of gravitational acceleration on three coordinate axes. The processor 1401 controls the touch display 1405 to generate a user interface at a horizontal viewing angle or a vertical viewing angle based on the gravitational acceleration signal collected by the acceleration sensor 1411. The acceleration sensor 1411 further collects game or user motion data.

[0160] The gyro sensor 1412 detects the body orientation and rotation angle of the terminal 1400, and cooperates with the acceleration sensor 1411 to collect the user's 3D movement relative to the terminal 1400. Based on the data collected by the gyro sensor 1412, the processor 1401 realizes functions such as motion sensing (e.g., changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0161] The pressure sensor 1413 is provided on a side frame of the terminal 1400 and / or under the touch display 1405. When the pressure sensor 1413 is provided on a side frame of the terminal 1400, it detects a user's grip signal on the terminal 1400 and performs left / right hand recognition or shortcut operation based on the grip signal. When the pressure sensor 1413 is provided under the touch display 1405, it realizes control over operable controls of the UI interface based on the user's pressure operation on the touch display 1405. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0162] The fingerprint sensor 1414 collects a user's fingerprint and recognizes the user's identity based on the collected fingerprint. If the processor 1401 recognizes the user's identity as a trusted identity, the processor 1401 allows the user to perform related sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 1414 is provided on the front, back, or side of the terminal 1400. If the terminal 1400 is provided with a physical button or a manufacturer's logo, the fingerprint sensor 1414 may be integrated with the physical button or the manufacturer's logo.

[0163] The light sensor 1415 collects the intensity of the ambient light. In one embodiment, the processor 1401 controls the display brightness of the touch display 1405 based on the ambient light intensity collected by the light sensor 1415. Specifically, when the ambient light intensity is high, the display brightness of the touch display 1405 is increased, and when the ambient light intensity is low, the display brightness of the touch display 1405 is decreased. In another embodiment, the processor 1401 may further dynamically adjust the shooting parameters of the camera component 1406 based on the ambient light intensity collected by the light sensor 1414.

[0164] The proximity sensor 1416 is also called a distance sensor and is typically provided on the front of the terminal 1400. The proximity sensor 1416 collects the distance between the user and the front of the terminal 1400. In one embodiment, when the proximity sensor 1416 detects that the distance between the user and the front of the terminal 1400 is gradually decreasing, the processor 1401 controls the touch display 1405 to switch from a lighted state to an unlighted state, and when the proximity sensor 1416 detects that the distance between the user and the front of the terminal 1400 is gradually increasing, the processor 1401 controls the touch display 1405 to switch from an unlighted state to a lighted state.

[0165] As will be appreciated by those skilled in the art, the configuration of FIG. 14 is not limiting of terminal 1400 and may include more or fewer components than shown, may combine some components, or may employ different component arrangements.

[0166] An embodiment of the present application further provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is loaded and executed by a processor to realize the method for controlling a virtual object described in each of the above embodiments.

[0167] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions stored in a computer-readable storage medium, and a processor of a terminal reads and executes the computer instructions from the computer-readable storage medium, thereby causing the terminal to perform the method for controlling a virtual object provided by various preferred implementations of the above aspects.

[0168] As can be appreciated by those skilled in the art, in one or more of the above examples, the functions described in the embodiments of the present application can be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, these functions can be stored in a computer-readable storage medium or transmitted as one or more instructions or codes on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, and communication media include any medium that transmits a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0169] The above does not limit the present application, but is only a preferred embodiment of the present application, and any modifications, equivalent replacements, improvements, etc. completed within the spirit and principle of the present application are within the protection scope of the present application. [Explanation of symbols]

[0170] 1301 First Generation Module 1302 Second generation module 1303 Control Module 1401 Processor 1402 Memory 1403 Peripheral Device Interface 1404 Radio Frequency Circuits 1405 Touch Display 1406 Camera Component 1407 Audio Circuit 1408 Positioning Components 1409 Power supply 1410 Sensor 1411 Accelerometer 1412 Gyro sensor 1413 Pressure Sensor 1414 Fingerprint Sensor 1415 Optical Sensor 1416 Proximity Sensor

Claims

1. 1. A method for controlling a virtual character, the method being executed by a computer device, comprising: generating a virtual environment screen and a target function control, the target function control being configured to trigger a target operation to be performed, the target operation being configured to trigger an increase in a target attribute value of at least one second virtual character; determining, in response to a trigger operation on the target function control, a second virtual character among the at least one second virtual character, the second virtual character having the target attribute value lower than an attribute value threshold, as a candidate virtual character, and generating at least one candidate character identifier corresponding to the candidate virtual character; and in response to a selection operation on one of the at least one candidate character identifiers, controlling to execute the target operation on a second virtual character corresponding to the selected one candidate character identifier.

2. The candidate virtual characters include a first candidate virtual character, and the step of determining, in response to a trigger operation on the target function control, a second virtual character among the at least one second virtual character, the second virtual character having the target attribute value lower than the attribute value threshold, as a candidate virtual character and generating at least one candidate character identifier corresponding to the candidate virtual character includes: acquiring the target attribute value of the at least one second virtual character within an operation execution area in response to a trigger operation on the target function control; determining the second virtual character having the target attribute value lower than the attribute value threshold as a first candidate virtual character; determining a corresponding generated position for each first candidate character identifier, the first candidate character identifier being a character identifier for the first candidate virtual character; and generating the first candidate character identifier at the generating position.

3. The virtual environment screen includes a first virtual character and the at least one second virtual character; The step of determining a corresponding generation position for each of the first candidate character identifiers comprises: obtaining a distance between the first candidate virtual character and the first virtual character as a first character distance; determining a generation priority of each of the first candidate virtual characters, the generation priority being determined based on at least one of the target attribute value of the first candidate virtual character, the first character distance, and a current game score of the first candidate virtual character; 3. The method of claim 2, further comprising: determining the corresponding generation position of each of the first candidate character identifiers based on the generation priority, wherein the distance from the generation position to the target function control has a positive relationship with the generation priority.

4. receiving an attribute value recovery request sent from a server, the attribute value recovery request being sent from the second virtual character via the server and including a requesting character identifier; The step of determining a generation priority of each of the first candidate character identifiers includes: The method according to claim 3, further comprising a step of determining the requested character identifier as the highest generation priority if a trigger operation on the target function control is received within a predetermined period after receiving the attribute value recovery request and the requested character identifier belongs to the first candidate character identifier.

5. The step of generating the first candidate character identifier at the generation position includes:

4. The method of claim 3, further comprising generating the first candidate character identifier and character information of the first candidate virtual character at the generation location, the character information including at least one of the target attribute value, the first character distance, and the current game score.

6. In response to a selection operation on one of the at least one candidate character identifiers, the step of controlling to execute the target operation on a second virtual character corresponding to the one selected candidate character identifier includes: acquiring current position information of a second virtual character corresponding to the one candidate character identifier in response to a selection operation for the one candidate character identifier; The method according to any one of claims 2 to 5, further comprising a step of controlling the second virtual character to execute the target operation based on the current position information.

7. The virtual environment screen includes a first virtual character and the at least one second virtual character; The candidate virtual characters further include a second candidate virtual character, and the step of determining, in response to a trigger operation on the target function control, a second virtual character having the target attribute value lower than the attribute value threshold as a candidate virtual character and generating at least one candidate character identifier corresponding to the candidate virtual character includes: acquiring the target attribute value of the second virtual character outside an operation execution area in response to a trigger operation on the target function control; determining the second virtual character having the target attribute value lower than the attribute value threshold as a second candidate virtual character; obtaining a distance between the second candidate virtual character and the first virtual character as a second character distance; The method according to any one of claims 2 to 5, further comprising a step of generating at least one second candidate character identifier corresponding to the second candidate virtual character and the second character distance, wherein the generation method or generation area of ​​the first candidate character identifier and the second candidate character identifier are different.

8. In response to a selection operation on one of the at least one candidate character identifiers, the step of controlling to execute the target operation on a second virtual character corresponding to the one selected candidate character identifier includes: In response to a selection operation for one of the second candidate character identifiers, acquiring current position information of a second virtual character corresponding to the one candidate character identifier; controlling the first virtual character to move to a second virtual character corresponding to the one candidate character identifier based on the current position information; The method according to claim 7, further comprising: when a second virtual character corresponding to the one candidate character identifier is located within an operation execution area, based on the current position information, controlling the first virtual character to execute the target operation on the second virtual character corresponding to the one candidate character identifier.

9. A method according to any one of claims 1 to 5, characterized in that the trigger operation for the target function control includes a long press operation, the selection operation for the one candidate character identifier includes a drag operation, the position of the drag end point of the drag operation coincides with the position of the one candidate character identifier, and the long press operation and the drag operation are consecutive operations.

10. A trigger operation on the target function control further triggers the generation of an execution location selection control, the execution location selection control determines an operation execution location, and the operation execution location indicates a location on which the target operation is to be applied; The step of generating at least one candidate character identifier corresponding to the candidate virtual character comprises: A method according to any one of claims 1 to 5, characterized in that it includes a step of determining a control generation area of ​​the execution position selection control and generating the at least one candidate character identifier in a generation area outside the control generation area.

11. determining a second virtual character having the target attribute value lower than the attribute value threshold as a candidate virtual character in response to a trigger operation on the target function control, and generating at least one candidate character identifier corresponding to the candidate virtual character, obtaining a quantity of the at least one second virtual character in the virtual environment view; if the quantity of the at least one second virtual character is greater than a quantity threshold; performing real-time monitoring of the target attribute value of the at least one second virtual character; acquiring the target attribute value acquired by the real-time monitoring as the target attribute value of the at least one second virtual character in response to a trigger operation on the target function control; The method according to any one of claims 1 to 5, further comprising:

12. if the quantity of the at least one second virtual character is less than the quantity threshold, ceasing the real-time monitoring of the target attribute value of the at least one second virtual character; acquiring the target attribute value of the at least one second virtual character in response to a trigger operation on the target function control; The method of claim 11 further comprising:

13. A virtual character control device, a first generation module for generating a virtual environment screen and a target function control, the target function control triggering a target operation to be performed, the target operation triggering an increase in a target attribute value of at least one second virtual character; a second generation module that, in response to a trigger operation on the target function control, determines a second virtual character among the at least one second virtual character whose target attribute value is lower than an attribute value threshold as a candidate virtual character, and generates at least one candidate character identifier corresponding to the candidate virtual character; and a control module that, in response to a selection operation for one of the at least one candidate character identifiers, controls to execute an operation to increase the target attribute value for a second virtual character corresponding to the selected one candidate character identifier.

14. 13. A terminal comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, the at least one program, code set or instruction set is loaded and executed by the processor to realize the method for controlling a virtual character according to any one of claims 1 to 12.

15. 13. A computer-readable storage medium, comprising: at least one computer program stored in the computer-readable storage medium; and the computer program is loaded and executed by a processor to realize the method for controlling a virtual character according to any one of claims 1 to 12.

16. A computer program, which, when executed by a processor, implements the steps of the method for controlling a virtual character according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Operation control method and device of virtual object in game and mobile terminal

    CN110064193A

  • Analyzing device for flame spectrophotometric intensity

    JP1981076036A

  • Casting method for gray cast iron

    JP1982029513A

  • Item selection device, item selection method, and program

    JP2013073479A

  • Server device, method, and program

    JP2015058359A