Control method of virtual object, and device, terminal, and computer program thereof

JP2024019394A5Active Publication Date: 2024-09-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2023180873
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-05-14
Filing Date
2023-10-20
Publication Date
2024-09-17
Estimated Expiration
2041-04-27

AI Technical Summary

Technical Problem

In MOBA games, the use of a roulette-style virtual stick for skill activation leads to poor aiming accuracy due to large mapping ratios, requiring multiple aiming operations and increased computational complexity, which burdens the terminal with heavy loads.

Method used

A method where skills are activated by a first click to display the applicable area in the virtual scene, followed by a second click to select the application position, eliminating the need for mapping between a stick and the application position, thereby improving aiming accuracy and reducing computational load.

Benefits of technology

This approach enhances aiming accuracy, reduces operational difficulty, and decreases the number of calculations required, leading to more efficient man-machine interaction and improved user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a control method of a virtual object, and a device, a terminal, and a recording medium thereof, related to a man-machine interaction field.SOLUTION: In response to a first click operation for skill control, a skill type of the skill is acquired. In response to the fact that the skill type of the skill is a target skill for supporting selection of an application position on the basis of screen click, an application executable region of the skill in a virtual scene is displayed on the basis of a presence position of a controlled virtual object and an application range of the skill. In response to a second click operation for the application executable region, control is executed so that the controlled virtual object activates the skill at an application position indicated by the second click operation. It is not necessary to execute a complicated drag operation on the basis of a roulette type virtual stick. An operation by a user to execute accurate sighting is simplified, and a calculation amount of a terminal in a sighting process is reduced, thereby reducing a load on the terminal.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, application number 202010408457.1, filed on May 14, 2020, entitled "Virtual object control method, device, terminal and storage medium," the entire contents of which are incorporated herein by reference.

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

[0003] With the development of computer technology and the diversification of terminal functions, many mobile phone games have appeared, among which MOBA (Multiplayer Online Battle Arena) games are becoming a very important type of mobile phone games. In the current MOBA games, a player can control a target virtual object to activate a skill at the position where the target virtual object is located, thereby triggering the application effect of the skill at the position.

[0004] Typically, when a player activates a skill, he or she first clicks on a certain skill control, which triggers and displays a roulette-style virtual stick on the skill control. There is a mapping relationship between the roulette part of the roulette-style virtual stick and the application range of the skill in the virtual scene. The player then drags the stick part of the roulette-style virtual stick to adjust the application direction and application position of the skill within the application range. Once the adjustment is complete, the player releases his or her hand and can then activate the skill at the position where the stick part in the virtual scene is mapped.

[0005] When the application method based on the above-mentioned roulette-type virtual stick is applied, there is a mapping relationship between the roulette-type virtual stick and the application range. However, since the size of the roulette-type virtual stick does not usually change, for some skills with a large application range, the mapping ratio is too large. In the process of the player dragging the stick, even a slight movement will cause the final application position to be offset over a wide range, resulting in low aiming accuracy and requiring the user to perform multiple aiming operations to aim accurately. The terminal needs to receive the user's multiple aiming operations and calculate the application position where the aiming operations are mapped to the virtual scene multiple times, which results in an excessive amount of calculation on the terminal and a heavy load on the terminal. Summary of the Invention [Problem to be solved by the invention]

[0006] The embodiments of the present application provide a method, device, terminal and storage medium for controlling a virtual object, which can improve the aiming accuracy of skill activation in MOBA, simplify the operation of users to perform accurate aiming, reduce the amount of calculation of the terminal in the aiming process, and reduce the load on the terminal. The technical solutions are as follows: [Means for solving the problem]

[0007] In one aspect, a method for controlling a virtual object is provided, the method being applied to a terminal, the method comprising: In response to a first click operation on a skill control, obtaining a skill type of the skill; In response to the skill type of the skill being a target skill, displaying an applicability area of ​​the skill in a virtual scene based on a location of a controlled virtual object and an application range of the skill, the target skill being a skill that supports selecting an application location based on a screen click; and in response to a second click operation on the applicable area, controlling the controlled virtual object to activate the skill at an application position indicated by the second click operation.

[0008] In one aspect, there is provided a control device for a virtual object, the device comprising: A detection module is used to obtain a skill type of the skill in response to a first click operation on a skill control; A determination module is used to display an applicable area of ​​the skill in a virtual scene based on a location of a controlled virtual object and an application range of the skill in response to a skill type of the skill being a target skill, the target skill being a skill that supports selecting an application position based on a screen click; and a control module used for controlling, in response to a second click operation on the applicable area, the controlled virtual object to activate the skill at an application position indicated by the second click operation.

[0009] In one aspect, a terminal is provided, the terminal including one or more processors and one or more memories, at least one program code stored in the one or more memories, the at least one program code being loaded and executed by the one or more processors to realize operations performed by a method for controlling a virtual object as described in any of the possible embodiments above.

[0010] In one aspect, a computer-readable storage medium is provided, having at least one program code stored therein, the at least one program code being loaded and executed by a processor to realize operations performed by the method for controlling a virtual object according to any of the possible embodiments above.

[0011] In one aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer commands stored on a computer readable storage medium, the computer commands being read by a processor of a computing device from the computer readable storage medium and executed by the processor to cause the computing device to perform the method for controlling a virtual object according to the selectable embodiment. Effect of the Invention

[0012] The beneficial effects of the technical solutions according to the embodiments of the present application include at least the following:

[0013] By receiving an operation of clicking the skill control, an applicable area of ​​the skill is displayed in the virtual scene, and by receiving a click operation in the applicable area, a selected application position is determined, and the controlled virtual object at the application position is controlled to activate the skill. In this way, the man-machine interaction method of first clicking the skill control and then clicking the application position in the virtual scene to activate the skill can directly select the skill application position in the virtual scene, so there is no need to go through mapping between the roulette-type virtual stick and the application position, and the offset error that occurs when the roulette-type virtual stick is mapped to the application position can be avoided, and the skill application position can be accurately selected by intuitively observing the virtual scene, so that it has higher aiming accuracy and lower operation difficulty, thereby resulting in more efficient man-machine interaction efficiency. The number of operations required for accurate aiming is reduced, the number of invalid or inaccurate aiming operations received by the terminal during the aiming process is reduced, the time required for aiming operations is shortened, the terminal does not need to calculate the mapped application position for each invalid or inaccurate aiming operation, the amount of calculation required for the terminal to calculate the application position mapped with the aiming operation during the aiming process is reduced, the load on the terminal is reduced, and the computing efficiency of the terminal during the skill aiming and application process is improved. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a diagram illustrating an environment in which a method for controlling a virtual object according to an embodiment of the present application is implemented. [Diagram 2] 1 is a flowchart of a method for controlling a virtual object according to an embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram of a roulette-style virtual stick according to an embodiment of the present application. [Figure 4] 1 is a flowchart of a method for controlling a virtual object according to an embodiment of the present application. [Diagram 5] FIG. 2 is a schematic diagram of an interface according to an embodiment of the present application. [Figure 6] FIG. 2 is a schematic diagram of an interface according to an embodiment of the present application. [Figure 7] FIG. 2 is a schematic diagram of an interface according to an embodiment of the present application. [Figure 8] FIG. 2 is a schematic diagram of an interface according to an embodiment of the present application. [Figure 9] 1 is a flowchart of a method for controlling a virtual object according to an embodiment of the present application. [Figure 10] FIG. 1 is a diagram illustrating the principle of activating a skill by touching a screen according to an embodiment of the present application. [Figure 11] FIG. 1 is a schematic diagram of a virtual object control device according to an embodiment of the present application. [Figure 12] FIG. 2 is a schematic configuration diagram of a terminal according to an 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] In this application, the terms "first", "second", etc. are used to distinguish between identical or similar things having substantially the same action and function, and it is understood that there is no logical or chronological dependency between "first", "second", and "nth", and there are no limitations on the number and execution order.

[0017] As used herein, the term "at least one" means one or more and "plurality" means two or more, for example, a plurality of first locations means two or more first locations.

[0018] In order to facilitate understanding of the technical process of the embodiments of the present application, the following provides an explanation of some nouns related to the embodiments of the present application.

[0019] Virtual scene: A virtual scene that is displayed (or provided) when an application is executed on a terminal. The virtual scene may be a simulation environment for the real world, a semi-simulated semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene may be a 2D virtual scene, a 2.5D virtual scene, or a 3D virtual scene, and the embodiments of the present application do not limit the dimensions of the virtual scene. For example, the virtual scene may include sky, land, sea, etc., the land may include environmental elements such as desert, city, etc., and the user can control virtual objects to move in the virtual scene. Optionally, the virtual scene may also be used for a virtual scene battle between at least two virtual objects, and has virtual resources that can be used by at least two virtual objects in the virtual scene. Optionally, the virtual scene may include two symmetrical regions, where virtual objects belonging to two opposing camps each occupy one region and have a victory goal of destroying a target building / base / camp / crystal deep within the opponent's region, where the symmetrical regions are, for example, the lower left region and the upper right region, or, for example, the middle left region and the middle right region, etc.

[0020] Virtual object: an active object in a virtual scene. The active object may be, for example, a virtual person, a virtual animal, an anime or manga character, such as a person, an animal, a plant, a drum, a wall, a stone, etc. displayed in the virtual scene. The virtual object may be a virtual avatar used to represent a user in the virtual scene. The virtual scene may include a plurality of virtual objects, each of which has a unique shape and volume in the virtual scene and occupies a portion of the space in the virtual scene. Optionally, if the virtual scene is a three-dimensional virtual scene, the virtual object may be a three-dimensional solid model, which may be a three-dimensional character built based on three-dimensional human body skeleton technology, and the same virtual object may show different appearances by wearing different skins. In some embodiments, the virtual object may be realized using a 2.5D or 2D model, and the embodiments of the present application are not limited thereto.

[0021] Selectably, the virtual object may be a player character controlled by an operation on a client, an artificial intelligence (AI) installed in a virtual scene competition by training, or a non-player character (NPC) installed in a virtual scene interaction. Selectably, the virtual object may be a virtual person competing in a virtual scene. Selectably, the number of virtual objects participating in an interaction in the virtual scene may be set in advance, or may be dynamically determined according to the number of clients participating in the interaction.

[0022] MOBA (Multiplayer Online Battle Arena) Game: A game that provides multiple bases in a virtual scene, and allows users in different camps to control virtual objects and compete in the virtual scene to occupy bases or destroy bases of the opposing camp. For example, a MOBA game can divide users into at least two opposing camps, and different virtual teams belonging to at least two opposing camps occupy their respective map areas and compete for a certain victory condition. The victory conditions include, but are not limited to, at least one of occupying a base or destroying an opposing camp base, shooting and killing a virtual object of the opposing camp, guaranteeing one's own survival within a specified scene and time, seizing some resource, and exceeding the opponent's interaction score within a specified time. For example, a MOBA game can divide users into two opposing camps, and the victory condition is to destroy or occupy all enemy bases by distributing the virtual objects controlled by the users in the virtual scene and competing against each other.

[0023] Optionally, each virtual team may include one or more virtual objects, such as one, two, three or five, and according to the number of virtual objects in each team participating in the tactical competition, the tactical competition may be divided into 1V1 competition match, 2V2 competition match, 3V3 competition match, 5V5 competition match, etc., where 1V1 means "one against one", and thus the explanation is omitted here.

[0024] Optionally, a MOBA game may be played in instalments (also called rounds), each of which may feature the same or different tactical map. The duration of a MOBA game is from when the game begins until a victory condition is achieved.

[0025] In a MOBA game, a user can control virtual objects to fall freely in the sky of the virtual scene, glide, or drop with a parachute, or to run, jump, crawl, or crouch and move on land, and can also control virtual objects to swim, float, or dive in the ocean, but only the above-mentioned scenes will be described as examples here, and the embodiments of the present application are not particularly limited thereto.

[0026] In MOBA games, users can also control virtual objects to fight other virtual objects by activating skills, for example, the skill types of the skills may include attack skills, defense skills, healing skills, support skills, slashing skills, etc., each virtual object can have one or more specific skills, different virtual objects usually have different skills, and different skills can generate different application effects. For example, when a virtual object activates an attack skill to hit an enemy virtual object, it will give a certain amount of damage to the enemy virtual object, and is usually represented as deducting a part of the virtual life value of the enemy virtual object; for example, when a virtual object activates a healing skill to hit a friend's virtual object, it will give a certain amount of healing to the friend's virtual object, and is usually represented as recovering a part of the virtual life value of the friend's virtual object; each of the other types of skills can generate corresponding application effects, and they will not be listed one by one here.

[0027] The system architecture according to the present application will be introduced below.

[0028] 1 is a diagram illustrating an implementation environment of a virtual object control method according to an embodiment of the present application. Referring to FIG. 1, the implementation environment includes a first terminal 120, a server 140, and a second terminal 160.

[0029] The first terminal 120 installs and executes an application supporting a virtual scene. The application may be any of a MOBA game, a Massively Multiplayer Online Role Playing Game (MMORPG), a First-Person Shooting game (FPS), a Third-Person Shooter game, a virtual reality application, a three-dimensional map program, a military simulation program, or a multiplayer gun battle survival game. The first terminal 120 may be a terminal used by a first user, and the first user uses the first terminal 120 to manipulate a first virtual object located in the virtual scene to perform an action, the action including, but not limited to, at least one of skill activation, body posture adjustment, crawling, walking, running, cycling, jumping, driving, picking, shooting, attacking, and throwing. Exemplarily, the first virtual object is a first virtual person, such as a simulation character or an anime or manga character.

[0030] The server 140 may include at least one of a single server, multiple servers, a cloud computing platform, or a virtualization center. The server 140 is used to provide background services to applications supporting virtual scenes. Optionally, the server 140 may be responsible for main computational tasks, and the first terminal 120 and the second terminal 160 may be responsible for secondary computational tasks, or the server 140 may be responsible for secondary computational tasks, and the first terminal 120 and the second terminal 160 may be responsible for main computational tasks, or a distributed computing architecture is used to perform collaborative computing among the server 140, the first terminal 120, and the second terminal 160.

[0031] The second terminal 160 installs and executes an application that supports the virtual scene. The application may be any of MOBA games, MMORPG games, FPS games, third-person shooter games, virtual reality applications, three-dimensional map programs, military simulation programs, or multiplayer gun battle survival games. The second terminal 160 may be a terminal used by a second user, and the second user uses the second terminal 160 to manipulate a second virtual object located in the virtual scene to perform an action, the action including, but not limited to, at least one of skill activation, body posture adjustment, crawling, walking, running, cycling, jumping, driving, picking, shooting, attacking, and throwing. Exemplarily, the second virtual object is a second virtual person, such as a simulation character or an anime or manga character.

[0032] The first terminal 120 and the second terminal 160 may be directly or indirectly connected to the server 140 via a wired or wireless communication method, and the embodiment of the present application does not limit the connection method here.

[0033] In some embodiments, the first virtual object controlled by the first terminal 120 and the second virtual object controlled by the second terminal 160 are in the same virtual scene, and the first virtual object can interact with the second virtual object in the virtual scene. The first virtual object and the second virtual object may be in an enemy relationship, for example, the first virtual object and the second virtual object may belong to different teams and camps, and the enemy virtual objects can compete with each other to activate skills, for example, the first virtual object activates an attack skill on the second virtual object. In some other embodiments, the first virtual object and the second virtual object may be in a teammate relationship, for example, the first virtual person and the second virtual person may belong to the same team, the same organization, have a friend relationship, or have temporary communication rights, and in this case, the first virtual object can activate a healing skill on the second virtual object.

[0034] The server 140 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides infrastructure cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain services, security services, Content Delivery Networks (CDNs), and big data and artificial intelligence platforms.

[0035] The first terminal 120 or the second terminal 160 may be, but is not limited to, a smartphone, a tablet computer, a laptop, a desktop computer, a smart speaker, a smart watch, an MP3 (Moving Picture Experts Group Audio Layer III, moving picture expert compressed standard audio level 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, moving picture expert compressed standard audio level 4) player, an e-book reader, etc.

[0036] It should be noted that the applications installed on the first terminal 120 and the second terminal 160 may be the same, or the applications installed on the two terminals are the same type of applications on different operating system platforms. The first terminal 120 may refer to one of a plurality of terminals in a general manner, and the second terminal 160 may refer to one of a plurality of terminals in a general manner, and this embodiment will be described using only the first terminal 120 and the second terminal 160 as an example. The device types of the first terminal 120 and the second terminal 160 may be the same or different. As will be understood by those skilled in the art, the number of the terminals may be more or less. For example, the terminal may be only one, or the terminals may be tens, hundreds, or more. The embodiment of the present application does not limit the number and device types of the terminals.

[0037] 2 is a flowchart of a method for controlling a virtual object according to an embodiment of the present application. Referring to FIG. 2, the embodiment is applied to a terminal, which may be the first terminal 120 or the second terminal 160 shown in FIG. 1, and the embodiment includes the following steps:

[0038] 201, in response to a first click operation on a skill control, the terminal obtains a skill type of the skill.

[0039] Here, the terminal may be a terminal used by any user, and the virtual object currently controlled by the terminal is a controlled virtual object, and the controlled virtual object can perform a combat action with other virtual objects in a virtual scene by activating a skill, and the activated skill may be one or more skills specific to the controlled virtual object, or may be one or more skills activated by applying a virtual item after the controlled virtual object wears the virtual item, and the embodiment of the present application does not particularly limit the skill source. Optionally, the skill type of the skill may include an attack skill, a defense skill, a healing skill, a support skill, a killing skill, etc., and the embodiment of the present application does not particularly limit the skill type.

[0040] In some embodiments, the terminal displays an opening interface in response to a user's opening operation, and the opening interface may include a virtual object selection control, a virtual item selection control, and the like. Here, the opening operation is used to trigger the launch of one game, which may be a click operation on the opening control, and the embodiments of the present application do not limit the type of the opening operation. The opening interface is used to control the current controlled virtual object. The terminal can detect the user's selection operation on each virtual object in the opening interface in real time, and determine the selected virtual object as the controlled virtual object to be fought in this time, and the selection operation may be a click operation, a long press operation, and the like, or a trigger operation on a shortcut key corresponding to any virtual object, and the embodiments of the present application are not limited thereto. In some MOBA games, a user can select and fight multiple virtual objects at once, and can control and fight multiple virtual objects simultaneously in a battle, so the controlled virtual object in the embodiments of the present application is the virtual object currently operated by the user, commonly referred to as the "main operation virtual object".

[0041] After the user selects the controlled virtual object in the opening interface, the terminal starts the current game, loads a virtual scene, displays a virtual scene screen of the virtual scene and a skill control of at least one skill possessed by the controlled virtual object, and displays the controlled virtual object in the virtual scene. Illustratively, the skill control is displayed on the upper layer of the virtual scene screen of the virtual scene, that is, the skill control hides a part of the virtual scene screen.

[0042] In one alternative embodiment, the terminal displays a user interface, the user interface including a virtual scene screen and a skill control, the virtual scene screen being a screen obtained by observing a virtual scene with the controlled virtual object as an observation target.

[0043] The skill control is used to provide a user interaction interface for the skill, for example, the skill control may be displayed on the user interface in the form of a graphic button, the graphic button may be a circular button, a rectangular button, or an irregular button, and the embodiment of the present application does not particularly limit the display manner of the skill control. Optionally, the skill control may display a skill identifier of the corresponding skill, and the skill identifier may be an identifier pattern, or may be a string of identifier text, or may be a string of identifier code.

[0044] In some embodiments, the terminal may display other UI (User Interface) controls in the virtual scene, such as a map control, a store control, a movement stick, etc., and the embodiments of the present disclosure do not particularly limit the control content displayed in the virtual scene. Note that in the embodiments of the present application, UI controls other than skill controls are referred to as "non-skill controls."

[0045] Here, the map control is also called a full map radar display control, and is an information display control used to display the real-time position of each virtual unit in the virtual environment, so that the user can obtain the positions of other virtual units by observing the map control. The map control displays an overhead map of the virtual scene, i.e., a small map. The small map facilitates the user to observe the topographical features of the virtual scene. The small map also displays map marks of the main virtual units, which are used to label the small map with the real-time positions of the virtual units. The main virtual units include at least one of virtual objects, virtual buildings, virtual vehicles, virtual animals, virtual items, and NPCs (Non-Player Characters), which can affect the progress of the game battle. Exemplarily, the virtual objects are virtual units controlled by the user or artificial intelligence. Exemplarily, the virtual animals include virtual beasts.

[0046] When a user clicks on a skill control of any skill, the terminal obtains a skill type of the skill in response to the user's first click operation on the skill control, where the skill type may include a target skill and a skill other than the target skill, and the target skill is a skill that supports selecting an application position based on a screen click. The above process can be regarded as a process of detecting whether the skill type of the skill is a target skill, and the terminal can add a target skill identifier to the skill type of the target skill, thereby determining whether the skill type of the skill is a target skill by detecting whether the skill type of the skill has a target skill identifier. If it is detected that the skill type of the skill has the target skill identifier, it determines that the skill type of the skill is a target skill and executes the following step 202; otherwise, if it is detected that the skill type of the skill does not have the target skill identifier, it determines that the skill type of the skill is not a target skill and ends the flow; optionally, the target skill identifier may be an IsFullScreenSkill identifier, and the target skill can be triggered to be activated by a click operation on the entire screen of the terminal. Such an application method is distinguished from the operation mechanism based on the roulette-style virtual stick in the related art, so the target skill can also be commonly called a "full screen skill" or a "screen touch skill".

[0047] Illustratively, the skill control is a roulette-type virtual stick control. As shown in FIG. 3, a circular skill control 325 is displayed on the first user interface, and a user can press the skill control 325 to call up a roulette-type virtual stick 327 of the skill control. The roulette-type virtual stick is composed of a large circle 328 (roulette part) and a small circle 329 (remote sensing part), the large circle 328 is the operable range of the roulette-type virtual stick, the small circle 329 is the position currently pressed by the user's finger, and the user can slide the small circle 329 arbitrarily within the range of the large circle 328. Exemplarily, the roulette-type virtual stick is a directional stick or a positional stick, and the roulette-type virtual stick determines the direction or position to be operated by the user based on the direction or position of the small circle 329 offset from the center point 320 of the virtual stick, determines the direction or position of the aim in the virtual scene based on the direction or position, and controls the controlled virtual object to activate a skill in the direction or position of the aim in the virtual scene when the user releases his / her hand at the position where the current small circle 329 is located. Exemplarily, the operation of the user activating a skill by operating the skill control is to call up the roulette-type virtual stick while holding down the skill control, drag the roulette-type virtual stick in the target direction or to the target position, and release the roulette-type virtual stick to activate the skill.

[0048] In the related art, when a user activates a skill, he / she first clicks on a certain skill control, triggers the display of a roulette-style virtual stick on the skill control, and there is a mapping relationship between the roulette part of the roulette-style virtual stick and the application range of the skill in the virtual scene, and then drags the stick part of the roulette-style virtual stick to adjust the application direction or application position of the currently selected skill within the application range, and only when the user releases his / her hand after the adjustment is completed can the skill be activated at the position where the stick part is mapped. In this application method based on the roulette-style virtual stick, there is a mapping relationship between the roulette-style virtual stick and the application range, but since the size of the roulette-style virtual stick usually does not change, the mapping ratio is too large for some skills with a large application range, and even a slight movement during the process of the user dragging the stick part will cause the final application position to be offset over a wide range, resulting in low aiming accuracy, high operation difficulty, low man-machine interaction efficiency, and further affecting the user experience.

[0049] On the other hand, in the embodiment of the present application, the target skill does not need to be activated based on the roulette-style virtual stick, but the application position can be selected directly based on the user's click operation on the screen. The user can directly click an application position in the virtual scene to activate the skill, achieving the interaction effect of "see and get". Since there is no need to go through mapping between the roulette-style virtual stick and the virtual scene, good aiming accuracy can still be maintained for some skills with a wide range of application, that is, the aiming accuracy of skill activation can be greatly improved and the operation difficulty of skill activation can be reduced, thereby improving the efficiency of man-machine interaction and optimizing the user experience. Below, we will explain in detail how to activate the target skill.

[0050] 202. In response to the skill type of the skill being a target skill, the terminal displays an applicable area of ​​the skill in the virtual scene based on the location of the controlled virtual object and the application range of the skill, and the target skill is a skill that supports selecting an application position based on a screen click.

[0051] In the above process, if the skill type of the skill is detected as a target skill, the terminal determines the location of the controlled virtual object as the center of the applicable area, and determines the farthest application distance of the skill as the radius of the applicable area, thereby determining a circular applicable area. For example, when a user clicks on skill 1, the application range of skill 1 is six feet, so in the virtual scene, a six-foot circular area around the location of the controlled virtual object is determined as the applicable area of ​​skill 1.

[0052] In some embodiments, the terminal can also display an application template of the applicable area in the virtual scene, and the application template is used to indicate that the skill is invalid to be activated in an area other than the application template. At this time, when detecting a user's click operation on a position point on the screen, the terminal can detect whether the position point is located in the applicable area by detecting whether the position point is located in the application template, specifically, if the position point is located in the application template, it determines that the position point is located in the applicable area, and executes the following step 203; otherwise, if the position point is not located in the application template, it determines that the position point is located outside the applicable area, does not activate the skill, and regards the current click operation as an invalid operation or an erroneous operation.

[0053] Skill types classify skills according to the man-machine interaction operation method for activating the skill. Skills can be classified into a plurality of types according to the difference in skill activation operation, such as a skill that is automatically activated by clicking the skill control, a skill that is activated by pressing the skill control to call up a roulette-type virtual stick, aiming at an application direction in the virtual scene using the roulette-type virtual stick and releasing the hand, and a skill that is activated by pressing the skill control to call up a roulette-type virtual stick, aiming at an application position in the virtual scene using the roulette-type virtual stick and releasing the hand. Meanwhile, a target skill is a skill that can select an application position by clicking on the virtual scene (virtual scene screen) and further activate the skill. The skill type of a skill is a target skill, that is, the skill allows the skill to be activated by an activation operation of clicking the skill control, selecting an application position by performing a click operation in the virtual scene, and activating the skill. Of course, the same skill can support a plurality of activation operations, and for example, if the skill allows the application position to be selected based on a screen click, the skill type of the skill includes a target skill.

[0054] 203, in response to a second click operation on the applicable area, the terminal controls the controlled virtual object to activate the skill at an application position indicated by the second click operation.

[0055] In the above process, when the terminal detects the user's second click operation on the applicable area, the terminal controls the controlled virtual object to activate the skill at the application position indicated by the second click operation, and settles the applied effect of the skill. Different skill types have different settlement rules for the applied effect.

[0056] In one exemplary scenario, for an attack skill of a single attack, the terminal can detect whether there is another virtual object at the application position, and if there is another virtual object at the application position, it determines that the attack skill has hit the other virtual object, and subtracts a certain numerical value from the virtual life value of the other virtual object; otherwise, if there is no other virtual object at the application position, it determines that the attack skill has not hit the other virtual object, which means that the skill activated this time is offset from the target.

[0057] In one exemplary scene, for some AOE (Area Of Effect) skills, the application position clicked by the user is actually the center point of the skill attack range, and the terminal can detect whether there are other virtual objects within a target distance around the application position. If there are other virtual objects within the target distance around the application position, it determines that the attack skill has hit the other virtual objects, and subtracts the virtual life value of the other virtual objects by a certain numerical value; otherwise, if there are no other virtual objects within the target distance around the application position, it determines that the attack skill has not hit the other virtual objects, which means that the skill activated this time is offset from the target.

[0058] In the above two exemplary scenes, the other virtual objects may refer to virtual objects that other users operate via their terminals, and may refer to virtual items, virtual NPCs, virtual soldiers, virtual buildings, etc., and the embodiments of the present disclosure do not particularly limit the types of other virtual objects that can be hit by a skill.

[0059] In the method according to the embodiment of the present application, in response to a first click operation on any skill in a virtual scene, a skill type of the skill is obtained; in response to the skill type of the skill being a target skill that supports selecting an application position based on a screen click, an applicable area of ​​the skill in the virtual scene is determined based on a location of a controlled virtual object and an application range of the skill; and in response to a second click operation on the applicable area, the controlled virtual object is controlled to activate the skill at the application position indicated by the second click operation. In this way, the man-machine interaction method of first clicking on a skill and then clicking on an application position to activate a skill can be achieved based on a simple two-click operation, and does not require a complex drag operation based on a roulette-type virtual stick and a skill stick, and avoids offset errors that occur when the roulette-type virtual stick is mapped to an application range, so that it has higher aiming accuracy and lower operation difficulty, thereby resulting in more efficient man-machine interaction efficiency and improving user experience.

[0060] 4 is a flowchart of a method for controlling a virtual object according to an embodiment of the present application. Referring to FIG. 4, the embodiment is applied to a terminal, which may be the first terminal 120 or the second terminal 160 shown in FIG. 1, and the embodiment includes the following steps:

[0061] 300, the terminal displays the virtual scene.

[0062] The terminal displays a virtual scene screen of a virtual scene and a skill control, and the virtual scene screen includes a controlled virtual object located in the virtual scene. In the process of displaying the skill control, the terminal can read a target profile, in which the configuration information of the controlled virtual object is stored, and can determine at least one skill possessed by the controlled virtual object and meta information of each of the at least one skill according to the configuration information in the target profile, and the meta information may include the skill name, activation mechanism, application mechanism, cooling time length, duration length, application effect, etc. of each skill, and of course, the meta information can also indicate whether each skill has a target skill identifier (such as IsFullScreenSkill identifier) ​​to detect whether the clicked skill is a target skill, which will be described later in step 304 and will not be described here.

[0063] 301, when the terminal detects a first click operation on the screen, in response to the presence of a user interface UI control at a position indicated by the first click operation, the terminal obtains a control type of the UI control.

[0064] Here, the control types of the UI control include skill control and non-skill control, the skill control is a UI control of any skill, and the non-skill control is a UI control other than the skill control, and the non-skill control includes, but is not limited to, a map control (commonly called a "mini map"), a store control (a control used to purchase virtual equipment or virtual items), a movement stick (a control used to control the displacement of a controlled virtual object in a virtual scene), etc., and it should be noted that the movement stick here is different from the roulette-type virtual stick of the skill control in the related technology, in that the movement stick is used to control the movement of the controlled virtual object, while the roulette-type virtual stick of the skill control is used to aim at the application direction or application position of the skill.

[0065] In the above process, the user can click a position on the screen, and when the terminal detects the user's first click operation on the virtual scene, it detects whether a UI control exists at the position indicated by the first click operation, and if a UI control exists at the position, it obtains the control type of the UI control. Specifically, the terminal obtains the screen coordinates of the position clicked by the user, and detects whether the screen coordinates of the position are located within the coverage area of ​​all UI controls. If the screen coordinates of the position are located within the coverage area of ​​any UI control, it determines that a UI control exists at the position, and obtains the control type of the UI control. If the control type of the UI control is a skill control, it executes the following step 302; otherwise, if the screen coordinates of the position are not located within the coverage area of ​​all UI controls (it is determined that a UI control does not exist at the position), or the control type of the UI control is a non-skill control, it ends the flow.

[0066] This is because on a screen (user interface), UI controls are usually displayed in a hovering manner on top of a virtual scene, so when a user clicks a position, the terminal needs to detect whether a UI control exists at that position and obtain the control type of the UI control. If the control type of the UI control is a non-skill control, it indicates that the event triggered by this click operation is not a skill activation event, and the flow is terminated; otherwise, if the control type of the UI control is a skill control, further judgment is required by step 302 below.

[0067] 302, in response to the control type of the UI control being a skill control corresponding to the skill, the terminal obtains a trigger state of another skill control, where the other skill control is a skill control of a skill other than the skill.

[0068] The terminal can detect whether a skill control exists at that position through the above step 301, and if a skill control exists at that position, it continues to detect the trigger state of other skill controls, and if there are other skill controls in a triggered state, it indicates that the user is activating another skill or the user has pressed skill controls of two skills simultaneously, and since the user cannot activate two skills simultaneously, it determines the current click operation to be an invalid operation or an erroneous operation and terminates the flow, otherwise, if there are no other skill controls in a triggered state, it executes the following step 303.

[0069] In some embodiments, when a skill control of any skill is clicked, the terminal can assign a masking identifier CurSkill to the skill, and the masking identifier CurSkill is used to mask the click events of other skills other than the currently operated skill to ensure the uniqueness of the skill. Therefore, when the terminal detects whether there are other skill controls in the triggered state, it only detects whether there are currently any skills that have the masking identifier CurSkill, and if there are any skills that have the masking identifier CurSkill, it determines that there are other skill controls in the triggered state and terminates the flow; otherwise, if all skills do not have the masking identifier CurSkill, it determines that there are no other skill controls in the triggered state and executes the following step 303.

[0070] In the above process, if the terminal responds to the presence of a UI control at the position and the control type of the UI control is a skill control, it indicates that the user has clicked the skill control of the skill; on the other hand, since the user cannot operate two skills simultaneously, it is necessary to determine whether another skill has already been pressed through the above step 302. Only if any other skill has not been pressed, execute the following step 303; otherwise, end the flow.

[0071] 303, the terminal determines that a first click operation for the skill in the virtual scene has been detected in response to the other skill control not being in a triggered state.

[0072] In the above process, step 301 ensures that there is a UI control at the position where the user clicks, and step 302 ensures that the user has already clicked on the skill and is not currently operating two skills at the same time, so that the user's first click operation on the skill can be determined, and the following step 304 is performed.

[0073] FIG. 5 is a schematic diagram of an interface according to an embodiment of the present application. Referring to FIG. 5, a virtual scene 400 includes skill controls 401 to 404 corresponding to skills 1 to 4, respectively, and after a user clicks on skill control 404, the terminal can determine that a first click operation on skill 4 has been detected by detecting that the type of the UI control at the touch point is a skill control and that there are no other skill controls in a triggered state.

[0074] 304: In response to a first click operation on a skill control, the terminal obtains a skill type of the skill.

[0075] In the above step 304, when the user clicks on the skill control of any skill in the virtual scene, the terminal can obtain the skill type of the skill in response to the user's first click operation on the skill, where the skill type may include a target skill and a skill other than the target skill, and the target skill is a skill that supports selecting an application position based on a screen click.

[0076] The above process can be regarded as a process of detecting whether the skill type of the skill is a target skill, and the terminal can add a target skill identifier to the skill type of the target skill among at least one skill that the controlled virtual object has in the target profile, thereby determining whether the skill type of the skill is a target skill by detecting whether the skill type of the skill has a target skill identifier in the target profile. If it is detected that the skill type of the skill has the target skill identifier, it determines that the skill type of the skill is a target skill and executes the next step 305; otherwise, if it is detected that the skill type of the skill does not have the target skill identifier, it determines that the skill type of the skill is not a target skill, and ends the flow.

[0077] In one exemplary scene, the target skill identifier may be an IsFullScreenSkill identifier, and when placing a skill on a controlled virtual object in a target profile, one IsFullScreenSkill identifier for the skill type of the target skill can be added as an associated parameter of the target skill identifier, and when a full-screen touch event (i.e., a user's click operation on any skill) is detected, the terminal can detect whether the skill corresponding to the currently clicked skill control is marked with an IsFullScreenSkill identifier in the profile, and if the skill type of the skill has an IsFullScreenSkill identifier, the skill can be considered to be triggered by the full-screen touch event.

[0078] 305. In response to the skill type of the skill being a target skill, the terminal displays at least one of an activation countdown or activation presentation information of the skill in the virtual scene, and the target skill is a skill that supports selecting an application position based on a screen click.

[0079] The terminal obtains the skill type of the skill through step 304 above, and if the skill type of the skill is the target skill, the terminal can display an activation countdown or activation presentation information of the skill in the virtual scene, where the activation countdown is used to present to the user the remaining time until the skill is activated, and the activation presentation information is used to present to the user how to operate to activate the skill.

[0080] Optionally, the length of the activation countdown or the content of the activation presentation information may be indicated by a target profile, and the activation countdown or the activation presentation information may be displayed in the virtual scene in text format, or in video format, hovered on the virtual scene screen, or smartly presented in the form of an audio announcement, and the embodiments of the present disclosure do not particularly limit the display method of the activation countdown or the activation presentation information.

[0081] 6 is a schematic diagram of an interface according to an embodiment of the present application. Referring to FIG. 6, a virtual scene 500 includes skill controls 501-504 corresponding to skills 1-4, respectively. After a user clicks on skill control 504, the terminal can determine that a click operation on skill 4 is detected by detecting that the type of the UI control at the touch point is a skill control and that there are no other skill controls in a triggered state. The terminal then detects that skill 4 belongs to the target skill, and thus displays skill 4's activation countdown 505 and activation presentation information 506 in the virtual scene, and it can be seen that the current activation countdown is 5 seconds remaining, and the activation presentation information 506 is a text message saying "click the screen to activate the skill".

[0082] For example, after the user first triggers the skill control, the user can directly click on the virtual scene to select the application position, or can use the roulette-style virtual stick to select the application position. In response to receiving a skill activation operation on the roulette-style virtual stick corresponding to the skill control, the terminal controls the controlled virtual object to activate the skill at the position indicated by the skill activation operation.

[0083] In an optional embodiment, in response to a first click operation on the skill control, the terminal obtains a skill type of the skill, and in response to the skill type of the skill being a target skill, displays an applicable area of ​​the skill in the virtual scene based on the location of the controlled virtual object and the application range of the skill, and displays a skill activation countdown, during which the user can click any application position in the applicable area in the virtual scene to control the controlled virtual object to activate the skill, and can also press the skill control again to summon a roulette-style virtual stick of the skill control, drag the stick portion to select an application position, and then release the hand to control the virtual object to activate the skill at the position in the virtual scene where the stick portion is mapped.

[0084] 306, the terminal displays an applicable area of ​​the skill in the virtual scene according to the location of the controlled virtual object and the applicable range of the skill.

[0085] In some embodiments, if the applicable area is a circular area, the terminal can determine the location of the controlled virtual object in the virtual scene as the center of the applicable area, and determine the farthest application distance of the skill as the radius of the applicable area; of course, the applicable area is not limited to a circular area, and can be a sector area, a rectangular area, an irregular area, etc.; for example, if the applicable area is a sector area, the user can control the orientation of the sector area by a moving operation, and rotate the orientation of the sector area by a rotating operation. For example, when a user clicks a first position in the applicable area and then moves to a second position, the orientation of the sector area is from the first position to the second position, and when the user continues to move from the second position to a third position, the sector area is rotated to the orientation from the first position to the third position.

[0086] In some embodiments, the terminal adds an application template to the applicable region in the virtual scene, and the application template is used to indicate that the skill is invalid to be activated in regions other than the application template. After that, when the user's first click operation on the screen is detected again, the terminal can determine whether the position point indicated by the first click operation is located within the applicable region by detecting whether the position point is located within the application template, specifically, if the position point is located within the application template, it determines that the position point is located within the applicable region, and executes the following step 307; otherwise, if the position point is not located within the application template, it determines that the position point is outside the applicable region, does not activate the skill, and regards the current click operation as an invalid operation or an erroneous operation.

[0087] 307, in response to a third click operation on the map control, the terminal determines a clicked target area on the map control.

[0088] In the above process, since the virtual scene is usually large while the size of the terminal screen is limited and only a part of the virtual scene can be displayed on the terminal screen, a map control can usually be displayed in the virtual scene, and the map control is used to switch a part of the virtual scene currently displayed on the screen to a part of another virtual scene at any time. In this way, the user does not need to control the displacement of the virtual object to switch the viewing angle, but instead can switch the viewing angle by directly clicking the target area in the map control, which makes the user's operation extremely convenient.

[0089] In some embodiments, each map point in the map control corresponds to a location point in the virtual scene, so that the entire virtual scene is scaled down and displayed on the map control at a certain ratio. When the terminal detects a third click operation by the user on the map control, it can determine the map point clicked by the user on the map control, and determine a rectangular area centered on the map point, where the aspect ratio of the rectangular area is equal to the aspect ratio of the terminal screen, and the size of the rectangular area can be preset by the user, thereby determining the rectangular area as the clicked target area.

[0090] 308, the terminal displays a target scene corresponding to the target region in a virtual scene, the target scene including the applicability region.

[0091] In the above process, the terminal maps the target area to the target scene based on the mapping relationship between the map control and the virtual scene, and displays the target scene on the terminal screen, where the target scene includes part or all of the applicable area, so that the user can complete the skill activation by clicking again.

[0092] FIG. 7 is a schematic diagram of an interface according to an embodiment of the present application. Referring to FIG. 7, the virtual scene includes skill controls 601-604 corresponding to skills 1-4, respectively. After the user clicks on the skill control 604, the terminal can determine that the click operation on skill 4 is detected by detecting that the type of the UI control at the touch point is a skill control and there is no other skill control in the triggered state. The terminal then detects that skill 4 belongs to the target skill, and thus displays the activation countdown 605 and activation presentation information 606 of skill 4 in the virtual scene, and it can be seen that the current activation countdown is 3 seconds remaining, and the activation presentation information 606 is a text message that says "click the screen to activate the skill." In addition, a map control 607 is also displayed in the virtual scene. After the user clicks on the map control 607, the terminal determines the clicked target area 608 on the map control 607, and displays the target scene 600 with the target area 608 mapped on the terminal screen.

[0093] For example, the virtual scene screen displayed on the terminal is a screen captured by a camera in the virtual scene observing the virtual scene, and based on a third click operation received on the map control, the terminal can determine a camera position, thereby displaying a target scene on the virtual environment screen based on the new camera position.

[0094] In an alternative embodiment, the terminal can also receive other operations to change the camera position, thereby changing the target scene displayed on the virtual scene screen on the terminal. For example, the terminal can receive a viewing angle movement operation in a viewing angle movement area, the viewing angle movement operation is a slide operation, and the terminal determines the direction and distance of the camera movement based on the direction and distance of the slide operation, thereby calculating the position after the camera movement based on the current camera position, and further makes the camera after the movement capture the virtual scene screen of the target scene. Also, for example, the terminal can receive a movement operation to control the movement of a controlled virtual object, and since the camera is set by default to follow and capture the controlled virtual object, when the position of the controlled virtual object in the virtual scene changes, the camera moves to follow and the target scene displayed on the virtual scene screen also changes to follow.

[0095] The user can use any of the above methods to display the virtual scene screen of the target scene on the terminal, and further select the application position on the virtual scene screen of the target scene.

[0096] 309, the terminal detects a second click operation on the applicable area.

[0097] In the above process, the terminal detects the user's second click operation on the applicable area in the target scene, and the terminal can add an application template to the applicable area in the above step 306, and the application template is used to indicate that the skill is invalid to be activated in areas other than the application template. After that, when the user's second click operation on the target scene is detected again, the terminal can determine whether the application position indicated by the second click operation is located within the application template, thereby determining whether the application position is located within the applicable area; specifically, if the application position is located within the application template, the terminal determines that the application position is located within the applicable area, and executes the following step 310; otherwise, if the application position is not located within the application template, the terminal determines that the application position is outside the applicable area, does not activate the skill, and regards the current click operation as an invalid operation or an erroneous operation.

[0098] 310, in response to a second click operation on the applicable area, the terminal controls the controlled virtual object to activate the skill at an application position indicated by the second click operation.

[0099] In the above process, when the terminal detects the user's second click operation on the applicable area, the terminal can respond to the user's second click operation on the applicable area by obtaining screen coordinates of an application position indicated by the second click operation on the terminal screen, and mapping the screen coordinates to scene coordinates of the application position in the virtual scene, thereby controlling the controlled virtual object to activate the skill at the scene coordinates.

[0100] In some embodiments, when mapping screen coordinates to scene coordinates, the terminal may use the inverse matrix of the following formula, thereby converting screen coordinates in a 2D screen to a scene coordinate FocusPoint in a 3D scene:

[0101]

number

number

[0102] Where:

number

[0103] Where X w , Y w , Z w are the scene coordinates of the application position on the x-axis, y-axis, and z-axis in a 3D scene, u and v are the screen coordinates of the application position on the u-axis and v-axis in a 2D screen, and Z c denotes the z-axis coordinate value of the application position in the camera coordinate system, and f is the camera focal length.

[0104] Furthermore, after determining the scene coordinates of the skill application position, a skill indicator can be invoked to display the intended application position of the skill in the virtual scene, and the user can observe on the skill indicator whether the intended application position is the desired application position, and if both are consistent, the user can release his / her hand to trigger the controlled virtual object to activate the skill at the clicked application position.

[0105] In some embodiments, if the two do not match (i.e., the intended application position displayed by the skill indicator is not ideal), then the user can perform a drag operation on the screen without releasing the hand, and the terminal responds to the user's drag operation on the applicable area by updating the application position indicated by the drag operation in the virtual scene according to the drag trajectory of the drag operation. Finally, after the user completes the drag and releases the hand, the controlled virtual object is triggered to activate the skill at the latest updated application position within the drag trajectory.

[0106] After the skill is activated, the terminal can also pay for the effect of the skill. The payment rules for the effect vary depending on the skill type.

[0107] In an optional embodiment, when the terminal receives a second click operation on the applicable region, the terminal displays a skill application frame at an application position indicated by the second click operation. Exemplarily, the terminal displays a first skill application frame at the application position, the first skill application frame is used to specify an application range in which a skill effect can be generated by activating the skill, and controls the controlled virtual object to activate the skill in the first skill application frame.

[0108] Exemplarily, the shape and size of the skill application frame are determined based on the skill application range of the skill, for example, the shape of the skill application frame may be circular or elliptical, the center point of the skill application frame is located at the position point selected by the second click operation to select the application position, and the radius of the skill application frame is the farthest distance at which the skill generates the application effect.

[0109] For example, the skill application frame is used to determine the actual application range of the skill. If the skill is an AOE skill, the skill effect will be generated on all targets located within the skill application frame when the skill is activated; if the skill is a single-target attack skill, after the skill is activated, the terminal will determine whether there is an attackable target within the skill application frame, and if there is and there is only one target, the terminal will generate the skill effect on the target; if there are multiple targets, the terminal will select one target from the multiple targets and generate the skill effect on it; if there is no target, there is no applicable target for this skill activation, and the terminal will not generate the skill effect on any unit.

[0110] In an alternative embodiment, the skill is used for generating a skill effect on a single target, and includes at least two targets in a first skill application frame. The terminal determines a first target from the at least two targets in the first skill application frame according to a target determination principle, and controls the controlled virtual object to activate the skill to generate a skill effect on the first target, where the target determination principle includes a closest distance priority principle, a lowest hit point priority principle, and a lowest percentage hit point priority principle.

[0111] Here, the closest distance priority principle is to determine the target closest to the center point of the skill application slot as the attack target in the skill application slot.The lowest hit point priority principle is to determine the target with the fewest hit points as the attack target in the skill application slot.The lowest percentage hit point priority principle is to determine the target with the smallest ratio between current hit points and total hit points as the attack target in the skill application slot.

[0112] Of course, the final attack target can be determined from the multiple targets based on other target determination principles. For example, a first type of target can be preferentially determined as an attack target based on the type of target. For example, the type of target can include other virtual objects controlled by other users, wild beasts controlled by programs, small soldiers, buildings, etc. The first type can be other virtual objects controlled by other users.

[0113] For example, based on the state of the target, targets in an attacking state can be preferentially attacked. Since some virtual objects have defensive skills and virtual objects in a defensive state have a high defensive value, the terminal can preferentially select and attack targets in an attacking state, thereby avoiding targets with high defensive values.

[0114] FIG. 8 is a schematic diagram of an interface according to an embodiment of the present application. Referring to FIG. 8, a virtual scene 700 includes skill controls 701-704 corresponding to skills 1-4, respectively. After a user clicks on skill control 704, the terminal can determine that a click operation on skill 4 has been detected by detecting that the type of the UI control at the touch point is a skill control and that there are no other skill controls in a triggered state. The terminal then detects that skill 4 belongs to the target skill, and thus displays an activation countdown 705 and activation presentation information 706 of skill 4 in the virtual scene, and it can be seen that the current activation countdown is 4 seconds remaining, and the activation presentation information 706 is a text message that says "click the screen to activate the skill." In response to a user clicking on an application position 707 in an applicable area in the virtual scene, the terminal displays a first skill application frame 710 at the application position 707, and controls the controlled virtual object to directly activate skill 4 within the first skill application frame 710.

[0115] All the above optional technical solutions can be adopted in any combination to form optional embodiments of the present disclosure, and the description will be omitted here.

[0116] In the method according to the embodiment of the present application, in response to a first click operation on any skill in a virtual scene, a skill type of the skill is obtained; in response to the skill type of the skill being a target skill that supports selecting an application position based on a screen click, an applicable area of ​​the skill in the virtual scene is determined based on a location of a controlled virtual object and an application range of the skill; and in response to a second click operation on the applicable area, the controlled virtual object is controlled to activate the skill at the application position indicated by the second click operation. In this way, the man-machine interaction method of first clicking on a skill and then clicking on an application position to activate a skill can be achieved based on a simple two-click operation, and does not require a complex drag operation based on a roulette-type virtual stick and a skill stick, and avoids offset errors that occur when the roulette-type virtual stick is mapped to an application range, so that it has higher aiming accuracy and lower operation difficulty, thereby resulting in more efficient man-machine interaction efficiency and improving user experience.

[0117] Illustratively, a user may also box select an application area within the applicable area, thereby more precisely selecting the scope of application of a skill and improving aiming accuracy.

[0118] 9 is a flowchart of a method for controlling a virtual object according to an embodiment of the present application. Referring to FIG. 9, the embodiment is applied to a terminal, which may be the first terminal 120 or the second terminal 160 shown in FIG. 1, and the embodiment includes the following steps:

[0119] 801, in response to a first click operation on any skill in the virtual scene, the terminal obtains a skill type of the skill.

[0120] 802. In response to the skill type of the skill being a target skill, the terminal determines an applicable area of ​​the skill in the virtual scene based on the location of a controlled virtual object and the application range of the skill, and the target skill is a skill that supports selecting an application position based on a screen click.

[0121] 803. In response to receiving a box selection operation in the applicable area, the terminal controls the controlled virtual object to activate a skill in the application area surrounded by the box selection operation, where the box selection operation is used to surround a closed graphic by a drag trajectory in the applicable area, and the application area is the closed graphic, or the application area is a minimum enclosing circle of the closed graphic.

[0122] The box selection operation can be understood as an operation in which a user draws a closed graphic in an applicable area (a circle drawing operation). Of course, what is drawn by the user's box selection operation does not have to be a standard closed graphic, for example, the drawn graphic may be semi-closed or there may be intersecting lines. In this case, the terminal will automatically optimize the user's drawn graphic into a closed graphic, thereby obtaining a closed graphic corresponding to the box selection operation.

[0123] The terminal can determine the closed graphics as the application area of ​​the skill. The terminal can also determine the minimum bounding circle of the closed graphics as the application area of ​​the skill, that is, the user box selects the rough size of the skill application area through a box selection operation, and the terminal determines the minimum bounding circle of the closed graphics as the final application area.

[0124] Exemplarily, to prevent the user from box-selecting an application area that is too large, the terminal also needs to ensure that the application area is smaller than an area threshold to determine it as a valid application area.

[0125] In response to receiving a box selection operation in the applicable area, the terminal calculates an area of ​​the application area enclosed by the box selection operation, and in response to the area area being smaller than an area threshold, controls the controlled virtual object to activate a skill in the application area enclosed by the box selection operation.

[0126] In response to the region area being greater than the area threshold, the terminal determines that the currently selected application region is an invalid region and displays invalid operation presentation information to prompt the user to continue selecting the application region, or terminates the current skill activation flow.

[0127] Illustratively, referring to the description of the previous embodiment about the skill application frame, in this embodiment, the corresponding skill application frame can also be displayed in the application area to indicate the actual application range of the skill.

[0128] In response to the area being smaller than the area threshold, the terminal displays a second skill application frame in the application area, the second skill application frame is used to specify an application range in which a skill effect can be generated by activating the skill, the shape of the second skill application frame is the same as the application area, and controls the controlled virtual object to activate the skill in the second skill application frame.

[0129] For example, referring to the description of the previous embodiment regarding how to determine the final attack target when there are multiple targets in the skill application slot, in this embodiment, the final attack target can also be determined in the same manner.

[0130] That is, the skill is used to generate a skill effect on a single target, and the second skill application frame includes at least two targets. The terminal determines a second target from the at least two targets in the second skill application frame based on a target determination principle, and controls the controlled virtual object to activate the skill to generate a skill effect on the second target, where the target determination principle includes a closest distance priority principle, a lowest hit point priority principle, and a lowest percentage hit point priority principle.

[0131] As described above, the method of this embodiment allows the user to control the size of the area for skill activation by box selecting the application area in the applicable area, and further improves the accuracy with which the user aims at the skill application area, reducing the operational difficulty of accurately activating the skill, thereby achieving more efficient man-machine interaction efficiency and improving the user experience.

[0132] FIG. 10 is a diagram showing the principle of touching a screen to activate a skill according to an embodiment of the present application. Referring to FIG. 10, in one exemplary scene, as shown in 800, a terminal can activate a screen touch skill (i.e., a target skill) according to the following flow. When a player's finger touches the screen, the screen is in a pressed state. The terminal first determines whether the current touch point is on another UI control, that is, detects whether the touch point has other virtual buttons, such as virtual buttons of non-skill controls such as a small map (map control), a store (store control), a movement stick, etc., and only touch events that are not on these non-skill controls are considered to be touch events required for the current skill activation. Next, the terminal detects whether the skill button is pressed on the current touch point, that is, detects whether the current touch point is on a skill control of any skill. If the current touch point is on a skill control of any skill, and the player cannot operate two skills at the same time, it also determines whether other skill controls have already been pressed, that is, it needs to check whether there are other screen touch activation skills that have been triggered. Only if any other skill control is not pressed, the terminal receives the current touch skill operation.

[0133] In addition, when configuring a skill, configure relevant parameters for the screen touch skill, for example, add an IsFullScreenSkill identifier to the skill, and when a full-screen touch event is detected, the terminal detects whether the skill corresponding to the current skill control has an IsFullScreenSkill identifier, and if the skill has an IsFullScreenSkill identifier, the skill is deemed to be triggered by the full-screen touch event, and can set the touch identifier FingerID and masking identifier CurSkill of the current full-screen touch event, where the touch identifier FingerID is used to distinguish the current full-screen touch event from other touch events pressed, and the masking identifier CurSkill is used to mask the events pressed by other controls to ensure the uniqueness of the currently operated skill. After all the above steps are performed smoothly, the terminal calculates the scene coordinate FocusPoint in the virtual scene according to the touch point (screen coordinate of the application position) on the skill control, and processes the expression of the skill indicator according to the scene coordinate FocusPoint, thereby showing the player the preview effect of the expected application position.

[0134] Furthermore, when the touch point moves on the screen, in the screen drag state, first detect whether the touch identifier FingerID of the currently pressed event is consistent with the FingerID of the full-screen touch event triggered immediately before, that is, detect whether the touch point and the immediately previous touch identifier FingerID are the same and whether a masking identifier CurSkill exists; when the touch identifier FingerID is the same and a masking identifier CurSkill exists, next determine whether a skill triggered by the currently pressed event exists; when both of these two conditions are met, the terminal updates the scene coordinate FocusPoint with the current touch point, that is, maps it with the screen coordinate of the new touch point, and obtains a new scene coordinate FocusPoint.

[0135] Furthermore, when the touch point is lifted (the player releases his / her hand), the screen is in a hands-off state, and the terminal similarly detects whether the FingerID of the currently pressed event matches the FingerID of the full-screen touch event triggered immediately before, that is, detects whether the touch point and the immediately previous touch identifier FingerID are the same and whether a masking identifier CurSkill exists; when the touch identifier FingerID is the same and the masking identifier CurSkill exists, if a skill triggered by the currently pressed event exists, when these two conditions are both met, the terminal sends related skill data (including the masking identifier CurSkill, the final scene coordinate FocusPoint, etc.), requests the server to activate the skill, and synchronizes with other terminals participating in the game based on frame synchronization technology.

[0136] Specifically, for a screen touch skill that can be activated by clicking the screen, after the player clicks on the skill control, the screen will enter skill activation mode, and the end countdown of the screen skill activation mode (i.e., skill activation countdown) and activation presentation information "click the screen to activate the skill" will be displayed in the lower area of ​​the screen. In addition, an application template is added within the skill's application range, and the application template indicates that the skill can be activated by clicking within the area covered by the template. If the player clicks on a location outside the area, the skill will not be activated. During the countdown process, if the player clicks on the screen, the skill will be directly activated at the clicked application position within the applicable area of ​​the virtual scene. If application to a position outside the screen is required, the player can first click on the small map to move the screen to the corresponding position, and then click on the screen to activate the skill.

[0137] In the embodiment of the present application, for skills with a long application range, a mechanism is added to release (i.e., activate) the skill by clicking the screen, so that the player can directly activate the skill at the application position clicked by clicking the screen, achieving the interaction effect of "see and get", improving the aiming accuracy in the skill activation process, making the player's playing process more comfortable, and optimizing the user experience. Of course, for the screen touch skill that can be activated by clicking the screen, the terminal can provide two compatible skill activation methods, so that the user can activate the skill by clicking the screen, and can also activate the skill based on the traditional roulette-style virtual stick, providing a richer and more diverse man-machine interaction method.

[0138] FIG. 11 is a schematic diagram of a virtual object control device according to an embodiment of the present application. Referring to FIG. 11, the device includes: A detection module 901 is used to detect whether a skill control is a target skill in response to a first click operation on the skill control, and the target skill is a skill that supports selecting an application position based on a screen click; A determination module 902, which is used to display an applicability area of ​​the skill in the virtual scene based on a location of the controlled virtual object and an applicability range of the skill in response to the skill being a target skill; and a control module 903 used to control, in response to a second click operation on the applicable area, the controlled virtual object to activate the skill at an application position indicated by the second click operation.

[0139] In accordance with an embodiment of the present application, the device obtains a skill type of any skill in response to a first click operation on the skill in a virtual scene; in response to the skill type of the skill being a target skill that supports selecting an application position based on a screen click, determines an applicable area of ​​the skill in the virtual scene based on the location of a controlled virtual object and the application range of the skill; and in response to a second click operation on the applicable area, controls the controlled virtual object to activate the skill at the application position indicated by the second click operation. In this way, the man-machine interaction method of first clicking a skill and then clicking an application position to activate a skill can be achieved based on a simple two-click operation, and does not require a complex drag operation based on the roulette-type virtual stick and the skill stick, and avoids offset errors that occur when the roulette-type virtual stick is mapped to the application range, so that it has higher aiming accuracy and lower operation difficulty, thereby resulting in more efficient man-machine interaction efficiency and improving the user experience.

[0140] In one possible embodiment, the control module 903 includes: In response to a second click operation on the applicable area, acquiring screen coordinates of an application position indicated by the second click operation on the screen; mapping the screen coordinates into scene coordinates of the application position in the virtual scene; and controlling the controlled virtual object to activate the skill in the scene coordinates.

[0141] In one possible embodiment, based on the device configuration of FIG. 11, the device: The virtual scene further includes a mapping detection module for determining a target area clicked on the map control in response to a third click operation on the map control, displaying a target scene in the virtual scene corresponding to the target area, the target scene including the applicability area, and detecting a second click operation on the applicability area in the target scene.

[0142] In one possible embodiment, if the applicability region is a circular region, the determination module 902: In the virtual scene, determining a location of the controlled virtual object as a center of the applicable area, and determining a farthest application distance of the skill as a radius of the applicable area; Displaying an application template of the applicable area in the virtual scene, the application template being used to indicate that activation of the skill in areas other than the application template is invalid.

[0143] In one possible embodiment, based on the device configuration of FIG. 11, the device: The skill further includes a display module adapted to display at least one of an activation countdown or activation presentation information of the skill in the virtual scene in response to the skill being a target skill.

[0144] In one possible embodiment, the control module 903 is used to, in response to receiving a skill activation operation on a roulette-style virtual stick corresponding to the skill control, control the controlled virtual object to activate the skill at a position indicated by the skill activation operation.

[0145] In one possible embodiment, the detection module 901 comprises: when detecting a first click operation on the screen, in response to a user interface control being present at a position indicated by the first click operation, obtaining a control type of the user interface control; In response to the control type of the user interface control being the skill control corresponding to the skill, acquiring a trigger state of another skill control, the other skill control being a skill control of a skill other than the skill; and determining that a first click operation on the other skill control has been detected in response to the other skill control not being in a triggered state.

[0146] In one possible embodiment, based on the device configuration of FIG. 11, the device: The apparatus further includes an update module adapted to update, in response to a drag operation on the applicable region, an application position indicated by the drag operation in the virtual scene based on a drag trajectory of the drag operation.

[0147] In one possible embodiment, the device comprises: A display module is used for displaying a first skill application frame at the application position, and the first skill application frame further includes a display module for specifying an application range in which a skill effect can be generated by activating the skill; The control module is used for controlling the controlled virtual object to activate the skill in the first skill application slot.

[0148] In one possible embodiment, the skill is used to generate a skill effect on a single target, and the first skill application slot includes at least two targets; The control module is used for determining a first target from at least two targets in the first skill application frame according to a target determination principle; the control module is used for controlling the controlled virtual object to activate the skill to generate a skill effect on the first target; Here, the target determination principles include the closest distance priority principle, the lowest hit point priority principle, and the lowest percentage hit point priority principle.

[0149] In one possible embodiment, the control module, in response to receiving a box selection operation in the applicability region, controls the controlled virtual object to activate the skill in an application region enclosed by the box selection operation, where the box selection operation is used to enclose a closed graphic by a drag trajectory in the applicability region, the application region being the closed graphic, or the application region being a minimum enclosing circle of the closed graphic.

[0150] In one possible embodiment, the control module is adapted to, in response to receiving a box selection operation in the applicability region, calculate an area of ​​the applicability region enclosed by the box selection operation; The control module is used for controlling the controlled virtual object to activate the skill in the application area enclosed by the box selection operation in response to the area area being smaller than an area threshold.

[0151] In one possible embodiment, the device comprises: a display module for displaying a second skill application frame in the application area in response to the area being smaller than the area threshold, the second skill application frame being used to specify an application range in which a skill effect can be generated by activating the skill, and the shape of the second skill application frame being the same as the application area; The control module is used for controlling the controlled virtual object to activate the skill in the second skill application slot.

[0152] In one possible embodiment, the skill is used to generate a skill effect on a single target, and the second skill application slot includes at least two targets; The control module is used for determining a second target from at least two targets in the second skill application frame according to a target determination principle; the control module is used for controlling the controlled virtual object to activate the skill to generate a skill effect on the second target; Here, the target determination principles include the closest distance priority principle, the lowest hit point priority principle, and the lowest percentage hit point priority principle.

[0153] Although the above embodiment of the virtual object control device has been described as an example of only dividing each of the functional modules when controlling a virtual object, in actual application, the above functions are completed by allocating to different functional modules as necessary, i.e., the internal configuration of the terminal device is divided into different functional modules to complete all or part of the above-described functions. Also, the virtual object control device according to the above embodiment belongs to the same concept as the embodiment of the virtual object control method, and the specific realization process thereof is shown in detail in the embodiment of the virtual object control method, and the description thereof will be omitted here.

[0154] 12 is a schematic diagram of a terminal according to an embodiment of the present application. The terminal 1000 may be a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, a Moving Picture Experts Group Audio Layer IV, a Moving Picture Experts Group Audio Layer 4) player, a notebook computer, or a desktop computer. The terminal 1000 may also be called other names such as a user device, a mobile terminal, a laptop terminal, a desktop terminal, etc.

[0155] Typically, the terminal 1000 includes a processor 1001 and a memory 1002 .

[0156] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). The processor 1001 may further include a main processor and a coprocessor, where the main processor is a processor used to process data in a wake-up state and is also called a CPU (Central Processing Unit), and the coprocessor is a low-power processor used to process data in a standby state. In some embodiments, the processor 1001 may integrate a GPU (Graphics Processing Unit) used to render and render content to be displayed on a display. In some embodiments, the processor 1001 may further include an AI (Artificial Intelligence) processor used to process computational operations related to machine learning.

[0157] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices, flash storage devices, etc. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one command, which is executed by the processor 1001 to implement the method for controlling a virtual object according to the embodiments of the present application.

[0158] In some embodiments, the terminal 1000 optionally further includes a peripheral interface 1003 and at least one peripheral device. The processor 1001, the memory 1002, and the peripheral interface 1003 may be connected via a bus or signal lines. Each peripheral device may be connected to the peripheral interface 1003 via a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1004, a touch display 1005, a camera component 1006, an audio circuit 1007, a positioning component 1008, and a power source 1009.

[0159] The peripheral interface 1003 can be used to connect at least one peripheral device associated with I / O (Input / Output) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral interface 1003 are integrated on the same chip or circuit board, and in some embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral interface 1003 may be implemented on separate chips or circuit boards, and this embodiment is not limited thereto.

[0160] The radio frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1004 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1004 can communicate with other terminals through at least one wireless communication protocol, including but not limited to metropolitan area networks, mobile communication networks of various generations (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuitry 1004 may further include circuitry related to Near Field Communication (NFC), although this application is not limited in this respect.

[0161] The touch display 1005 is used to display a user interface (UI). The UI may include graphics, text, icons, videos, and any combination thereof. When the touch display 1005 is a touch display, the touch display 1005 is also capable of collecting touch signals on or above the surface of the touch display 1005. The touch signals may be input as control signals to the processor 1001 for processing. In this case, the touch display 1005 may be used to provide virtual buttons and / or virtual keyboards, also called soft buttons and / or soft keyboards. In some embodiments, the touch display 1005 may be one and is disposed on the front panel of the terminal 1000, and in other embodiments, the touch display 1005 may be at least two and is disposed on different surfaces of the terminal 1000 or designed to be folded, and in some embodiments, the touch display 1005 may be a flexible display and is disposed on a curved or folded surface of the terminal 1000. In addition, the touch display 1005 may be configured as a non-rectangular irregular graphic display, i.e., an irregular display. The touch display 1005 may be manufactured using materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.

[0162] The power source 1009 is used to supply power to each component in the terminal 1000. The power source 1009 may be an AC, DC, disposable battery, or a rechargeable battery. If the power source 1009 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charging technology.

[0163] As will be appreciated by those skilled in the art, the configuration shown in FIG. 12 is not intended to limit the terminal 1000, which may include more or fewer components than those shown, may combine some components, or may employ a different component arrangement.

[0164] In an exemplary embodiment, a computer-readable storage medium is further provided, such as a memory including at least one program code, which can be executed by a processor in the terminal to complete the method for controlling a virtual object in the above embodiment. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random-Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a flexible disk, an optical data storage device, etc.

[0165] In an exemplary embodiment, a computer program product or computer program is further provided, the computer program product or computer program comprising computer commands stored on a computer readable storage medium, the computer commands being read by a processor of a computing device from the computer readable storage medium and executed by the processor to cause the computing device to perform the method for controlling a virtual object according to the selectable implementation.

Claims

1. A method for controlling a virtual object executed by a terminal, comprising: acquiring a skill type of the skill in response to a first touch operation on the skill control; In response to the skill type of the skill being a target skill, displaying an applicability area of ​​the skill in a virtual scene based on a location of a controlled virtual object and an application range of the skill, the target skill being a skill that supports selecting an application location based on a screen touch; In response to a second touch operation on the applicable area, controlling the controlled virtual object to activate the skill at an application position indicated by the second touch operation; The applicable area is a circular area, and the applicable area is determined by taking the position of the controlled virtual object as the center of the circle and taking the farthest application distance of the skill as the radius. 、 13. A method for controlling a virtual object comprising:

2. The step of displaying an applicable area of ​​the skill in a virtual scene based on a location of a controlled virtual object and an applicable range of the skill, displaying an application template of the applicability region in the virtual scene; The method of claim 1.

3. A method according to claim 1 or 2, wherein displaying an area in which the skill can be applied in a virtual scene based on the location of a controlled virtual object and the range of application of the skill indicates that activating the skill in an area other than the area in which the skill can be applied is invalid.

4. In response to a second touch operation on the applicable area, the step of controlling the controlled virtual object to activate the skill at an application position indicated by the second touch operation includes: acquiring, in response to the second touch operation on the applicable area, screen coordinates of the application position indicated by the second touch operation on a screen; mapping said screen coordinates to scene coordinates of said application position in said virtual scene; and controlling the controlled virtual object to activate the skill at the scene coordinates.

4. The method according to claim 1, wherein the method comprises:

5. Prior to the step of controlling the controlled virtual object to activate the skill at an application position indicated by the second touch operation in response to a second touch operation on the applicable area, the method further comprises: determining a touched target area on the map control in response to a third touch operation on the map control; displaying a target scene in the virtual scene corresponding to the target region, the target scene including the applicability region; detecting the second touch operation on the applicable area in the target scene.

5. The method according to claim 1, wherein the method comprises:

6. After the step of acquiring a skill type of the skill in response to a first touch operation on a skill control, the method further comprises: In response to the skill being a target skill, displaying at least one of an activation countdown or activation presentation information of the skill in the virtual scene.

5. The method according to claim 1, wherein the method comprises:

7. After the step of displaying an applicability area of ​​the skill in a virtual scene based on a location of a controlled virtual object and an applicability range of the skill in response to the skill type of the skill being a target skill, In response to receiving a skill activation operation on a roulette-style virtual stick corresponding to the skill control, the controlled virtual object is controlled to activate the skill at a position indicated by the skill activation operation.

5. The method according to claim 1, wherein the method comprises:

8. Before the step of acquiring a skill type of the skill in response to a first touch operation on a skill control, the method further comprises: upon detecting the first touch operation on a screen, in response to a user interface control being present at a position indicated by the first touch operation, obtaining a control type of the user interface control; In response to the control type of the user interface control being the skill control corresponding to the skill, acquiring a trigger state of another skill control, the other skill control being a skill control of a skill other than the skill; determining that the first touch operation on the skill control has been detected in response to the other skill control not being in a triggered state; 5. The method according to claim 1, wherein the method comprises:

9. Prior to the step of controlling the controlled virtual object to activate the skill at an application position indicated by the second touch operation in response to a second touch operation on the applicable area, the method further comprises: and updating, in response to a drag operation on the applicable region, an application location indicated by the drag operation in the virtual scene based on a drag trajectory of the drag operation.

5. The method according to claim 1, wherein the method comprises:

10. The step of controlling the controlled virtual object to activate the skill at an application position indicated by the second touch operation, A step of displaying a first skill application frame at the application position, the first skill application frame being used to specify an application range in which a skill effect can be generated by activating the skill; and controlling the controlled virtual object to activate the skill in the first skill application slot.

5. The method according to claim 1, wherein the method comprises:

11. The skill is used to generate a skill effect on a single target, and the first skill application slot includes at least two targets; The step of controlling the controlled virtual object to activate the skill in the first skill application slot includes: determining a first target from at least two targets in the first skill application frame based on a target determination principle; and controlling the controlled virtual object to activate the skill to generate a skill effect on the first target; The target determination principle includes a closest distance priority principle, a lowest hit point priority principle, and a lowest percentage hit point priority principle; 11. The method of claim 10.

12. The method according to claim 1, In response to receiving a box selection operation in the applicability area, controlling the controlled virtual object to activate the skill in an application area enclosed by the box selection operation, where the box selection operation is used to enclose a closed graphic by a drag trajectory in the applicability area, and the application area is the closed graphic, or the application area is a minimum enclosing circle of the closed graphic.

5. The method according to claim 1, wherein the method comprises:

13. The method of claim 12, further comprising the step of: in response to receiving a box selection operation in the applicability area, controlling the controlled virtual object to activate the skill in an application area enclosed by the box selection operation, the step of: in response to receiving a box selection operation in the applicability region, calculating a region area of ​​the applicability region enclosed by the box selection operation; In response to the area being smaller than an area threshold, controlling the controlled virtual object to activate the skill in the application area surrounded by the box selection operation.

13. The method of claim 12.

14. In response to the area of ​​the area being smaller than an area threshold, the step of controlling the controlled virtual object to activate the skill in the application area surrounded by the box selection operation comprises: a step of displaying a second skill application frame in the application area in response to the area being smaller than the area threshold, the second skill application frame being used to specify an application range in which a skill effect can be generated by activating the skill, and the shape of the second skill application frame being the same as that of the application area; and controlling the controlled virtual object to activate the skill in the second skill application slot.

14. The method of claim 13.

15. The skill is used to generate a skill effect on a single target, and the second skill application slot includes at least two targets; The step of controlling the controlled virtual object to activate the skill in the second skill application slot includes: determining a second target from at least two targets in the second skill application frame based on a target determination principle; and controlling the controlled virtual object to activate the skill to generate a skill effect on the second target; The target determination principle includes a closest distance priority principle, a lowest hit point priority principle, and a lowest percentage hit point priority principle; 15. The method of claim 14.

16. A control device for a virtual object, comprising: A detection module adapted to obtain a skill type of a skill in response to a first touch operation on a skill control; A determination module is used to display an applicable area of ​​the skill in a virtual scene based on a location of a controlled virtual object and an application range of the skill in response to a skill type of the skill being a target skill, the determination module being used to display an applicable area of ​​the skill in a virtual scene based on a location of a controlled virtual object and an application range of the skill, the target skill being a skill that supports selecting an application position based on a screen touch; a control module adapted to control the controlled virtual object to activate the skill at an application position indicated by the second touch operation in response to a second touch operation on the applicable area; The applicable area is a circular area, and the applicable area is determined by taking the position of the controlled virtual object as the center of the circle and taking the farthest application distance of the skill as the radius. A control device for a virtual object comprising:

17. Displaying an applicability area of ​​the skill in a virtual scene based on a location of a controlled virtual object and an applicability range of the skill, displaying an application template of the applicability region in the virtual scene. The device for controlling a virtual object according to claim 16 .

18. A control device for a virtual object as described in claim 16 or 17, wherein displaying an applicability area of ​​the skill in a virtual scene based on the location of a controlled virtual object and the range of application of the skill indicates that activating the skill in an area other than the applicability area is invalid.

19. A terminal, A virtual object control method according to any one of claims 1 to 15, comprising: one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories; and the at least one program code is loaded and executed by the one or more processors to realize an operation performed by the virtual object control method according to any one of claims 1 to 15. A terminal characterized by:

20. A method for controlling a virtual object comprising the steps of: causing a computer to execute the method for controlling a virtual object according to any one of claims 1 to 15; A computer program comprising: