Method and apparatus for releasing virtual skill, and device and storage medium

By receiving continuous sliding operations and position confirmation operations, the starting point and direction of virtual skill release are determined in stages, which solves the problem of complex virtual skill release operations in existing technologies and achieves a simpler human-computer interaction.

WO2026157985A1PCT designated stage Publication Date: 2026-07-30TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2026-01-06
Publication Date
2026-07-30

AI Technical Summary

Technical Problem

The operation of releasing virtual skills in existing technologies is highly complex, requiring multiple presses and releases of the skill controls, resulting in high complexity in human-computer interaction.

Method used

By receiving continuous sliding operations and determining the release start point and direction after the position confirmation operation, the release start point and release direction of virtual skills are indicated in stages, reducing the complexity of operation.

Benefits of technology

It enables accurate execution of virtual skill releases without interrupting continuous swiping operations, reducing the complexity of human-computer interaction and decreasing the probability of misoperation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026070912_30072026_PF_FP_ABST
    Figure CN2026070912_30072026_PF_FP_ABST
Patent Text Reader

Abstract

A method and apparatus for releasing a virtual skill, and a device and a storage medium. The method is executed by means of a computer device, and comprises: displaying a first virtual object, wherein the first virtual object is located in a virtual environment, and the first virtual object has a virtual skill; receiving a continuous sliding operation, wherein different sliding positions of the continuous sliding operation correspond to different environmental positions; in response to a position acknowledgement operation, determining a first environmental position corresponding to a first sliding position of the continuous sliding operation; in response to the completion of the continuous sliding operation, determining a second environmental position corresponding to a second sliding position of the continuous sliding operation; and controlling the first virtual object to release the virtual skill, wherein a release starting point is the first environmental position, and a release direction points from the first environmental position to the second environmental position.
Need to check novelty before this filing date? Find Prior Art

Description

Methods, devices, equipment, and storage media for releasing virtual skills

[0001] This application claims priority to Chinese Patent Application No. 202510113112.6, filed on January 23, 2025, entitled “Method, Apparatus, Device and Storage Medium for Releasing Virtual Skills”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of human-computer interaction technology, and in particular to a method, apparatus, device and storage medium for releasing virtual skills. Background Technology

[0003] Games and other applications provide virtual environments, which typically require controlling virtual objects to perform activities such as walking, driving, climbing, picking up items, and fighting.

[0004] In related technologies, virtual characters in a virtual environment possess virtual skills. By releasing these virtual skills, they can launch virtual attacks and other virtual activities in the virtual environment, thereby enabling competition between virtual characters. Summary of the Invention

[0005] This application provides a method, apparatus, device, and storage medium for releasing virtual skills, the technical solution of which is as follows:

[0006] According to one aspect of this application, a method for releasing a virtual skill is provided, the method being performed by a computer device, the method comprising:

[0007] Display a first virtual object, which is located in a virtual environment and possesses virtual skills;

[0008] Receive a continuous sliding operation, wherein different sliding positions of the continuous sliding operation correspond to different environmental positions, and the environmental position refers to the position in the virtual environment;

[0009] In response to the position confirmation operation, the first environmental position corresponding to the first sliding position of the continuous sliding operation is determined;

[0010] In response to the end of the continuous sliding operation, a second environmental position corresponding to the second sliding position of the continuous sliding operation is determined;

[0011] Control the first virtual object to release the virtual skill from the first environmental position as the release starting point, in a direction pointing from the first environmental position to the second environmental position.

[0012] According to another aspect of this application, a device for releasing virtual skills is provided, the device comprising:

[0013] A display module is used to display a first virtual object, which is located in a virtual environment and has virtual skills.

[0014] The receiving module is used to receive continuous sliding operations, wherein different sliding positions of the continuous sliding operations correspond to different environmental positions, and the environmental position refers to the position in the virtual environment;

[0015] The processing module is used to determine the first environmental position corresponding to the first sliding position of the continuous sliding operation in response to the position confirmation operation;

[0016] The processing module is further configured to determine the second environmental position corresponding to the second sliding position of the continuous sliding operation in response to the end of the continuous sliding operation;

[0017] The control module is used to control the first virtual object to release the virtual skill from the first environmental position as the release starting point, in a direction pointing from the first environmental position to the second environmental position.

[0018] According to another aspect of this application, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one program; the processor is configured to execute the at least one program in the memory to implement the virtual skill release method described above.

[0019] According to another aspect of this application, a computer-readable storage medium is provided, wherein a computer program is stored therein, the computer program being loaded and executed by a processor to implement the virtual skill release method described above.

[0020] According to another aspect of this application, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium, wherein a processor reads from the computer-readable storage medium and executes the computer instructions to implement the virtual skill release method described above. Attached Figure Description

[0021] Figure 1 is a structural block diagram of a computer system provided in an exemplary embodiment of this application;

[0022] Figure 2 is a schematic diagram of a virtual skill release method provided in an exemplary embodiment of this application;

[0023] Figure 3 is a flowchart of a virtual skill release method provided in an exemplary embodiment of this application;

[0024] Figure 4 is a flowchart of a virtual skill release method provided in an exemplary embodiment of this application;

[0025] Figure 5 is a flowchart of a virtual skill release method provided in an exemplary embodiment of this application;

[0026] Figure 6 is a flowchart of a virtual skill release method provided in an exemplary embodiment of this application;

[0027] Figure 7 is a flowchart of a virtual skill release method provided in an exemplary embodiment of this application;

[0028] Figure 8 is a flowchart of a virtual skill release method provided in an exemplary embodiment of this application;

[0029] Figure 9 is a flowchart of a virtual skill release method provided in an exemplary embodiment of this application;

[0030] Figure 10 is a schematic diagram of a virtual environment provided in an exemplary embodiment of this application;

[0031] Figure 11 is a schematic diagram of releasing virtual skills provided in an exemplary embodiment of this application;

[0032] Figure 12 is a structural block diagram of a virtual skill release device provided in an exemplary embodiment of this application;

[0033] Figure 13 is a structural block diagram of a terminal provided in an exemplary embodiment of this application. Detailed Implementation

[0034] The singular forms “a,” “the,” and “the” used in this disclosure and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.

[0035] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the information involved in this application, such as continuous swiping operations and location confirmation operations, was obtained with full authorization.

[0036] It should be understood that although the terms first, second, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, a first parameter may also be referred to as a second parameter without departing from the scope of this disclosure, and similarly, a second parameter may also be referred to as a first parameter. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0037] Figure 1 shows a structural block diagram of a computer system provided in an exemplary embodiment of this application. The computer system 100 includes: a first terminal 110, a server 120, and a second terminal 130.

[0038] The first terminal 110 has a client 111 installed and running that supports a virtual environment. This client 111 can be a multiplayer online battle arena (MOBA) program. When the first terminal runs the client 111, the user interface of the client 111 is displayed on the screen of the first terminal 110. The client 111 can be any of the following: battle royale shooting game, virtual reality (VR) application, augmented reality (AR) program, 3D mapping program, virtual reality game, augmented reality game, casual game, party game, first-person shooter (FPS) game, third-person shooter (TPS) game, multiplayer online battle arena (MOBA) game, or simulation game (SLG). In this embodiment, the client 111 is an FPS game as an example. The first terminal 110 is the terminal used by the first user 112. The first user 112 uses the first terminal 110 to control a first virtual object located in the virtual environment to perform activities. The first virtual object can be referred to as the virtual object of the first user 112. The activities of the first virtual object include, but are not limited to, at least one of the following: moving, jumping, teleporting, releasing skills, using items, adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, and throwing. For illustrative purposes, the first virtual object is a character, such as a realistic or anime character.

[0039] The second terminal 130 has a client 131 installed and running that supports a virtual environment. This client 131 can be a multiplayer online battle arena (MOBA) program. When the second terminal 130 runs the client 131, the user interface of the client 131 is displayed on the screen of the second terminal 130. This client can be any of the following: battle royale shooting game, VR application, AR program, 3D map program, virtual reality game, augmented reality game, FPS, TPS, MOBA, or SLG. In this embodiment, a MOBA game is used as an example. The second terminal 130 is the terminal used by the second user 132. The second user 132 uses the second terminal 130 to control a second virtual object located in the virtual environment. This second virtual object can be referred to as the virtual object of the second user 132. Illustratively, the second virtual object is a character, such as a realistic or anime character.

[0040] Optionally, the first virtual object and the second virtual object reside in the same virtual environment. Optionally, the first virtual object and the second virtual object belong to the same faction, the same team, the same organization, have a friend relationship, or have temporary communication permissions. Optionally, the first virtual object and the second virtual object belong to different factions, different teams, different organizations, or have an adversarial relationship.

[0041] Optionally, the clients installed on the first terminal 110 and the second terminal 130 are the same, or the clients installed on the two terminals are the same type of client on different operating system platforms (Android or iOS). The first terminal 110 can refer to one of multiple terminals, and the second terminal 130 can refer to another of multiple terminals. This application embodiment only uses the first terminal 110 and the second terminal 130 as examples. The device types of the first terminal 110 and the second terminal 130 may be the same or different, and these device types include at least one of: smartphones, tablets, e-book readers, MP3 players, MP4 players, laptops, and desktop computers.

[0042] Figure 1 shows only two terminals, but in different embodiments, multiple other terminals 140 can access the server 120. Optionally, one or more terminals 140 may be terminals corresponding to developers, on which a development and editing platform supporting virtual environments for clients is installed. Developers can edit and update clients on terminals 140 and transmit the updated client installation package to the server 120 via wired or wireless networks. The first terminal 110 and the second terminal 130 can download the client installation package from the server 120 to update the client.

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

[0044] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 is used to provide backend services for clients supporting a 3D virtual environment. Optionally, server 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, server 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, server 120 and the terminal use a distributed computing architecture for collaborative computing.

[0045] In an illustrative example, server 120 includes processor 122, user account database 123, battle service module 124, and user-facing input / output interface (I / O interface) 125. Processor 122 loads instructions stored in server 120 and processes data in user account database 123 and battle service module 124. User account database 123 stores data about user accounts used by first terminal 110, second terminal 130, and other terminals 140, such as user account avatars, nicknames, combat power indices, and the service area where the user account is located. Battle service module 124 provides multiple battle rooms for users to play, such as 1v1, 3v3, and 5v5 battles. User-facing I / O interface 125 establishes communication and exchanges data with first terminal 110 and / or second terminal 130 via wireless or wired network.

[0046] The methods provided in this application can be applied to at least one of the following scenarios: virtual reality applications, 3D map programs, casual games, party games, first-person shooter games, third-person shooter games, multiplayer online tactical competitive games, multiplayer shooting survival games, etc. The following embodiments are examples of applications in games.

[0047] Figure 2 shows a schematic diagram of a method for releasing virtual skills provided in an exemplary embodiment of this application.

[0048] In the first interface 310, the first virtual object 312 is displayed. In this embodiment of the application, the method of releasing virtual skills executed by the terminal is used as an example. The first virtual object 312 is a virtual object that the terminal has control over, such as the terminal's main virtual character. However, it is also possible that the first virtual object 312 is a virtual pet character summoned by the terminal's main virtual character.

[0049] The first interface 310 also displays skill controls 314 for the virtual skills possessed by the first virtual object 312. It is understandable that the first virtual object 312 possesses multiple virtual skills; for example, the three circular controls in the lower right corner of the first interface 310 are the skill controls for the three virtual skills possessed by the first virtual object 312.

[0050] In response to a press-and-hold operation 314a on the skill control 314, a second interface 320 is displayed; in the second interface, the skill control 314 is switched to be displayed as a drag control 322, and a confirmation control 326 is displayed.

[0051] The system receives a touch swipe operation 322a triggered by the drag control 322. It can be seen that the touch swipe operation 322a is triggered by the drag control 322. For example, in the second interface 320, the touch swipe operation 322a drags the joystick of the drag control 322 to the upper right.

[0052] In the second interface 320, a first skill indicator 324 is displayed. The first skill indicator 324 is used to indicate the permission setting area for the release starting point of the virtual skill. Specifically, the first skill indicator 324 indicates a circular area, indicating that the permission setting for the release starting point of the virtual skill is within the area surrounding the first virtual object 312 at a distance not exceeding a distance threshold, which is the radius of the circular area indicated by the first skill indicator 324.

[0053] In response to a trigger operation 326a on the confirmation control 326, a first environmental position 325 corresponding to the first sliding position is determined. For example, the human-computer interaction operation corresponding to operation 326a is applied to the confirmation control 326. The trigger operation 326a can be implemented as either a click operation or a double-click operation. The relative position between the first environmental position 325 and the first virtual object 312 is determined based on the relative position between the first sliding position of the touch sliding operation 322a and the initial position of the joystick portion of the drag control 322.

[0054] In response to a trigger operation 326a on the confirmation control 326, a third interface 330 is displayed; in the third interface 330, in response to operation 326a, a second skill indicator 335 is displayed based on a first environment position 325; the center position of the second skill indicator 335 is the first environment position 325, and the edge position of the second skill indicator 335 is used to indicate the candidate end position of the virtual skill when the first environment position 325 is the release starting point.

[0055] In the third interface 330, the touch swipe operation 322a drags the joystick of the drag control 322 to the right. The second skill indicator also includes a candidate direction 336; the candidate direction 336 is the direction from the first environment position 325 to the second candidate environment position, which corresponds to the second candidate swipe position after the joystick is dragged to the right.

[0056] Upon completion of the touch swipe operation 322a on the drag control 322, the fourth interface 340 is displayed. In the fourth interface 340, the first virtual object 312 releases a virtual skill from the first environment position 325 as the release starting point, moving to the right, and displays the special effect animation 345 of the virtual skill. The special effect animation 345 of the virtual skill in the fourth interface 340 is a lightning effect with an effective range of a line segment.

[0057] The following examples will illustrate the method for releasing virtual skills.

[0058] Figure 3 illustrates a flowchart of a method for releasing a virtual skill according to an exemplary embodiment of this application. The method is performed by a computer device. The method includes:

[0059] Step 510: Display the first virtual object, which is located in the virtual environment.

[0060] In a virtual environment, the first virtual character possesses virtual skills, and the virtual environment is the virtual space where the first virtual character performs virtual activities; for example, in a virtual game, the first virtual character uses virtual skills to perform virtual competition. The virtual environment can be any of the following: two-dimensional, 2.5-dimensional, or three-dimensional.

[0061] For example, a virtual skill can be an attack skill used to cause virtual damage, a defense skill used to provide virtual protection, or a support skill that provides a buff effect when a friendly virtual character launches a virtual attack; this application does not limit the skill effect of virtual skills.

[0062] In the embodiments of this application, virtual skills can be the inherent abilities of virtual characters, or virtual skills obtained by configuring virtual chips, virtual inscriptions, etc. for virtual characters, or virtual skills acquired through virtual learning, virtual training, etc.

[0063] Step 520: Receive continuous swipe operations.

[0064] For example, a continuous sliding operation refers to a sliding operation that is executed continuously over a period of time. A continuous sliding operation has a duration; for example, after receiving a continuous sliding operation, the operation is received at least twice in adjacent moments. There is no restriction on the sliding position of the continuous sliding operation; it is allowed for the sliding position to be the same at two (or more) moments.

[0065] A continuous swipe operation takes place on the display screen of a computer device and can be located on controls displayed on the screen. The swipe position refers to its location on the display screen or on a control. The swipe position of a continuous swipe operation has a corresponding environmental location in a virtual environment. Optionally, the environmental location is located on a two-dimensional plane of the virtual environment (such as the two-dimensional plane containing the virtual ground or virtual horizontal plane). For example, different swipe positions of a continuous swipe operation correspond to different environmental locations; as the swipe position of the continuous swipe operation changes, the corresponding environmental location in the virtual environment also changes.

[0066] Unless otherwise specified, the various embodiments of this application allow a continuous sliding operation to remain at the same sliding position for multiple moments, and do not limit the continuous sliding operation to correspond to different sliding positions at adjacent moments. This application only limits the continuous sliding operation to exist (or be triggered continuously) in time.

[0067] The continuous swipe operation is acquired by a computer device performing the virtual skill release method described in the embodiments of this application. The computer device includes at least one of information input devices such as a mouse, touch screen, and gamepad, and the continuous swipe operation is acquired by at least one of the aforementioned information input devices. In one example, the continuous swipe operation corresponds to a human-computer interaction operation on an information input device.

[0068] Step 530: In response to the position confirmation operation, determine the first environmental position corresponding to the first sliding position of the continuous sliding operation.

[0069] For example, a single sliding position in a continuous swipe operation has a unique corresponding environmental location within the virtual environment. The location confirmation operation is an indication that triggers the determination of a first environmental location, which is associated with the release of a virtual skill. Therefore, the first sliding position refers to the location where the continuous swipe operation occurred when the location confirmation operation was triggered.

[0070] As described above, the continuous sliding operation exists sequentially, and a sliding position exists at any moment when a continuous sliding operation is received. The first sliding position is the instantaneous position of the continuous sliding operation when the position confirmation operation is triggered. The first environmental position corresponding to the first sliding position can be determined by the correspondence between the sliding position of the continuous sliding operation and the environmental position in the virtual environment, or it can be obtained from a pre-stored information pair that includes the first sliding position and the first environmental position.

[0071] The first environmental position is determined based on the triggering of the position confirmation operation, and the first moment of determining the first sliding position is the same as the moment of receiving the position confirmation operation. In another embodiment, it is not excluded that the two moments mentioned above may differ.

[0072] Step 540: In response to the end of the continuous sliding operation, determine the second environmental position corresponding to the second sliding position of the continuous sliding operation.

[0073] The end of the continuous swipe operation triggers an indication message to determine the second environmental location, which is associated with the release of the virtual skill. Therefore, the second swipe location refers to the position where the continuous swipe operation occurred at the end of the operation. Referring to the description in step 530, this application does not impose any restrictions on the method of determining the second environmental location.

[0074] The second environmental position is determined based on the triggering of the end of the continuous sliding operation, and the second moment at which the second sliding position is determined is the same as the end moment of the continuous sliding operation. In another embodiment, the second moment is no later than the end moment of the continuous sliding operation.

[0075] Step 550: Control the first virtual object to release virtual skills. The starting point of the release is the first environmental position, and the release direction is from the first environmental position to the second environmental position.

[0076] For example, a virtual skill has an effective range, and the first environmental location can be implemented as at least one of the following: an endpoint, a vertex, or any environmental location on an edge of the effective range.

[0077] The direction from the first environmental position to the second environmental position does not limit the effective time of virtual skills. Virtual skills can be effective simultaneously within the effective range, or they can be effective sequentially from the first environmental position to the second environmental position.

[0078] Those skilled in the art will understand that by displaying the effective range of the virtual skill, a first environmental location and the direction from the first environmental location to the second environmental location can be presented. This, in turn, establishes a correlation between the first environmental location and the second environmental location determined in steps 530 and 540 and the release of the virtual skill.

[0079] In related technologies, computer devices display skill controls. After the skill control is pressed and released for the first time, the starting point for releasing the virtual skill is determined based on the position of the first release. Then, after pressing and releasing the skill control a second time, the direction of the virtual skill's release is determined based on the position of the second release. Therefore, releasing a virtual skill requires two press and release operations on the skill control, resulting in high operational complexity.

[0080] The method provided in this application, by receiving a continuous sliding operation and then receiving a location confirmation operation, uses the first environmental location as the starting point for releasing the virtual skill. Without interrupting the continuous sliding operation, the continuous sliding operation is divided into two stages: the stage of determining the release starting point and the stage of determining the release direction, with the location confirmation operation as the boundary. This enables the continuous sliding operation to indicate the release starting point and release direction of the virtual skill, without interrupting the continuous sliding operation during the release of the virtual skill, thus reducing the complexity of human-computer interaction in releasing the virtual skill.

[0081] Figure 4 shows a flowchart of a method for releasing a virtual skill provided in an exemplary embodiment of this application. This method can be executed by a computer device. Specifically, in the embodiment shown in Figure 3, step 520 can be implemented as step 522, step 530 can be implemented as step 532, and step 540 can be implemented as step 542.

[0082] Step 522: Receive a continuous sliding operation triggered by the first control unit.

[0083] In this embodiment, the computer device provides a first control component and a second control component located at different spatial positions. The first control component and the second control component may be provided by different hardware components of the computer device, or they may be provided by different locations of the same hardware component. These will be described below through separate embodiments.

[0084] In one example, the first control component is a joystick-type control component (such as a displayed virtual joystick or a physical joystick); the second control component is a click-type control component (such as a displayed control or a physical button triggered by a click).

[0085] The continuous sliding operation is triggered by the first control component; for example, the human-computer interaction operation corresponding to the continuous sliding operation is applied to the first control component.

[0086] Step 532: In response to the position confirmation operation triggered by the second control component, determine the first environmental position corresponding to the first sliding position.

[0087] The location confirmation operation is triggered by the second control component; for example, the human-computer interaction operation corresponding to the location confirmation operation is performed on the second control component.

[0088] In this embodiment, the correspondence between the first sliding position and the first environmental position is described. At the moment the position confirmation operation is triggered, the sliding position of the continuous sliding operation is the first sliding position. The initial sliding position corresponds to the initial environmental position in the virtual environment (e.g., the center point of the viewing screen of the displayed virtual environment, or the environmental position where the first virtual object is located). Based on the relative position between the first sliding position and the initial sliding position of the continuous sliding operation, the initial environmental position is moved to obtain the first environmental position. The relative position indicates the direction and distance of the movement of the first environmental position relative to the initial environmental position. For example, if the first sliding position is above the initial sliding position, moving the initial environmental position in the virtual environment upwards yields the first environmental position corresponding to the first sliding position.

[0089] Step 542: In response to the end of the continuous sliding operation on the first control unit, determine the second environmental position corresponding to the second sliding position.

[0090] As described above, the continuous sliding operation is triggered by the first control component; the end of the continuous sliding operation is used to indicate the end of the human-computer interaction operation triggered by the first control component, such as the cessation of the continuous human-computer interaction operation for the first control component.

[0091] In summary, the method provided in this application embodiment involves a computer device with two control components located at different spatial positions. By receiving a continuous sliding operation triggered on the first control component and a position confirmation operation triggered on the second control component, the first environmental position is used as the starting point for releasing the virtual skill. Without interrupting the continuous sliding operation, the continuous sliding operation is divided into two stages upon receiving the position confirmation operation: a stage for determining the release starting point and a stage for determining the release direction. This achieves the goal of indicating the release starting point and release direction of the virtual skill through continuous sliding operation. Furthermore, the continuous sliding operation does not need to be interrupted during the release of the virtual skill, reducing the complexity of human-computer interaction in releasing the virtual skill.

[0092] Furthermore, control components located at different control positions are set up to trigger continuous sliding operations and position confirmation operations respectively. This allows users to operate on different control components using different hands or different fingers, avoiding mutual interference between operations and ensuring that the position confirmation operation is executed accurately without interrupting the continuous sliding operation. This achieves parallel execution of different operations and reduces the probability of misoperation.

[0093] Next, the different implementations of the computer device will be described separately; in this application, the computer device includes at least one of the following four implementations:

[0094] Implementation method 1: The computer device includes a touch screen.

[0095] Implementation method 2: Computer devices include handheld devices.

[0096] Implementation method 3: Computer devices include mouse devices.

[0097] Implementation method four: Computer equipment includes VR equipment.

[0098] The four implementation methods are described below:

[0099] Implementation method 1: The computer device includes a touch screen.

[0100] In this implementation, the first control component includes a drag-and-drop control displayed on a touchscreen, and the second control component includes a confirmation control displayed on a touchscreen. Optionally, the drag-and-drop control can be implemented as a virtual joystick, a display control that simulates a physical joystick component. The virtual joystick includes a virtual wheel and a virtual joystick, and a dragging operation on a physical joystick component is simulated by a touch sliding operation on the virtual joystick. Optionally, the confirmation control is triggered by a click operation.

[0101] Referring to Figure 5, that is, based on the embodiment shown in Figure 4, step 510 can be implemented as step 512, and also includes step 515; step 522 can be implemented as step 522a, step 532 can be implemented as step 532a, and step 542 can be implemented as step 542a:

[0102] Step 512: Display the first virtual object and the skill controls of the virtual skills possessed by the first virtual object, which is located in the virtual environment.

[0103] For example, in a multiplayer online tactical competitive game, a virtual skill is any one of the multiple virtual skills possessed by the first virtual character; it can be implemented as any one of the first virtual character's first skill, second skill, ultimate skill, etc.

[0104] Skill controls are used to unleash virtual skills. Optionally, skill controls can be displayed on a heads-up display (HUD) layer to overlay the skill controls onto the virtual environment, ensuring an immersive experience.

[0105] Step 515: In response to the press and hold operation on the skill control, switch the skill control to be displayed as a drag control, and display the confirmation control.

[0106] For example, pressing and holding a skill control indicates an intention to release a virtual skill. By switching the skill control to a drag-and-drop control, subsequent continuous swiping operations can be triggered by dragging the control while it is being pressed and held, ensuring the continuity of the press-and-drop and continuous swiping operations. When performing human-computer interaction operations, after pressing and holding the skill control, the user does not need to release the skill control but can continue to swipe on the touchscreen to achieve the touch swiping operation of the drag-and-drop control.

[0107] In response to a press-and-hold operation, a confirmation control is displayed, providing a functional entry point for triggering operations on the confirmation control. In one implementation, in addition to the steps shown in Figure 4, it also includes displaying a drag-and-drop control and a confirmation control;

[0108] In implementation method one, the continuous sliding operation includes a touch sliding operation for the drag control, the position confirmation operation includes a trigger operation for the confirmation control, and the end of the continuous sliding operation includes the end of the touch sliding operation for the drag control.

[0109] Step 522a: Receive a touch swipe operation triggered by dragging the control.

[0110] In this embodiment, drag-and-drop controls and confirmation controls are displayed at different spatial locations on the touchscreen. Touch swipe operations are triggered by dragging the controls; for example, the human-computer interaction operation corresponding to the touch swipe operation is performed on the drag-and-drop controls.

[0111] Step 532a: In response to the trigger operation for the confirmation control, determine the first environment position corresponding to the first sliding position.

[0112] A trigger operation is an action performed on a confirmation control; for example, the human-computer interaction operation corresponding to a trigger operation is applied to the confirmation control. A trigger operation can be either a click operation or a double-click operation.

[0113] Step 542a: In response to the end of the touch swipe operation on the drag control, determine the second environment position corresponding to the second swipe position.

[0114] As described above, touch swipe operations are triggered by dragging and dropping controls; the end of touch swipe operation is used to indicate the end of human-computer interaction operations triggered by dragging and dropping controls, such as stopping a continuous swipe on a touchscreen control.

[0115] Implementation method 2: Computer devices include handheld devices.

[0116] In this implementation, the first control component includes a joystick component of the gamepad device, and the second control component includes a button component of the gamepad device. Optionally, the gamepad device may include multiple joystick components and / or multiple button components. The first control component can be implemented as any one of the multiple joystick components, and the second control component can be implemented as any one of the multiple button components. For example, the first control component is located on one side of the gamepad device, and the second control component is located on the other side; for instance, the joystick component is located on the right side of the gamepad device to facilitate the user's right-hand dragging of the joystick component, and the button component is located on the left side of the gamepad device to facilitate the user's left-hand pressing of the button component.

[0117] In implementation method two, the continuous sliding operation includes a dragging operation on the joystick component, the position confirmation operation includes a tapping operation on the button component, and the end of the continuous sliding operation includes the end of the dragging operation on the joystick component. Accordingly, the steps in the embodiment shown in Figure 4 above are implemented as follows:

[0118] Step 522 can be implemented as: receiving a drag operation triggered by the joystick component.

[0119] In this embodiment, the handle device is provided with a joystick component and a button component at different spatial positions. The drag operation is triggered by the joystick component; for example, the human-computer interaction operation corresponding to the drag operation is performed on the joystick component.

[0120] Step 532 can be implemented as follows: in response to a tap operation triggered by the button component, determine the first environmental position corresponding to the first sliding position.

[0121] The tap operation is triggered by the button component; for example, the human-computer interaction operation corresponding to the tap operation is performed on the button component. The tap operation can be implemented as a single press operation or any of the following: multiple consecutive press operations.

[0122] Step 542 can be implemented as follows: in response to the end of the drag operation on the joystick component, determine the second environmental position corresponding to the second sliding position.

[0123] As described above, the drag operation is triggered by the joystick component; the end of the drag operation is used to indicate the end of the human-computer interaction operation triggered by the joystick component, such as stopping a continuous drag on the joystick component.

[0124] Implementation method 3: Computer devices include mouse devices.

[0125] In this implementation, the first control component is provided by the mouse device included in the computer device, and the second control component includes the button component of the computer device.

[0126] In implementation method three, the continuous sliding operation includes moving the mouse device while holding down the first button of the mouse device, the position confirmation operation includes clicking the button component, and the end of the continuous sliding operation includes the end of holding down the first button of the mouse device.

[0127] Optionally, the button component includes at least one of a second button of a mouse device and a third button provided by a keyboard device included in a computer device.

[0128] Referring to Figure 6, the embodiment shown in Figure 4 further includes step 516; step 522 can be implemented as step 522b, step 532 can be implemented as step 532b, and step 542 can be implemented as step 542b:

[0129] Step 516: In response to holding down the first button, display a button prompt message.

[0130] For example, key prompts are used to indicate the name of the key component; as described above, the key component includes at least one of the second button of a mouse device and the third button provided by a keyboard device included in a computer device. The mouse device and keyboard device provide multiple buttons (such as the left mouse button, right mouse button, keyboard letter keys, keyboard number keys, etc.), and the key prompts display the name of the button that needs to be pressed to determine the first environmental location, avoiding confusion.

[0131] For example, key prompts may be displayed in at least one of the following ways: bubble messages, card messages, pop-up windows, etc. Optionally, in one example, key prompts may be displayed on the HUD layer to ensure immersiveness in the virtual environment.

[0132] Step 522b: Receive a movement operation on the mouse device while the first button of the mouse device is held down.

[0133] In this embodiment of the application, the continuous sliding operation is used to indicate that the press-and-hold operation of the first button is continuous, and the movement operation is triggered by the mouse device; for example, the human-computer interaction operation corresponding to the movement operation is performed on the mouse device.

[0134] Step 532b: In response to a tap operation triggered by the button component, determine the first environmental position corresponding to the first sliding position.

[0135] The tap operation is triggered by a button component; for example, the human-computer interaction operation corresponding to the tap operation is performed on the button component. The tap operation can be implemented as a single press or any of multiple consecutive presses.

[0136] Step 542b: In response to the end of the press-and-hold operation of the first button on the mouse device, determine the second environmental position corresponding to the second sliding position.

[0137] As described above, once the first button on the mouse device is pressed and held down, the continuous sliding operation ends and is no longer continuous; that is, the continuous sliding operation triggered by the mouse device ends.

[0138] Implementation method four: Computer equipment includes VR equipment.

[0139] The first control component includes a wearable handle for the VR device, and the second control component includes a button component for the VR device. Optionally, the wearable handle has a wearable lanyard or a ring-shaped sensor that is fitted around the wrist to detect wrist movement, so as to facilitate the user's grip on the wearable handle. The button component can be integrated into the wearable device or can be independent of the wearable handle.

[0140] In implementation method four, the continuous sliding operation includes a movement operation on the wearable handle, the position confirmation operation includes a tap operation on the button component, and the end of the continuous sliding operation includes stopping the movement operation on the joystick component. Accordingly, the steps in the embodiment shown in Figure 4 above are implemented as follows:

[0141] Step 522 can be implemented as: receiving a movement operation triggered by the wearable handle.

[0142] In this embodiment, the VR device is equipped with wearable controllers and button components at different spatial locations. Movement is triggered by the wearable controllers; exemplarily, the human-computer interaction corresponding to the movement operation is performed on the wearable controllers. The user moves the wearable controllers by swinging their limbs.

[0143] Step 532 can be implemented as follows: in response to a tap operation triggered by the button component, determine the first environmental position corresponding to the first sliding position.

[0144] The tap operation is triggered by the button component; for example, the human-computer interaction operation corresponding to the tap operation is performed on the button component. The tap operation can be implemented as a single press operation or any of the following: multiple consecutive press operations.

[0145] Step 542 can be implemented as follows: in response to the cessation of movement operation on the wearable handle, determine the second environmental position corresponding to the second sliding position.

[0146] As described above, the movement operation is triggered by the wearable handle; the movement stop is used to indicate that the wearable handle stops moving, and the user indicates their intention to determine the location of the second environment by no longer swinging their limbs.

[0147] Figure 7 shows a flowchart of a method for releasing a virtual skill provided in an exemplary embodiment of this application. The method is executed by a computer device. Specifically, based on the embodiment shown in Figure 3, it further includes steps 562 and 564:

[0148] Step 562: If there are at least two other virtual objects in the skill candidate range corresponding to the first environment location, determine the second virtual object from the at least two other virtual objects based on at least one of the skill type of the virtual skill, the object information of the at least two other virtual objects, and the object information of the first virtual object.

[0149] For example, the skill candidate range is constructed based on at least one permitted effective range of the virtual skill when the first environmental location is the release starting point. Taking the effective range of the virtual skill as a line segment of length 'a' as an example, the skill candidate range is a circular area with radius 'a' centered on the first environmental location. By determining a second virtual object among at least two other virtual objects, the direction of releasing the virtual skill is determined in step 564.

[0150] In various implementations of this application, the effective range of a virtual skill is an effective line segment, the release starting point is an endpoint of the effective line segment, and the direction from the first environmental position to the second environmental position is the direction of the effective line segment; and / or, the effective range of a virtual skill is an effective area, the release starting point is an edge point of the effective area, and the direction from the first environmental position to the second environmental position is the direction of the center line passing through the release starting point in the effective area.

[0151] Optionally, the shape of the effective area can be at least one of polygons such as octagon, hexagon, and pentagon, or at least one of curved shapes such as sector, ellipse, and circle. The centerline is the geometric center point of the effective area.

[0152] Step 564: If a second virtual object exists in the skill candidate range corresponding to the first environment position, in response to the end of the continuous sliding operation, control the first virtual object to release the virtual skill. The release starting point is the first environment position, and the release direction is from the first environment position to the object environment position.

[0153] In this step, by releasing the virtual skill along the direction from the first environmental position to the target environmental position, the release direction of the virtual skill is automatically determined (i.e., the direction from the first environmental position to the target environmental position), eliminating the need to adjust the second environmental position through human-computer interaction, thus improving the efficiency of human-computer interaction.

[0154] Wherein, the object environment location is the location of the second virtual object in the virtual environment; in the embodiments of this application, step 564 can be combined with the various steps in Figure 3 to form a new embodiment and be implemented separately, and this application does not limit this.

[0155] In summary, the method provided in this application, by controlling the first virtual object to release virtual skills along the direction from the first environmental position to the object's environmental position, automatically determines the release direction of the virtual skill and releases the virtual skill at the location of the second virtual object; it avoids the virtual skill failing to act on the virtual object; it enables the release starting point and release direction of the virtual skill to be indicated through continuous sliding operation; and it reduces the complexity of human-computer interaction in releasing virtual skills by eliminating the need to interrupt the continuous sliding operation during the release of the virtual skill.

[0156] The following section describes how the second virtual object is determined.

[0157] In one implementation, the skill type of the virtual skill includes attack type; accordingly, step 562 is implemented as follows:

[0158] • In response to the attack type, filter out at least two enemy virtual objects from at least two other virtual objects, and obtain the first filter condition corresponding to the attack type.

[0159] The attack type indicates that the virtual skill is allowed to be applied to enemy virtual objects; that is, at least two enemy virtual objects are selected in response to the attack type as the allowed targets of the virtual skill.

[0160] • Determine a second virtual object that satisfies the first screening condition based on at least one of the object information of at least two enemy virtual objects and the object information of the first virtual object.

[0161] The first screening criterion includes at least one of the following:

[0162] Among at least two enemy virtual objects, the virtual object that is closest to the first virtual object is selected based on the distance dimension to identify the second virtual object that poses a threat to launch a virtual attack against the first virtual object.

[0163] From at least two enemy virtual objects, the virtual object that caused virtual damage to the first virtual object is selected as the second virtual object that poses a real threat to the first virtual object based on the dimension of virtual damage caused at the current moment.

[0164] Among at least two enemy virtual objects, the virtual object that defeated the first virtual object at a historical moment is selected from the dimension of the enemy virtual object's historical information to identify the second virtual object that caused serious virtual damage to the first virtual object at a historical moment, thus defeating the first virtual object.

[0165] The virtual object with the lowest virtual health among at least two enemy virtual objects is identified as the second virtual object, increasing the probability of defeating the second virtual object through virtual skills.

[0166] Among at least two enemy virtual objects, the virtual object pre-marked by the first virtual object is identified as the virtual object to which the first virtual object intends to use virtual skills.

[0167] In another implementation, the skill type of the virtual skill includes a support type; accordingly, step 562 is implemented as follows:

[0168] • In response to the support type, filter out at least two friendly virtual objects from at least two other virtual objects, and obtain the second filter condition corresponding to the support type;

[0169] The support type indicates that the virtual skill is allowed to be applied to friendly virtual objects; that is, in response to the support type filtering, at least two friendly virtual objects are allowed to be applied to the virtual skill.

[0170] • Determine a second virtual object that satisfies the second screening condition based on at least one of the object information of at least two enemy virtual objects and the object information of the first virtual object;

[0171] The second screening criteria include at least one of the following:

[0172] Among at least two friendly virtual objects, the virtual object that is closest to the first virtual object is selected as the second virtual object that the first virtual object is willing to support based on the distance dimension.

[0173] At least two friendly virtual objects have a friendship relationship with the first virtual object, and the second virtual object that the first virtual object has the willingness to provide support is determined from the dimension of the friendship relationship.

[0174] Among at least two friendly virtual objects, the virtual object that supported the first virtual object at a historical moment is selected from the historical information of the friendly virtual objects to identify the second virtual object that provided support to the first virtual object at a historical moment.

[0175] Among at least two friendly virtual objects, the virtual object with the lowest virtual health is selected as the second virtual object that poses a survival risk in the virtual environment due to its low virtual health.

[0176] Among at least two enemy virtual objects, the virtual object pre-marked by the first virtual object is identified as the virtual object to which the first virtual object intends to use virtual skills.

[0177] Figure 8 shows a flowchart of a method for releasing a virtual skill provided in an exemplary embodiment of this application. This method can be executed by a computer device. Specifically, based on the embodiment shown in Figure 3, it further includes steps 571 to 573; optionally, based on Figure 8, it further includes steps 575 to 578 as shown in Figure 9:

[0178] Step 571: In response to the continuous sliding operation satisfying the sliding pause condition, determine the third environment position corresponding to the third sliding position of the continuous sliding operation.

[0179] Under the condition that the continuous sliding operation meets the sliding pause condition, the position of the third environment is determined while maintaining the continuity of the continuous sliding operation. The third sliding position is the sliding position when the continuous sliding operation meets the sliding pause condition, and the third moment is the moment when the continuous sliding operation meets the sliding pause condition.

[0180] The sliding pause condition is used to indicate that the sliding speed of a continuous sliding operation is less than the speed threshold, and / or the sliding position of a continuous sliding operation within a first time period does not exceed the sliding range.

[0181] Taking the computer device mentioned above, including a touch screen, as an example, the continuous swipe operation includes a touch swipe operation for a drag control. In the touch swipe operation, the drag control is held down. In response to the continuous swipe operation meeting the swipe pause condition, while holding down the drag control, the third environmental position is determined by the swipe speed and / or swipe position indication.

[0182] Step 572: In response to the end of the continuous sliding operation, determine the fourth environmental position corresponding to the fourth sliding position under the continuous sliding operation.

[0183] The fourth sliding position is the sliding position at the end of the continuous sliding operation, and the fourth moment is the moment when the continuous sliding operation ends.

[0184] Step 573: Control the first virtual object to release the virtual skill, with the release starting point at the third environment position and the release direction pointing from the third environment position to the fourth environment position.

[0185] For the descriptions of releasing virtual skills and determining the fourth environmental location in steps 572 and 573, please refer to the descriptions of releasing virtual skills and determining the second environmental location in the embodiment corresponding to Figure 3, and will not be repeated here.

[0186] It is understood that steps 571 to 573 in the embodiments of this application can be combined with the various steps in FIG3 to form a new embodiment and implemented separately. For example, the first step group including steps 571 to 573 and the second step group including steps 530 to 550 are parallel branches that are executed selectively.

[0187] Step 575: In response to the location cancellation operation, abandon the first environment location.

[0188] For example, after determining the first environmental location, a location cancellation operation is used to abandon using the first environmental location as the starting point for releasing the virtual skill; this step can also be called abandoning the release starting point. In various embodiments of this application, the timing of determining the first environmental location as the release starting point is not limited. Those skilled in the art can determine that the first environmental location is the release starting point of the virtual skill by using the displayed second skill indicator with the first environmental location as the release starting point.

[0189] The position cancellation operation can be triggered by a third control component, which can be at least one of the following: a control displayed on a touchscreen, a button provided by a gamepad / VR device, or a key provided by a mouse / keyboard device. The implementation of the third control component can be found in the description of the second control component above. Optionally, the third control component and the second control component can be located in different spatial positions.

[0190] Step 576: In response to the position confirmation operation, determine the fifth environmental position corresponding to the fifth sliding position of the continuous sliding operation;

[0191] After abandoning the first environmental position, the environmental position is re-determined upon receiving a new position confirmation operation. In this step, the position confirmation operation is used to indicate the fifth environmental position corresponding to the determined fifth sliding position. The fifth sliding position is the sliding position of the continuous sliding operation when the position confirmation operation is received again, and the fifth moment is the moment when the position confirmation operation is received again. For a related introduction to the fifth environmental position, please refer to step 530 above.

[0192] Figure 10 illustrates a schematic diagram of a virtual environment provided in an exemplary embodiment of this application. The undo control 355 is a control displayed on the touchscreen, and the position undo operation 355a is a human-computer interaction operation triggered by the undo control 355, such as any one of a click operation or a double-click operation.

[0193] In response to the position cancellation operation 335a, the first environmental position 325 is abandoned. For example, in response to the position cancellation operation 335a, the display of the second skill indicator 335 centered on the first environmental position 325 is canceled. After abandoning the first environmental position 325, the fifth environmental position corresponding to the fifth sliding position of the continuous sliding operation is re-determined through a position confirmation operation.

[0194] Step 577: In response to the end of the continuous sliding operation, determine the sixth environment position corresponding to the sixth sliding position of the continuous sliding operation.

[0195] The end of the continuous swipe operation triggers an indication to determine the sixth environmental position. This determined sixth environmental position is associated with the release of the virtual skill. The sixth swipe position is the position where the continuous swipe operation ended, and the sixth moment is the moment the continuous swipe operation ended. For more information on the sixth environmental position, please refer to step 540 above.

[0196] Step 578: Control the first virtual object to release the virtual skill, with the release starting point at the fifth environment position and the release direction pointing from the fifth environment position to the sixth environment position.

[0197] For example, a virtual skill has an effective range, and the fifth environmental location can be implemented as at least one of the following: an endpoint, a vertex, or any environmental location on an edge of the effective range.

[0198] In this embodiment, the fifth and sixth moments are both moments after the first moment. It is understood that steps 575 to 578 in this embodiment can be combined with the steps in Figure 3 to form a new embodiment and implemented independently. For example, the third step group including steps 575 to 578 and the second step group including steps 530 to 550 are parallel branches that can be executed selectively.

[0199] In summary, the method provided in this application, by receiving a continuous sliding operation and then receiving a location confirmation operation, uses the first environmental location as the starting point for releasing the virtual skill; without interrupting the continuous sliding operation, the continuous sliding operation is divided into two stages by receiving a location confirmation operation, thereby indicating the starting point and direction of the virtual skill release through the continuous sliding operation; and the continuous sliding operation does not need to be interrupted during the release of the virtual skill, reducing the complexity of human-computer interaction in releasing the virtual skill.

[0200] Next, the displayed skill indicator will be described; based on the embodiment corresponding to Figure 3, it also includes:

[0201] • Display the first skill indicator on the baseline of the virtual environment;

[0202] Referring to the second interface 320 in Figure 2, the first skill indicator 324 is used to indicate the permission setting area of ​​the release starting point of the virtual skill. The first skill indicator 324 indicates a circular area, indicating that the permission setting of the release starting point of the virtual skill is within the area around the first virtual object 312 at a distance not exceeding a distance threshold, which is the radius of the circular area indicated by the first skill indicator 324.

[0203] In one alternative example, based on the first candidate sliding position of the continuous sliding operation, the first candidate environment position corresponding to the first candidate sliding position is displayed on the first skill indicator;

[0204] For example, as the sliding position changes during a continuous sliding operation, the candidate environment position in the virtual environment corresponding to the sliding position is updated and displayed in real time on the first skill indicator.

[0205] • In response to a location confirmation operation, a second skill indicator is displayed based on the first environmental location;

[0206] Referring to the third interface 330 in Figure 2, the center position of the second skill indicator 335 is the first environment position 325, and the edge position of the second skill indicator 335 is used to indicate the candidate end position of the virtual skill when the first environment position 325 is the release starting point.

[0207] In one alternative example, a candidate direction is displayed on the second skill indicator based on a second candidate swipe position of the continuous swipe operation;

[0208] The candidate direction points from the first environment position to the second candidate environment position, which corresponds to the second candidate sliding position. For example, as the sliding position changes during continuous sliding, the candidate environment position in the virtual environment corresponding to the sliding position is updated and displayed in real time on the second skill indicator. For instance, the candidate direction pointing from the first environment position to the second candidate environment position is displayed on the second skill indicator.

[0209] Figure 11 shows a schematic diagram of releasing virtual skills provided in an exemplary embodiment of this application.

[0210] As shown in sub-figure (a), when the first environment position corresponding to the first sliding position of the continuous sliding operation is determined, a first position vector 612 is also obtained. The first position vector 612 is used to indicate the vector information of the first object position 610 of the first virtual object pointing to the first environment position.

[0211] When the second environmental position corresponding to the second sliding position of the continuous sliding operation is determined, a second position vector 614 is also obtained. The second position vector 614 is used to indicate the vector information from the first environmental position to the second environmental position.

[0212] As shown in sub-figure (b), the position of the first virtual object changes, moving from the first object position 610 to the second object position 620. Because the first position vector 612 and the second position vector 614 are obtained, even if the position of the first virtual object changes, the starting point and direction of the virtual skill release can still be determined using the first virtual object as a reference frame.

[0213] Those skilled in the art will understand that the above embodiments can be implemented independently, or the above embodiments can be freely combined to create new embodiments to implement the virtual skill release method of this application.

[0214] Figure 12 shows a structural block diagram of a virtual skill release device provided in an exemplary embodiment of this application. The device includes:

[0215] Display module 810 is used to display a first virtual object, which is located in a virtual environment and has virtual skills.

[0216] The receiving module 820 is used to receive continuous sliding operations, wherein different sliding positions of the continuous sliding operations correspond to different environmental positions, and the environmental position refers to the position in the virtual environment;

[0217] Processing module 830 is used to determine the first environmental position corresponding to the first sliding position of the continuous sliding operation in response to the position confirmation operation;

[0218] The processing module 830 is further configured to determine the second environmental position corresponding to the second sliding position of the continuous sliding operation in response to the end of the continuous sliding operation;

[0219] The control module 840 is used to control the first virtual object to release the virtual skill, with the release starting point being the first environmental position and the release direction being from the first environmental position to the second environmental position.

[0220] In an optional implementation of this application embodiment, the computer device provides a first control component and a second control component located at different spatial positions; the receiving module 820 is further configured to: receive the continuous sliding operation triggered by the first control component;

[0221] The processing module 830 is further configured to: determine the first environmental position corresponding to the first sliding position in response to the position confirmation operation triggered by the second control component; and determine the second environmental position corresponding to the second sliding position in response to the end of the continuous sliding operation on the first control component.

[0222] In an optional implementation of this application, the computer device includes a touchscreen, the first control component includes a drag control displayed on the touchscreen, and the second control component includes a confirmation control displayed on the touchscreen; the display module 810 is further configured to: display the drag control and the confirmation control; wherein, the continuous sliding operation includes a touch sliding operation on the drag control, the position confirmation operation includes a trigger operation on the confirmation control, and the end of the continuous sliding operation includes the end of the touch sliding operation on the drag control.

[0223] In an optional implementation of this application, the display module 810 is further configured to: display the skill controls of the first virtual object and the virtual skill; in response to a press-and-hold operation on the skill control, switch the display of the skill control to the drag control, and display the confirmation control.

[0224] In an optional implementation of this application, the computer device includes a gamepad device; the first control component includes a joystick component of the gamepad device, and the second control component includes a button component of the gamepad device; wherein, the continuous sliding operation includes a dragging operation on the joystick component, the position confirmation operation includes a tapping operation on the button component, and the end of the continuous sliding operation includes the end of the dragging operation on the joystick component.

[0225] In an optional implementation of this application, the first control component is provided by a mouse device included in the computer device, and the second control component includes a button component of the computer device; wherein, the continuous sliding operation includes a movement operation of the mouse device while holding down the first button of the mouse device, the position confirmation operation includes a click operation of the button component, and the end of the continuous sliding operation includes the end of the holding down operation of the first button of the mouse device.

[0226] In an optional implementation of this application embodiment, the display module 810 is further configured to: display key prompt information in response to holding down the first key, the key prompt information being used to indicate the name of the key component; wherein, the key component includes at least one of the second key of the mouse device and the third key provided by the keyboard device included in the computer device.

[0227] In an optional implementation of this application, the computer device includes a VR device, the first control component includes a wearable handle of the VR device, and the second control component includes a button component of the VR device; wherein, the continuous sliding operation includes a movement operation on the wearable handle, the position confirmation operation includes a tap operation on the button component, and the end of the continuous sliding operation includes stopping the movement operation on the joystick component.

[0228] In an optional implementation of this application, the display module 810 is further configured to: display a first skill indicator on the reference surface of the virtual environment, the first skill indicator indicating the permission setting area of ​​the release starting point of the virtual skill; and, in response to the location confirmation operation, display a second skill indicator based on the first environment location; the center position of the second skill indicator is the first environment location, and the edge position of the second skill indicator is used to indicate the candidate end position of the virtual skill when the first environment location is the release starting point.

[0229] In an optional implementation of this application embodiment, the display module 810 is further configured to: display a first candidate environment position corresponding to the first candidate sliding position on the first skill indicator based on the first candidate sliding position of the continuous sliding operation; and display a candidate direction on the second skill indicator based on the second candidate sliding position of the continuous sliding operation; wherein the candidate direction is the direction from the first environment position to the second candidate environment position, and the second candidate environment position corresponds to the second candidate sliding position.

[0230] In an optional implementation of this application embodiment, the processing module 830 is further configured to: determine a third environmental position corresponding to the third sliding position of the continuous sliding operation in response to the continuous sliding operation satisfying the sliding pause condition; and determine a fourth environmental position corresponding to the fourth sliding position of the continuous sliding operation in response to the end of the continuous sliding operation.

[0231] The control module 840 is further configured to: control the first virtual object to release the virtual skill, with the release starting point being the third environmental position and the release direction pointing from the third environmental position to the fourth environmental position; wherein, the sliding pause condition is used to indicate that the sliding speed of the continuous sliding operation is less than the speed threshold, and / or the sliding position of the continuous sliding operation within a first time period does not exceed the sliding range.

[0232] In an optional implementation of this application embodiment, the control module 840 is further configured to: when a second virtual object exists in the skill candidate range corresponding to the first environmental position, in response to the end of the continuous sliding operation, control the first virtual object to release the virtual skill, with the release starting point being the first environmental position and the release direction pointing from the first environmental position to the object environment position; wherein, the object environment position is the position of the second virtual object in the virtual environment; the skill candidate range is constructed based on at least one permitted effective range of the virtual skill when the first environmental position is the release starting point.

[0233] In an optional implementation of this application, the processing module 830 is further configured to: when there are at least two other virtual objects in the skill candidate range corresponding to the first environment location, determine the second virtual object from the at least two other virtual objects based on at least one of the skill type of the virtual skill, the object information of the at least two other virtual objects, and the object information of the first virtual object.

[0234] In an optional implementation of this application embodiment, the skill type of the virtual skill includes an attack type, and the processing module 830 is further configured to: in response to the attack type, filter out at least two enemy virtual objects from the at least two other virtual objects, and obtain a first filtering condition corresponding to the attack type; determine a second virtual object that satisfies the first filtering condition based on at least one of the object information of the at least two enemy virtual objects and the object information of the first virtual object; wherein, the first filtering condition includes at least one of the following: the virtual object closest to the first virtual object among the at least two enemy virtual objects, the virtual object that caused virtual damage to the first virtual object among the at least two enemy virtual objects, the virtual object that defeated the first virtual object at a historical moment among the at least two enemy virtual objects, the virtual object with the lowest virtual health among the at least two enemy virtual objects, and the virtual object that was pre-marked by the first virtual object among the at least two enemy virtual objects.

[0235] In an optional implementation of this application embodiment, the skill type of the virtual skill includes a support type, and the processing module 830 is further configured to: in response to the support type, filter out at least two friendly virtual objects from the at least two other virtual objects, and obtain a second filtering condition corresponding to the support type; determine the second virtual object that satisfies the second filtering condition based on at least one of the object information of the at least two enemy virtual objects and the object information of the first virtual object; wherein, the second filtering condition includes at least one of the following: the virtual object closest to the first virtual object among the at least two friendly virtual objects, the virtual object with a friend relationship with the first virtual object among the at least two friendly virtual objects, the virtual object that supported the first virtual object at a historical moment among the at least two friendly virtual objects, the virtual object with the lowest virtual health among the at least two friendly virtual objects, and the virtual object pre-marked by the first virtual object among the at least two enemy virtual objects.

[0236] In an optional implementation of this application embodiment, the processing module 830 is further configured to: abandon the first environmental position in response to the position cancellation operation; determine the fifth environmental position corresponding to the fifth sliding position of the continuous sliding operation in response to the position confirmation operation; and determine the sixth environmental position corresponding to the sixth sliding position of the continuous sliding operation in response to the end of the continuous sliding operation.

[0237] The control module 840 is further configured to: control the first virtual object to release the virtual skill, with the release starting point being the fifth environmental position and the release direction pointing from the fifth environmental position to the sixth environmental position.

[0238] In an optional implementation of this application embodiment, the effective range of the virtual skill is an effective line segment, the release starting point is an endpoint of the effective line segment, and the direction from the first environmental position to the second environmental position is the direction of the effective line segment;

[0239] And / or, the effective range of the virtual skill is an effective area, the release starting point is an edge point of the effective area, and the direction from the first environmental position to the second environmental position is the direction of the center line of the effective area passing through the release starting point.

[0240] It should be noted that the device provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0241] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments of the relevant method; the technical effects achieved by each module performing its operation are the same as the technical effects in the embodiments of the relevant method, and will not be elaborated here.

[0242] This application also provides a computer device, which includes a processor and a memory, wherein the memory stores a computer program; the processor is used to execute the computer program in the memory to implement the virtual skill release method provided in the above method embodiments.

[0243] Figure 13 shows a structural block diagram of a terminal provided in an exemplary embodiment of this application. The terminal 1900 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 1900 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0244] Typically, terminal 1900 includes a processor 1901 and a memory 1902. Processor 1901 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Memory 1902 may include one or more computer-readable storage media, which may be non-transitory. In some embodiments, the non-transitory computer-readable storage media in memory 1902 is used to store at least one instruction, which is executed by processor 1901 to implement the virtual skill release method provided in the method embodiments of this application.

[0245] In some embodiments, the terminal 1900 may also optionally include a peripheral device interface 1903 and at least one peripheral device. The processor 1901, memory 1902, and peripheral device interface 1903 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1903 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1904, a touch display screen 1905, a camera assembly 1906, an audio circuit 1907, and a power supply 1908.

[0246] Peripheral interface 1903 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1901 and memory 1902. Radio frequency (RF) circuitry 1904 is used to receive and transmit RF signals, also known as electromagnetic signals. Touchscreen display 1905 is used to display the user interface (UI). Camera assembly 1906 is used to capture images or video. Audio circuitry 1907 may include a microphone and a speaker. The microphone is used to capture sound waves from the user and environment, converting the sound waves into electrical signals that are input to processor 1901 for processing, or input to RF circuitry 1904 for voice communication. The speaker is used to convert electrical signals from processor 1901 or RF circuitry 1904 into sound waves. Power supply 1908 is used to power the various components in terminal 1900. In some embodiments, terminal 1900 also includes one or more sensors 1909. The one or more sensors 1909 include, but are not limited to: an accelerometer 1910, a gyroscope 1911, a pressure sensor 1912, an optical sensor 1913, and a proximity sensor 1914.

[0247] Those skilled in the art will understand that the above structure does not constitute a limitation on the terminal 1900, and may include more or fewer components than shown, or combine certain components, or adopt different component arrangements.

[0248] In an exemplary embodiment, a chip is also provided, the chip including programmable logic circuitry and / or program instructions, which, when the chip is run on a computer device, are used to implement the virtual skill release method described above.

[0249] In an exemplary embodiment, a computer program product is also provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to implement the virtual skill release method provided in the above-described method embodiments.

[0250] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores a computer program that is loaded and executed by a processor to implement the virtual skill release method provided in the above-described method embodiments.

[0251] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0252] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.

[0253] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for releasing a virtual skill, the method being executed by a computer device, the method comprising: Display a first virtual object, which is located in a virtual environment and possesses virtual skills; Receive a continuous sliding operation, wherein different sliding positions of the continuous sliding operation correspond to different environmental positions, and the environmental position refers to the position in the virtual environment; In response to the position confirmation operation, the first environmental position corresponding to the first sliding position of the continuous sliding operation is determined; In response to the end of the continuous sliding operation, a second environmental position corresponding to the second sliding position of the continuous sliding operation is determined; Control the first virtual object to release the virtual skill, with the release starting point being the first environmental position and the release direction pointing from the first environmental position to the second environmental position.

2. The method according to claim 1, wherein, The computer device is provided with a first control component and a second control component located in different spatial positions; The receiving of continuous sliding operations includes: Receive the continuous sliding operation triggered by the first control component; The step of determining the first environmental position corresponding to the first sliding position of the continuous sliding operation in response to the position confirmation operation includes: In response to the position confirmation operation triggered by the second control component, the first environmental position corresponding to the first sliding position is determined; The step of determining the second environmental position corresponding to the second sliding position of the continuous sliding operation in response to the end of the continuous sliding operation includes: In response to the end of the continuous sliding operation on the first control component, the second environmental position corresponding to the second sliding position is determined.

3. The method of claim 2, wherein, The computer device includes a touchscreen, the first control component includes a drag control displayed on the touchscreen, and the second control component includes a confirmation control displayed on the touchscreen; the method further includes: Display the drag-and-drop control and the confirmation control; The continuous sliding operation includes a touch sliding operation on the drag control, the position confirmation operation includes a trigger operation on the confirmation control, and the end of the continuous sliding operation includes the end of the touch sliding operation on the drag control.

4. The method of claim 3, wherein, The display of the first virtual object includes: Displays skill controls for the first virtual object and the virtual skill; The display of the drag-and-drop control and the confirmation control includes: In response to a press-and-hold operation on the skill control, the skill control is switched to be displayed as the drag control, and the confirmation control is displayed.

5. The method according to any one of claims 2 to 4, wherein, The computer device includes a handheld device; the first control component includes a joystick component of the handheld device, and the second control component includes a button component of the handheld device; The continuous sliding operation includes a dragging operation on the joystick component, the position confirmation operation includes a tapping operation on the button component, and the end of the continuous sliding operation includes the end of the dragging operation on the joystick component.

6. The method according to any one of claims 1 to 5, wherein, After receiving the continuous sliding operation, the method further includes: A first skill indicator is displayed on the reference plane of the virtual environment. The first skill indicator is used to indicate the permission setting area of ​​the release starting point of the virtual skill. The method further includes: In response to the location confirmation operation, a second skill indicator is displayed based on the first environmental location; the center of the second skill indicator is the first environmental location, and the edge of the second skill indicator is used to indicate the candidate end location of the virtual skill when the first environmental location is the release starting point.

7. The method of claim 6, wherein, The method further includes: Based on the first candidate sliding position of the continuous sliding operation, the first candidate environment position corresponding to the first candidate sliding position is displayed on the first skill indicator; Based on the second candidate sliding position of the continuous sliding operation, a candidate direction is displayed on the second skill indicator; the candidate direction points from the first environment position to the second candidate environment position, and the second candidate environment position corresponds to the second candidate sliding position.

8. The method of any one of claims 1 to 7, wherein, The method further includes: In response to the continuous sliding operation satisfying the sliding pause condition, the third environmental position corresponding to the third sliding position of the continuous sliding operation is determined; In response to the end of the continuous sliding operation, the fourth environmental position corresponding to the fourth sliding position of the continuous sliding operation is determined; Control the first virtual object to release the virtual skill, with the release starting point being the third environmental position and the release direction pointing from the third environmental position to the fourth environmental position; The sliding pause condition is used to indicate that the sliding speed of the continuous sliding operation is less than the speed threshold, and / or the sliding position of the continuous sliding operation within a first time period does not exceed the sliding range.

9. The method of any one of claims 1 to 8, wherein, The method further includes: If a second virtual object exists in the skill candidate range corresponding to the first environmental position, in response to the end of the continuous sliding operation, the first virtual object is controlled to release the virtual skill, with the release starting point being the first environmental position and the release direction pointing from the first environmental position to the object environmental position. Wherein, the object environment location is the location of the second virtual object in the virtual environment; the skill candidate range is constructed based on at least one license effective range of the virtual skill when the first environment location is the release starting point.

10. The method of claim 9, wherein, The method further includes: If there are at least two other virtual objects in the skill candidate range corresponding to the first environmental location, the second virtual object is determined from the at least two other virtual objects based on at least one of the skill type of the virtual skill, the object information of the at least two other virtual objects, and the object information of the first virtual object.

11. The method according to any one of claims 1 to 10, wherein, After determining the first environmental position corresponding to the first sliding position of the continuous sliding operation in response to the position confirmation operation, the method further includes: In response to a location cancellation operation, the first environmental location is abandoned; In response to the position confirmation operation, the fifth environmental position corresponding to the fifth sliding position of the continuous sliding operation is determined; In response to the end of the continuous sliding operation, the sixth environmental position corresponding to the sixth sliding position of the continuous sliding operation is determined; Control the first virtual object to release the virtual skill, with the release starting point being the fifth environmental position and the release direction pointing from the fifth environmental position to the sixth environmental position.

12. A device for releasing a virtual skill, the device comprising: A display module is used to display a first virtual object, which is located in a virtual environment and has virtual skills. The receiving module is used to receive continuous sliding operations, wherein different sliding positions of the continuous sliding operations correspond to different environmental positions, and the environmental position refers to the position in the virtual environment; The processing module is used to determine the first environmental position corresponding to the first sliding position of the continuous sliding operation in response to the position confirmation operation; The processing module is further configured to determine the second environmental position corresponding to the second sliding position of the continuous sliding operation in response to the end of the continuous sliding operation; The control module is used to control the first virtual object to release the virtual skill from the first environmental position as the release starting point, in a direction pointing from the first environmental position to the second environmental position.

13. A computer device, the computer device comprising: A processor and a memory, wherein the memory stores at least one program; The processor is configured to execute the at least one program in the memory to implement the virtual skill release method as described in any one of claims 1 to 11.

14. A computer-readable storage medium storing a computer program, the computer program being loaded and executed by a processor to implement the method for releasing virtual skills as described in any one of claims 1 to 11.

15. A computer program product comprising computer instructions stored in a computer-readable storage medium, wherein a processor reads from and executes the computer instructions to implement the virtual skill release method as described in any one of claims 1 to 11.