Virtual object control method, apparatus, device, and computer program

JP2024096928A5Active Publication Date: 2024-11-13TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024066606
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-04-23
Filing Date
2024-04-17
Publication Date
2024-11-13
Estimated Expiration
2041-03-08

AI Technical Summary

Technical Problem

In existing virtual environment applications, users cannot accurately determine the target of a skill release before executing it, leading to potential misdirection and wastage of resources.

Method used

A method and apparatus that allows users to pre-mark a target virtual object in a battle interface based on preset conditions, enabling automatic or user-defined selection, and execute actions upon receiving a trigger signal, thereby improving accuracy and efficiency.

Benefits of technology

Enhances the precision and speed of virtual object control by allowing users to know the target object before operation, reducing delays and improving interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To allow a target virtual object which is an object for an operation to be recognized by marks when a user is not performing an operation, and improve efficiency and accuracy of virtual object control.SOLUTION: A virtual object control method includes: a step for displaying a match interface including a first virtual object, at least one second virtual object, and a first widget; a step for determining a target virtual object from the at least one second virtual object, and marking the target virtual object by a preset method; a step for receiving a first trigger signal that acts on the first widget; and a step for controlling the first virtual object to change a target attribute value of the target virtual object using a virtual item in response to the fact that the first trigger signal satisfies an automatic control condition.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims priority to a Chinese patent application bearing application number 202010328506.0, filed on April 23, 2020, and entitled "Virtual object control method, apparatus, device and storage medium," the entire contents of which are incorporated herein by reference.

[0002] [Technical field] The present embodiment relates to the field of computer technology, and more particularly to a method, an apparatus, a device, and a storage medium for controlling a virtual object. [Background technology]

[0003] In applications based on two-dimensional or three-dimensional virtual environments, such as Multiplayer Online Battle Arena games (MOBAs), users can control virtual objects in a virtual scene, release their skills against other virtual objects, virtual buildings, etc., and compete to achieve certain victory conditions.

[0004] In the related art, a user can quickly release a skill on a virtual object by clicking a skill widget. The virtual object may be a default virtual object determined by the server based on the client's data, or the user may actively select a virtual object by dragging the skill widget to release the skill. During the skill release, the presentation layer of the application marks the virtual object on which the skill is released with a special mark and displays it on the screen of the virtual environment.

[0005] However, when using the method of related technology in which a special mark is attached to a virtual object during skill release, the user can only determine whether the skill release target is the intended virtual object during skill release, and cannot know the virtual object corresponding to the skill before releasing the skill, which may result in the user releasing the skill to the wrong target, resulting in wasting skill resources. Summary of the Invention

[0006] The present invention provides a method, an apparatus, a device, and a storage medium for controlling a virtual object, which allows a user to know a target virtual object to be operated by a mark when the user is not performing an operation, and can improve the efficiency and accuracy of controlling the virtual object.

[0007] In one aspect, an embodiment of the present application provides a method for controlling a virtual object applied to a terminal, the method comprising: displaying a battle interface, the battle interface including a first virtual object, at least one second virtual object, and a first widget, the first virtual object and the second virtual object being located in a virtual world and belonging to different camps, and the first widget controlling the first virtual object to change a target attribute value of another virtual object using a virtual item; determining a target virtual object from the at least one second virtual object and marking the target virtual object in a preset manner; receiving a first trigger signal acting on the first widget; and in response to the first trigger signal satisfying an automatic control condition, controlling the first virtual object to change the target attribute value of the target virtual object using a virtual item.

[0008] In another aspect, embodiments of the present application include a display module for displaying a battle interface, the battle interface including a first virtual object, at least one second virtual object, and a first widget, the first virtual object and the second virtual object being located in a virtual world and belonging to different camps, and the first widget controlling the first virtual object to change a target attribute value of another virtual object using a virtual item; a first determination module for determining a target virtual object from at least one of the second virtual objects and marking the target virtual object in a preset manner; a receiving module for receiving a first trigger signal acting on the first widget; and a first control module for controlling the first virtual object to change the target attribute value of the target virtual object using a virtual item in response to the first trigger signal satisfying an automatic control condition.

[0009] In another aspect, an embodiment of the present application provides a computer device including a processor and a memory having at least a portion of a program stored therein, the at least a portion of the program being loaded and executed by the processor to realize the method for controlling a virtual object described in the above aspect.

[0010] In another aspect, an embodiment of the present application provides a computer-readable storage medium having at least a portion of a program stored therein, the at least a portion of the program being loaded and executed by a processor to realize the method for controlling a virtual object described in the above aspect.

[0011] In another aspect, according to an aspect of the present application, there is provided a computer program product or computer program comprising computer commands stored in a computer readable storage medium, the computer commands being read by a processor in a terminal and executed to cause the terminal to perform the method for controlling a virtual object provided in any embodiment of each of the above aspects.

[0012] The technical solutions provided in the embodiments of the present application provide at least the following beneficial effects:

[0013] In the embodiment of the present application, a target virtual object in a battle interface is marked in a preset manner, and when a first trigger signal that satisfies an automatic control condition acting on a first widget is received, the first virtual object is controlled to change a target attribute value of the target virtual object, and the target virtual object is marked before controlling the first virtual object to change the target attribute value of the target virtual object. Therefore, when a user is not performing an operation, the target virtual object to be operated can be known by the mark, and when the target virtual object does not match the desired object, the target virtual object can be changed by another operation. When the target virtual object matches the desired object, the operation can be quickly performed in the first widget, which can improve the efficiency and accuracy of controlling the virtual object, and can avoid the need to check or mark the operation target during the operation, thereby reducing the delay in the operation execution time and further improving the efficiency of man-machine interaction. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a schematic diagram of an implementation environment provided by one exemplary embodiment of the present application. [Diagram 2] 1 is a flowchart of a method for controlling a virtual object provided by an exemplary embodiment of the present application. [Diagram 3]FIG. 2 is a schematic diagram of a battle interface provided by an exemplary embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of a mark of a target virtual object provided by one exemplary embodiment of the present application; [Diagram 5] FIG. 13 is a schematic diagram of a battle interface provided by another exemplary embodiment of the present application. [Figure 6] 11 is a flowchart of a method for controlling a virtual object provided by another exemplary embodiment of the present application. [Figure 7] FIG. 2 is a schematic diagram of a decision candidate virtual object provided by one exemplary embodiment of the present application; [Figure 8] FIG. 2 is a schematic diagram of a first widget provided by an exemplary embodiment of the present application; [Figure 9] FIG. 13 is a schematic diagram of a battle interface provided by another exemplary embodiment of the present application. [Figure 10] FIG. 13 is a schematic diagram of a battle interface provided by another exemplary embodiment of the present application. [Figure 11] 11 is a flowchart of a method for controlling a virtual object provided by another exemplary embodiment of the present application. [Figure 12] FIG. 13 is a schematic diagram of a battle interface provided by another exemplary embodiment of the present application. [Figure 13] 11 is a flowchart of a method for controlling a virtual object provided by another exemplary embodiment of the present application. [Figure 14] FIG. 2 is a block diagram of the structure of a control device for a virtual object provided according to an exemplary embodiment of the present application; [Figure 15] FIG. 2 is a block diagram of the structure of a terminal provided according to one exemplary embodiment of the present application; [Figure 16] FIG. 2 is a block diagram of a server structure provided by one exemplary embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] In order to make the objectives, technical solutions and advantages of the present application clearer, the following describes the embodiments of the present application in more detail with reference to the drawings.

[0016] As used herein, "plurality" means two or more. "And / or" indicates a relationship between related objects, and indicates that three types of relationships may exist. For example, A and / or B may indicate three cases: when only A is present, when A and B are present at the same time, and when only B is present. The symbol " / " generally indicates that the related objects before and after it are in an "or" relationship.

[0017] First, terms related to the embodiments of the present application will be briefly explained.

[0018] The virtual world is a virtual world that is displayed (or provided) when an application is executed on a terminal. The virtual world may be a simulation world of the real world, a three-dimensional world that combines semi-simulation and semi-fiction, or a completely fictional three-dimensional world. The virtual world may be any one of a two-dimensional virtual world, a two-and-a-half-dimensional virtual world, and a three-dimensional virtual world. Optionally, the virtual world is also used for a virtual world battle between at least two virtual objects, and the virtual world includes virtual resources that can be used by at least two virtual objects. Optionally, the virtual world includes symmetrical lower left and upper right areas, and virtual objects belonging to two rival camps each occupy one area, and the victory goal is to destroy a target building / base / base / crystal at the back of the opponent's area.

[0019] A virtual object is an object that can be moved in a virtual world. The movable object may be at least one of a virtual human, a virtual animal, and an animated character. Optionally, when the virtual world is a three-dimensional virtual world, the virtual object may be a three-dimensional solid model, and each virtual object has its own shape and volume in the three-dimensional virtual world and occupies a part of the space in the three-dimensional virtual world. Optionally, the virtual object is a three-dimensional character created based on three-dimensional human body skeleton technology, and the virtual object realizes various appearances by wearing various skins. In some embodiments, the virtual object may be realized as a 2.5-dimensional or 2-dimensional model, but the embodiment of the present application is not limited thereto.

[0020] A multiplayer online battle arena game is a game in which different virtual teams belonging to at least two rival camps each occupy their own map area in a virtual world and compete to achieve certain victory conditions. The victory conditions include, but are not limited to, at least one of the following: occupying a base or destroying a base of the rival camp, killing a virtual object in the rival camp, ensuring one's own survival within a specified scene and time, seizing a certain resource, and exceeding the opponent's score within a specified time. The battle arena can be played in rounds, and the map of the battle arena for each round may be the same or different. Each virtual team includes one or more virtual objects, and may be, for example, one, two, three, or five.

[0021] A virtual item is an item that a virtual object can use in a virtual environment, and includes virtual weapons capable of damaging other virtual objects, such as a pistol, a rifle, a sniper rifle, a dagger, a blade, a sword, an axe, a rope, etc., supply items, such as bullets, defensive items, such as a shield, armor, an armored car, etc., virtual items to be displayed from the hand of a virtual object when releasing a skill, such as a virtual beam, a virtual shock wave, etc., and a part of the body of a virtual object, such as a hand or a foot. Optionally, a virtual item in an embodiment of the present application is an item equipped by default to a virtual object.

[0022] A user interface (UI) widget is any visual widget or element that appears in an application's user interface, such as pictures, input boxes, text boxes, buttons, labels, and other widgets, some of which respond to user actions.

[0023] 1 is a schematic diagram of an implementation environment provided in an embodiment of the present application. The implementation environment may include a first terminal 110, a server 120, and a second terminal 130.

[0024] An application 111 supporting a virtual world is installed and executed on the first terminal 110, and the application 111 may be a multiplayer online battle program. When the application 111 is executed on the first terminal, a user interface of the application 111 is displayed on the screen of the first terminal 110. The application 111 may be any one of a military simulation program, a MOBA game, a battle royale shooting game, and a simulation game (Simulation Game, SLG). In this embodiment, an example in which the application 111 is a MOBA game will be described. 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 the activity of a first virtual object located in the virtual world, and the first virtual object is called a master virtual object of the first user 112. The activity of the first virtual object includes at least one of body posture adjustment, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and skill release, but is not limited thereto. In one example, the first virtual object is a first virtual character, such as a simulation character or an animated character.

[0025] The second terminal 130 has an application 131 that supports a virtual world installed and running, and the application 131 may be a multiplayer online battle program. When the application 131 is running on the second terminal 130, a user interface of the application 131 is displayed 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. In this embodiment, an example in which the application 131 is a MOBA game will be described. 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 the activity of a second virtual object located in the virtual world, and the second virtual object is called a master virtual character of the second user 132. As an example, the second virtual object is a second virtual character, such as a simulation character or an anime character.

[0026] Optionally, the first virtual object and the second virtual object exist in the same virtual world. Optionally, the first virtual object and the second virtual object may belong to the same faction, team, or organization and have a friend relationship or temporary communication rights. Optionally, the first virtual object and the second virtual object may belong to different factions, teams, or organizations, or have a rival relationship.

[0027] Optionally, the applications installed on the first terminal 110 and the second terminal 130 are the same, or the applications installed on the two terminals are the same type of applications on different operating system platforms (Android or IOS). The first terminal 110 may broadly mean one of a plurality of terminals, and the second terminal 130 may broadly mean the other of a plurality of terminals, and in this embodiment, only the first terminal 110 and the second terminal 130 are described as examples. The device types of the first terminal 110 and the second terminal 130 may be the same or different, and include at least one of a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer.

[0028] 1 shows only two terminals, in some embodiments, there are multiple other terminals that can access the server 120. Optionally, there is also one or more terminals corresponding to developers, on which an application development and editing platform supporting the virtual world is installed, where the developer can edit and update the application on the terminal and send the updated application installation package to the server 120 via a wired or wireless network, and the first terminal 110 and the second terminal 130 can download the application installation package from the server 120 to update the application.

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

[0030] The server 120 includes at least one of a server, a server cluster composed of multiple servers, a cloud computing platform, and a virtualization center. The server 120 is for providing background services to applications supporting a 3D virtual world. Optionally, the server 120 is responsible for primary computing tasks, and the terminal is responsible for secondary computing tasks, or the server 120 is responsible for secondary computing tasks, and the terminal is responsible for primary computing tasks, or the server 120 and the terminal perform collaborative computing through a distributed computing architecture.

[0031] In one schematic example, the server 120 includes a memory 121, a processor 122, a user account database 123, a battle service module 124, and a user-facing input / output interface (I / O interface) 125. The processor 122 is for loading commands stored in the server 120 and processing data in the user account database 123 and the battle service module 124. The user account database 123 is for storing data of user accounts used in the first terminal 110, the second terminal 130, and other terminals, such as an icon of the user account, a nickname of the user account, a combat power index of the user account, and a service area in which the user account is located. The battle service module 124 is for providing a plurality of battle rooms in which users can battle in 1V1 battle, 3V3 battle, 5V5 battle, and the like. The user-facing I / O interface 125 is for establishing communication and exchanging data with the first terminal 110 and / or the second terminal 130 via a wireless network or a wired network.

[0032] 2 shows a flowchart of a method for controlling a virtual object provided in an exemplary embodiment of the present application. In this embodiment, the method is described by taking an example in which the method is applied to the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1, or to other terminals in the implementation environment. The method includes the following steps:

[0033] Step 201: Display a battle interface including a first virtual object, at least one second virtual object, and a first widget.

[0034] The first virtual object and the second virtual object are located in the virtual world and belong to different factions. The first widget is for controlling the first virtual object to change a target attribute value of the other virtual object using a virtual item.

[0035] In one possible embodiment, the battle interface includes a virtual world screen and a widget layer located on the virtual world screen, the virtual world screen includes a first virtual object and at least one second virtual object, the first virtual object is a virtual object belonging to a first camp, the second virtual object is a virtual object belonging to a second camp, and both are in a rival relationship. For example, the second virtual object includes a virtual object in the second camp controlled by another terminal and a virtual object in the second camp controlled by a server, including a soldier controlled by the server, a virtual building that can be captured, etc.

[0036] Optionally, the second virtual object further includes a virtual object belonging to a third faction controlled by the server, such as a monster in the virtual world.

[0037] In one example, the virtual world is a virtual world having an arbitrary bounding shape, and the first virtual object is located within a visible range of the battle interface. Optionally, the first virtual object is located at a visual center of the virtual world screen, i.e., at a center of the virtual world screen when observing the virtual world from a third person perspective.

[0038] The viewpoint is an observation angle when a virtual character observes in a virtual world from a first-person viewpoint or a third-person viewpoint. Optionally, in the embodiment of the present application, the viewpoint is an angle when a virtual character is observed through a camera model in the virtual world. Optionally, the camera model automatically follows a virtual object in the virtual world, that is, when the position of the virtual object in the virtual world changes, the camera model changes its position while following the position of the virtual object in the virtual world so that the camera model is always within a preset distance of the virtual object in the virtual world. Optionally, during the automatic tracking, the relative position between the camera model and the virtual object does not change. In the embodiment of the present application, the third-person viewpoint is described as an example. Optionally, the camera model is behind the virtual object (e.g., the head and shoulders of the virtual character).

[0039] In one possible embodiment, the widget layer of the battle interface includes a first widget for controlling a first virtual object to change a target attribute value of another virtual object using a virtual item. In one example, the first widget is for controlling a basic operation of the first virtual object, and is also called a normal attack widget.

[0040] As an example, one battle interface is shown in FIG. 3. The virtual world screen of the battle interface includes a first virtual object 301, a second virtual object 302, and a virtual environment such as buildings, plants, and roads in the field of view. The widget layer of the battle interface includes a first widget 303 and other skill widgets 304, as well as a direction widget 305 for controlling the movement and direction change of the first virtual object 301, and the user can trigger such widgets by operations such as clicking and dragging. In addition, the widget layer further includes a map widget 306 for displaying the virtual world, a widget 307 for displaying information such as battle results and battle time, and a UI widget for realizing other functions such as game settings, voice calls, and message sending.

[0041] Step 202: Determine a target virtual object from the at least one second virtual object, and mark the target virtual object in a preset manner.

[0042] In one possible embodiment, the terminal searches for a second virtual object in real time, determines a second virtual object that meets a preset condition as a target virtual object, and marks the target virtual object.

[0043] The preset condition may be at least one of the following: the second virtual object satisfies a normal attack target; the distance between the second virtual object and the first virtual object satisfies a preset distance condition (e.g., closest to the first virtual object); the attribute value of the second virtual object satisfies a preset attribute value condition (e.g., the hit points or defense value of the second virtual object is the lowest); and the target faction to which the second virtual object belongs belongs to a preset faction, etc. Optionally, the preset condition may be a condition previously set by the user, for example, it may be set to preferentially attack a certain type of virtual object, but the embodiment of the present application does not limit the method of selecting the target virtual object.

[0044] Optionally, the preset methods for marking the target virtual object include methods such as highlighting the edges of the character and / or target attribute information field of the target virtual object, changing the color of the information held by the target virtual object, adding a special mark near (e.g. directly below) the character of the target virtual object, and displaying a ray of light from the first virtual object to the target virtual object.

[0045] 4 shows one example of a method for marking a target virtual object 401. After the terminal determines the target virtual object 401 from the second virtual object, the terminal adds a highlight effect to the outer edge of the target attribute information field 402 above the target virtual object 401, and displays a specific mark 403 directly below the target virtual object 401.

[0046] 5, a first virtual object 501, a second virtual object 502a, and a second virtual object 502b are displayed on the battle interface. The terminal determines the second virtual object 502a from the two second virtual objects as the target virtual object, and marks the second virtual object 502a by the preset method described above.

[0047] Step 203: Receive a first trigger signal acting on a first widget.

[0048] In one possible embodiment, the first trigger signal is generated when a user triggers the first widget, for example, the user may trigger the first trigger signal by performing an operation such as a click or drag on the first widget.

[0049] Step 204: In response to the first trigger signal satisfying the automatic control condition, control the first virtual object to change a target attribute value of the target virtual object using the virtual item.

[0050] In one possible embodiment, in order to realize different control operations on the first virtual object, the terminal is pre-configured with control commands corresponding to different first trigger signals, and different first trigger signals are generated in response to different operations performed by the user on the first widget, thereby controlling the first virtual object to perform corresponding operations via the corresponding control commands.

[0051] In one possible embodiment, an automatic control condition is preset in the terminal, and when a first trigger signal generated by a user's touch operation on a first widget satisfies the automatic control condition, a control command corresponding to the first trigger signal indicates that a skill is released on a pre-marked target virtual object, and a first virtual object is controlled to change a target attribute value of the target virtual object using a virtual item.

[0052] Optionally, the terminal controls the first virtual object to change a target attribute value of the target virtual object based on the first trigger signal, the target attribute value including at least one of the following attribute values: remaining health points (also called remaining hit points), remaining power points, remaining mana points, etc. of the first virtual object. For example, changing the target attribute value of the target virtual object by the first virtual object using the virtual item may be expressed as decreasing the remaining hit points of the target virtual object by the first virtual object attacking the target virtual object using the virtual item.

[0053] In summary, in an embodiment of the present application, a target virtual object in a battle interface is marked in a preset manner, and when a first trigger signal that satisfies an automatic control condition acting on a first widget is received, the first virtual object is controlled to change a target attribute value of the target virtual object, and the target virtual object is marked before controlling the first virtual object to change the target attribute value of the target virtual object. Therefore, when a user is not performing an operation, the target virtual object to be operated on can be known from the mark, and if the target virtual object does not match the desired object, the target virtual object can be changed by another operation, and if the target virtual object matches the desired object, an operation can be quickly performed in the first widget, thereby improving the efficiency and accuracy of controlling virtual objects.

[0054] 6 shows a flowchart of a method for controlling a virtual object provided in another exemplary embodiment of the present application. In this embodiment, the method is described by taking an example in which the method is applied to the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1, or to other terminals in the implementation environment. The method includes the following steps:

[0055] Step 601: Display a battle interface including a first virtual object, at least one second virtual object, and a first widget.

[0056] The embodiment of step 601 can refer to step 201 above, so in the embodiment of the present application, it will not be repeated here.

[0057] Step 602: In response to the at least one second virtual object not including an actively selected virtual object, obtain first target information of the first virtual object and second target information of the at least one second virtual object.

[0058] Optionally, the first widget has two functions: a function of automatically controlling an attack of the first virtual object, and a function of actively selecting an attack target to control the attack of the first virtual object, and the attack priority of the actively selected attack target is higher than the attack priority of the attack target of the automatic control operation. The actively selected virtual object is a virtual object selected by a user by triggering the first widget, and the target information is for characterizing the state and position of the virtual object. As an example, the position in the target information is for indicating the position of the virtual object in the virtual world, and the state in the target information is for indicating each current attribute value of the virtual object. For example, the first target information includes at least one of the coordinates in the virtual world of the first virtual object and the level of the first virtual object, the power value, the virtual item to be used, and information that may affect the power value, such as remaining power points and remaining hit points. The second target information includes at least one of the coordinates in the virtual world of the second virtual object and state information, such as defense value, remaining hit points, and remaining power points.

[0059] In one possible embodiment, if the user does not operate the first widget to select any second virtual object, then correspondingly, the second virtual objects do not include an actively selected virtual object, and the terminal needs to automatically search through the first target information and the second target information to determine a target virtual object from the at least one second virtual object.

[0060] The determined target virtual object is the release target of the preset attack skill (the attack skill that can be released by triggering the first widget), and accordingly, it is necessary to ensure that the preset attack skill can act on the target virtual object or can cause expected damage to the target virtual object. Whether the above-mentioned skill release effect can be achieved is related to the position information, remaining hit points, defense value, remaining power points, etc. of the first virtual object and the second virtual object, so in one possible embodiment, when the terminal needs to select a target virtual object from a plurality of second virtual objects, it must first obtain target information of the first virtual object and each second virtual object, and then select an optimal target virtual object from the plurality of second virtual objects based on the target information.

[0061] Step 603: Determine a destination virtual object from the at least one second virtual object based on the first object information and the second object information.

[0062] Optionally, if the second target information of a second virtual object satisfies a preset condition, the terminal determines the second virtual object as a target virtual object. If there is no second virtual object whose second target information satisfies the preset condition, there is no target virtual object. For example, the number of target virtual objects is 1.

[0063] In the present application, only an example in which the number of target virtual objects is one will be described, but the number of target virtual objects is not limited. When there are two or more target virtual objects that satisfy the preset conditions, the number of corresponding target virtual objects may be two or more.

[0064] Optionally, the number of selected target virtual objects may be determined according to the type of attack corresponding to the preset attack skill, for example, if the preset attack skill can only act on a single virtual object, then only a single target virtual object can be selected accordingly, and if the preset attack skill can act on two or more virtual objects, then the terminal can correspondingly select two or more target virtual objects that meet the preset conditions.

[0065] In one possible embodiment, the first target information includes a first location and a first range, and the second target information includes a second location, where the first location is a location in the virtual world of a first virtual object, the second location is a location in the virtual world of a second virtual object, and the first range is a use range of a virtual item.

[0066] In one possible embodiment, step 603 includes the following steps 1 to 3.

[0067] Step 1: Based on a first range, a second range that is greater than the first range is determined.

[0068] Here, the second range is a range in which the terminal searches for a target virtual object. In one possible embodiment, the second range is made larger than the first range so that the second virtual object near the first virtual object is included in the search range. In one possible embodiment, both the first range and the second range are circular ranges or sector areas in which the first virtual object faces in a predetermined direction and at a predetermined angle.

[0069] As an example, the terminal sets the radius of the second range to the radius of the first range + k, and when the first range is a circular area, the terminal sets the second range to a circular area having the same center and a radius 2 m larger than the radius of the first range. For example, when the first range is an area in which a circle having a radius of 5 m is located, with the first position in the virtual world as its center, the terminal determines the second range as an area in which a circle having a radius of 7 m is located, with the first position in the virtual world as its center. Alternatively, when the first range is a sector area located directly in front of the first virtual object, with a radius of 5 m and an angle of 45°, the terminal determines the second range as a circular area having a radius of 7 m and with the first position in the virtual world as its center.

[0070] Optionally, since the target virtual object is a skill release target for activating a preset attack skill, that is, the target virtual object needs to be located within a predetermined skill release range, in one possible embodiment, the second range may be determined based on the skill release range of the preset attack skill. As an example, the second range may be equal to or smaller than the skill release range. Optionally, different attack skills may correspond to different skill release ranges, and accordingly, the second range may be set differently depending on the attack skill.

[0071] Step 2: Based on the first position and the second position, a second virtual object located within a second range is determined as a candidate virtual object.

[0072] The target virtual object first needs to be located within the attackable range of the first virtual object, and accordingly, the target virtual object needs to satisfy a certain location condition, i.e., the second location corresponding to the target virtual object needs to be located within the second range. In one possible embodiment, the terminal determines the second virtual object located within the second range as a candidate virtual object, and then determines the target virtual object from the candidate virtual objects according to other conditions.

[0073] As an example, as shown in FIG. 7, virtual objects in the current virtual world include a first virtual object 701, a second virtual object 702a, and a second virtual object 702b, and the terminal determines a second range 704 based on a first position and a first range 703 of the first virtual object 701, and detects that the second virtual object 702a is located within the second range 704, and therefore determines the second virtual object 702a as a candidate virtual object.

[0074] Step 3: Determine a candidate virtual object that satisfies a selection condition as a target virtual object, where the selection condition includes at least one of the following: a smallest distance between the candidate virtual object and the first virtual object, a smallest target attribute value, and belonging to a target camp.

[0075] In one possible embodiment, the terminal determines a target virtual object from among the candidate virtual objects that satisfies a selection condition, and the target virtual object is a current priority attack target automatically determined by the terminal, and if there is no candidate virtual object that satisfies the selection condition, the terminal determines that there is no target virtual object at present.

[0076] As an example, the target camp includes a second camp and a third camp. The second camp is a camp that is in a rival relationship with the first camp to which the first virtual object belongs, and the third camp is a camp that includes virtual objects such as monsters controlled by a server. In one possible embodiment, when the candidate virtual objects that satisfy the selection condition include a candidate virtual object that belongs to the second camp and a candidate virtual object that belongs to the third camp, the terminal preferentially determines the target virtual object from the candidate virtual objects that belong to the second camp, and if the target virtual object does not exist in the candidate virtual objects that belong to the second camp, the terminal continues to determine the target virtual object from the candidate virtual objects that belong to the third camp.

[0077] Since the selection of the target virtual object is related to the skill release effect, for example, the kill efficiency by the skill release is increased in order to ensure the skill release effect. The kill efficiency may be related to the remaining hit points, remaining defense value, etc. corresponding to the target virtual object. For example, if the hit points of the candidate virtual object A are higher than those of the candidate virtual object B, when the same skill operation is respectively released for these two candidate virtual objects, the probability of killing the candidate virtual object B is obviously greater than the probability of killing the virtual object A, so in order to increase the efficiency of killing the first virtual object, the candidate virtual object B can be determined as the target virtual object, that is, the target virtual object with the lowest target attribute value is selected. Optionally, in addition to the remaining hit points listed above, the remaining power points, defense value, etc. of the candidate virtual object also affect the efficiency of using the target attack, so the target attribute value may accordingly include attribute values ​​such as remaining hit points, remaining power points, defense value, etc. Optionally, the hit rate of an attack skill against a target virtual object may also be related to the distance between the target virtual object and the first virtual object, and since it is known that the hit rate is relatively lower as the distance increases, in order to further increase the hit rate of the preset attack skill, the shortest distance between the first virtual object and the target virtual object is also set as one of the preset conditions for selecting a target virtual object.

[0078] Optionally, the selection conditions may further include whether the preset attack skill can affect the target virtual object, and whether there is a probability that the effect of the target attack on the target virtual object will be nullified.

[0079] 7, if the second virtual object 702a satisfies the selection condition, the second virtual object 702a is determined to be the target virtual object. If the second virtual object 702a does not satisfy the selection condition, it is determined that there is currently no target virtual object.

[0080] Step 604: Mark the target virtual object in a first preset manner.

[0081] Optionally, the first preset method includes a method such as highlighting the edges of the character and / or the target attribute information column of the target virtual object, changing the color of the information held by the target virtual object, adding a special mark near (e.g. directly below) the character of the target virtual object, and displaying a ray of light from the first virtual object to the target virtual object.

[0082] Step 605: In response to the at least one second virtual object including the active selection virtual object, determine the active selection virtual object as a goal virtual object.

[0083] In one possible embodiment, the actively selected virtual object is an attack target selected by the user through the first widget during the next attack, and may be the same as or different from the target virtual object automatically searched and determined by the terminal. In addition, since the attack priority of the actively selected virtual object is higher than the attack priority of the target virtual object automatically searched and determined by the terminal, when the second virtual object includes the actively selected virtual object, the terminal directly determines the actively selected virtual object as the target virtual object and does not execute the process of determining the candidate virtual object.

[0084] For example, as shown in FIG. 7, when the second virtual object 702b is the actively selected virtual object, the terminal directly determines the second virtual object 702b as the target virtual object.

[0085] Step 606: Mark the target virtual object in a second preset manner.

[0086] Optionally, the second preset scheme is the same as or different from the first preset scheme, and the mark effect in the second preset scheme is more significant than the mark effect in the first preset scheme.

[0087] As an example, the second preset method has a different marking method from the first preset method. For example, the second preset method uses a different marking position than the first preset method, or uses a different color at the same marking position. For example, the first preset method is to highlight the edge of the target attribute information field of the target virtual object, and the second preset method is to add a specific mark directly below the character of the target virtual object.

[0088] Step 607: Receive a first trigger signal acting on a first widget.

[0089] The embodiment of step 607 can refer to step 203 above, so in the embodiment of the present application, it will not be repeated here.

[0090] Step 608: In response to the touch end position corresponding to the first trigger signal being located in the first automatic control area, determine that the first trigger signal satisfies the automatic control condition.

[0091] In one possible embodiment, the first widget includes a first automatic control area and a first active control area that are disjointed, and a trigger operation in the first automatic control area is for triggering a quick attack on a target virtual object, and a trigger operation in the first active control area is for triggering a user to self-select the target virtual object.

[0092] Optionally, the first widget is a circular widget, the first automatic control area is a circular shape, and the active control area is an annular area around the first automatic control area, or the first automatic control area is a semicircular area on the left side of the first widget, and the active control area is a semicircular area on the right side of the first widget, but this is not limited to the embodiment of the present application. As an example, FIG. 8 shows a schematic diagram of one first widget. The first widget is a circular widget, the first automatic control area 801 is a circular area whose center is the center of the first widget and whose radius is smaller than the radius of the first widget, and the first active control area 802 is an annular part of the first widget excluding the first automatic control area 801.

[0093] 8, when a user clicks a first widget in a first automatic control area 801 with a finger and a touch end position 803a is located in the first automatic control area 801, the terminal determines that the first trigger signal satisfies the automatic control condition. That is, the user can control the first virtual object to change the target attribute value of the target virtual object by quickly clicking the first widget.

[0094] Step 609: In response to the first trigger signal satisfying the automatic control condition, control the first virtual object to change a target attribute value of the target virtual object using the virtual item.

[0095] In one possible embodiment, the terminal determines whether the first trigger signal satisfies an automatic control condition based on a touch end position, and if the touch end position is located in a first automatic control area, it determines that the automatic control condition is satisfied, and if the touch end position is located in an area other than the first active control area or the first widget, it determines that the automatic control condition is not satisfied.

[0096] For example, as shown in Fig. 9, the first widget includes a first automatic control area 901 and a first active control area 902. When a user clicks the first widget and a touch end position 903 is located in the first automatic control area 901, that is, when the user releases the finger at the touch end position 903 shown in the figure, the terminal determines that the first trigger signal satisfies the automatic control condition.

[0097] Step 610: In response to the touch end position corresponding to the first trigger signal being located in the first active control area, it is determined that the first trigger signal satisfies an active control condition.

[0098] In one possible embodiment, a user can actively select a target virtual object by a touch operation on a first widget, and in response, the terminal obtains a touch end position of a first trigger signal, and when it determines that the touch end position is located in a first active control area, determines that the first trigger signal satisfies an active control condition, and determines a target virtual object that the user needs to select based on the touch end position.

[0099] Optionally, the user may hold down and drag the first widget with a finger, and according to the positions of the first virtual object and the intended attack target, stop the finger at a corresponding position in the first active control area to complete the selection of the active selection virtual object.

[0100] As an example, as shown on the right side of Figure 8, when a user clicks on a first widget with his / her finger and drags the finger so that the touch end position 803b is located in the first active control area 802, the terminal determines that the first trigger signal satisfies the active control condition.

[0101] 10, the first widget includes a first automatic control area 1001 and a second automatic control area 1002. When a user clicks the first widget with a finger and drags the finger so that a touch end position 1003 is located in the second active control area 1002, the terminal determines that the first trigger signal satisfies the active control condition.

[0102] Step 611: Determine the second virtual object mapped to the touch end position as the actively selected virtual object.

[0103] In one possible embodiment, the terminal determines a mapping position in the virtual world in real time based on the position of the user's finger in the second automatic control area, and determines the actively selected virtual object based on the second virtual object mapped to the touch end position. In order to facilitate the user to quickly determine the actively selected virtual object, the terminal may mark the mapping position of the touch end position in the virtual world by a marking method such as a light beam or a sector area in the battle interface. In response to the user's touch operation, the terminal aims at a certain second virtual object in the virtual world, or if there is a second virtual object near the position mapped by the touch operation, the terminal determines the second virtual object as the actively selected virtual object, and executes step 606 to mark the actively selected virtual object.

[0104] Optionally, the user selects the extent of the active selection virtual object as the extent of the virtual world contained in the battle interface.

[0105] 10 , the terminal maps a center point 1004 of a first widget to a position of a first virtual object 1005, determines a mapping position of a touch end position 1003 in the battle interface, and displays a connecting line between the two mapping positions in the battle interface. When the touch end position 1003 is mapped to the position of a second virtual object 1006, the terminal determines the second virtual object 1006 as an actively selected virtual object and marks the second virtual object 1006.

[0106] Step 612: Control the first virtual object to change a target attribute value of the active selection virtual object using the virtual item.

[0107] In one possible embodiment, when the user releases his / her hand at the touch end position, the terminal controls the first virtual object to change the target attribute value of the active selection virtual object using the virtual item.

[0108] Optionally, even after the terminal completes the operation of controlling the first virtual object to change the target attribute value of the actively selected virtual object, the terminal still maintains the mark of the actively selected virtual object, determines the actively selected virtual object as a target virtual object, and controls the first virtual object to change the target attribute value of the actively selected virtual object when the terminal next receives a first trigger signal that satisfies the automatic control condition.

[0109] As an example, when the first virtual object is located outside the range where the virtual item is used, the terminal controls the first virtual object to move toward the active selection virtual object, and when the first virtual object is located within the range where the virtual item is used, the active selection virtual object controls the first virtual object to change a target attribute value of the active selection virtual object using the virtual item.

[0110] In the embodiment of the present application, the first widget is divided into a plurality of regions, so that the user can actively select a virtual object. If an actively selected virtual object exists, the actively selected virtual object is directly determined and marked as a target virtual object. If an actively selected virtual object does not exist, a second virtual object that satisfies a preset condition is determined and marked as a target virtual object. The user can control the first virtual object to change the target attribute value of the target virtual object by a quick operation. By marking the target virtual object before the user touches the first widget, the user can know in advance the target of the operation to change the target attribute value. If the target virtual object is different from the virtual object expected by the user, the user can select another virtual object by an operation to control the movement or aim of the first virtual object, etc., and this avoids the situation where the user's operation cannot achieve the expected effect due to the difference between the target virtual object and the expected virtual object, and the need to adjust the operation again, thereby improving the operation efficiency.

[0111] In one possible embodiment, in addition to the first widget, the widget layer of the battle interface further includes other widgets for controlling the first virtual object to release a target skill against the target virtual object. Based on Fig. 2, see Fig. 11. After the above step 202, the method for controlling a virtual object further includes the following steps:

[0112] Step 205: In response to receiving a second trigger signal acting on a second widget, control the first virtual object to release a target skill on the target virtual object.

[0113] In one possible embodiment, the fighting interface further includes a second widget for controlling the first virtual object to release a target skill against the other virtual object.

[0114] As an example, as shown in FIG. 3, the battle interface includes at least one second widget 304 for controlling the first virtual object to release a target skill against another virtual object.

[0115] In one possible embodiment, the second widget includes a second automatic control area and a second active control area that are disjoint. Step 205 includes the following steps 1 and 2.

[0116] Step 1: In response to the touch end position corresponding to the second trigger signal being located in the second automatic control area, obtain a skill release rule for a target skill.

[0117] Because the skills of the first virtual object are diverse, and some skills, such as a skill that allows the user to give special effects to virtual objects of the same camp or a skill that requires the user to actively aim at the second virtual object, are not suitable for the target virtual object, in one possible embodiment, when the touch end position corresponding to the second trigger signal is located in the second automatic control area, the terminal first obtains a skill release rule of the target skill, which includes a type of skill release target, a skill release range, an operation required for the skill, etc.

[0118] 12 , the second widget 1200 includes a second automatic control area 1201 and a second active control area 1202. When a touch end position 1203 corresponding to a second trigger signal is located in the second automatic control area 1201, the terminal obtains a skill release rule for skill 3.

[0119] Step 2: In response to the target virtual object satisfying the skill release rule, control the first virtual object to release a target skill with respect to the target virtual object.

[0120] The target virtual object is a target virtual object automatically searched and determined by the terminal, or an actively selected virtual object selected by the user by triggering the first widget.

[0121] Optionally, in order to improve skill release efficiency, the terminal may select a target virtual object based on a skill release rule.

[0122] 12 , when a target virtual object 1205 satisfies the skill release rule of skill 3, the terminal controls the first virtual object 1204 to release skill 3 toward the target virtual object 1205. When the target virtual object 1205 is located outside the release range of skill 3, the terminal controls the first virtual object 1204 to move toward the target virtual object 1205, and when the target virtual object 1205 is located within the release range of skill 3, the terminal controls the first virtual object 1204 to release skill 3.

[0123] Step 206: In response to the goal attribute value of the goal virtual object reaching the attribute value threshold, newly determine the goal virtual object from the at least one second virtual object.

[0124] The target attribute value of the target virtual object reaching the attribute value threshold includes at least one of the following: the remaining hit points of the target virtual object reaching the hit point threshold (e.g., if the hit point threshold is 0, then when the remaining hit points of the target virtual object become 0, the target attribute value reaching the attribute value threshold is satisfied); and the position of the target virtual object is outside the range displayed on the battle interface.

[0125] In one possible embodiment, taking the target attribute value as an example, when the remaining hit points corresponding to the target virtual object become 0, it indicates that the target virtual object is killed and cannot continue to be the target virtual object, and the terminal needs to newly obtain target information corresponding to the first virtual object and the remaining second virtual object, and determine the target virtual object from the second virtual object based on the target information.

[0126] In an embodiment of the present application, by dividing the second widget into a second active control area and a second automatic control area, a user can control the first virtual object to release a target skill on a target virtual object through a quick operation, thereby simplifying the operation steps of some skills and shortening the duration of the user's operation.

[0127] In one possible embodiment, the MOBA game includes a presentation layer and a logic layer. Figure 13 shows a flowchart of a method for controlling a virtual object provided in another exemplary embodiment of the present application. In this embodiment, the method is described by taking an example in which the method is applied to the first terminal 110 or the second terminal 130 in the implementation environment shown in Figure 1, or other terminals in the implementation environment. The method includes the following steps:

[0128] Step 1301: The presentation layer obtains the end position of the touch operation.

[0129] When a user touches the first widget or the second widget, the presentation layer acquires the touch operation in real time, and when it detects that the user has released his / her hand, it acquires the end position of the touch operation.

[0130] Step 1302: The presentation layer determines whether the target virtual object satisfies the skill release rule.

[0131] The presentation layer obtains a target skill corresponding to the touch operation, the target skill including a basic skill corresponding to the first widget and a special skill corresponding to the second widget, and judges whether the target virtual object satisfies the skill release rule according to the type of the target skill and the skill release rule, and continues to execute step 1303 if the target virtual object satisfies the skill release rule.

[0132] Step 1303: If the goal virtual object satisfies the skill release rule, the presentation layer sends skill release information to the logic layer.

[0133] After the presentation layer determines that the target virtual object meets the skill release rule, further judgment is also required by the logic layer to avoid misjudgment of the presentation layer caused by screen delay or user misbehavior.

[0134] Step 1304: The logic layer determines whether the target virtual object satisfies the skill release rule.

[0135] Step 1305: The logic layer sends the decision result to the presentation layer.

[0136] If the logic layer sends a judgment result to the presentation layer that the target virtual object does not satisfy the skill release rule, the subsequent steps are not executed, and the result displayed in the battle interface is that even if the user triggers the widget, there is no response and the target skill is not released.

[0137] Step 1306: If the judgment result of the logic layer is to allow the skill release, the presentation layer sends a skill release request to the server.

[0138] Step 1307: The server forwards the skill release request.

[0139] The server receives the skill release request sent by the presentation layer of the terminal, obtains a target terminal according to the skill release information in the skill release request, and forwards the skill release request to the logic layer of the target terminal, where the target terminal is all the terminals participating in the current match.

[0140] Step 1308: The logic layer performs a skill release calculation process.

[0141] When the logic layer receives a skill release request transferred from the server, it determines an operation to execute the skill release, performs a skill release calculation process, and obtains a skill release result such as a target attribute value after the skill release of the target virtual object.

[0142] Step 1309: The logic layer sends a skill release command.

[0143] The logic layer sends a skill release command to the presentation layer after the calculation is completed.

[0144] Step 1310: The presentation layer performs a skill release presentation.

[0145] The presentation layer renders skill release effects in the battle interface according to skill release commands from the logic layer.

[0146] 14 is a block diagram of the structure of a control device for a virtual object provided in one exemplary embodiment of the present application. The device may be provided in the first terminal 110 or the second terminal 130 in the implementation environment shown in FIG. 1, or in another terminal in the implementation environment. The device includes: A display module 1401 for displaying a battle interface, the battle interface including a first virtual object, at least one second virtual object, and a first widget, the first virtual object and the second virtual object being located in a virtual world and belonging to different camps, and the first widget controlling the first virtual object to change a target attribute value of another virtual object using a virtual item; a first determination module 1402 for determining a target virtual object from at least one of the second virtual objects and marking the target virtual object in a preset manner; a receiving module 1403 for receiving a first trigger signal acting on the first widget; and a first control module 1404 for controlling the first virtual object to modify the target attribute value of the target virtual object using a virtual item in response to the first trigger signal satisfying an automatic control condition.

[0147] Optionally, the first determination module 1402: a first acquisition unit for acquiring, in response to at least one of the second virtual objects not including an actively selected virtual object, first target information of the first virtual object and second target information of the at least one of the second virtual objects, the actively selected virtual object being a virtual object selected by the first widget, the target information being for characterizing a state and a position of the virtual object; a first determination unit for determining the target virtual object from at least one of the second virtual objects based on the first object information and the second object information; and a first marking unit for marking the target virtual object in a first preset manner.

[0148] Optionally, the first target information includes a first position that is a position of the first virtual object in the virtual world and a first range that is a range of use of the virtual item, and the second target information includes a second position that is a position of the second virtual object in the virtual world.

[0149] The first determination unit further comprises: determining a second range based on the first range, the second range being greater than the first range; determining, based on the first position and the second position, the second virtual object located within the second range as a candidate virtual object; and determining the candidate virtual object that satisfies a selection condition as the target virtual object, the selection condition including at least one of the following: a shortest distance between the candidate virtual object and the first virtual object, a lowest target attribute value, and belonging to a target camp.

[0150] Optionally, the first determination module 1402: a second determination unit for determining the active selection virtual object as the goal virtual object in response to at least one of the second virtual objects including the active selection virtual object; and a second marking unit for marking the target virtual object in a second preset manner.

[0151] Optionally, the first widget includes a first automatic control region and a first active control region that are disjoint.

[0152] The apparatus comprises: The touch control device further includes a second determination module for determining that the first trigger signal satisfies the automatic control condition in response to a touch end position corresponding to the first trigger signal being located in the first automatic control area.

[0153] Optionally, the apparatus further comprises: a third determination module for determining that the first trigger signal satisfies an active control condition in response to a touch end position corresponding to the first trigger signal being located in the first active control area; a fourth determination module for determining the second virtual object mapped to the touch end position as an actively selected virtual object; and a second control module for controlling the first virtual object to modify the target attribute value of the active selection virtual object using a virtual item.

[0154] Optionally, the fighting interface further includes a second widget for controlling the first virtual object to release a target skill against another virtual object.

[0155] The apparatus comprises: and a third control module for controlling the first virtual object to release the target skill against the target virtual object in response to receiving a second trigger signal acting on the second widget.

[0156] Optionally, the second widget includes a disjoint second automatic control region and a disjoint second active control region.

[0157] The third control module is A second acquisition unit for acquiring a skill release rule of the target skill in response to the touch end position corresponding to the second trigger signal being located in the second automatic control area; and a control unit for controlling the first virtual object to release the target skill with respect to the target virtual object in response to the target virtual object satisfying the skill release rule.

[0158] Optionally, the apparatus further comprises: and a fifth determination module for newly determining the target virtual object from at least one of the second virtual objects in response to the target attribute value of the target virtual object reaching a threshold attribute value.

[0159] Optionally, the target attribute value of the target virtual object reaching the attribute value threshold includes the remaining hit points of the target virtual object reaching a hit point threshold and the position of the target virtual object being outside of a range displayed in the battle interface.

[0160] In summary, the virtual object control device provided in the embodiment of the present application marks a target virtual object in a battle interface in a preset manner, and when a first trigger signal that satisfies an automatic control condition acting on a first widget is received, the device controls the first virtual object to change a target attribute value of the target virtual object, and marks the target virtual object before controlling the first virtual object to change the target attribute value of the target virtual object. Therefore, when a user is not performing an operation, the target virtual object to be operated can be known by the mark, and when the target virtual object does not match the desired object, the target virtual object can be changed by another operation. When the target virtual object matches the desired object, the first widget can quickly perform an operation, thereby improving the efficiency and accuracy of controlling the virtual object, and avoiding the need to check or mark the operation target during the execution of the operation, thereby reducing the delay in the execution time of the operation, and further improving the efficiency of man-machine interaction.

[0161] A block diagram of the structure of a terminal provided in one embodiment of the present application is shown in Figure 15. Generally, the terminal 1500 includes: a processor 1501 and a memory 1502.

[0162] The processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1501 may be realized in the form of at least one of hardware including digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 1501 may include a main processor and a coprocessor. The main processor is a processor for processing data in a wake-up state, and is also called a central processing unit (CPU). The coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1501 may incorporate a graphics processing unit (GPU) for rendering and drawing content that needs to be displayed on a display screen. In some embodiments, the processor 1501 may further include an artificial intelligence (AI) processor for processing arithmetic operations related to machine learning.

[0163] The memory 1502 may include one or more computer readable storage media. The computer readable storage media may be non-transitory. The memory 1502 may further include a high speed random access memory and a non-volatile memory such as one or more magnetic disk storage devices, flash memory storage devices, etc. In some embodiments, the non-transitory computer readable storage medium in the memory 1502 is for storing at least one command, at least a part of a program, a code set, or a command set, which is executed by the processor 1501 to realize a method for controlling a virtual object provided in the method embodiment of the present application.

[0164] In some embodiments, the terminal 1500 optionally further includes a peripheral interface 1503 and at least one peripheral device. The processor 1501, the memory 1502, and the peripheral interface 1503 may be connected via a bus or signal lines. Each peripheral device may be connected to the peripheral interface 1503 via a bus, signal lines, or a circuit board. Specifically, the peripheral device may include at least one of a communication interface 1504, a display screen 1505, an audio circuit 1506, a camera component 1507, a positioning component 1508, and a power source 1509.

[0165] Those skilled in the art will appreciate that the structure shown in FIG. 15 is not intended to limit terminal 1500, and that terminal 1500 may include more or fewer components than those shown, may combine some components, or may employ a different arrangement of components.

[0166] FIG. 16 shows a schematic diagram of the structure of a server provided in one embodiment of the present application. Specifically, The server 1600 includes a central processing unit (CPU) 1601, a system memory 1604 consisting of a random access memory (RAM) 1602 and a read only memory (ROM) 1603, and a system bus 1605 connecting the system memory 1604 and the central processing unit 1601. The server 1600 further includes a basic input / output (I / O) system 1606 that assists in transmitting information between devices in the computer, and a mass storage device 1607 for storing an operating system 1613, applications 1614, and other program modules 1615.

[0167] The basic input / output system 1606 includes a display 1608 for displaying information and an input device 1609, such as a mouse or keyboard, through which a user can input information. The display 1608 and the input device 1609 are both connected to the central processing unit 1601 through an input / output controller 1610, which is connected to the system bus 1605. The basic input / output system 1606 may further include an input / output controller 1610 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1610 may also provide output to a display screen, a printer, or other type of output device.

[0168] The mass storage device 1607 is connected to the central processing unit 1601 via a mass storage controller (not shown) that is connected to the system bus 1605. The mass storage device 1607 and its associated computer readable media provide non-volatile storage for the server 1600. That is, the mass storage device 1607 may include a computer readable medium (not shown), such as a hard disk or a Compact Disc Read-Only Memory (CD-ROM) drive.

[0169] Without loss of generality, the computer readable medium may include computer storage media and communication media. Computer storage media includes volatile / non-volatile, removable / non-removable media implemented in any method or technology for storing information such as computer readable commands, data structures, program modules or other data. Computer storage media includes RAM, ROM, Erasable Programmable Read Only Memory (EPROM), Flash memory or other solid-state storage technology, CD-ROM, Digital Video Disc (DVD) or other optical storage, magnetic tape cartridge, magnetic tape, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the above types. The above system memory 1604 and mass storage device 1607 may be collectively referred to as memory.

[0170] According to embodiments of the present application, the server 1600 may be connected to a remote computer on a network, such as the Internet, and executed on the network. That is, the server 1600 may be connected to a network 1612 via a network interface unit 1611 connected to the system bus 1605, or may be connected to another type of network or remote computer system (not shown) by the network interface unit 1611.

[0171] The memory further includes at least one command, at least a portion of a program, code set or command set, the at least one command, at least a portion of a program, code set or command set being stored in the memory and configured to be executed by one or more processors to realize the above-mentioned method for controlling a virtual object.

[0172] In an exemplary embodiment, a computer device is further provided, which may be a terminal or a server, the computer device including a processor and a memory storing at least one command, at least a part of a program, a code set, or a command set, the at least one command, the at least a part of a program, the code set, or the command set being loaded and executed by the processor to realize the above-mentioned method for controlling a virtual object.

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

[0174] An embodiment of the present application further provides a computer program product or a computer program comprising computer commands stored in a computer readable storage medium, the computer commands being read by a processor in a computing device and executed to cause the computing device to perform the method for controlling a virtual object provided in any embodiment of each of the above aspects.

[0175] Those skilled in the art will recognize that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented by hardware, software, firmware, or any combination thereof. If implemented by software, these functions may be stored in a computer-readable storage medium or transmitted as one or more commands 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 facilitates the transmission of a computer program from one place to another. Storage media may be any available medium accessible by a general-purpose or special-purpose computer.

[0176] The above description is only an arbitrary embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent replacements, and improvements made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims

1. A method for controlling a virtual object executed by a terminal, comprising: a step of displaying a battle interface, the battle interface including a first virtual object, at least one second virtual object, and a first widget, the first virtual object and the second virtual object being located in a virtual world and belonging to different camps, and the first widget controlling the first virtual object to change a target attribute value of another virtual object; determining a target virtual object from the at least one second virtual object and marking the target virtual object; receiving a first trigger signal acting on the first widget; and controlling the first virtual object to change the target attribute value of the target virtual object in response to the first trigger signal satisfying an automatic control condition.

2. The step of determining a target virtual object from at least one of the second virtual objects and marking the target virtual object includes: in response to at least one of the second virtual objects not including an actively selected virtual object, acquiring first target information of the first virtual object and second target information of the at least one of the second virtual objects, the actively selected virtual object being a virtual object selected by the first widget, the first target information being for characterizing a state and a position of the first virtual object, and the second target information being for characterizing a state and a position of the second virtual object; determining the target virtual object from at least one of the second virtual objects based on the first target information and the second target information; and marking the target virtual object with a first method.

3. the first target information includes a first position that is a position of the first virtual object in the virtual world and a first range that is an attack range of the first virtual object, and the second target information includes a second position that is a position of the second virtual object in the virtual world; The step of determining the target virtual object from at least one of the second virtual objects based on the first target information and the second target information includes: determining a second range based on the first range, the second range being greater than the first range; determining, based on the first position and the second position, the second virtual object located within the second range as a candidate virtual object; and determining the candidate virtual object that satisfies a selection condition as the target virtual object, the selection condition including at least one of the following: a smallest distance between the first virtual object and the candidate virtual object, a lowest target attribute value, and belonging to a target faction.

4. The step of determining a target virtual object from at least one of the second virtual objects and marking the target virtual object includes: determining the active selection virtual object as the goal virtual object in response to at least one of the second virtual objects including the active selection virtual object; and marking the target virtual object in a second manner, the second manner being the same as or different from the first manner.

5. the first widget includes a first automatic control region and a first active control region that are disjoint; After the step of receiving a first trigger signal acting on the first widget, The method according to any one of claims 1 to 4, further comprising a step of determining that the first trigger signal satisfies the automatic control condition in response to a touch end position corresponding to the first trigger signal being located in the first automatic control area.

6. After the step of receiving a first trigger signal acting on the first widget, determining that the first trigger signal satisfies an active control condition in response to a touch end position corresponding to the first trigger signal being located in the first active control area; determining the second virtual object mapped to the touch end position as an actively selected virtual object; 6. The method of claim 5, further comprising: controlling the first virtual object to change the target attribute value of the active selection virtual object.

7. The battle interface further includes a second widget for controlling the first virtual object to release a target skill against another virtual object; After the step of determining a target virtual object from at least one of the second virtual objects and marking the target virtual object, 7. The method of claim 1, further comprising: in response to receiving a second trigger signal acting on the second widget, controlling the first virtual object to release the target skill against the target virtual object.

8. the second widget includes a disjoint second automatic control region and a disjoint second active control region; The step of controlling the first virtual object to release the target skill with respect to the target virtual object in response to receiving a second trigger signal acting on the second widget includes: In response to the touch end position corresponding to the second trigger signal being located in the second automatic control area, acquiring a skill release rule of the target skill; and controlling the first virtual object to release the target skill against the target virtual object in response to the target virtual object satisfying the skill release rule.

9. determining a new target virtual object from at least one of the second virtual objects in response to the target attribute value of the target virtual object reaching a threshold attribute value. The method according to any one of claims 1 to 8.

10. 10. The method of claim 9, wherein the target attribute value of the target virtual object reaching the attribute value threshold comprises: the remaining hit points of the target virtual object reaching a hit point threshold; and the position of the target virtual object being outside of a range displayed in the fighting interface.

11. a display module for displaying a battle interface, the battle interface including a first virtual object, at least one second virtual object, and a first widget, the first virtual object and the second virtual object being located in a virtual world and belonging to different camps, and the first widget controlling the first virtual object to change a target attribute value of another virtual object; a first determination module for determining a target virtual object from the at least one second virtual object and marking the target virtual object; a receiving module for receiving a first trigger signal acting on the first widget; a first control module for controlling the first virtual object to change the target attribute value of the target virtual object in response to the first trigger signal satisfying an automatic control condition; A control device for a virtual object comprising:

12. The first determination module: a first acquisition unit for acquiring first target information of the first virtual object and second target information of the at least one second virtual object in response to at least one of the second virtual objects not including an actively selected virtual object, the actively selected virtual object being a virtual object selected by the first widget, the first target information being for characterizing a state and a position of the first virtual object, and the second target information being for characterizing a state and a position of the second virtual object; a first determination unit for determining the target virtual object from at least one of the second virtual objects based on the first target information and the second target information; 12. The apparatus of claim 11, further comprising: a first marking unit for marking the target virtual object in a first manner.

13. the first target information includes a first position that is a position of the first virtual object in the virtual world and a first range that is an attack range of the first virtual object, and the second target information includes a second position that is a position of the second virtual object in the virtual world; The first determination unit further comprises: determining a second range based on the first range, the second range being greater than the first range; determining, based on the first position and the second position, the second virtual object located within the second range as a candidate virtual object; The device of claim 12, wherein the candidate virtual object that satisfies a selection condition is determined as the target virtual object, the selection condition including at least one of the following: a distance between the candidate virtual object and the first virtual object is the smallest, the target attribute value is the lowest, and the candidate virtual object belongs to a target camp.

14. The first determination module: a second determination unit for determining the active selection virtual object as the goal virtual object in response to at least one of the second virtual objects including the active selection virtual object; and a second marking unit for marking the target virtual object in a second manner, the same as or different from the first manner.

15. the first widget includes a first automatic control region and a first active control region that are disjoint; a second determination module for determining that the first trigger signal satisfies the automatic control condition in response to a touch end position corresponding to the first trigger signal being located in the first automatic control area. Apparatus according to any one of claims 11 to 14.

16. a third determination module for determining that the first trigger signal satisfies an active control condition in response to a touch end position corresponding to the first trigger signal being located in the first active control area; a fourth determination module for determining the second virtual object mapped to the touch end position as an actively selected virtual object; a second control module for controlling the first virtual object to change the target attribute value of the active selection virtual object; The apparatus of claim 15 further comprising:

17. The battle interface further includes a second widget for controlling the first virtual object to release a target skill against another virtual object; and a third control module for controlling the first virtual object to release the target skill on the target virtual object in response to receiving a second trigger signal acting on the second widget. Apparatus according to any one of claims 11 to 16.

18. the second widget includes a disjoint second automatic control region and a disjoint second active control region; The third control module is A second acquisition unit for acquiring a skill release rule of the target skill in response to a touch end position corresponding to the second trigger signal being located in the second automatic control area; and a control unit for controlling the first virtual object to release the target skill against the target virtual object in response to the target virtual object satisfying the skill release rule.

19. The apparatus of any one of claims 11 to 18, further comprising a fifth determination module for determining a new target virtual object from at least one of the second virtual objects in response to the target attribute value of the target virtual object reaching a threshold attribute value.

20. 20. The device of claim 19, wherein the target attribute value of the target virtual object reaching the attribute value threshold comprises the remaining hit points of the target virtual object reaching a hit point threshold and the position of the target virtual object being outside of a range displayed in the fighting interface.

21. A computer device including a processor and a memory in which at least a portion of a program is stored, and which realizes the method for controlling a virtual object according to any one of claims 1 to 10 by loading and executing the at least a portion of the program by the processor.

22. A computer program causing a computer to execute the method for controlling a virtual object according to any one of claims 1 to 10.