Virtual skill casting method and apparatus, device, and storage medium

WO2026175109A1PCT designated stage Publication Date: 2026-08-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/075264
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-02-20
Filing Date
2026-01-27
Publication Date
2026-08-27

Smart Images

  • Figure CN2026075264_27082026_PF_FP_ABST
    Figure CN2026075264_27082026_PF_FP_ABST
Patent Text Reader

Abstract

A virtual skill casting method, comprising: displaying a first virtual object (312), wherein the first virtual object (312) is located in a virtual environment, and the first virtual object (312) has a virtual skill; receiving a continuous swipe operation, wherein different swipe positions of the continuous swipe operation correspond to different environmental positions; when the swipe positions remain within a swipe range for a first duration, determining a first environmental position corresponding to a first swipe position of the continuous swipe operation (325), wherein the swipe range is determined on the basis of a swipe position at a start moment of the first duration; when the continuous swipe operation ends, determining a second environmental position corresponding to a second swipe position of the continuous swipe operation; and controlling the first virtual object (312) to cast the virtual skill, wherein the casting starting point is the first environmental position (325), and the casting direction points from the first environmental position (325) to the second environmental position. Further provided are a virtual skill casting apparatus, a computer device, a computer-readable storage medium, and a computer program product. The virtual skill casting method reduces the complexity of human-computer interaction during virtual skill casting.
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. 202510196708.7, filed on February 20, 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, where it is often necessary to control 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 located in a virtual environment, the first virtual object possessing virtual skills; receive a continuous swipe operation, the different swipe positions of the continuous swipe operation corresponding to different environmental positions, the environmental position referring to the position in the virtual environment; in response to a first duration in which the swipe position does not exceed the swipe range, determine a first environmental position corresponding to the first swipe position of the continuous swipe operation, the swipe range being determined based on the swipe position at the start of the first duration; in response to the end of the continuous swipe operation, determine a second environmental position corresponding to the second swipe position of the continuous swipe operation; control the first virtual object to release the virtual skill, the release starting point being the first environmental position and the release direction being from the first environmental position to the second environmental position.

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

[0009] A display module is used to display a first virtual object, which is located in a virtual environment and possesses virtual skills. A receiving module is used to 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. A processing module is used to determine a first environmental position corresponding to the first sliding position of the continuous sliding operation in response to a first duration in which the sliding position does not exceed the sliding range, wherein the sliding range is determined based on the sliding position at the start of the first duration. The processing module is also used to determine a 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 processing module is also used to control the first virtual object to release the virtual skill, wherein the release starting point is the first environmental position and the release direction is from the first environmental position to the second environmental position.

[0010] 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.

[0011] 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.

[0012] 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

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

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

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

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

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

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

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

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

[0021] Figure 9 is a schematic diagram of a settings control provided in an exemplary embodiment of this application;

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

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

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

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

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

[0027] 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, information such as continuous swipe operations and game history behavior involved in this application were obtained with full authorization.

[0028] 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."

[0029] 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.

[0030] 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.

[0031] 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.

[0032] 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 can 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 can belong to different factions, different teams, different organizations, or have an adversarial relationship.

[0033] 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.

[0034] 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.

[0035] 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.

[0036] 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.

[0037] 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.

[0038] 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.

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

[0040] In the first interface 310, the first virtual object 312 is displayed. In this embodiment of the application, the method of releasing virtual skills 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.

[0041] 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.

[0042] 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-and-drop control 322.

[0043] The system receives touch swipe operations 322a triggered by drag control 322. It can be seen that touch swipe operation 322a is triggered by drag control 322; for example, in the second interface 320, touch swipe operation 322a involves dragging the joystick of drag control 322 to the upper right.

[0044] 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.

[0045] In response to the touch swipe operation 322a, a first environmental position 325 is determined corresponding to the first swipe position when the swipe position does not exceed the swipe range for a first duration. 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 swipe position of the touch swipe operation 322a and the initial position of the joystick of the drag control 322.

[0046] If the duration of the touch swipe operation 322a within which the swipe position does not exceed the swipe range reaches a first duration, a third interface 330 is displayed; in the third interface 330, 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.

[0047] 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.

[0048] 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.

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

[0050] Figure 3 illustrates a flowchart of a method for releasing a virtual skill according to an exemplary embodiment of this application. This method can be executed by a computer device. The method includes:

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

[0052] 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.

[0053] 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; the embodiments of this application do not limit the skill effects of virtual skills.

[0054] 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.

[0055] Step 520: Receive continuous swipe operations.

[0056] 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 obtaining a continuous sliding operation, at least two adjacent moments must also have a continuous sliding operation. There are no restrictions on the sliding position of the virtual sliding operation, allowing the continuous sliding operation to have the same sliding position at two (or more) moments.

[0057] A continuous swipe operation takes place on the display screen of a computer device and can be located on controls displayed on that 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. Further, the environmental location corresponding to the swipe position 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.

[0058] 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. The embodiments of this application only limit the continuous sliding operation to exist (or be triggered continuously) in time.

[0059] 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.

[0060] Step 530: In response to the duration during which the sliding position does not exceed the sliding range reaching a first duration, determine the first environmental position corresponding to the first sliding position of the continuous sliding operation.

[0061] For example, a single sliding position in a continuous sliding operation has a unique corresponding environmental location within the virtual environment. If the sliding position remains within its sliding range for a duration equal to a first duration, the user controlling the first virtual object has the intention to determine the first environmental location, and this determined first environmental location is associated with the release of the virtual skill. The first sliding position refers to the location where the continuous sliding operation takes place when the sliding position remains within its sliding range for the duration equal to the first duration.

[0062] As described above, the continuous sliding operation exists sequentially, and a sliding position exists at any moment when a continuous sliding operation is received. Taking the moment when the sliding position does not exceed the sliding range for a duration of a first duration as the first moment, the first sliding position is the instantaneous position of the continuous sliding operation at the first moment. 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.

[0063] For example, a continuous swipe operation is a continuous human-computer interaction operation at least twice, in which the user adjusts the position related to the release of a virtual skill by performing the human-computer interaction operation. In response to the duration during which the swipe position does not exceed the swipe range reaching a first duration, it indicates that the position indicated by the continuous swipe operation is close to the user's desired position, and no further movement is required for adjustment; in this step, a first environmental position corresponding to the first swipe position is determined.

[0064] In this step, the sliding range is determined based on the sliding position of the continuous sliding operation at the start of timing. It can include the sliding position at the start of timing as well as other sliding positions. For example, the sliding range includes the first sliding position of the continuous sliding operation when the sliding position has not exceeded the sliding range for a duration equal to a first duration. Therefore, the first moment is the end moment of the first duration, and the sliding range includes the first sliding position and the sliding position at the start moment of the first duration.

[0065] Optionally, the sliding range is determined based on the sliding position at the start of the first duration. This sliding position can be any position, or a sliding position that satisfies the target condition. In one example, the sliding range is the region centered on the sliding position at the start of the first duration.

[0066] In other words, timing begins when a sliding position of the continuous sliding operation is determined. This sliding position is the starting point of the timing duration, and the corresponding sliding range is determined based on this sliding position. When the timing duration reaches the first duration, it means that within the first duration after that sliding position, the sliding position of the continuous sliding operation has not exceeded the sliding range. An example of determining the sliding position to start timing is detailed in step 535 below, and will not be repeated here.

[0067] 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.

[0068] The end of the continuous sliding operation triggers an indication message to determine the location of the second environment, which is associated with the release of the virtual skill. Referring to the description in step 530, this application does not impose any restrictions on the method of determining the location of the second environment.

[0069] The second environmental position is determined based on the triggering of the end of the continuous sliding operation; for example, the second moment is no later than the end moment of the continuous sliding operation. For instance, the second sliding position refers to the sliding position at the end of the continuous sliding operation.

[0070] Step 550: Control the first virtual object to release virtual skills, 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.

[0071] 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.

[0072] 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.

[0073] 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.

[0074] 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.

[0075] The method provided in this application, by receiving a continuous sliding operation, takes the first environmental position corresponding to the first sliding position of the continuous sliding operation as the starting point for releasing the virtual skill when the duration of the sliding position not exceeding the sliding range reaches a first duration. Without interrupting the continuous sliding operation, the continuous sliding operation is divided into two stages based on the duration of the sliding position not exceeding the sliding range reaching the first duration, thus realizing the indication of the starting point and direction of the release of the virtual skill through the continuous sliding operation. 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.

[0076] 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.

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

[0078] In this embodiment, the computer device provides a first control component. The first control component may be provided by a hardware component of the computer device, or it may be provided in a portion of a hardware component. This will be described below through separate embodiments. In one example, the first control component is a joystick-type control component (such as a displayed virtual joystick or a physical joystick).

[0079] 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.

[0080] Step 532: In response to the duration during which the sliding position of the continuous sliding operation triggered by the first control component does not exceed the sliding range for a first duration, the first environmental position corresponding to the first sliding position is determined.

[0081] As described above, the continuous sliding operation is triggered by the first control component; for example, the continuous sliding operation is a continuous human-computer interaction operation performed on the first control component. If the sliding position of the continuous sliding operation triggered by the first control component does not exceed the sliding range for a duration reaching a first duration, the environmental position corresponding to the sliding position in the virtual environment does not exceed the reference range in the virtual environment.

[0082] For example, the reference range includes the first environmental position corresponding to the first sliding position and the environmental position corresponding to the sliding position at the start of the first duration. Similar to the description above, optionally, the reference range is determined based on the environmental position corresponding to the sliding position at the start of the first duration, which can be any position or a sliding position that satisfies the target condition. In one example, the reference range is the region centered on the environmental position corresponding to the sliding position at the start of the first duration.

[0083] In this embodiment, the correspondence between the first sliding position and the first environmental position is described. At the first moment, 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 corresponding initial environmental position in the virtual environment is moved to obtain the first environmental position. The relative position is used to indicate the direction and distance of the movement to the initial environmental position. For example, if the first sliding position is above the initial sliding position, the initial environmental position in the virtual environment is moved upwards to determine the first environmental position corresponding to the first sliding position.

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

[0085] 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.

[0086] In summary, the method provided in this application embodiment includes a computer device with a control component. By receiving a continuous sliding operation triggered on the first control component, and when the duration during which the sliding position does not exceed the sliding range reaches a first duration, the first environmental position corresponding to the first sliding position of the continuous sliding operation 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 based on the duration during which the sliding position does not exceed the sliding range reaching the first duration. This achieves the goal of indicating the starting point and direction of releasing the virtual skill through the continuous sliding operation. During the release of the virtual skill, there is no need to interrupt the continuous sliding operation, and no need to perform any other operations besides the continuous sliding operation, thus reducing the complexity of human-computer interaction in releasing the virtual skill.

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

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

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

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

[0091] Implementation method four: Computer equipment includes VR devices.

[0092] The four implementation methods are described below:

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

[0094] In this implementation, the first control component includes a drag-and-drop 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 section and a virtual joystick section, and a dragging operation on a physical joystick component is simulated by a touch sliding operation on the virtual joystick section.

[0095] Referring to Figure 5, based on the embodiment shown in Figure 4, step 510 can be implemented as step 512, and also includes step 515:

[0096] Step 512: Display the skill controls for the first virtual object and the virtual skill. The first virtual object is located in the virtual environment and has the virtual skill.

[0097] 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.

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

[0099] Step 515: In response to a press and hold operation on the skill control, switch the display of the skill control as a drag-and-drop control.

[0100] 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, the continuity between pressing and holding the skill control and the continuous swiping operation triggered by the drag-and-drop control is ensured. 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 a touch swipe operation on the drag-and-drop control.

[0101] The continuous sliding operation includes touch sliding operations on a drag-and-drop control, which are triggered by dragging the control. For example, the human-computer interaction operation corresponding to the touch sliding operation is applied to the drag-and-drop control. The sliding range is the screen area on the touchscreen, determined based on the drag position of the drag-and-drop control at the start of the timer. It can include the drag position at the start of the timer and other drag positions. For example, the sliding range includes the drag position of the drag-and-drop control when the drag position does not exceed the sliding range for a first duration, i.e., the first sliding position. The end of the continuous sliding operation includes the end of the touch sliding operation on the drag-and-drop control. For example, the end of the touch sliding operation is used to indicate the end of the human-computer interaction operation triggered by the drag-and-drop control, such as stopping a continuous sliding operation on the touchscreen.

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

[0103] In this implementation, the first control component includes a joystick component of the handle device; further, the handle device may include multiple joystick components. The first control component can be implemented as any one of the multiple joystick components.

[0104] Continuous sliding operation includes dragging operations on the joystick component, which are triggered by the joystick component. End of continuous sliding operation includes the end of dragging operations on the joystick component; the end of dragging operation indicates the end of a human-computer interaction operation triggered by the joystick component, such as the cessation of continuous dragging on the joystick component. The sliding range is the area of ​​joystick movement within the joystick component. The sliding range is determined based on the dragging position of the joystick component at the start of the timer and can include the dragging position at the start of the timer as well as other dragging positions. For example, the sliding range includes the dragging position of the joystick component when the dragging position has not exceeded the sliding range for a first duration, i.e., the first sliding position.

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

[0106] In this implementation, the first control component is provided by the mouse device included in the computer device. Furthermore, the first control component includes the buttons of the mouse device and the movement information acquisition component of the mouse device.

[0107] A sustained sliding operation includes moving the mouse device while holding down the first button. The end of the sustained sliding operation includes the termination of holding down the first button. The sliding range is the range of movement of the mouse device, determined based on the mouse device's position at the start of timing. It may include the initial position as well as other positions. For example, the sliding range includes the mouse device's position when the movement does not exceed the sliding range for a first duration, i.e., the first sliding position.

[0108] Implementation method four: Computer equipment includes VR devices.

[0109] In this implementation, the first control component includes a wearable handle for the VR device; further, the wearable handle has a wearable strap or a ring sensor that is fitted around the wrist to detect wrist movement, so that the user can hold the wearable handle.

[0110] A continuous sliding operation includes a movement operation on the wearable handle, triggered by the wearable handle. The end of the continuous sliding operation includes the cessation of the movement operation on the wearable handle. For example, the human-computer interaction operation corresponding to the movement operation is performed on the wearable handle. The user moves the wearable handle by swinging their limbs. The cessation of movement operation is used to indicate that the wearable handle stops moving, and the user's cessation of limb swinging indicates their intention to determine a second environmental position. The sliding range is the range of movement of the wearable handle, determined based on the position of the wearable handle at the start of timing. It may include the position at the start of timing and other positions, for example, the sliding range includes the position of the wearable handle when the movement position has not exceeded the sliding range for a first duration, i.e., the first sliding position.

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

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

[0113] 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; wherein, the first skill indicator 324 indicates a circular area, indicating that the permission setting of the release starting point of the virtual skill is in the area where the distance to the periphery of the first virtual object 312 does not exceed a distance threshold, and the distance threshold is the radius of the circular area indicated by the first skill indicator 324.

[0114] 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;

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

[0116] • In response to the duration during which the sliding position does not exceed the sliding range for a first duration, a second skill indicator is displayed based on the first environmental position;

[0117] 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.

[0118] 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.

[0119] Here, the candidate direction is the direction from the first environmental position to the second candidate environmental position, and the second candidate environmental position corresponds to the second candidate sliding position. For example, as the sliding position changes during continuous sliding, the candidate environmental position corresponding to the sliding position is updated and displayed in real time on the second skill indicator, such as displaying the candidate direction from the first environmental position to the second candidate environmental position on the second skill indicator.

[0120] Figure 6 illustrates a schematic diagram of releasing virtual skills provided in an exemplary embodiment of this application.

[0121] As shown in sub-figure (a) of Figure 6, after determining the first environment position corresponding to the first sliding position of the continuous sliding operation, the 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.

[0122] In the case that the second environment 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 environment position to the second environment position.

[0123] As shown in sub-figure (b) of Figure 6, 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, it is still possible to determine the starting point and direction of the virtual skill release using the first virtual object as a reference frame.

[0124] Figure 7 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 530 can be implemented as steps 535 and 536:

[0125] Step 535: In response to the continuous sliding operation, the distance between the fourth sliding position at the fourth time and the third sliding position at the third time is less than the distance threshold, and the timer is displayed.

[0126] If the distance between the fourth sliding position at the fourth moment and the third sliding position at the third moment is less than a distance threshold, it is assumed that the user intends to determine the release position of the virtual skill. A timer is displayed to present timing information for determining the release position of the virtual skill.

[0127] For example, the timer's timing threshold is a first duration, and the fourth moment is the moment after the third moment. In this embodiment, if the timer is not reset, the time interval between the fourth moment and the first moment is the first duration, and the fourth moment is the start moment of the first duration. Since the continuous swipe operation only swiped a small distance during the fourth moment and the third moment before the fourth moment, it is considered that the user has the intention to determine the release position of the virtual skill, so the timing starts from the fourth moment. Furthermore, based on the swipe position at the fourth moment, the corresponding swipe range is determined. Before the timing duration reaches the first duration, it is determined whether the swipe position of the continuous swipe operation exceeds the swipe range. If not, the timing continues; if so, the timing duration is reset, that is, the timing duration is reset to 0 and the timing restarts until the timing duration reaches the first duration. Only then is it determined that the condition for determining the release starting point is met, and the environmental position corresponding to the current swipe position of the continuous swipe operation is determined as the release starting point of the virtual skill.

[0128] In one alternative implementation, the timer includes a skill timer displayed on a reference plane of the virtual environment; further, the skill timer may present the accumulation of the timing duration in a manner that changes appearance over time, or the skill timer may present the accumulation of the timing duration in a manner that presents time information.

[0129] As described above, in one example, the skill timer's appearance changes depending on the difference between the timing duration and the timing threshold. Referring to Figure 8, Figure 8 shows a schematic diagram of a virtual environment provided by an exemplary embodiment of this application. In sub-figure (a) of Figure 8, the skill timer is displayed around the environmental position corresponding to the sliding position of the continuous sliding operation, appearing as a ring-shaped control surrounding the environmental position. At one moment, the size of the skill timer is a first area of ​​328. As time passes, at another moment after the aforementioned moment, sub-figure (b) of Figure 8 is displayed; the size of the skill timer changes, shrinking to a second area of ​​329. It can be seen that the skill timer's appearance changes depending on the difference between the timing duration and the timing threshold.

[0130] In the embodiments of this application, the appearance change includes at least one of the following: shape change (e.g., the skill timer is a polygon, and the number of sides of the polygon decreases as the difference between the timing duration and the timing threshold decreases), size change (e.g., the display size of the skill timer decreases as the difference between the timing duration and the timing threshold decreases), color change (e.g., the grayscale information of the skill timer approaches white as the difference between the timing duration and the timing threshold decreases), and transparency change (e.g., the skill timer approaches full transparency as the difference between the timing duration and the timing threshold decreases).

[0131] Step 536: In response to the timer reaching the timing threshold, determine the first environmental position corresponding to the first sliding position of the continuous sliding operation.

[0132] For example, the timer resets its duration if the sliding position of a continuous sliding operation exceeds the sliding range. For a description of the sliding range, please refer to the various embodiments above; it will not be repeated here.

[0133] For example, when the timer reaches the timer threshold, that is, when the sliding position does not exceed the sliding range for a period of time, the user controlling the first virtual object has the intention to determine the first environmental position, and the determined first environmental position is associated with the release of the virtual skill.

[0134] In summary, the method provided in this application, by receiving a continuous sliding operation, takes the first environmental position corresponding to the first sliding position of the continuous sliding operation as the starting point for releasing the virtual skill when the duration of the sliding position not exceeding the sliding range reaches a first duration; without interrupting the continuous sliding operation, the continuous sliding operation is divided into two stages based on the duration of the sliding position not exceeding the sliding range reaching the first duration, and a timer is displayed to quantitatively indicate the countdown information of the first moment for determining the first environmental position, thereby realizing the indication of the starting point and direction of the release of the virtual skill through the continuous sliding operation; 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.

[0135] The first duration of the timer's execution is described below.

[0136] In one implementation of this application, the first duration is determined by setting the human-computer interaction operation of the setting control.

[0137] For example, based on the embodiment shown in Figure 3, it also includes:

[0138] • Display settings controls, which are used to indicate the current first duration;

[0139] In this embodiment of the application, in response to an adjustment operation on the settings control, the updated first duration is displayed.

[0140] For example, the setting control can be implemented as a sliding control including a slide rail and a joystick, and the first duration can be adjusted by sliding the joystick to different positions on the slide rail. Referring to FIG9, FIG9 shows a schematic diagram of a setting control provided in an exemplary embodiment of this application. The setting control is a sliding control including a slide rail 632 and a joystick 634. The portion of the slide rail 632 located to the left of the joystick 634 is filled with a first color to indicate the duration of the first duration. It should be noted that the setting control can be displayed in a separate pop-up window, or it can be implemented as at least one of the presentation methods such as card messages, bubble messages, etc., superimposed on the virtual environment.

[0141] In another implementation, it can be implemented as a character input control, allowing users to adjust the first duration by typing in a numerical value.

[0142] In another implementation of this application, the first duration is determined based on the game history behavior of the first virtual object. For example, based on the embodiment shown in Figure 3, it further includes:

[0143] • Determine the updated first duration based on the game history behavior of the first virtual object;

[0144] Among them, the game history behavior includes the behavior information of the first virtual object in the historical games in which it participated when it had virtual skills, and / or the historical behavior information of the first virtual object in the current game.

[0145] For shortening the first duration, the method for determining the updated first duration includes at least one of the following:

[0146] If the amount of virtual damage received during the process of determining the release location of the virtual skill by the first virtual object exceeds the first threshold, the first duration is shortened to obtain the updated first duration;

[0147] If the virtual damage suffered by the first virtual object during the process of determining the release location of a virtual skill exceeds a first threshold, it indicates that the virtual skill was not released in a timely manner, causing the first virtual object to suffer virtual damage. For example, during the process of determining the release location of a virtual skill, the first virtual object's attention is focused on releasing the virtual skill, neglecting to observe the virtual environment. The first threshold indicating excessive time spent releasing the virtual skill makes the first virtual object more susceptible to virtual damage. This implementation reduces the risk of the first virtual object suffering virtual damage by shortening the first time interval.

[0148] If the hit rate of the first virtual object releasing the virtual skill does not exceed the second threshold, shorten the first duration to obtain the updated first duration;

[0149] If the hit rate of the virtual skill released by the first virtual object does not exceed the second threshold, it indicates that the first duration was set too long, causing the virtual character to move and dodge, thus failing to hit. This implementation improves the hit rate of the virtual skill by shortening the first duration.

[0150] If the frequency of movement operations performed during the process of determining the release location of the virtual skill by the first virtual object exceeds the third threshold, the first duration is shortened to obtain the updated first duration.

[0151] If the frequency of movement operations performed during the process of determining the release location of a virtual skill by the first virtual object exceeds the third threshold, it indicates that the first virtual character needs to frequently adjust its position to avoid virtual attacks or chase after the virtual character that the virtual skill is expected to hit, due to the excessively long first duration. This implementation reduces the operational complexity of releasing virtual skills by shortening the first duration.

[0152] For increasing the first duration, the method for determining the updated first duration includes at least one of the following:

[0153] If the frequency of canceling the release of virtual skills exceeds the fourth threshold during the process of determining the release location of virtual skills by the first virtual object, the first duration is increased to obtain the updated first duration;

[0154] If the frequency of canceling the release of a virtual skill exceeds the fourth threshold during the process of determining the release position of the first virtual object, it indicates that the first duration is set too short, leading to frequent cancellations of the virtual skill release. This implementation increases the first duration, providing more time for the release of the virtual skill, reducing the error rate of setting the virtual skill's position, and thus reducing the frequency of canceling the release of the virtual skill.

[0155] If the time consumed by the first virtual object in determining the release direction of the virtual skill exceeds the fifth threshold, the first duration is increased to obtain the updated first duration.

[0156] If the time taken to determine the release direction of a virtual skill exceeds the fifth threshold, it indicates that the first duration is too short. This results in a need for more time to adjust the release direction of the virtual skill after determining the release starting point (i.e., the first environmental position) due to an inappropriate starting point setting. This implementation increases the first duration, providing more time for the release of the virtual skill and improving the accuracy of setting the release starting point; thereby reducing the complexity of setting the release direction of the virtual skill.

[0157] In summary, the method provided in this application, by receiving a continuous sliding operation, takes the first environmental position corresponding to the first sliding position of the continuous sliding operation as the starting point for releasing the virtual skill when the duration of the sliding position not exceeding the sliding range reaches a first duration. Without interrupting the continuous sliding operation, the continuous sliding operation is divided into two stages based on the duration of the sliding position not exceeding the sliding range reaching the first duration. The flexibility of releasing the virtual skill is increased through user interaction or automatic adjustment of the first duration, enabling the continuous sliding operation to indicate the starting point and direction of the virtual skill release. Furthermore, the continuous sliding operation does not need to be interrupted during the release of the virtual skill, reducing the complexity of the human-computer interaction for releasing the virtual skill.

[0158] Figure 10 shows a flowchart of a method for releasing virtual skills 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 562 and 564:

[0159] 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.

[0160] 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.

[0161] 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.

[0162] 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 position.

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

[0164] Wherein, the object position is the position 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.

[0165] 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 position, achieves automatic determination of the release direction of virtual skills and releases virtual skills to the location of the second virtual object; avoids the virtual skills failing to act on the virtual object; enables the release starting point and release direction of virtual skills to be indicated through continuous sliding operation; and reduces the complexity of human-computer interaction in releasing virtual skills by eliminating the need to interrupt continuous sliding operation during the release of virtual skills.

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

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

[0168] • 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.

[0169] The attack type indicates that the allowed targets for a virtual skill are enemy virtual objects; that is, in response to the attack type filtering, at least two enemy virtual objects are allowed targets for the virtual skill.

[0170] • 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.

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

[0172] 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.

[0173] 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.

[0174] 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.

[0175] 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.

[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] In another implementation, the skill type of the virtual skill includes a support type; accordingly, step 562 is implemented as follows:

[0178] • 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;

[0179] 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.

[0180] • 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;

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

[0182] 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.

[0183] 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.

[0184] 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.

[0185] 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.

[0186] 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.

[0187] Figure 11 shows a flowchart of a method for releasing a virtual skill according to 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 575 to 578 as shown in Figure 11:

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

[0189] 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 location is not limited, and those skilled in the art can determine the first environmental location as the release starting point by using the displayed second skill indicator with the first environmental location as the release starting point.

[0190] 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. Furthermore, the third control component and the second control component are located in different spatial positions.

[0191] Step 576: In response to the duration during which the sliding position does not exceed the sliding range reaching a first duration, determine the fifth environmental position corresponding to the fifth sliding position of the continuous sliding operation.

[0192] After abandoning the first environmental position, the environmental position is redefined by ensuring that the sliding position does not exceed the sliding range for a duration equal to the first duration. In this step, the fifth sliding position is the sliding position of the continuous sliding operation when the sliding position does not exceed the sliding range for a duration equal to the first duration. For details on determining the fifth environmental position, please refer to step 530 above.

[0193] Figure 12 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.

[0194] In response to the position cancellation operation 355a, the first environmental position 325 is abandoned. For example, in response to the position cancellation operation 355a, the display of the second skill indicator 355 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 based on the condition that the duration during which the sliding position does not exceed the sliding range reaches a first duration. Here, the fifth sliding position is the sliding position of the continuous sliding operation at the fifth moment.

[0195] 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.

[0196] The end of the continuous swipe operation triggers an indication message to determine the sixth environmental position, which is associated with the release of the virtual skill. The sixth swipe position is the swipe position at the sixth moment of the continuous swipe operation. For details on the sixth environmental position, please refer to step 540 above.

[0197] Step 578: Control the first virtual object to release the virtual skill. The starting point of the release is the fifth environment position, and the release direction is from the fifth environment position to the sixth environment position.

[0198] 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.

[0199] 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.

[0200] In summary, the method provided in this application, by receiving a continuous sliding operation, takes the first environmental position corresponding to the first sliding position of the continuous sliding operation as the starting point for releasing the virtual skill when the duration of the sliding position not exceeding the sliding range reaches a first duration; without interrupting the continuous sliding operation, the continuous sliding operation is divided into two stages based on the duration of the sliding position not exceeding the sliding range reaching the first duration, thereby realizing the indication of the starting point and direction of the release of the virtual skill through the continuous sliding operation; and without interrupting the continuous sliding operation during the release of the virtual skill, the complexity of human-computer interaction for releasing the virtual skill is reduced.

[0201] 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.

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

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

[0204] 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;

[0205] Processing module 830 is configured to determine a first environmental position corresponding to the first sliding position of the continuous sliding operation in response to a first duration in which the sliding position does not exceed the sliding range, wherein the sliding range is determined based on the sliding position at the start of the first duration;

[0206] 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;

[0207] The processing module 830 is also 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.

[0208] In an optional implementation of this application embodiment, the computer device provides a first control component; the receiving module 820 is further configured to:

[0209] Receive the continuous sliding operation triggered by the first control component;

[0210] The processing module 830 is further configured to:

[0211] In response to the duration during which the sliding position of the continuous sliding operation triggered by the first control component does not exceed the sliding range, the first environmental position corresponding to the first sliding position is determined.

[0212] 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.

[0213] In an optional implementation of this application embodiment, the computer device includes a touchscreen, and the first control component includes drag-and-drop controls displayed on the touchscreen; the display module 810 is further configured to:

[0214] Displays skill controls for the first virtual object and the virtual skill;

[0215] In response to a press-and-hold operation on the skill control, the skill control is switched to be displayed as the drag-and-drop control;

[0216] The continuous sliding operation includes a touch sliding operation on the drag control, the sliding range is the screen area on the touch screen, and the end of the continuous sliding operation includes the end of the touch sliding operation on the drag control.

[0217] In an optional implementation of this application embodiment, the computer device includes a gamepad device; the first control component includes a joystick component of the gamepad device;

[0218] The continuous sliding operation includes a dragging operation on the joystick component, the sliding range is the joystick movement area in the joystick component, and the end of the continuous sliding operation includes the end of the dragging operation on the joystick component.

[0219] In an optional implementation of this application embodiment, the display module 810 is further configured to:

[0220] 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.

[0221] In response to the duration during which the sliding position does not exceed the sliding range reaching the first duration, a second skill indicator is displayed based on the first environmental position; the center position of the second skill indicator is the first environmental position, and the edge position of the second skill indicator is used to indicate the candidate end position of the virtual skill when the first environmental position is the release starting point.

[0222] In an optional implementation of this application embodiment, the display module 810 is further configured to:

[0223] 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;

[0224] 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 is the direction from the first environmental position to the second candidate environmental position, and the second candidate environmental position corresponds to the second candidate sliding position.

[0225] In an optional implementation of this application embodiment, the processing module 830 is further configured to:

[0226] In response to the continuous sliding operation, if the distance between the fourth sliding position at the fourth time and the third sliding position at the third time is less than a distance threshold, a timer is displayed, wherein the timing threshold of the timer is the first duration, and the fourth time is the time after the third time.

[0227] In response to the timer reaching the timer threshold, the first environmental position corresponding to the first sliding position of the continuous sliding operation at the first moment is determined;

[0228] The timer resets its duration when the sliding position of the continuous sliding operation exceeds the sliding range.

[0229] In one optional implementation of this application embodiment, the timer includes a skill timer displayed on the reference plane of the virtual environment, and the appearance of the skill timer changes with the difference between the timing duration and the timing threshold;

[0230] The appearance change includes at least one of the following: shape change, size change, color change, and transparency change.

[0231] In an optional implementation of this application embodiment, the processing module 830 is further configured to:

[0232] 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 position.

[0233] Wherein, the object 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.

[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:

[0237] 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.

[0238] In an optional implementation of this application embodiment, the display module 810 is further configured to:

[0239] Display settings controls are used to indicate the current first duration;

[0240] In response to adjustments made to the settings controls, display the first duration after the update.

[0241] In an optional implementation of this application embodiment, the processing module 830 is further configured to:

[0242] The updated first duration is determined based on the game history behavior of the first virtual object;

[0243] The game history behavior includes the behavior information of the first virtual object in the historical games in which it participated when it had the virtual skill, and / or the historical behavior information of the first virtual object in the current game.

[0244] In an optional implementation of this application embodiment, the processing module 830 is further configured to perform at least one of the following:

[0245] If the value of virtual damage received during the process of determining the release location of the virtual skill exceeds a first threshold, the first duration is shortened to obtain the updated first duration.

[0246] If the hit rate of the first virtual object releasing the virtual skill does not exceed the second threshold, the first duration is shortened to obtain the updated first duration;

[0247] If the frequency of performing movement operations during the process of determining the release location of the virtual skill exceeds a third threshold, the first duration is shortened to obtain the updated first duration.

[0248] In an optional implementation of this application embodiment, the processing module 830 is further configured to perform at least one of the following:

[0249] If the frequency of canceling the release of the virtual skill exceeds the fourth threshold during the process of determining the release location of the virtual skill, the first duration is increased to obtain the updated first duration;

[0250] If the time consumed by the release direction of the virtual skill exceeds the fifth threshold, the first time is increased to obtain the updated first time.

[0251] In an optional implementation of this application embodiment, the processing module 830 is further configured to:

[0252] In response to a location cancellation operation, the first environmental location is abandoned;

[0253] In response to the duration during which the sliding position does not exceed the sliding range reaching the first duration, the fifth environmental position corresponding to the fifth sliding position of the continuous sliding operation is determined;

[0254] 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;

[0255] 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.

[0256] 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;

[0257] 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.

[0258] 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.

[0259] 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.

[0260] 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.

[0261] Figure 14 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 user equipment, portable terminal, laptop terminal, desktop terminal, or other names.

[0262] 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.

[0263] 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.

[0264] 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 (Radio Frequency) signals, also known as electromagnetic signals. Touchscreen display 1905 is used to display the UI (User Interface). Touchscreen display 1905 also has the energy to collect touch signals on or above the surface of touchscreen display 1905. These touch signals can be input as control signals to processor 1901 for processing. Camera assembly 1906 is used to capture images or video. Audio circuitry 1907 may include a microphone and speaker. The microphone is used to collect sound waves from the user and environment, converting the sound waves into electrical signals input to processor 1901 for processing, or inputting them to RF circuitry 1904 to enable voice communication. Power supply 1908 is used to power the various components in terminal 1900.

[0265] In some embodiments, the terminal 1900 further 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.

[0266] 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 illustrated, or combine certain components, or employ different component arrangements.

[0267] 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.

[0268] 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.

[0269] 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.

[0270] 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.

[0271] 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.

[0272] 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 duration during which the sliding position does not exceed the sliding range reaching a first duration, a first environmental position corresponding to the first sliding position of the continuous sliding operation is determined, wherein the sliding range is determined based on the sliding position at the start of the first duration; 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 of claim 1, wherein, The computer device is provided with a first control component; The receiving of continuous sliding operations includes: Receive the continuous sliding operation triggered by the first control component; The first environmental position corresponding to the first sliding position of the continuous sliding operation is determined when the duration during which the sliding position does not exceed the sliding range reaches a first duration, including: In response to the duration during which the sliding position of the continuous sliding operation triggered by the first control component does not exceed the sliding range, 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 touch screen, and the first control component includes drag controls displayed on the touch screen; The display of the first virtual object includes: Displays skill controls for the first virtual object and the virtual skill; The method further includes: In response to a press-and-hold operation on the skill control, the skill control is switched to be displayed as the drag-and-drop control; The continuous sliding operation includes a touch sliding operation on the drag control, the sliding range is the screen area on the touch screen, 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 2 or 3, wherein, The computer device includes a handheld device; the first control component includes a joystick component of the handheld device. The continuous sliding operation includes a dragging operation on the joystick component, the sliding range being the joystick movement area in the joystick component, and the end of the continuous sliding operation includes the end of the dragging operation on the joystick component.

5. The method according to any one of claims 1 to 4, 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 duration during which the sliding position does not exceed the sliding range reaching the first duration, a second skill indicator is displayed based on the first environmental position; the center position of the second skill indicator is the first environmental position, and the edge position of the second skill indicator is used to indicate the candidate end position of the virtual skill when the first environmental position is the release starting point.

6. The method according to any one of claims 1 to 5, wherein, In response to the duration during which the sliding position does not exceed the sliding range reaching a first duration, a first environmental position corresponding to the first sliding position of the continuous sliding operation is determined, including: In response to the continuous sliding operation, if the distance between the fourth sliding position at the fourth time and the third sliding position at the third time is less than a distance threshold, a timer is displayed, wherein the timing threshold of the timer is the first duration, and the fourth time is a time after the third time. In response to the timer reaching the timer threshold, the first environmental position corresponding to the first sliding position of the continuous sliding operation is determined; The timer resets its duration when the sliding position of the continuous sliding operation exceeds the sliding range.

7. The method according to any one of claims 1 to 6, 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 position. Wherein, the object 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.

8. The method according to any one of claims 1 to 7, wherein, The method further includes: Display settings controls are used to indicate the current first duration; In response to adjustments made to the settings controls, display the first duration after the update.

9. The method according to any one of claims 1 to 8, wherein, The method further includes: The updated first duration is determined based on the game history behavior of the first virtual object; The game history behavior includes the behavior information of the first virtual object in the historical games in which it participated when it had the virtual skill, and / or the historical behavior information of the first virtual object in the current game.

10. The method of claim 9, wherein, The determination of the updated first duration based on the game history behavior of the first virtual object includes at least one of the following: If the value of virtual damage received during the process of determining the release location of the virtual skill exceeds a first threshold, the first duration is shortened to obtain the updated first duration. If the hit rate of the first virtual object releasing the virtual skill does not exceed the second threshold, the first duration is shortened to obtain the updated first duration; If the frequency of performing movement operations during the process of determining the release location of the virtual skill exceeds a third threshold, the first duration is shortened to obtain the updated first duration.

11. The method of claim 9, wherein, The determination of the updated first duration based on the game history behavior of the first virtual object includes at least one of the following: If the frequency of canceling the release of the virtual skill exceeds the fourth threshold during the process of determining the release location of the virtual skill, the first duration is increased to obtain the updated first duration; If the time consumed by the release direction of the virtual skill exceeds the fifth threshold, the first time is increased to obtain the updated first time.

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 configured to determine a first environmental position corresponding to the first sliding position of the continuous sliding operation in response to a first duration in which the sliding position does not exceed the sliding range, wherein the sliding range is determined based on the sliding position at the start of the first duration; 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 processing module is also 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.

13. A 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 the computer-readable storage medium and executes the computer instructions to implement the virtual skill release method as described in any one of claims 1 to 11.