Method, device, terminal and program for controlling a virtual object to activate a skill
The method simplifies the activation of multiple virtual skills in virtual environments by using a skill connection operation to automatically trigger skills in the desired order, reducing the complexity and improving the efficiency of skill execution.
Patent Information
- Application Number
- JP2024532951
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-01-26
- Filing Date
- 2022-11-11
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2042-11-11
AI Technical Summary
Activating multiple virtual skills consecutively in virtual environments, such as multiplayer online battle arena games, is complicated and requires high operation and reaction speed from the player, making it difficult to execute effectively.
A method and apparatus that allows users to control a virtual object to activate multiple skills with a single skill connection operation, switching the display state of skill activation controls from triggerable to non-triggerable after the operation is completed, and automatically activating the corresponding skills in the desired order.
Simplifies the operation of activating multiple virtual skills by reducing the need for sequential triggering, allowing users to complete skill activations with one operation and improving the efficiency and accuracy of skill execution.
Smart Images

Figure 0007746582000001 
Figure 0007746582000002 
Figure 0007746582000003
Abstract
Description
[Technical Field]
[0001] This application claims priority to a Chinese patent application filed with the China Patent Office on January 26, 2022, bearing application number 2022100958655 and entitled "Method, terminal, medium and program product for controlling a virtual object to activate a skill," the entire contents of which are incorporated herein by reference.
[0002] The embodiments of the present application relate to the technical field of man-machine interaction, and more particularly to virtual object control technology. [Background technology]
[0003] In application programs based on two-dimensional or three-dimensional virtual environments, such as multiplayer online battle arena (MOBA) games, players manipulate and control virtual objects in a virtual scenario to exercise skills against other virtual objects, virtual buildings, etc., and compete to achieve certain victory conditions.
[0004] In the related art, a virtual object generally has multiple virtual skills, each of which corresponds to a separate skill activation control (also referred to as a "widget"). When an operation triggered based on a skill activation control is received, the virtual object is controlled to activate the virtual skill corresponding to the skill activation control according to the skill activation direction or skill activation range indicated by the operation. Summary of the Invention [Problem to be solved by the invention]
[0005] However, multiple virtual skills possessed by the same virtual object may be related to one another, and players often control virtual objects to activate multiple virtual skills consecutively, i.e., to activate consecutive skills. However, when multiple virtual skills are activated consecutively through skill activation operations in related technologies, the operation is complicated and requires a high level of operation and reaction speed from the player, making the operation very difficult.
[0006] An embodiment of the present application provides a method for controlling a virtual object to release a skill; Device, end sequel and Program M The technical solution provides a simplified operation flow for a user to control a virtual object to successively release multiple virtual skills, thereby reducing the difficulty of the operation of controlling a virtual object to successively release multiple virtual skills. [Means for solving the problem]
[0007] According to one aspect, an embodiment of the present application provides a method for controlling a virtual object to activate a skill, the method being executed by a terminal, the method including: displaying a first virtual object and a skill activation control for triggering the first virtual object to activate a virtual skill corresponding to the skill activation control; receiving a skill connection operation acting on n (n is an integer equal to or greater than 2) target skill activation controls; After receiving the skill connection operation, in response to completion of the skill connection operation, switching a display state of the target skill activation control from a triggerable state to a triggerless state; In response to the skill connection operation being completed, controlling the first virtual object to activate target virtual skills corresponding to the n target skill activation controls, respectively; and switching the display state of the target skill activation control from the untriggerable state to the triggerable state in response to activation of all of the target virtual skills, The step of switching the display state of the target skill activation control from a triggerable state to a non-triggerable state includes displaying a non-triggerable identifier on the target skill activation control in the non-triggerable state, displaying the target skill activation control in a gradational manner in the non-triggerable state, or changing the shape of the target skill activation control in the non-triggerable state; Includes.
[0008] According to another aspect, an embodiment of the present application provides an apparatus for controlling a virtual object to activate a skill, the apparatus comprising: a first display module for displaying a first virtual object and a skill activation control for triggering the first virtual object to activate a virtual skill corresponding to the skill activation control; Receives skill connection operations that affect n (n is an integer greater than or equal to 2) target skill activation controls. for a receiving module; a fourth display module that switches a display state of the target skill activation control from a triggerable state to a triggerless state in response to the completion of the skill connection operation after receiving the skill connection operation; In response to the completion of the skill connection operation, the first virtual object is controlled to activate target virtual skills corresponding to the n target skill activation controls, respectively. for A control module; a fifth display module that switches a display state of the target skill activation control from the untriggerable state to the triggerable state in response to activation of all of the target virtual skills; Switching the display state of the target skill activation control from a triggerable state to a non-triggerable state may involve displaying a non-triggerable identifier on the target skill activation control in the non-triggerable state, displaying the target skill activation control in a gradation, or changing the shape of the target skill activation control in the non-triggerable state. Includes.
[0009] According to another aspect, an embodiment of the present application provides a terminal, the terminal including a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, code set or instruction set being read and executed by the processor to realize a method of controlling a virtual object to invoke a skill according to the above aspect.
[0010] According to another aspect, an embodiment of the present application provides a computer-readable storage medium having stored therein at least one computer program, the computer program being readable and executed by a processor to realize a method for controlling a virtual object to invoke a skill as described in the above aspect.
[0011] According to one aspect of the present application, there is provided a computer program product or a computer program, the computer program product or the computer program including computer instructions stored in a computer-readable storage medium, the computer instructions being read by a processor of a terminal from the computer-readable storage medium and executed to cause the terminal to perform the method for controlling a virtual object to activate a skill provided by various preferred implementations of the above aspect. [Effects of the Invention]
[0012] The technical solution provided by the embodiments of the present application at least has the following beneficial effects: In the embodiments of the present application, after receiving a skill connection operation acting on n target skill activation controls, the first virtual object is controlled to automatically activate target virtual skills corresponding to each of the n target skill activation controls, allowing the user to complete the triggering of multiple virtual skills with just one operation, which simplifies the user's operation and reduces the difficulty of consecutively activating virtual skills compared to the related art method of triggering and activating multiple skills through multiple operations on skill activation controls in succession. [Brief explanation of the drawings]
[0013] [Figure 1] FIG. 2 is a schematic diagram of a virtual environment interface of one exemplary embodiment of the present application. [Figure 2] 1 is a flowchart of a method for controlling a virtual object to invoke a skill according to one exemplary embodiment of the present application. [Figure 3] 10 is a flowchart of a method for controlling a virtual object to invoke a skill according to another exemplary embodiment of the present application. [Figure 4] FIG. 1 is a schematic diagram of a skill connection operation of one exemplary embodiment of the present application. [Figure 5] 10 is a flowchart of a method for controlling a virtual object to invoke a skill according to another exemplary embodiment of the present application. [Figure 6] FIG. 10 is a schematic diagram of a skill connection operation according to another exemplary embodiment of the present application; [Figure 7] FIG. 1 is a schematic diagram of activation region selection in one exemplary embodiment of the present application; [Figure 8] FIG. 1 is a schematic diagram of actuation direction selection in one exemplary embodiment of the present application. [Figure 9] FIG. 2 is a schematic diagram of an invoking object selection according to one exemplary embodiment of the present application; [Figure 10] 10 is a flowchart of a method for controlling a virtual object to invoke a skill according to another exemplary embodiment of the present application. [Figure 11] FIG. 10 is a schematic diagram of a skill connection operation according to another exemplary embodiment of the present application; [Figure 12] 10 is a flowchart of a method for controlling a virtual object to invoke a skill according to another exemplary embodiment of the present application. [Figure 13] 10 is a flowchart of a method for controlling a virtual object to invoke a skill according to another exemplary embodiment of the present application. [Figure 14] 10 is a flowchart of a method for controlling a virtual object to invoke a skill according to another exemplary embodiment of the present application. [Figure 15] FIG. 1 is a structural block diagram of a device for controlling a virtual object to invoke a skill according to one exemplary embodiment of the present application. [Figure 16] FIG. 2 is a structural block diagram of a terminal of one exemplary embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION
[0014] In order to make the objectives, technical solutions and advantages of the present application clearer, the following describes in more detail the embodiments of the present application in combination with the drawings.
[0015] As referred to herein, "plurality" means two or more than two. "And / or" describes a relationship between related objects and indicates that three relationships can exist, for example, A and / or B indicates a situation where A exists alone, a situation where A and B exist together, and a situation where B exists alone. The symbol " / " generally indicates that the related objects before and after it are in an "or" relationship.
[0016] First, a brief introduction of terms used in the embodiments of the present application will be provided.
[0017] Virtual world: A virtual world displayed (or provided) when an application program is running on a terminal. The virtual world may be a simulation of the real world, a semi-simulated semi-virtual virtual world, or even a fully virtual virtual world. The virtual world may be any one of a 2D virtual world, a 2.5D virtual world, and a 3D virtual world. Optionally, the virtual world further supports a virtual battle between at least two virtual objects, and the virtual world has virtual resources for use by the at least two virtual objects. Optionally, the virtual world includes symmetrical lower left and upper right corner regions, and virtual objects belonging to two opposing camps each occupy one of the regions and aim to destroy a virtual element such as a target building / base / base station / crystal located deep within the opponent's region in order to win.
[0018] Virtual object: An object that can be moved in a virtual world. The moveable object is at least one of a virtual character, a virtual animal, and an animated character. Optionally, when the virtual world is a 3D virtual world, the virtual object is a 3D solid model, and each virtual object has its own shape and volume and occupies a portion of the space in the 3D virtual world. Optionally, the virtual object is a 3D character constructed based on 3D human skeleton technology, and the virtual object can wear different skins to express different appearances. In some implementations, the virtual object may be realized by a 2.5D or 2D model, which is not limited to the embodiments of the present application.
[0019] Multiplayer online battle arena game: A game in which different virtual objects belonging to at least two opposing camps occupy different map areas in a virtual world and compete to achieve certain victory conditions. The victory conditions include, but are not limited to, capturing or destroying the opposing camp's base, defeating the opposing camp's virtual object, ensuring one's own survival within a specified scenario and time period, seizing certain resources, or achieving a higher score than the opponent within a specified time period. The battle arena is played on a station-by-station basis, and the battle arena maps of each station may be similar or different. Each camp includes one or more virtual objects, for example, one, two, three, or five.
[0020] User Interface (UI) Control: Any control or element found in the user interface of an application program, such as a picture, input box, text box, button, label, etc. Some UI controls can respond to user actions.
[0021] In the related art, a virtual object generally has multiple virtual skills, and each virtual skill corresponds to a separate skill activation control. When an operation triggered based on a skill activation control is received, the terminal controls the virtual object to activate the virtual skill corresponding to the skill activation control according to the skill activation direction or skill activation range indicated by the operation. However, multiple virtual skills of the same virtual object may be related to each other, and a player often controls the virtual object to activate multiple virtual skills consecutively, i.e., to activate consecutive skills. For example, a first skill may mark a special symbol on an attacked virtual object, and a second skill may cause a virtual object marked with a special symbol to receive more damage than other virtual objects. Therefore, the player controls the virtual object to activate the first skill and then the second skill. As shown in FIG. 1 , a player first triggers a skill activation control 102 corresponding to skill 3 to control a first virtual object 101 to activate skill 3. Only after skill 3 is activated, the player triggers a skill activation control 103 corresponding to skill 2 to control the first virtual object to activate skill 2. Controlling a virtual object to successively activate multiple virtual skills based on skill activation operations in the related art is thus cumbersome. Furthermore, after an attacked virtual object is attacked, a player operating and controlling the virtual object controls the virtual object to move to avoid the attack. Only if a player activating an attacking skill has a high level of operation and reaction speed can the player activating the attacking skill activate an effective attacking skill against the virtual object again. If there is a long gap between the activation of two skills, the effect of the skill weakens. This shows that controlling a virtual object to successively activate multiple virtual skills is quite difficult.
[0022] To solve the above technical problems, the present application provides a method for controlling a virtual object to activate skills. The method is independently executed by a terminal on which an application program supporting a virtual environment is installed and running, or is jointly executed by the terminal and a background server corresponding to the application program. After receiving a skill connection operation, the terminal automatically controls a first virtual object to sequentially activate target virtual skills corresponding to n target skill activation controls (n is an integer greater than or equal to 2) indicated by the skill connection operation based on the target skill activation controls and the skill activation order. This allows a user to trigger multiple virtual skills with just one operation, simplifying user operations and reducing the difficulty of controlling a virtual object to sequentially activate multiple virtual skills compared to related art.
[0023] 2, a flowchart of a method for controlling a virtual object to activate a skill provided by an exemplary embodiment of the present application is illustrated. In this embodiment, the method is performed by a terminal that supports displaying a virtual environment, and includes the following steps:
[0024] Step 201: Display a first virtual object and a skill activation control, which triggers the first virtual object to activate a virtual skill corresponding to the skill activation control.
[0025] In one possible embodiment, the terminal displays a virtual environment interface including a virtual environment screen and a control layer on the virtual environment screen. A first virtual object is displayed on the virtual environment screen, and the first virtual object is a virtual object controlled by the terminal in this embodiment. The UI controls on the control layer include a skill activation control for triggering the first virtual object to activate a corresponding virtual skill. The virtual environment screen further includes other virtual objects and virtual elements within the field of view, such as buildings, plants, and props. The UI controls further include different function controls, such as a general attack control, a map display control, and an information bar.
[0026] Generally, the virtual environment is a virtual world having an arbitrary boundary shape, and the first virtual object is located within a visible range of the virtual environment interface. Optionally, the first virtual object is located at the visual center of the virtual environment screen, i.e., at the center of the virtual environment screen when observing the virtual world from a third-person perspective.
[0027] The viewing angle is the viewing angle when observing the virtual world from a first-person viewing angle or a third-person viewing angle of a virtual object. Optionally, in the embodiments of the present application, the viewing angle is the angle when observing a virtual object through a camera model in the virtual world. Optionally, the camera model in the virtual world actively follows the virtual object, i.e., when the position of the virtual object in the virtual world changes, the position of the camera model in the virtual world changes simultaneously to follow the virtual object, and the camera model is always located within a predetermined distance range of the virtual object in the virtual world. Optionally, during the active following process, the relative position between the camera model and the virtual object does not change. In the embodiments of the present application, a third-person viewing angle is described as an example, and optionally, the camera model is located behind the virtual object (e.g., the head or shoulders of the virtual character).
[0028] Step 202: Receive skill connection operations to act on n target skill activation controls, where n is an integer equal to or greater than 2.
[0029] In a possible embodiment, the first virtual object has at least two different virtual skills, each of which is associated with a skill activation control. Upon receiving an operation for one target skill activation control, the terminal controls the first virtual object to activate the target virtual skill corresponding to the target skill activation control, i.e., the player individually triggers one of the skill activation controls, and the terminal controls the first virtual object to activate the corresponding one virtual skill.
[0030] However, during the battle, it is common for a player to control a virtual object to successively activate multiple virtual skills on the same target. For example, using one virtual skill may not allow a first virtual object to completely defeat an enemy virtual object, requiring two virtual skills. Alternatively, there may be a relationship between the first virtual object's multiple virtual skills (e.g., skill 2 may mark an enemy virtual object with a special symbol, and skill 3's damage value to virtual objects with the special symbol may be higher than that of other virtual objects). In the above cases, a player generally controls the first virtual object to activate at least two virtual skills.
[0031] When a skill connection operation is received, the terminal controls the first virtual object to activate n target virtual skills instructed by the skill connection operation, and the player can use the skill connection operation to control the first virtual object so that the terminal continuously activates multiple target virtual skills.
[0032] Preferably, the skill connection operation for the target skill activation control may be triggered by the touch panel of the terminal, or by a button provided on the terminal, or by a voice command, or by a handle connected to the terminal, and the embodiments of the present application are not limited thereto.
[0033] Here, the terminal determines the skill activation control that received the skill connection operation as the target skill activation control, and the skill connection operation is not an operation on the n specific skill activation controls.
[0034] Step 203: In response to the skill connection operation being completed, the first virtual object is controlled to activate target virtual skills corresponding to the n target skill activation controls, respectively.
[0035] The skill connection operation acting on the n target skill activation controls is a complete and continuous user operation. When the skill connection operation is not completed, the terminal does not control the first virtual object to activate the corresponding target virtual skills for the target skill activation controls acted upon by the skill connection operation. When the terminal detects that the skill connection operation has been completed, it determines that the n target skill activation controls have been triggered and controls the first virtual object to activate the target virtual skills corresponding to each of the n target skill activation controls.
[0036] Preferably, the skill connection operation further indicates the activation order of the target virtual skills, and the terminal controls the first virtual object to activate the target virtual skills sequentially based on the skill activation order; or, after the skill connection operation is completed, the terminal autonomously determines the skill activation order based on information such as the skill activation conditions or skill activation effects of each target virtual skill, and controls the first virtual object to activate the target virtual skills according to the skill activation order, thereby optimizing the effect of the skills activated by the first virtual object (for example, the highest damage value given), and the player only needs to select the skills to be activated, without having to consider the skill activation order, making the operation less difficult.
[0037] In summary, when a skill connection operation is detected, the terminal obtains the skill activation order indicated by the skill connection operation and determines the skill activation order as target virtual skill a-target virtual skill b-target virtual skill c. When it determines that the skill connection operation has ended, the terminal first controls the first virtual object to activate target virtual skill a. When target virtual skill a is activated, the terminal automatically controls the first virtual object to subsequently activate target virtual skill b. When target virtual skill b is activated, the terminal automatically controls the first virtual object to activate target virtual skill c. In this way, the method provided by the embodiments of the present application merges the user's three trigger operations into one, simplifying user operations, shortening the operation period, and activating multiple skills without intervals. The skill connection operation can simultaneously indicate the skill activation order, allowing the user to accurately control the order in which the first virtual object activates the target virtual skill with just one operation, improving the efficiency and accuracy of consecutively activating multiple skills and further simplifying the operation flow.
[0038] As described above, in the embodiment of the present application, after receiving a skill connection operation acting on n target skill activation controls, the first virtual object is controlled to spontaneously activate target virtual skills corresponding to each of the n target skill activation controls, allowing the user to complete the triggering of multiple virtual skills with just one operation. Compared with the related art method of triggering and activating multiple skills by sequentially operating multiple skill activation controls, this simplifies the user's operation and reduces the difficulty of continuously activating virtual skills.
[0039] In controlling the first virtual object to activate the target virtual skills according to the skill activation order, the terminal further determines an activation target, and controls the first virtual object to sequentially activate the n target virtual skills on the activation target. Referring to Figure 3, there is shown a flowchart of a method for controlling a virtual object to activate skills provided by another exemplary embodiment of the present application. In this embodiment, the method is illustratively performed by a terminal that supports displaying a virtual environment, and includes the following steps:
[0040] Step 301: Display a first virtual object and a skill activation control, where the skill activation control triggers the first virtual object to activate a virtual skill corresponding to the skill activation control.
[0041] Step 302: Receive skill connection operations to act on n target skill activation controls, where n is an integer equal to or greater than 2.
[0042] For a specific embodiment of Steps 301 and 302, please refer to Steps 201 and 202 above, and the examples of the present application do not go into detail.
[0043] Step 303: In response to the completion of the skill connection operation, determine the control trigger order, which is the order in which the skill connection operation passes through the n target skill activation controls.
[0044] In a possible embodiment, the terminal determines the skill activation order based on the connection order of the skill connection operation to the target skill activation control, and the user can control the activation order of the target virtual skills by the first virtual object by passing the skill connection operation sequentially through each target skill activation control based on his or her own skill activation strategy.
[0045] Preferably, the terminal determines the control trigger order based on the touch order of the target skill activation control of the skill connection operation on the touch panel, or the terminal determines the control trigger order based on the movement trajectory of the joystick on the game handle.
[0046] 4, the skill connection operation is realized by a slide operation acting on the target skill control. When the terminal receives a slide operation from the target skill activation control 401 to the target skill activation control 402, the terminal determines the control trigger order as the target skill activation control 401 to the target skill activation control 402.
[0047] Step 304: Determine the skill activation order of the n target virtual skills based on the control trigger order and the correspondence between the skill activation control and the virtual skills.
[0048] There is a correspondence between each skill activation control and each virtual skill, and the terminal determines the skill activation order based on the correspondence between the skill activation control and the virtual skill and the control trigger order. Generally, for the example in step 303, the target skill activation control 401 corresponds to the target virtual skill c, and the target skill activation control 402 corresponds to the target virtual skill b, so the skill activation order is target virtual skill c to target virtual skill b.
[0049] Step 305: Control the first virtual object to sequentially activate the n target virtual skills according to the skill activation order.
[0050] For the specific implementation of step 305, please refer to step 203 above, and the embodiment of this application does not elaborate on this.
[0051] In an embodiment of the present application, the terminal determines the skill activation order based on the trigger order for the target skill activation control by the skill connection operation, and the user can select the skill activation order by themselves based on their skill activation strategy, thereby improving the flexibility of multi-skill activation.
[0052] In the above embodiment, after the terminal controls the first virtual object to activate the target virtual skills according to the control trigger order, the terminal further determines an activation target and controls the first virtual object to sequentially activate the target virtual skills on the activation target. Referring to Figure 5, there is shown a flowchart of a method for controlling a virtual object to activate a skill provided by another exemplary embodiment of the present application. In this embodiment, the method is illustratively performed by a terminal that supports displaying a virtual environment, and includes the following steps:
[0053] Step 501: Display a first virtual object and a skill activation control. The skill activation control is for triggering the first virtual object to activate a virtual skill corresponding to the skill activation control.
[0054] For the specific implementation of step 501, please refer to step 201 above, and the embodiments of the present application do not go into detail.
[0055] Step 502: In response to the skill connection operation being located on the i-th target skill activation control and the presence of a target virtual skill having an activation target selection request among the i target virtual skills passed by the skill connection operation, a skill activation target selection roulette is displayed within the roulette (also called "virtual joystick") display area corresponding to the i-th target skill activation control.
[0056] The activation target includes at least one of an activation area, an activation direction, or an activation object. Among the virtual skills possessed by a virtual object, there are generally virtual skills that require the installation of an activation target, such as an activation area, an activation direction, or an activation object. The activation target is selected for triggering by an activation target selection roulette in a roulette display area corresponding to the target skill activation control, and the roulette display area corresponding to the target skill activation control is displayed around the target skill activation control. When a single target skill activation control is triggered and an activation target needs to be installed for the target virtual skill corresponding to the target skill activation control, the terminal displays an activation target selection roulette around the target skill activation control. For skill connection operations that affect multiple target skill activation controls, a roulette is displayed around the target skill activation control corresponding to the target virtual skill requiring activation target selection, in order to complete the triggering and activation of multiple target virtual skills with a single operation. In this way, if it is necessary to further trigger another virtual skill control after triggering the target skill activation control, the trigger operation will change the activation target in the process of moving from the roulette to the next skill activation control. However, if there are multiple target virtual skills that require activation target selection, the user will have to repeatedly select the activation target multiple times, which makes the operation process complicated and difficult, and may lead to accidental touching or interruption of operation.
[0057] In a possible embodiment, the terminal simply displays the activation target selection roulette on the last target skill activation control that has been currently triggered. That is, when the skill connection operation extends from the first target skill activation control to the i-th target skill activation control, and a target virtual skill having an activation target selection request exists among the target virtual skills corresponding to the i target skill activation controls that the skill activation operation has passed through, the terminal displays the skill activation target selection roulette on the periphery of the i-th target skill activation control, where i is a positive integer less than n.
[0058] 6, the user sequentially passes through a target skill activation control 601 and a target skill activation control 602 through a skill connection operation, and the target skill activation control 601 triggers a target virtual skill c, and the target skill activation control 602 triggers a target virtual skill b. If there is a virtual skill among the target virtual skill c and the target virtual skill b that has an activation target selection need, the terminal displays an activation target selection roulette 603 around the target skill activation control 602.
[0059] Step 503: In response to the skill connection operation being positioned on the (i+1)th target skill activation control, cancel the display of the skill activation target selection roulette in the roulette display area corresponding to the i-th target skill activation control, and display the skill activation target selection roulette on the periphery of the activation control in the roulette display area corresponding to the (i+1)th target skill.
[0060] If the skill connection operation extends from the i-th target skill activation control to the i+1-th target skill activation control, the i+1-th target skill activation control becomes the last target skill activation control that the current skill connection operation has passed through, and the terminal displays the skill activation target selection roulette only within the roulette display area corresponding to the i+1-th target skill activation control (which may be on the periphery of the i+1-th target skill activation control), and cancels the display of the skill activation target selection roulette within the roulette display area corresponding to the i-th target skill activation control.
[0061] As shown in FIG. 6, the skill connection operation passes through the target skill activation control 602 and then slides to the target skill activation control 604, and the terminal displays an activation target selection roulette 605 around the target skill activation control 604.
[0062] By using the activation target selection mechanism provided by the embodiments of the present application, the user can complete the activation target setting operation for all target virtual skills that require activation target selection by controlling and selecting the activation target on the activation target selection roulette around the last target skill activation control that the skill connection operation passed through before completing the skill connection operation. This eliminates the need to select the activation target during the connection of the target skill activation control, and also eliminates the need to select the activation target multiple times, further simplifying the multi-skill activation operation.
[0063] Step 504: In response to the completion of the skill connection operation, determine the control trigger order, which is the order in which the skill connection operation passes through the n target skill activation controls.
[0064] Step 505: Determine the skill activation order of the n target virtual skills based on the control trigger order and the correspondence between the skill activation control and the virtual skills.
[0065] For a specific embodiment of Steps 504 and 505, please refer to Steps 303 and 304 above, and the examples of the present application do not go into detail about this.
[0066] Step 506: In response to the end of the skill connection operation, an activation target is determined based on the position of the operation end point of the skill connection operation on the skill activation target selection roulette.
[0067] In a possible embodiment, the skill connection operation is a slide operation, and when the slide trajectory of the skill connection operation extends to and ends at the skill activation target selection roulette, the terminal determines the activation target based on the position of the operation end point (slide end point) of the skill connection operation and the position of the center point of the activation target selection roulette.
[0068] The activation target includes at least one of an activation area, an activation direction and an activation object, and the determination process of different types of activation targets is different, and step 506 includes the following steps:
[0069] Step 506a: If the activation target is an activation area, determine the activation area based on the relative positional relationship between the operation end point and the center point of the activation target selection roulette and the position of the first virtual object in the virtual environment.
[0070] During the skill activation process, if there is a target virtual skill to be activated within the activation area, the device maps the center point of the activation target selection roulette to the position of the first virtual object in the virtual environment and maps the operation end point of the skill connection operation to the positioning point of the activation area. Therefore, the relative positional relationship between the operation end point and the center point of the activation target selection roulette corresponds to the relative positional relationship between the positioning point of the activation area and the location of the first virtual object. Based on this, the device can determine the location of the activation area. Then, the device determines the activation area in the virtual environment based on parameters such as the predetermined area of the activation area.
[0071] 7, when a skill connection operation is detected, the terminal displays a preview effect of the activation target in real time based on the position of the operation point of the skill connection operation. Currently, there is a target virtual skill c having an activation area selection request. Therefore, the terminal determines an activation area 704 based on the center point of an activation target selection roulette 701, the position of an operation end point 702, and the position of a first virtual object 703 in the virtual environment, and displays the activation area 704 via the virtual environment interface. When the skill connection operation is completed and the first virtual object activates the target virtual skill c, the terminal controls the first virtual object to activate the target virtual skill c within the activation area 704.
[0072] Step 506b: If the activation target is the activation direction, the activation direction is determined based on the direction of the operation end point relative to the center point of the activation target selection roulette.
[0073] During the skill activation process, if there is a target virtual skill to be activated in the activation direction, the terminal maps the center point of the activation target selection roulette to the position of the first virtual object in the virtual environment, and maps the direction of the operation end point relative to the center point of the activation target selection roulette to the activation direction of the target virtual skill.
[0074] 8, when a skill connection operation is detected, the terminal displays a preview effect of the activation target in real time based on the position of the operation point of the skill connection operation. Currently, there is a target virtual skill b with an activation direction selection request, so the terminal determines the activation direction based on the center point of the activation target selection roulette 801, the position of the operation end point 802, and the position of the first virtual object 803 in the virtual environment, i.e., the direction indicated by the arrow in the drawing, and displays activation direction indication information (dotted line in the drawing) via the virtual environment interface.
[0075] Step 506c: If the activation target is an activation object, determine the activation object from the second virtual object based on the orientation of the operation end point relative to the center point of the activation target selection roulette.
[0076] During the skill activation process, if there is a target virtual skill to be activated on the activation object, the terminal maps the center point of the activation target selection roulette to the position of the first virtual object in the virtual environment, and determines the activation object from the second virtual object based on the orientation (including direction and position) of the operation end point relative to the center point of the activation target selection roulette, so as to match the first orientation with the second orientation, where the first orientation is the orientation of the operation end point relative to the center point of the activation target selection roulette, and the second orientation is the orientation of the activation object relative to the first virtual object.
[0077] 9, when a skill connection operation is detected, the terminal displays a preview effect of the activation target in real time based on the position of the operation point of the skill connection operation. Currently, there is a target virtual skill c with an activation object selection request, so the terminal determines an activation object 904 from the two currently existing second virtual objects based on the center point of the activation target selection roulette 901, the position of the operation end point 902, and the position of the first virtual object 903 in the virtual environment, and prompts the first virtual object 903 and the activation object 904 by a connection line between them.
[0078] Step 507: Control the first virtual object so that the n target virtual skills are sequentially activated toward the activation target according to the skill activation order.
[0079] In a possible embodiment, after determining the activation target, the terminal controls the first virtual object to sequentially activate the n target virtual skills indicated by the skill connection operation toward the activation target according to the skill activation order. Specifically, for a target virtual skill having an activation target selection request, the terminal controls the first virtual object to activate the target, and for a target virtual skill not having an activation target selection request, the terminal controls the first virtual object to activate according to the corresponding skill activation logic.
[0080] In an embodiment of the present application, if there is a target virtual skill that has an activation target selection requirement, the terminal will display an activation target selection roulette on the last target skill control that the skill connection operation passed through, and before the user ends the skill connection operation, they can control and select the activation target on the activation target selection roulette around the last target skill activation control to complete the activation target setting operation for all target virtual skills that have an activation target selection requirement. This eliminates the need to select an activation target during the connection of the target skill activation control, and also eliminates the need to select an activation target multiple times, further simplifying the multi-skill activation operation.
[0081] In a possible embodiment, the virtual skill has a skill cooldown mechanism. Referring to Figure 10, there is shown a flowchart of a method for controlling a virtual object to activate a skill provided by another exemplary embodiment of the present application. In this embodiment, the method is described as being executed by a terminal that supports displaying a virtual environment, and includes the following steps:
[0082] Step 1001: Display a first virtual object and a skill activation control. The skill activation control is for triggering the first virtual object to activate a virtual skill corresponding to the skill activation control.
[0083] For the specific implementation of step 1001, please refer to step 201 above, and the examples of this application do not elaborate on this.
[0084] Step 1002: In response to the skill connection operation passing through the kth skill activation control and the kth skill activation control being in an activation-enabled state, the kth skill activation control is determined as the target skill activation control.
[0085] k is a positive integer less than or equal to n.
[0086] In a possible embodiment, the virtual skill has a skill cooldown mechanism, i.e., from the moment the virtual skill is activated, the terminal starts timing according to the skill cooldown period, and during the skill cooldown period, the skill activation control is in the skill cooldown state and cannot be triggered; after the skill cooldown period is reached, the skill activation control is in the activation-enabled state and can be triggered.
[0087] Therefore, when receiving a skill connection operation, each time the skill connection operation passes through a skill activation control, each terminal determines whether the skill activation control is in a skill cooldown state, and if the skill activation control is in an activation-enabled state, that is, if the virtual skill is not cooled down, the terminal determines the skill activation control as the target skill activation control and determines the virtual skill corresponding to the skill activation control as the target virtual skill.
[0088] Step 1003: In response to the skill connection operation passing through the kth skill activation control and the kth skill activation control being in the skill cooldown state, display prompt information.
[0089] The prompt information indicates that the k-th virtual skill cannot be activated and that the k-th virtual skill corresponds to the k-th skill activation control, where k is a positive integer equal to or less than n.
[0090] In a possible embodiment, when it is determined that the kth skill activation control is in a skill cooldown state, the terminal displays prompt information to prompt the user that the skill is on cooldown and cannot be triggered or activated.
[0091] In another possible embodiment, in response to the skill connection operation passing through the kth skill activation control and the kth skill activation control being in a skill cooldown state, the terminal does not display prompt information and continues to receive the skill connection operation. When the skill connection operation is completed, the terminal controls the first virtual object to sequentially activate the target virtual skills and skip the target virtual skill in a cooldown state, or when the target virtual skill in a cooldown state is activated, the terminal controls the first virtual object to wait, and after the skill cooldown period of the target virtual skill is reached, the terminal continues to control the first virtual object to activate the target virtual skill and other target virtual skills that have not been activated.
[0092] Step 1004: In response to the completion of the skill connection operation, control the first virtual object to activate the m-th target virtual skill according to the skill activation order.
[0093] Step 1005: Based on the skill cooldown period of the mth target virtual skill, the target skill activation control corresponding to the mth target virtual skill is switched from an activation-enabled state to a skill cooldown state and displayed.
[0094] m is a positive integer less than n.
[0095] In a possible embodiment, in the process of controlling the first virtual object to sequentially and continuously activate n target virtual skills, each time a target virtual skill is activated, a skill cooldown is performed for the target virtual skill, and the corresponding target skill activation control is switched from an activation ready state to a skill cooldown state and displayed.
[0096] Generally, as shown in FIG. 11, the terminal controls the first virtual object 1103 to activate the target virtual skill c, and then switches the target skill activation control 1101 corresponding to the target virtual skill c from an activation-ready state to a skill cooldown state and displays it; the terminal continues to control the first virtual object 1103 to activate the target virtual skill b, and then switches the target skill activation control 1102 corresponding to the target virtual skill b from an activation-ready state to a skill cooldown state and displays it.
[0097] Step 1006: In response to the activation of the mth target virtual skill, the first virtual object is controlled to activate the (m+1)th target virtual skill.
[0098] After activating the previous target virtual skill, the terminal controls the first virtual object to activate the next target virtual skill according to the skill activation order, completing the continuous activation of multiple skills until all target virtual skills have been activated.
[0099] In an embodiment of the present application, in the process of receiving a skill connection operation, the terminal determines whether each target skill trigger control is in a skill cooldown state, and in the skill activation process, performs skill cooldown on the activated target virtual skill in a timely manner, thereby avoiding the user from redundantly triggering and activating skills due to single skill activation operation and multi-skill activation operation.
[0100] In the above embodiment, the user can only select a virtual skill in an activatable state to continuously activate the skill spontaneously. In another possible embodiment, the user can select any skill possessed by the first virtual object to continuously activate it, i.e., select a virtual skill in a skill cooldown state to connect the skill. After the skill connection operation is completed and all target virtual skills are in an activatable state, the terminal controls the first virtual object to activate the target virtual skill, or controls the first virtual object to activate the target virtual skill as soon as the skill connection operation is completed. If the target virtual skill to be next activated is still in a skill cooldown state, the terminal suspends the skill activation until the target virtual skill is restored to an activatable state. That is, the above step 202 further includes the following steps:
[0101] Step 202a: In response to a skill connection operation passing through the kth skill activation control and the kth skill activation control being in a skill cooldown state, obtain the remaining cooldown period of the kth virtual skill.
[0102] k is a positive integer less than or equal to n.
[0103] In a possible embodiment, when a skill connection operation passes through one skill activation control, the terminal determines whether the skill activation control is in a skill cooldown state, and if YES, obtains the remaining cooldown period and counts according to the remaining cooldown period.
[0104] The above step 203 further includes the following steps:
[0105] Step 203a: In response to the skill connection operation being completed and the remaining cooldown periods of all the target virtual skills being reached, control the first virtual object to activate the n target virtual skills.
[0106] In a possible embodiment, after the skill connection operation is completed, the terminal determines whether there are any target virtual skills currently in a skill cooldown state based on the timing period and the remaining cooldown period of each target virtual skill that is in a skill cooldown state that has been acquired, and if there are any, controls the first virtual object to not activate each target virtual skill for a while, and controls the first virtual object to activate each target virtual skill until all target virtual skills are in an activatable state.
[0107] Alternatively, the above step 203 includes the following steps:
[0108] Step 203b: In response to the skill connection operation being completed, control the first virtual object to start activating the target virtual skill.
[0109] In another possible embodiment, as soon as the skill connection operation is completed, the terminal controls the first virtual object to start activating the target virtual skill by first determining whether the first target virtual skill is in a skill cooldown state, and if the determination is YES, suspending the activation of the first target virtual skill and activating the first target virtual skill until the first target virtual skill is restored to an activatable state; if the determination is NO, controlling the first virtual object to activate the first target virtual skill.
[0110] Step 203c: In response to the next target virtual skill being in a skill cooldown state, the first virtual object is controlled to suspend skill activation.
[0111] Step 203d: In response to the remaining cooldown period of the next target virtual skill being reached, control the first virtual object to activate the target virtual skill.
[0112] In the process of the terminal controlling the first virtual object to activate a target virtual skill, as soon as one target virtual skill is activated, it determines whether the next target virtual skill is in a skill cooldown state, and if NO, it controls the virtual object to continue activating the target virtual skill, and if the target virtual skill is still in a skill cooldown state, it controls the first virtual object to suspend the activation of the target virtual skill, and controls the first virtual object to activate the target virtual skill until the timing period reaches the remaining cooldown period of the target virtual skill (i.e., the next target virtual skill is restored to an activatable state).
[0113] In the embodiment of the present application, the user does not care about the status of the virtual skill and can connect the skill at any time, and the terminal actively controls the activation of the target virtual skill. When performing the skill connection operation, the user does not need to wait until the cooldown of the virtual skill ends, thereby avoiding missing the timing for consecutive skill activation and improving the efficiency and utilization rate of consecutive skill activation.
[0114] In order to improve the operation prompt effect and prevent the user from accidentally triggering the skill connection operation, in an embodiment of the present application, the terminal uses a skill connection line to indicate the target skill activation control and provides an operation cancellation mechanism. Referring to Figure 12, there is shown a flowchart of a method for controlling a virtual object to activate a skill provided in another exemplary embodiment of the present application. In this embodiment, the method is described as being performed by a terminal that supports displaying a virtual environment, and includes the following steps:
[0115] Step 1201: Display a first virtual object and a skill activation control. The skill activation control is for triggering the first virtual object to activate a virtual skill corresponding to the skill activation control.
[0116] For the specific implementation of step 1201, please refer to step 201 above, and the examples of this application do not elaborate on this.
[0117] Step 1202: In response to the skill connection operation reaching the j+1th target skill activation control from the jth target skill activation control, the jth skill connection line is displayed.
[0118] j is a positive integer less than n, and the jth skill connection line connects the jth skill activation control with the j+1th skill activation control.
[0119] In a possible embodiment, since there are many virtual skill controls, and the user knows which virtual skill has been connected, the terminal connects the target skill activation controls that the skill connection operation passed through and displays skill connection lines according to the skill connection order. When the skill connection operation reaches the (j+1)th skill activation control from the (j)th skill activation control, the terminal displays the (j+1)th skill connection line. When the skill connection operation moves from the (j+1)th skill activation control to the (j+2)th skill activation control, the terminal displays the (j+1)th connection line between the (j+1)th skill activation control and the (j+2)th skill activation control. In other words, a skill connection line is displayed between any two adjacent target skill activation controls.
[0120] In another possible embodiment, the terminal connects the selected target skill activation control with a first connecting line to display it, and connects the recommended skill activation control with a second connecting line to prompt it, for example, the first connecting line is a static connecting line and the second connecting line is a connecting line with a dynamic flashing effect, or the first connecting line is a solid line and the second connecting line is a dotted line. The recommended skill activation control corresponds to a recommended virtual skill, and is a recommended virtual skill determined by the terminal based on the connected target virtual skill. There is an association relationship between the recommended virtual skill and at least one connected target virtual skill, for example, to enhance the activation effect of other connected target virtual skills or the recommended virtual skill, or to bring a beneficial effect to the first virtual object. The second connecting line connects the recommended skill activation control and the connected target skill activation control, so that when a user wants to trigger multiple skills to be activated consecutively, appropriate virtual skills can be recommended to the user, improving the efficiency of triggering consecutive skill activation.
[0121] Generally, as shown in FIG. 4 , when it detects that a skill connection operation has reached the target skill activation control 402 from the target skill activation control 401, the terminal displays a skill connection line between the target skill activation control 401 and the target skill activation control 402.
[0122] Preferably, the terminal highlights the target skill activation control according to the target display effect, for example, by highlighting it, displaying it in a special color, or thickening the edge, thereby further enhancing the prompt effect.
[0123] Step 1203: A skill connection operation that acts on n target skill activation controls Receive and in response to the operation start point and operation end point of the skill connection operation being located on the same target skill activation control, it is determined that the skill connection operation is invalid.
[0124] Step 1204: A skill connection operation is performed on n target skill activation controls. Receive and in response to the operation start point and operation end point of the skill connection operation being located on different target skill activation controls, the skill connection operation is determined to be valid.
[0125] Due to the close display of multiple skill activation controls in the virtual environment interface, in the process of triggering a skill connection operation, the user may set the activation target to be triggered within the surrounding skill activation target selection roulette, which may result in the skill connection operation being triggered incorrectly, or in the process of the skill connection operation, the user may mistakenly select a skill activation control that is not the trigger target.
[0126] In order to avoid the above situation, in a possible embodiment, the embodiment of the present application further provides a skill connection operation cancellation mechanism. Receive , and in response to the operation start point and operation end point of the skill connection operation being located on the same target skill activation control, the skill connection operation is determined to be invalid, and the skill connection operation acting on the n target skill activation controls is Receive , and the skill connection operation is determined to be valid in response to the operation start point and operation end point of the skill connection operation being located on different target skill activation controls. That is, even if the user erroneously triggers the skill connection operation, the skill connection operation can be invalidated by returning the skill connection operation to the target skill activation control where the operation start point is located and canceling the skill connection operation.
[0127] Step 1205: In response to the skill connection operation being completed, the first virtual object is controlled to activate target virtual skills corresponding to the n target skill activation controls, respectively.
[0128] For the specific implementation of step 1205, please refer to step 203 above, and the examples of this application do not elaborate on this.
[0129] Step 1206: In response to the activation of all the target virtual skills, the display of the skill connection lines between the target skill activation controls is canceled.
[0130] When all target virtual skills are activated, the multi-skill connection activation process for that round ends, indicating that there is no connection / activation relationship between the target virtual skills, and therefore the device stops displaying all skill connection lines.
[0131] In the embodiment of the present application, in the process of receiving a skill connection operation, the terminal displays a skill connection line between two adjacent target skill activation controls to prompt the user about the skill connection status. In addition, a skill connection operation cancellation mechanism is also provided. If the skill connection operation is triggered by mistake or a virtual skill that is not the target to be activated is mistakenly connected, the user can cancel the skill connection operation by positioning the operation end point at the target skill activation control where the operation start point is located.
[0132] Combining the above embodiments, a schematic example will be used to describe a method for controlling virtual objects to activate skills, i.e., a first virtual object has three virtual skills, and the virtual environment interface displays skill activation controls corresponding to each of the virtual skills. The skill activation effect of virtual skill a is to control the first virtual object to attack forward using a virtual prop and deal 500 hit points of damage to the target virtual object, the skill activation effect of virtual skill b is to deal 50 hit points of damage to the virtual object within the skill activation area and cause a stun effect, and the skill activation effect of virtual skill c is to deal 1000 hit points of damage to the virtual object and deal an additional 200 hit points of damage to the stunned virtual object. After receiving a slide operation in which the slide starting point is located at skill activation control b (corresponding to virtual skill b), the slide trajectory passes through skill activation control c (corresponding to virtual skill c), and the slide end point is located at the activation target selection roulette corresponding to skill activation control c, the terminal determines virtual skill b and virtual skill c as target virtual skills, and first controls the first virtual object to activate virtual skill b within the target skill activation area indicated by the slide end point, and after activating virtual skill b, the terminal controls the first virtual object to activate virtual skill c.
[0133] 13 is a flowchart of a method for controlling a virtual object to activate a skill provided in another exemplary embodiment of the present application. In this embodiment, the method is described as being applied to a terminal supporting a virtual environment, and includes the following steps:
[0134] Step 1301: Display a first virtual object and a skill activation control. The skill activation control is for triggering the first virtual object to activate a virtual skill corresponding to the skill activation control.
[0135] Step 1302: Receive a skill connection operation to act on n target skill activation controls, where n is an integer equal to or greater than 2.
[0136] Step 1303: In response to the skill connection operation being completed, the first virtual object is controlled to activate target virtual skills corresponding to the n target skill activation controls, respectively.
[0137] For specific implementations of steps 1301 to 1303, please refer to the above steps 201 to 203, and the examples of the present application do not go into detail about them.
[0138] Step 1304: In response to the completion of the skill connection operation, the display state of the target skill activation control is switched from the triggerable state to the untriggerable state.
[0139] In a possible embodiment, after the skill connection operation is completed, in the process of the first virtual object activating the target virtual skill, the terminal switches the display state of the target skill activation control from a triggerable state to a non-triggerable state, that is, when the activation of the target virtual skill is not completed, the user cannot trigger the target skill activation control again, in order to avoid the continuous activation of multiple skills.
[0140] Preferably, a non-triggerable identifier is displayed on the target skill activation control in the non-triggerable state, or a gradation display is provided for the target skill activation control in the non-triggerable state, or a special shape is displayed for the target skill activation control in the non-triggerable state, etc., but the embodiments of the present application are not limited to this.
[0141] In another possible embodiment, in response to the skill connection operation being terminated, the terminal switches the display state of all skill activation controls from a triggerable state to a non-triggerable state.
[0142] Step 1305: In response to the activation of all the target virtual skills, the display state of the target skill activation control is switched from the untriggerable state to the triggerable state.
[0143] When all target skills have been activated, the terminal restores the display state of the target skill activation control to the triggerable state. Furthermore, in response to the completion of activation of all target virtual skills and the expiration of the skill cooldown period, the terminal switches the display state of the target skill activation control from the untriggerable state to the triggerable state.
[0144] In an embodiment of the present application, after the skill connection operation is completed, but before the activation of the target virtual skill is completely completed, the terminal switches the display state of the target skill activation control to a non-triggerable state, thereby preventing the user from triggering and activating the target virtual skill again during the multi-skill activation period, which would affect the continuous activation of the skills.
[0145] Combining the above embodiments, in one schematic example, refer to FIG. 14 for a flow of executing a method for a terminal to control a virtual object to activate a skill, and the flow includes the following steps:
[0146] Step 1401: Determine whether or not there is an operation for skill activation control. If YES, execute step 1402; if NO, return to start.
[0147] Step 1402: Determine whether the operation is to slide to another skill activation control. If YES, execute step 1403; if NO, execute step 1406.
[0148] Step 1403: Determine whether the operation is completed. If YES, execute step 1404; if NO, return to step 1402.
[0149] Step 1404: Determine the activation target based on the end position.
[0150] Step 1405: Virtual skills are activated based on the skill activation order specified by the operation.
[0151] Step 1406: Activate the virtual skill.
[0152] FIG. 15 is a structural block diagram of a device for controlling a virtual object to activate a skill provided by one exemplary embodiment of the present application, the structure of the device including: a first display module 1501 for displaying a first virtual object and a skill activation control, the skill activation control being for triggering the first virtual object to activate a virtual skill corresponding to the skill activation control; a receiving module 1502 for receiving skill connection operations acting on n target skill activation controls, where n is an integer greater than or equal to 2; and a control module 1503 that controls the first virtual object to activate target virtual skills corresponding to each of the n target skill activation controls in response to the skill connection operation being completed.
[0153] Preferably, the control module 1503 is a first determination unit for determining a control trigger order in response to the skill connection operation being completed, the control trigger order being an order in which the skill connection operation passes through the n target skill activation controls; a second determination unit for determining a skill activation order of the n target virtual skills based on the control trigger order and the correspondence between the skill activation control and the virtual skill; and a first control unit that controls the first virtual object to sequentially activate the n target virtual skills according to the skill activation order.
[0154] Preferably, the first control unit further comprises: The first virtual object is controlled to sequentially activate the n target virtual skills toward an activation target according to the skill activation order, and the activation target includes at least one of an activation area, an activation direction, and an activation object.
[0155] Preferably, the receiving module 1502 includes: a first display unit that displays a skill activation target selection roulette in a roulette display area corresponding to the i-th target skill activation control in response to the skill connection operation being located on the i-th target skill activation control and the presence of a target virtual skill having an activation target selection request among the i target virtual skills through which the skill connection operation has passed, where i is a positive integer less than n; and a second display unit that, in response to the skill connection operation being located on the (i+1)th target skill activation control, cancels the display of the skill activation target selection roulette in the roulette display area corresponding to the i-th target skill activation control and displays the skill activation target selection roulette in the roulette display area corresponding to the (i+1)th target skill activation control.
[0156] Preferably, the device comprises: The skill activation target selection device further includes a determination module that, in response to the skill connection operation being completed, determines an activation target based on the position of an operation end point of the skill connection operation on the skill activation target selection roulette.
[0157] Preferably, the decision module comprises: a third determination unit that determines the activation area based on a relative positional relationship and a position of the first virtual object in the virtual environment when the activation target is an activation area, wherein the relative positional relationship is determined based on a relative position between the operation end point and a center point of the activation target selection roulette; When the activation target is an activation direction, a fourth determination unit determines the activation direction based on a direction of the operation end point relative to a center point of the activation target selection roulette; and a fifth determination unit that, when the activation target is the activation object, determines the activation object from the second virtual object based on the orientation of the operation end point relative to the center point of the activation target selection roulette.
[0158] Preferably, the control module 1503 is a second control unit that controls the first virtual object to activate an m-th target virtual skill in accordance with the skill activation order in response to the completion of the skill connection operation, where m is a positive integer less than n; a third control unit that switches and displays the target skill activation control corresponding to the mth target virtual skill from an activatable state to a skill cooldown state based on the skill cooldown period of the mth target virtual skill; and a fourth control unit that controls the first virtual object to activate an (m+1)th target virtual skill in response to completion of activation of the mth target virtual skill.
[0159] Preferably, the receiving module 1502 includes: and a sixth determination unit that determines the kth skill activation control as the target skill activation control in response to the skill connection operation passing through the kth skill activation control and the kth skill activation control being in the activation-enabled state, where k is a positive integer less than or equal to n.
[0160] Preferably, the receiving module 1502 includes: The skill connection operation further includes an acquisition unit for acquiring a remaining cooldown period of a k-th virtual skill in response to the k-th skill activation control being passed through the k-th skill activation control and the k-th skill activation control being in the skill cooldown state, where k is a positive integer equal to or less than n; The control module 1503 a fifth control unit that controls the first virtual object to activate the n target virtual skills in response to the skill connection operation being completed and the remaining cooldown periods of all target virtual skills being reached; Or, and a sixth control unit that controls the first virtual object to start activating the target virtual skill in response to the skill connection operation being completed, controls the first virtual object to pause skill activation in response to a next target virtual skill being in the skill cooldown state, and controls the first virtual object to activate the next target virtual skill in response to the remaining cooldown period of the next target virtual skill being reached.
[0161] Preferably, the device comprises: A second display module displays prompt information in response to the skill connection operation passing through the kth skill activation control and the kth skill activation control being in the skill cooldown state, the prompt information prompting that the kth virtual skill cannot be activated, the kth virtual skill being a virtual skill corresponding to the kth skill activation control, and k being a positive integer less than or equal to n.
[0162] Preferably, the receiving module 1502 includes: a third display unit for displaying a jth skill connection line in response to the skill connection operation reaching from the jth target skill activation control to the j+1th target skill activation control, the jth skill connection line connecting the jth target skill activation control and the j+1th target skill activation control, where j is a positive integer less than n; The device comprises: The device further includes a third display module that cancels display of skill connection lines between the target skill activation controls in response to activation of all the target virtual skills.
[0163] Preferably, the receiving module 1502 includes: The skill connection operation acting on the n target skill activation controls. Receive and a seventh determination unit for validly determining the skill connection operation in response to the operation start point and operation end point of the skill connection operation being located on different target skill activation controls.
[0164] Preferably, the device comprises: The skill connection operation acting on the n target skill activation controls. Receive and further includes an eighth determination unit that determines the skill connection operation to be invalid in response to the operation start point and operation end point of the skill connection operation being located on the same target skill activation control.
[0165] Preferably, the device comprises: a fourth display module that switches a display state of the target skill activation control from a triggerable state to a trigger-disabled state in response to the completion of the skill connection operation; The device further includes a fifth display module that switches the display state of the target skill activation control from the untriggerable state to the triggerable state in response to activation of all of the target virtual skills.
[0166] As described above, in the embodiment of the present application, after receiving a skill connection operation acting on n target skill activation controls, the first virtual object is controlled to automatically activate target virtual skills corresponding to each of the n target skill activation controls, allowing the user to trigger multiple virtual skills with just one operation. Compared with the related art method of triggering and activating multiple skills by sequentially operating skill activation controls multiple times, this simplifies the user's operation and reduces the difficulty of continuously activating virtual skills.
[0167] 16, there is shown a structural block diagram of a terminal 1600 provided by an exemplary embodiment of the present application. The terminal 1600 may be a portable mobile terminal, such as a smartphone, a tablet, a Moving Picture Experts Group Audio Layer III (MP3) playback device, or a Moving Picture Experts Group Audio Layer IV (MP4) playback device. The terminal 1600 may also be called a user device, a portable terminal, or other names.
[0168] The terminal 1600 generally includes a processor 1601 and a memory 1602 .
[0169] The processor 1601 includes one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 1601 may be implemented in at least one hardware form of a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 1601 further includes a main processor, also called a central processing unit (CPU), that processes data in a wake-up state, and a coprocessor, which is a low-power processor that processes data in a standby state. In some embodiments, the processor 1601 is integrated with a graphics processing unit (GPU), which renders and draws content to be displayed on a display. In some embodiments, the processor 1601 further includes an artificial intelligence (AI) processor, which processes computing operations related to machine learning.
[0170] The memory 1602 includes one or more computer-readable storage media, which are tangible and non-transitory. The memory 1602 further includes high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices or flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1602 store at least one instruction that is executed by the processor 1601 to implement a method provided by an embodiment of the present application.
[0171] In some embodiments, terminal 1600 preferably further includes a peripheral interface 1603 .
[0172] The peripheral interface 1603 connects at least one peripheral associated with input / output (I / O) to the processor 1601 and the memory 1602. In some embodiments, the processor 1601, the memory 1602, and the peripheral interface 1603 are integrated on the same chip or circuit board, while in other embodiments, any one or two of the processor 1601, the memory 1602, and the peripheral interface 1603 may be implemented on separate chips or circuit boards, although this embodiment is not limited thereto.
[0173] An embodiment of the present application further provides a computer-readable storage medium having at least one instruction stored therein, the at least one instruction being read and executed by a processor to realize a method of controlling a virtual object to activate a skill described in each of the above embodiments.
[0174] According to one aspect of the present application, there is provided a computer program product or a computer program, the computer program product or the computer program including computer instructions stored in a computer-readable storage medium, the computer instructions being read by a processor of a terminal from the computer-readable storage medium and executed to cause the terminal to perform the method for controlling a virtual object to activate a skill provided by various preferred implementations of the above aspect.
[0175] As will be appreciated by those skilled in the art, in one or more of the above examples, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, these functions may be stored in a computer-readable storage medium or transmitted as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, and communication media include any medium for transmitting a computer program from one place to another. A storage medium is any medium accessible by a general-purpose or special-purpose computer.
[0176] The above does not limit the present application, but merely represents the preferred embodiments of the present application, and any modifications, equivalent replacements, improvements, etc. completed within the spirit and principles of the present application are all included in the protection scope of the present application.
Claims
1. A method for controlling a virtual object to activate a skill, executed by a terminal, comprising: displaying a first virtual object and a skill activation control for triggering the first virtual object to activate a virtual skill corresponding to the skill activation control; receiving a skill connection operation acting on n (n is an integer equal to or greater than 2) target skill activation controls; After receiving the skill connection operation, in response to completion of the skill connection operation, switching a display state of the target skill activation control from a triggerable state to a triggerless state; In response to the completion of the skill connection operation, controlling the first virtual object to activate target virtual skills corresponding to the n target skill activation controls, respectively; and switching the display state of the target skill activation control from the untriggerable state to the triggerable state in response to activation of all of the target virtual skills, The step of switching the display state of the target skill activation control from a triggerable state to a non-triggerable state includes displaying a non-triggerable identifier on the target skill activation control in the non-triggerable state, displaying the target skill activation control in a gradation, or changing the shape of the target skill activation control in the non-triggerable state. A method for controlling a virtual object to activate a skill.
2. the step of controlling the first virtual object to activate target virtual skills corresponding to the n target skill activation controls in response to the completion of the skill connection operation, In response to the completion of the skill connection operation, determining a control trigger order, which is the order in which the skill connection operation passed through the n target skill activation controls; determining a skill activation order of the n target virtual skills based on the control trigger order and the correspondence between the skill activation controls and the virtual skills; and controlling the first virtual object to sequentially activate the n target virtual skills according to the skill activation order. A method for controlling a virtual object to invoke a skill according to claim 1 .
3. The step of controlling the first virtual object to sequentially activate the n target virtual skills in accordance with the skill activation order includes: and controlling the first virtual object to sequentially activate the n target virtual skills toward an activation target according to the skill activation order, the activation target including at least one of an activation area, an activation direction, and an activation object. The method of controlling a virtual object to invoke a skill according to claim 2 .
4. The step of receiving a skill connection operation acting on the n target skill activation controls includes: a step of displaying a skill activation target selection roulette in a roulette display area corresponding to the i-th target skill activation control (i is a positive integer less than n) in response to the skill connection operation being located on the i-th target skill activation control and the presence of a target virtual skill having an activation target selection request among the i target virtual skills through which the skill connection operation has passed; In response to the skill connection operation being located on the (i+1)th target skill activation control, canceling the display of the skill activation target selection roulette in the roulette display area corresponding to the i target skill activation control and displaying the skill activation target selection roulette in the roulette display area corresponding to the i+1th target skill activation control. A method for controlling a virtual object to invoke a skill according to claim 1 .
5. Before controlling the first virtual object to sequentially activate the n target virtual skills according to a skill activation order of the n target virtual skills, the method includes: The method further includes a step of determining an activation target based on a position of an operation end point of the skill connection operation on the skill activation target selection roulette in response to the end of the skill connection operation. A method for controlling a virtual object to invoke a skill according to claim 4.
6. The step of determining an activation target based on the position of the operation end point of the skill connection operation on the skill activation target selection roulette includes: If the activation target is an activation area, determining the activation area based on a relative positional relationship determined based on the relative positions of the operation end point and the center point of the skill activation target selection roulette, and the position of the first virtual object in a virtual environment; When the activation target is an activation direction, determining the activation direction based on the direction of the operation end point relative to the center point of the skill activation target selection roulette; and if the activation target is an activation object, determining the activation object from among second virtual objects based on an orientation of the operation end point relative to a center point of the skill activation target selection roulette. A method for controlling a virtual object to invoke a skill according to claim 5.
7. the step of controlling the first virtual object to activate target virtual skills corresponding to the n target skill activation controls in response to the completion of the skill connection operation, In response to the completion of the skill connection operation, controlling the first virtual object to activate an mth target virtual skill (m is a positive integer less than n); a step of switching and displaying the target skill activation control corresponding to the mth target virtual skill from an activatable state to a skill cooldown state based on the skill cooldown period of the mth target virtual skill; and controlling the first virtual object to activate an (m+1)th target virtual skill in response to completion of activation of the mth target virtual skill. A method for controlling a virtual object to invoke a skill according to claim 1 .
8. The step of receiving a skill connection operation acting on the n target skill activation controls includes: a step of determining the kth skill activation control as the target skill activation control in response to the skill connection operation passing through the kth skill activation control (k is a positive integer equal to or less than n) and the kth skill activation control being in the activation-enabled state; The method of controlling a virtual object to invoke a skill according to claim 7.
9. The step of receiving a skill connection operation acting on the n target skill activation controls includes: acquiring a remaining cooldown period of a kth virtual skill in response to the skill connection operation passing through a kth (k is a positive integer equal to or less than n) skill activation control and the kth skill activation control being in the skill cooldown state; the step of controlling the first virtual object to activate target virtual skills corresponding to the n target skill activation controls in response to the completion of the skill connection operation, controlling the first virtual object to activate the n target virtual skills in response to the skill connection operation being completed and the remaining cooldown periods of all target virtual skills being reached; Or, controlling the first virtual object to start activating the target virtual skill in response to the skill connection operation being completed, controlling the first virtual object to pause skill activation in response to a next target virtual skill being in the skill cooldown state, and controlling the first virtual object to activate the next target virtual skill in response to the remaining cooldown period of the next target virtual skill being reached. The method of controlling a virtual object to invoke a skill according to claim 7.
10. The method comprises: The method further includes a step of displaying prompt information for prompting that the kth virtual skill cannot be activated in response to the skill connection operation passing through a kth skill activation control (k is a positive integer equal to or less than n) and the kth skill activation control being in the skill cooldown state, wherein the kth virtual skill is a virtual skill corresponding to the kth skill activation control. The method of controlling a virtual object to invoke a skill according to claim 7.
11. The step of receiving a skill connection operation acting on the n target skill activation controls includes: In response to the skill connection operation reaching from the jth (j is a positive integer less than n) target skill activation control to the j+1th target skill activation control, displaying a jth skill connection line for connecting the jth target skill activation control and the j+1th target skill activation control, The method comprises: The method further includes a step of canceling display of skill connection lines between the target skill activation controls in response to activation of all the target virtual skills. A method for controlling a virtual object to invoke a skill according to claim 1 .
12. The step of receiving a skill connection operation acting on the n target skill activation controls includes: receiving the skill connection operations acting on the n target skill activation controls, and determining that the skill connection operations are valid in response to the operation start point and operation end point of the skill connection operations being located on different target skill activation controls; A method for controlling a virtual object to invoke a skill according to claim 1 .
13. The method comprises: The method further includes a step of receiving the skill connection operation acting on the n target skill activation controls, and determining that the skill connection operation is invalid in response to the operation start point and operation end point of the skill connection operation being located on the same target skill activation control. A method for controlling a virtual object to invoke a skill according to claim 1 .
14. a first display module for displaying a first virtual object and a skill activation control for triggering the first virtual object to activate a virtual skill corresponding to the skill activation control; and a receiving module for receiving skill connection operations acting on n (n is an integer equal to or greater than 2) target skill activation controls; a fourth display module that switches a display state of the target skill activation control from a triggerable state to a triggerless state in response to completion of the skill connection operation after receiving the skill connection operation; a control module for controlling the first virtual object to activate target virtual skills corresponding to the n target skill activation controls in response to the skill connection operation being completed; a fifth display module that switches a display state of the target skill activation control from the untriggerable state to the triggerable state in response to activation of all of the target virtual skills; Switching the display state of the target skill activation control from a triggerable state to a non-triggerable state includes displaying a non-triggerable identifier on the target skill activation control in the non-triggerable state, displaying the target skill activation control in a gradation, or changing the shape of the target skill activation control in the non-triggerable state. A device that controls virtual objects to activate skills.
15. A terminal including a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set, or instruction set, and the at least one instruction, the at least one program, code set, or instruction set is read and executed by the processor to realize a method for controlling a virtual object to activate a skill according to any one of claims 1 to 13. Terminal.
16. A computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium, the computer instructions being read by a processor of a terminal from the computer-readable storage medium and executed by the processor, causing the terminal to perform the method of controlling a virtual object to activate a skill according to any one of claims 1 to 13. program.
Citation Information
Patent Citations
Virtual object control method, device and equipment and medium
CN111589142A
Game skill triggering method and device, game client and medium
CN111840988A
Skill processing method and device, storage medium and computer equipment
CN112843719A
Method and device for controlling skills in game and electronic terminal
CN113908534A
Apparatus, Method and Computer Readable Storage Medium for Guiding Game Play Via a Show Me Button
US20160271496A1