Methods, devices, terminals, and storage media for controlling the release of skills by virtual objects

By allowing virtual objects to enter a connected state after a skill is successfully released and displaying the combined skill release effects based on the selection results, the problem of monotonous skill release effects for virtual objects is solved, and the interactivity and diversity between virtual objects are improved.

CN117959713BActive Publication Date: 2026-11-17TENCENT TECH (CHENGDU) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211308584.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-25
Publication Date
2026-11-17
Estimated Expiration
2042-10-25

AI Technical Summary

Technical Problem

In existing technologies, the effects of virtual objects releasing skills are limited, resulting in reduced interaction between virtual objects.

Method used

After a virtual object releases a skill and hits, it enters a connection state. After a certain duration, different skill release effects are displayed based on the choices made by both control ends, thus avoiding direct and immediate damage.

Benefits of technology

It increases the interactivity and diversity of virtual object skill releases and improves the interaction effects between virtual objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117959713B_ABST
    Figure CN117959713B_ABST
Patent Text Reader

Abstract

This application discloses a method, apparatus, terminal, and storage medium for controlling virtual objects to release skills, belonging to the field of human-computer interaction technology. The method includes: displaying a first virtual object and a second virtual object in a virtual environment; when a skill released by the first virtual object hits the second virtual object, displaying the first virtual object and the second virtual object in a connected state; when the duration of the connected state reaches a first duration, displaying a first selection result corresponding to the first virtual object and a second selection result corresponding to the second virtual object; and displaying a skill release effect based on a combination of selection results formed by the first and second selection results, wherein different combinations of selection results correspond to different skill release effects, increasing the interaction after the virtual object releases its skill, improving the diversity of skill release effects, and enhancing the interactivity between virtual objects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of human-computer interaction technology, and in particular to a method, apparatus, terminal and storage medium for controlling virtual objects to release skills. Background Technology

[0002] With the widespread popularity of video games, their functions have become increasingly diverse. Typically, the virtual scenes in video games include at least two opposing factions, and each faction contains multiple virtual objects. By controlling these virtual objects to attack each other, battles between different factions can be achieved.

[0003] In related technologies, when controlling virtual objects to release skills, the skills released by the virtual object are often used to cause immediate damage to other virtual objects within a certain range. This results in the virtual object's skill release effect being monotonous and reducing the interaction effect between virtual objects. Summary of the Invention

[0004] This application provides a method, apparatus, terminal, and storage medium for controlling the release of skills by virtual objects, which can improve the interactive effect of skill release between virtual objects. The technical solution is as follows:

[0005] On one hand, embodiments of this application provide a method for controlling virtual objects to release skills, the method comprising:

[0006] Display the first and second virtual objects in the virtual environment;

[0007] If the skill released by the first virtual object hits the second virtual object, the first virtual object and the second virtual object, which are in a connected state, are displayed.

[0008] When the duration of the connection state reaches a first duration, a first selection result corresponding to the first virtual object and a second selection result corresponding to the second virtual object are displayed. The first selection result is triggered by a first control terminal for controlling the first virtual object, and the second selection result is triggered by a second control terminal for controlling the second virtual object.

[0009] Based on the combination of the first and second selection results, the skill release effect is displayed, where different combinations of selection results correspond to different skill release effects.

[0010] On the other hand, embodiments of this application provide a device for controlling the release of skills by virtual objects, the device comprising:

[0011] The game display module is used to display the first and second virtual objects in the virtual environment;

[0012] The skill release module is used to display the first virtual object and the second virtual object in a connected state when the skill released by the first virtual object hits the second virtual object;

[0013] The skill release module is used to display a first selection result corresponding to the first virtual object and a second selection result corresponding to the second virtual object when the duration of the connection state reaches a first duration. The first selection result is triggered by a first control terminal for controlling the first virtual object, and the second selection result is triggered by a second control terminal for controlling the second virtual object.

[0014] The skill release module is used to display the skill release effect based on the combination of the first selection result and the second selection result, wherein different combinations of selection results correspond to different skill release effects.

[0015] On the other hand, embodiments of this application provide a terminal, the terminal including a processor and a memory, the memory storing at least one instruction, the at least one instruction being loaded and executed by the processor to implement the method of controlling virtual objects to release skills as described above.

[0016] On the other hand, embodiments of this application provide a computer-readable storage medium storing at least one instruction, which is loaded and executed by a processor to implement the method for controlling a virtual object to release skills as described above.

[0017] On the other hand, embodiments of this application provide a computer program product including 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, causing the computer device to perform the method for controlling the release of virtual objects provided above.

[0018] In this embodiment of the application, in a virtual environment, when a skill released by a first virtual object hits a second virtual object, the second virtual object is not directly damaged by the skill release. Instead, it enters a connection state with the first virtual object. When the duration of the connection state reaches a first duration, a combination of selection results is determined based on the first selection result corresponding to the first virtual object and the second selection result corresponding to the second virtual object. Based on the combination of selection results, the skill release effect is displayed. By not directly causing immediate damage to the virtual object when the skill release hits it, but determining different skill release effects based on the selection results between virtual objects, the interaction after the virtual object releases the skill is increased, and the diversity of skill release effects and the interactivity between virtual objects are improved. Attached Figure Description

[0019] Figure 1 A schematic diagram of an implementation environment provided by one embodiment of this application is shown;

[0020] Figure 2 A flowchart illustrating a method for controlling a virtual object to release skills, as provided in an exemplary embodiment of this application, is shown.

[0021] Figure 3 This is a schematic diagram illustrating the release of a skill by a first virtual object, as shown in an exemplary embodiment of this application;

[0022] Figure 4 A flowchart illustrating a method for controlling a virtual object to release skills, provided in another exemplary embodiment of this application, is shown.

[0023] Figure 5 This is a schematic diagram illustrating a first virtual object and a second virtual object connected by a skill connection line, as shown in an exemplary embodiment of this application;

[0024] Figure 6 This is a schematic diagram illustrating a first virtual object intruding into a second virtual object, as shown in an exemplary embodiment of this application;

[0025] Figure 7 This is a schematic diagram illustrating the effect of releasing the first skill, as shown in an exemplary embodiment of this application;

[0026] Figure 8 This is a schematic diagram illustrating the effect of releasing a second skill, as shown in an exemplary embodiment of this application;

[0027] Figure 9 This application illustrates a flowchart showing a first virtual object and a second virtual object in a connected state, provided by an exemplary embodiment of the present application.

[0028] Figure 10A flowchart illustrating the display skill release effect provided in an exemplary embodiment of this application is shown;

[0029] Figure 11 This is a structural block diagram of a device for controlling the release of skills by a virtual object, provided in an exemplary embodiment of this application;

[0030] Figure 12 A structural block diagram of a terminal provided in an exemplary embodiment of this application is shown. Detailed Implementation

[0031] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0032] Please refer to Figure 1 The diagram illustrates an implementation environment provided in one embodiment of this application. This implementation environment may include: a first terminal 110, a server 120, and a second terminal 130.

[0033] The first terminal 110 runs an application 111 that supports a virtual environment. This application 111 can be a multiplayer online battle arena (MOBA) game or a simulation game (SLG). In this embodiment, the application 111 is used as an example of a first-person shooter (FPS) game. 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. The first virtual object can be referred to as the master virtual object controlled by the first user 112. The activities of the first virtual object include, but are not limited to, adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing, and releasing skills. Schematic, the first virtual object is a first virtual character, such as a realistic character or an anime character.

[0034] The second terminal 130 runs an application 131 that supports a virtual environment. This application 131 can be a multiplayer online battle arena (MOBA) program. When the second terminal 130 runs the application 131, the user interface of the application 131 is displayed on the screen of the second terminal 130. This client can be any type of MOBA game or SLG game; in this embodiment, the application 131 is an FPS game 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. The second virtual object can be referred to as the main virtual character controlled by the second user 132. Illustratively, the second virtual object is a second virtual character, such as a lifelike character or an anime character.

[0035] Optionally, the first virtual object and the second virtual object reside in the same virtual world. Optionally, the first virtual object and the second virtual object may 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 may belong to different factions, different teams, different organizations, or have an adversarial relationship.

[0036] Optionally, the applications installed on the first terminal 110 and the second terminal 130 are the same, or the applications installed on the two terminals are the same type of application on different operating system platforms (Android or iOS). The first terminal 110 can refer to one of a plurality of terminals, and the second terminal 130 can refer to another of a plurality of terminals. This 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. The device types include at least one of the following: smartphones, tablets, e-book readers, Moving Picture Experts Group Audio Layer III (MP3) players, Moving Picture Experts Group Audio Layer IV (MP4) players, laptops, and desktop computers.

[0037] Figure 1Only two terminals are shown in the diagram, but in different embodiments, multiple other terminals can access the server 120. Optionally, one or more terminals may also be terminals corresponding to developers, on which a development and editing platform for applications supporting virtual environments is installed. Developers can edit and update applications on these terminals and transmit the updated application installation packages to the server 120 via wired or wireless networks. The first terminal 110 and the second terminal 130 can download the application installation packages from the server 120 to update the applications.

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

[0039] Server 120 includes at least one of the following: a single server, a server cluster consisting of multiple servers, a cloud computing platform, and a virtualization center. Server 120 is used to provide background services for applications that support a 3D virtual environment. Optionally, server 120 undertakes the primary computing task, and the terminal undertakes the secondary computing task; or, server 120 undertakes the secondary computing task, and the terminal undertakes the primary computing task; or, server 120 and the terminal use a distributed computing architecture for collaborative computing.

[0040] In an illustrative example, server 120 includes memory 121, processor 122, user account database 123, battle service module 124, and user-facing input / output interface (I / O interface) 125. The 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 the first terminal 110, second terminal 130, and other terminals, 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 the first terminal 110 and / or second terminal 130 via wireless or wired network.

[0041] Please refer to Figure 2 This document illustrates a flowchart of a method for controlling the release of skills by a virtual object, provided in an exemplary embodiment of this application. This embodiment uses this method for... Figure 1 Taking the first terminal 110 or the second terminal 130, or other terminals in the implementation environment shown, as an example, the method includes the following steps:

[0042] Step 201: Display the first virtual object and the second virtual object in the virtual environment.

[0043] A virtual object refers to a user's main controlled object in a three-dimensional virtual environment. For example, a virtual object can be at least one of a virtual character, a virtual animal, an anime character, a virtual vehicle, and a virtual animal.

[0044] A virtual environment is a three-dimensional environment in which virtual objects reside during the operation of an application on a terminal. Optionally, in this embodiment, the virtual environment is observed using a camera model.

[0045] Optionally, the camera model automatically follows the virtual character in the virtual world. That is, when the position of the virtual object changes in the virtual world, the camera model changes its position accordingly, and the camera model always remains within a preset distance range of the virtual object. Optionally, during automatic following, the relative positions of the camera model and the virtual object do not change.

[0046] A camera model refers to a 3D model located around a virtual object in the virtual world. When using a first-person perspective, the camera model is located near or at the head of the virtual object. When using a third-person perspective, the camera model can be located behind the virtual object and bound to it, or it can be located at any position at a preset distance from the virtual object. The camera model allows observation of the virtual object from different angles. Optionally, when the third-person perspective is a first-person over-the-shoulder view, the camera model is located behind the virtual object (e.g., the head and shoulders of the virtual object). Optionally, in addition to first-person and third-person perspectives, other perspectives are also possible, such as a top-down perspective. When using a top-down perspective, the camera model can be located above the head of the virtual object; the top-down perspective is an aerial view of the virtual world. Optionally, the camera model is not actually displayed in the virtual world; that is, it is not displayed in the virtual world shown in the user interface.

[0047] In one possible implementation, the terminal displays a first virtual object and a second virtual object in a virtual environment, wherein the first virtual object and the second virtual object may belong to different factions, different teams, different organizations, or have an adversarial relationship.

[0048] Step 202: If the skill released by the first virtual object hits the second virtual object, display the first virtual object and the second virtual object that are in a connected state.

[0049] Unlike related technologies, where the second virtual object immediately suffers damage when a skill released by the first virtual object hits it, in this embodiment, the second virtual object does not immediately suffer damage when a skill released by the first virtual object hits it; instead, it only forms a connection with the first virtual object, and the terminal displays the first and second virtual objects in a connected state.

[0050] Optionally, the connection between the first virtual object and the second virtual object can be visible or invisible. That is, it can be shown without a connecting object, or it can be shown through a connecting line, or through other virtual props with connection attributes. This application embodiment does not limit this.

[0051] In one possible implementation, the attributes of the first and second virtual objects in the virtual environment are not affected by the connection state. Optionally, the movement speed of the virtual object in the connected state is the same as the movement speed of the virtual object in the disconnected state; the skill damage value of the virtual object in the connected state is the same as the skill damage value of the virtual object in the disconnected state.

[0052] In one possible implementation, the attributes of the first and second virtual objects in the virtual environment are affected by the connection state. Optionally, the movement speed of the virtual object in the connection state is lower than that of the virtual object in the non-connection state; the movement direction of the first virtual object in the connection state is affected by the second virtual object; and the skill damage value of the virtual object in the connection state is lower than that of the virtual object in the non-connection state. This application embodiment does not limit the attributes of other virtual objects that may be affected by the connection state.

[0053] Indicative, such as Figure 3 As shown, the terminal displays a first virtual object 301 and a second virtual object 302 in a virtual environment. In response to the triggering operation of the skill release control 305, when the skill released by the first virtual object 301 hits the second virtual object 302, the terminal displays the first virtual object 301 and the second virtual object 302 in a connected state.

[0054] Step 203: If the duration of the connection state reaches the first duration, display the first selection result corresponding to the first virtual object and the second selection result corresponding to the second virtual object. The first selection result is triggered by the first control terminal used to control the first virtual object, and the second selection result is triggered by the second control terminal used to control the second virtual object.

[0055] In one possible implementation, in order to enhance the interaction between the first virtual object and the second virtual object, when the duration of the connection reaches a first duration, the terminal will not directly control the second virtual object to suffer damage based on the skill released by the first virtual object. Instead, it will determine whether to inflict damage on the second virtual object based on the first selection result corresponding to the first virtual object and the second selection result corresponding to the second virtual object. The first selection result is triggered by a first control terminal for controlling the first virtual object, and the second selection result is triggered by a second control terminal for controlling the second virtual object.

[0056] Optionally, the duration for which the first virtual object and the second virtual object are in a connected state can be fixed or determined by the terminal based on the attribute of the skill released by the first virtual object. This application embodiment does not limit this.

[0057] Optionally, the first selection result and the second selection result can be the same or different, and the embodiments of this application do not limit the specific selection form.

[0058] In one possible implementation, when the duration of the connection reaches a first duration and a first selection result triggered by a first control terminal and a second selection result triggered by a second control terminal are received, the terminal displays the first selection result corresponding to the first virtual object and the second selection result corresponding to the second virtual object to the user on the display screen.

[0059] Indicative, such as Figure 3 As shown, when the connection lasts for 5 seconds, the terminal displays the first selection result 303 corresponding to the first virtual object 301 and the second selection result 304 corresponding to the second virtual object 302.

[0060] Step 204: Based on the combination of the first and second selection results, display the skill release effect, where different combinations of selection results correspond to different skill release effects.

[0061] In one possible implementation, in order to increase the diversity of skill release effects, the terminal obtains a combination of selection results based on the first selection result and the second selection result, and then displays the skill release effect based on the combination of selection results, wherein different combinations of selection results correspond to different skill release effects.

[0062] Optionally, the combination of selection results can be a direct comparison of the first selection result and the second selection result, or it can be a calculation of the first selection result and the second selection result. This application embodiment does not limit this.

[0063] Optionally, the correspondence between the selected result combination and the skill release effect can be determined according to different selection forms, and this application embodiment does not limit this.

[0064] Indicative, such as Figure 3 As shown, based on the combination of the first and second selection results, the terminal displays the skill release effect.

[0065] In summary, in this embodiment of the application, in a virtual environment, when a skill released by a first virtual object hits a second virtual object, the second virtual object is not directly damaged by the skill release. Instead, it enters a connection state with the first virtual object. When the duration of the connection state reaches a first duration, a combination of selection results is determined based on the first selection result corresponding to the first virtual object and the second selection result corresponding to the second virtual object. Based on the combination of selection results, the skill release effect is displayed. By not directly causing immediate damage to the virtual object when the skill release hits it, but determining different skill release effects based on the selection results between virtual objects, the interaction after the virtual object releases the skill is increased, and the diversity of skill release effects and the interactivity between virtual objects are improved.

[0066] In one possible implementation, in order to improve the display effect after the first virtual object's skill is released, the terminal represents the first virtual object and the second virtual object in the form of a skill connection line, and after the duration of the connection reaches a first duration, it determines the first selection result or the second selection result by receiving the user's trigger operation on the selection control.

[0067] Please refer to Figure 4 This illustrates a flowchart of a method for controlling the release of skills by a virtual object, provided in another exemplary embodiment of this application. This embodiment uses this method for... Figure 1 Taking the first terminal 110 or the second terminal 130, or other terminals in the implementation environment shown, as an example, the method includes the following steps:

[0068] Step 401: Display the first virtual object and the second virtual object in the virtual environment.

[0069] For a detailed implementation of this step, please refer to step 201. This embodiment will not elaborate further here.

[0070] Step 402: If the skill released by the first virtual object hits the second virtual object, display the first virtual object and the second virtual object connected by the skill connection line.

[0071] In one possible implementation, in order to more clearly show the user that the virtual object is in a connected state, the terminal indicates that the virtual object is in a connected state by displaying a skill connection line.

[0072] In one possible implementation, if a skill released by a first virtual object hits a second virtual object, the terminal displays the first virtual object and the second virtual object connected by a skill connection line, wherein the first virtual object and the second virtual object are located at opposite ends of the skill connection line.

[0073] Indicative, such as Figure 5 As shown, in response to the triggering operation of the skill release control 503, when the skill released by the first virtual object 501 hits the second virtual object 502, the terminal displays the first virtual object 501 and the second virtual object 502 connected by the skill connection line 504.

[0074] In one possible implementation, in order to enhance the display effect of the skill connection line, within a first duration, the terminal updates the display effect of the skill connection line based on at least one of the object distance and the damage value of the first virtual object. The object distance is the distance between the first virtual object and the second virtual object, and the skill damage value refers to the damage value suffered by the first virtual object within the first duration, which may come from the second virtual object or other virtual objects.

[0075] In one possible implementation, the terminal updates the display effect of the skill connection line according to the distance to the object. The closer the object is, the thicker the skill connection line is displayed and the lower the transparency; the farther the object is, the thinner the skill connection line is displayed and the higher the transparency.

[0076] In one possible implementation, the terminal updates the display effect of the skill connection line according to the damage value of the first virtual object. The lower the damage value, the thicker the skill connection line is displayed and the lower the transparency; the higher the damage value, the thinner the skill connection line is displayed and the higher the transparency.

[0077] In one possible implementation, if the distance between the objects is greater than a distance threshold within a first time period, the terminal disconnects the connection between the first virtual object and the second virtual object, wherein the skill connection line disappears after the connection is disconnected.

[0078] Indicative, such as Figure 5 As shown, during the first time period, as the distance between the objects gradually increases, the transparency of the skill connection line 504 gradually increases. When the distance between the objects is greater than 5 meters, the terminal disconnects the first virtual object 501 and the second virtual object 502.

[0079] In one possible implementation, if the damage-bearing value of the first virtual object is greater than the damage-bearing threshold within a first time period, the terminal disconnects the connection between the first virtual object and the second virtual object, wherein the skill connection line disappears after the connection is disconnected.

[0080] Step 403: If the duration of the connection state reaches the first duration, display the skill animation, which is an animation of the first virtual object invading the second virtual object.

[0081] In one possible implementation, in order to increase the interaction effect between virtual objects after the first virtual object releases its skill, the terminal displays a skill animation when the duration of the connection reaches a first duration. Optionally, the second virtual object may or may not suffer damage in the skill animation.

[0082] In one possible implementation, the skill animation is an animation of a first virtual object intruding into a second virtual object, and the terminal displays the animation effect of the first virtual object entering the interior of the second virtual object.

[0083] Indicative, such as Figure 6 As shown, when the connection lasts for 5 seconds, the terminal displays a skill animation, and the first virtual object 601 invades the second virtual object 602.

[0084] Step 404: Display the second virtual object in a dizzy state. The second virtual object cannot move in the dizzy state.

[0085] In one possible implementation, after the first virtual object intrudes into the second virtual object, in order to enhance the intrusion effect, the terminal displays the second virtual object in a dizzy state.

[0086] In one possible implementation, the second virtual object cannot move while in a state of dizziness, i.e., it remains in a dizzy state in place.

[0087] Indicative, such as Figure 6 As shown, the terminal displays a second virtual object 602 in a state of dizziness, and the second virtual object 602 cannot be moved.

[0088] Step 405: If the duration of the connection state reaches the first duration, receive the trigger operation on the selection control within the second duration.

[0089] In one possible implementation, after the first virtual object intrudes into the second virtual object when the duration of the connection reaches a first duration, the terminal receives a trigger operation on the selection control within a second duration, wherein a first control terminal for controlling the first virtual object triggers a first selection result, and a second control terminal for controlling the second virtual object triggers a second selection result.

[0090] Optionally, the second duration can be a fixed duration or it can be determined based on the skill attributes released by the first virtual object. This application embodiment does not limit this.

[0091] Optionally, the selection control can be a directional control, a number selection control, a game control, etc., and this application embodiment does not limit it.

[0092] Optionally, the selection control can be a reused directional control for moving virtual objects in the virtual environment, or it can be a new button displayed on the terminal after the first virtual object invades the second virtual object. This application embodiment does not limit this.

[0093] Indicative, such as Figure 6 As shown, when the connection lasts for 5 seconds, the terminal receives the user's trigger operation on the selection control 603 within 3 seconds.

[0094] Step 406: When the second time period is reached, the first selection result and the second selection result are displayed through the selection result indicator, wherein the first selection result and the second selection result displayed in the selection result indicator have different display effects.

[0095] In one possible implementation, when the second duration is reached, the terminal displays the first selection result and the second selection result through the selection result indicator, and in order to facilitate the distinction between the first selection result and the second selection result, the terminal displays the first selection result and the second selection result in the selection result indicator with different display effects.

[0096] Optionally, different display effects can be color effects, animation effects, or other display effects sufficient to distinguish the first selection result and the second selection result. This application embodiment does not limit this.

[0097] In one possible implementation, when the selection duration reaches the second duration and a trigger operation on the selection control is received, the terminal determines the selection result indicated by the trigger operation as the first selection result or the second selection result, and displays the first selection result and the second selection result through the selection result indicator.

[0098] In one possible implementation, the terminal receives a trigger operation on the selection control within a second time period, and determines the selection result or the second selection result based on the selection result indicated by the first trigger operation on the selection control received within the second time period.

[0099] In one possible implementation, the terminal receives a trigger operation on the selection control within a second duration, and determines the selection result or the second selection result based on the selection result indicated by the last trigger operation on the selection control received within the second duration.

[0100] In one possible implementation, if the selection time reaches the second time period and no trigger operation is received on the selection control, the terminal will determine the default selection result as the first selection result or the second selection result, and display the first selection result and the second selection result through the selection result indicator.

[0101] In one possible implementation, the selection control is a directional control used to control the movement of virtual objects within the virtual environment. During a second time period, both the first and second virtual objects stop moving. The terminal receives a trigger operation on the directional control and determines the direction indicated by the directional control operation as either the first or second selection result.

[0102] Optionally, the directional control can be equipped with four selection buttons (up, down, left, and right) or it can be set as a directional wheel. Users can select any direction by dragging the slider in the directional wheel. This application embodiment does not limit the specific form of the directional control.

[0103] Indicative, such as Figure 6 As shown, when 3 seconds have elapsed, the terminal displays the first selection result 604 and the second selection result 605 via the selection result indicator.

[0104] In one possible implementation, the selection control is a numeric selection control. The terminal receives the user's trigger operation on the numeric keys in the numeric selection control and determines the number corresponding to the numeric key as the first selection result or the second selection result.

[0105] Optionally, the number selection control can be configured with numeric keys that indicate specific numbers, or it can be configured with editable numeric keys. This application embodiment does not limit the specific form of the number selection control.

[0106] In one possible implementation, the selection control is a game control, and the terminal determines the game selection indicated by the game control as either the first selection result or the second selection result by receiving the user's trigger operation on the game control.

[0107] Optionally, the game control can be in the form of rock-paper-scissors or other possible forms, and this application embodiment does not limit this.

[0108] Step 407: If the first choice result is consistent with the second choice result, display the effect of releasing the first skill. Under the effect of releasing the first skill, the first virtual object is damaged.

[0109] In one possible implementation, to increase the diversity of skill release effects, the terminal determines different skill release effects based on the combination of selection results corresponding to the first and second selection results. When the first and second selection results are consistent, the terminal displays the first skill release effect, whereby the first virtual object suffers damage under the first skill release effect, i.e., the first virtual object experiences a skill backlash effect.

[0110] In one possible implementation, if the first selection result is consistent with the second selection result, the terminal displays an animation effect of the first virtual object leaving the interior of the second virtual object, the first virtual object suffers damage from skill release, and the second virtual object is unharmed.

[0111] Indicative, such as Figure 7 As shown, both the first selection result 702 and the second selection result 703 indicate to the right, that is, the first selection result 702 and the second selection result 703 are consistent. The terminal displays the effect of the first skill release, that is, the first virtual object 704 leaves the interior of the second virtual object 701, and the first virtual object 704 suffers the damage of the skill release.

[0112] Step 408: If the first choice result and the second choice result are inconsistent, the effect of releasing the second skill is displayed. Under the effect of releasing the second skill, the second virtual object is damaged.

[0113] In one possible implementation, if the first selection result and the second selection result are inconsistent, the terminal displays the effect of releasing the second skill. Under the effect of releasing the second skill, the second virtual object is damaged, that is, the skill released by the first virtual object on the second virtual object takes effect.

[0114] In one possible implementation, if the first selection result and the second selection result are inconsistent, the terminal displays an animation effect of the first virtual object breaking out from inside the second virtual object, the second virtual object suffers damage from the skill release, and the first virtual object is not damaged.

[0115] In one possible implementation, the selection control is a directional control. Based on the user's selection of the four directions (up, down, left, right), the terminal determines a first selection result or a second selection result. If the first selection result and the second selection result are inconsistent, the terminal displays the effect of releasing the second skill.

[0116] Indicative, such as Figure 8As shown, the first selection result 802 indicates left, and the second selection result 803 indicates right. That is, the first selection result 802 and the second selection result 803 are inconsistent. The terminal displays the effect of the second skill release, that is, the first virtual object 804 breaks out from inside the second virtual object 801, and the second virtual object 801 suffers the damage of the skill release.

[0117] In one possible implementation, since there are multiple possible forms of selection results, in order to further enrich the skill release effect, if the first selection result and the second selection result are inconsistent, the terminal determines the skill damage value based on the first selection result and the second selection result. Different combinations of selection results correspond to different skill damage values, so the terminal displays the second skill release effect based on the skill damage value.

[0118] In one possible implementation, the selection control is a direction control, and the first selection result and the second selection result are the directions indicated by the user through directional control operations triggered by the direction control. The terminal determines the direction angle difference based on the first direction represented by the first selection result and the second direction represented by the second selection result, and then determines the skill damage value based on the direction angle difference. The skill damage value is positively correlated with the direction angle difference. Optionally, the direction angle difference ranges from 0° to 180°; the larger the direction angle difference, the greater the skill damage value.

[0119] In one possible implementation, the selection control is a number selection control, and the first selection result and the second selection result are the numbers indicated by the user when triggering the number selection control. The terminal determines the number difference based on the first number represented by the first selection result and the second number represented by the second selection result, and then determines the skill damage value based on the number difference. The skill damage value is positively correlated with the number difference; the larger the number difference, the greater the skill damage value.

[0120] In one possible implementation, the selection control is a game-theoretic control, and the first and second selection results are the options indicated by the user through triggering the game-theoretic control. Based on the first option represented by the first selection result and the second option represented by the second selection result, the terminal determines the skill damage value according to the option restraint relationship.

[0121] In an illustrative example, the first choice indicates the option of rock, and the second choice indicates the option of scissors. That is, the option indicated by the first choice counters the option indicated by the second choice, and the terminal determines the skill damage value to be the maximum skill damage value.

[0122] In the above embodiments, the first and second virtual objects in a connected state are represented by displaying skill connection lines, which increases the display effect of virtual objects in a connected state; by setting a selection control and determining the skill release effect based on the first and second selection results, the diversity of skill release effects is increased and the interaction effect between virtual objects is improved.

[0123] Please refer to Figure 9 The diagram illustrates a flowchart of a first and second virtual object in a connected state, provided by an exemplary embodiment of this application.

[0124] Step 901: The first virtual object releases its skill.

[0125] In response to the triggering operation of the skill release control, the terminal displays the first virtual object releasing the skill.

[0126] Step 902: Determine whether the skill released by the first virtual object hits the second virtual object.

[0127] The terminal determines whether the skill released by the first virtual object hits the second virtual object. If the skill released by the first virtual object hits the second virtual object, proceed to step 903; if the skill released by the first virtual object does not hit the second virtual object, proceed to step 909.

[0128] Step 903: Display the first and second virtual objects that are in a connected state.

[0129] The terminal displays that it is in a connected state and shows the first and second virtual objects connected via the skill connection cable.

[0130] Step 904: Determine if the distance to the object is greater than 5 meters.

[0131] The terminal determines whether the distance to the object is greater than 5 meters. If the distance to the object is less than 5 meters, proceed to step 905; if the distance to the object is greater than 5 meters, proceed to step 908.

[0132] Step 905: Determine whether the damage-bearing value of the first virtual object is greater than the damage-bearing threshold.

[0133] The terminal determines whether the damage-bearing value of the first virtual object is greater than the damage-bearing threshold. If the damage-bearing value of the first virtual object is less than the damage-bearing threshold, proceed to step 906; if the damage-bearing value of the first virtual object is greater than the damage-bearing threshold, proceed to step 908.

[0134] Step 906: Determine whether the duration of the connection state has reached 5 seconds.

[0135] The terminal determines whether the duration of the connection state has reached 5 seconds. If the duration of the connection state has reached 5 seconds, it proceeds to step 907; if the duration of the connection state has not reached 5 seconds, it returns to step 904.

[0136] Step 907 displays the animation effect of the first virtual object intruding into the second virtual object.

[0137] If the connection lasts for 5 seconds, the terminal displays an animation effect of the first virtual object intruding into the second virtual object.

[0138] Step 908: Display the first and second virtual objects in the disconnected state.

[0139] If the distance between the objects is greater than 5 meters, or if the damage tolerance value of the first virtual object is greater than the damage tolerance threshold, the terminal displays the first and second virtual objects in a disconnected state.

[0140] Step 909, End.

[0141] Please refer to Figure 10 The diagram illustrates a flowchart of the display skill release effect provided in an exemplary embodiment of this application.

[0142] Step 1001: Display the animation effect of the first virtual object intruding into the second virtual object.

[0143] If the connection lasts for 5 seconds, the terminal displays an animation effect of the first virtual object intruding into the second virtual object.

[0144] Step 1002: Display the second virtual object that is in a state of dizziness.

[0145] The terminal displays a second virtual object that is in a state of dizziness and cannot be moved.

[0146] Step 1003: Receive the trigger operation on the selected control within 2 seconds.

[0147] The terminal receives the user's trigger operation on the selected control within 2 seconds.

[0148] Step 1004: If 2 seconds have elapsed, determine whether the first selection result and the second selection result have been received.

[0149] If 2 seconds have elapsed, the terminal determines whether it has received the first selection result and the second selection result. If it has received the first selection result and the second selection result, it proceeds to step 1006; if it has not received the first selection result or the second selection result, it proceeds to step 1005.

[0150] Step 1005: Determine the default selection result as either the first or second selection result.

[0151] If neither the first nor the second selection result is received, the terminal will default to either the first or the second selection result.

[0152] Step 1006: Display the first selection result and the second selection result.

[0153] The terminal displays the first selection result and the second selection result via a selection result indicator.

[0154] Step 1007: Determine whether the first choice result and the second choice result are consistent.

[0155] The terminal determines whether the first selection result and the second selection result are consistent. If the first selection result and the second selection result are consistent, proceed to step 1008; if the first selection result and the second selection result are inconsistent, proceed to step 1009.

[0156] Step 1008: Demonstrate the effect of releasing the first skill.

[0157] If the first and second selection results are the same, the terminal displays the effect of the first skill release, and the first virtual object is damaged under the effect of the first skill release.

[0158] Step 1009: Demonstrate the effect of releasing the second skill.

[0159] If the first and second selection results are inconsistent, the terminal displays the effect of releasing the second skill, and the second virtual object is damaged under the effect of releasing the second skill.

[0160] Please refer to Figure 11 The diagram illustrates a structural block diagram of an apparatus for controlling the release of skills of virtual objects, provided in an exemplary embodiment of this application. The apparatus includes:

[0161] The game display module 1101 is used to display the first virtual object and the second virtual object in the virtual environment;

[0162] The skill release module 1102 is used to display the first virtual object and the second virtual object in a connected state when the skill released by the first virtual object hits the second virtual object.

[0163] The skill release module 1102 is used to display a first selection result corresponding to the first virtual object and a second selection result corresponding to the second virtual object when the duration of the connection state reaches a first duration. The first selection result is triggered by a first control terminal for controlling the first virtual object, and the second selection result is triggered by a second control terminal for controlling the second virtual object.

[0164] The skill release module 1102 is used to display the skill release effect based on the combination of the first selection result and the second selection result, wherein different combinations of selection results correspond to different skill release effects.

[0165] Optionally, the skill release module 1102 includes:

[0166] The receiving unit is configured to receive a trigger operation on the selection control within a second duration when the duration of the connection state reaches the first duration.

[0167] The display unit is configured to display the first selection result and the second selection result via a selection result indicator when the second time duration is reached, wherein the first selection result and the second selection result displayed in the selection result indicator have different display effects.

[0168] Optionally, the display unit is used for:

[0169] If the selection duration reaches the second duration and a trigger operation is received on the selection control, the selection result indicated by the trigger operation is determined as the first selection result or the second selection result; or, if the selection duration reaches the second duration and no trigger operation is received on the selection control, the default selection result is determined as the first selection result or the second selection result.

[0170] The first selection result and the second selection result are displayed by the selection result indicator.

[0171] Optionally, the selection control is a direction control, which is used to control the movement of the virtual object in the virtual environment;

[0172] The receiving unit is used for:

[0173] During the second duration, a directional control operation is received on the directional control, wherein the first virtual object and the second virtual object stop moving during the second duration;

[0174] The direction indicated by the direction control operation is determined as either the first selection result or the second selection result.

[0175] Optionally, the skill release module 1102 includes:

[0176] The first skill release unit is used to display the first skill release effect when the first selection result and the second selection result are consistent, and the first virtual object is damaged under the first skill release effect;

[0177] The second skill release unit is used to display the effect of releasing the second skill when the first selection result and the second selection result are inconsistent. Under the effect of releasing the second skill, the second virtual object is damaged.

[0178] Optionally, the second skill release unit is used for:

[0179] If the first selection result and the second selection result are inconsistent, the skill damage value is determined based on the first selection result and the second selection result, wherein different combinations of selection results correspond to different skill damage values;

[0180] Based on the skill damage value, the effect of releasing the second skill is displayed.

[0181] Optionally, when the selection result is direction, the skill release unit is used to:

[0182] Based on the first direction represented by the first selection result and the second direction represented by the second selection result, the direction angle difference is determined.

[0183] The skill damage value is determined based on the difference in direction angle, and the skill damage value is positively correlated with the difference in direction angle.

[0184] Optionally, the skill release module 1102 is used for:

[0185] If the skill released by the first virtual object hits the second virtual object, the first virtual object and the second virtual object connected by the skill connection line are displayed.

[0186] Optionally, the device further includes:

[0187] An update module is used to update the display effect of the skill connection line within the first time period based on at least one of the object distance and the damage taken value of the first virtual object, wherein the object distance is the distance between the first virtual object and the second virtual object.

[0188] Optionally, the device further includes:

[0189] The release module is used to release the connection state of the first virtual object and the second virtual object if, within the first time period, the distance between the objects is greater than a distance threshold, or the damage-bearing value of the first virtual object is greater than a damage-bearing threshold, wherein the skill connection line disappears after the connection state is released.

[0190] Optionally, the device further includes:

[0191] The skill animation display module is used to display a skill animation when the duration of the connection state reaches the first duration, wherein the skill animation is an animation of the first virtual object invading the second virtual object;

[0192] The skill animation display module is used to display the second virtual object in a dizzy state, during which the second virtual object cannot move.

[0193] In summary, in this embodiment of the application, in a virtual environment, when a skill released by a first virtual object hits a second virtual object, the second virtual object is not directly damaged by the skill release. Instead, it enters a connection state with the first virtual object. When the duration of the connection state reaches a first duration, a combination of selection results is determined based on the first selection result corresponding to the first virtual object and the second selection result corresponding to the second virtual object. Based on the combination of selection results, the skill release effect is displayed. By not directly causing immediate damage to the virtual object when the skill release hits it, but determining different skill release effects based on the selection results between virtual objects, the interaction after the virtual object releases the skill is increased, and the diversity of skill release effects and the interactivity between virtual objects are improved.

[0194] It should be noted that the apparatus provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the apparatus can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their implementation process can be found in the method embodiments, which will not be repeated here.

[0195] Please refer to Figure 12This diagram illustrates a structural block diagram of a terminal 1200 provided in an exemplary embodiment of this application. The terminal 1200 may be a portable mobile terminal, such as a smartphone, tablet computer, Moving Picture Experts Group Audio Layer III (MP3) player, or Moving Picture Experts Group Audio Layer IV (MP4) player. The terminal 1200 may also be referred to as a user device, portable terminal, or other names.

[0196] Typically, terminal 1200 includes a processor 1201 and a memory 1202.

[0197] Processor 1201 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1201 may be implemented using at least one hardware form selected from Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). Processor 1201 may also include a main processor and a coprocessor. The main processor, also known as a central processing unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1201 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1201 may also include an Artificial Intelligence (AI) processor, which is used to handle computational operations related to machine learning.

[0198] The memory 1202 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1202 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1202 are used to store at least one instruction, which is executed by the processor 1201 to implement the method for controlling the release of virtual objects provided in the embodiments of this application.

[0199] In some embodiments, the terminal 1200 may also optionally include: a peripheral device interface 1203 and at least one peripheral device.

[0200] Peripheral interface 1203 can be used to connect at least one input / output (I / O) related peripheral device to processor 1201 and memory 1202. In some embodiments, processor 1201, memory 1202 and peripheral interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1201, memory 1202 and peripheral interface 1203 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0201] Those skilled in the art will understand that Figure 12 The structure shown does not constitute a limitation on terminal 1200 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0202] This application also provides a computer-readable storage medium storing at least one program that is loaded and executed by a processor to implement the method for controlling the release of skills of virtual objects as described in the above embodiments.

[0203] According to one aspect of this application, a computer program product is provided, comprising computer instructions stored in a computer-readable storage medium. A terminal's processor reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to perform the method for controlling the release of virtual objects provided in various alternative implementations of the above aspect.

[0204] 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 storage medium or transmitted as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein communication media include any medium that facilitates the transmission of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.

[0205] 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 controlling the release of skills by virtual objects, characterized in that, The method includes: Display the first and second virtual objects within the game's virtual environment; If the skill released by the first virtual object hits the second virtual object, the first virtual object and the second virtual object, which are in a connected state, are displayed. When the duration of the connection state reaches a first duration, a first selection result corresponding to the first virtual object and a second selection result corresponding to the second virtual object are displayed. The first selection result is triggered by a first control terminal for controlling the first virtual object, and the second selection result is triggered by a second control terminal for controlling the second virtual object. If the first selection result is consistent with the second selection result, the effect of releasing the first skill is displayed, and the first virtual object is damaged under the effect of releasing the first skill; If the first selection result is inconsistent with the second selection result, the effect of releasing the second skill is displayed, and the second virtual object is damaged under the effect of releasing the second skill.

2. The method according to claim 1, characterized in that, When the duration of the connection state reaches a first duration, displaying the first selection result corresponding to the first virtual object and the second selection result corresponding to the second virtual object includes: If the duration of the connection state reaches the first duration, a trigger operation on the selection control is received within the second duration. When the second duration is reached, the first selection result and the second selection result are displayed by a selection result indicator, wherein the first selection result and the second selection result displayed in the selection result indicator have different display effects.

3. The method according to claim 2, characterized in that, The step of displaying the first selection result and the second selection result via a selection result indicator when the second time duration is reached includes: If the second duration is reached and a trigger operation is received for the selection control, the selection result indicated by the trigger operation is determined as the first selection result or the second selection result; or, if the second duration is reached and no trigger operation is received for the selection control, the default selection result is determined as the first selection result or the second selection result. The first selection result and the second selection result are displayed by the selection result indicator.

4. The method according to claim 2, characterized in that, The selection control is a directional control, which is used to control the movement of virtual objects in the game's virtual environment. Receiving a trigger operation on the selection control within the second time period includes: During the second duration, a directional control operation is received on the directional control, wherein the first virtual object and the second virtual object stop moving during the second duration; The direction indicated by the direction control operation is determined as either the first selection result or the second selection result.

5. The method according to claim 1, characterized in that, The description of displaying the second skill release effect when the first selection result and the second selection result are inconsistent includes: If the first selection result and the second selection result are inconsistent, the skill damage value is determined based on the first selection result and the second selection result, wherein different combinations of selection results correspond to different skill damage values; Based on the skill damage value, the effect of releasing the second skill is displayed.

6. The method according to claim 5, characterized in that, When the selection result is a direction, determining the skill damage value based on the first selection result and the second selection result includes: Based on the first direction represented by the first selection result and the second direction represented by the second selection result, the direction angle difference is determined. The skill damage value is determined based on the difference in direction angle, and the skill damage value is positively correlated with the difference in direction angle.

7. The method according to claim 1, characterized in that, When the skill released by the first virtual object hits the second virtual object, displaying the first virtual object and the second virtual object in a connected state includes: If the skill released by the first virtual object hits the second virtual object, the first virtual object and the second virtual object connected by the skill connection line are displayed.

8. The method according to claim 7, characterized in that, The method further includes: Within the first duration, the display effect of the skill connection line is updated based on at least one of the object distance and the damage taken value of the first virtual object, wherein the object distance is the distance between the first virtual object and the second virtual object.

9. The method according to claim 8, characterized in that, The method further includes: If, within the first time period, the distance between the objects is greater than a distance threshold, or the damage taken value of the first virtual object is greater than a damage taken threshold, the connection between the first virtual object and the second virtual object is terminated, wherein the skill connection line disappears after the connection is terminated.

10. The method according to claim 1, characterized in that, The method further includes: If the duration of the connection state reaches the first duration, a skill animation is displayed, wherein the skill animation is an animation of the first virtual object invading the second virtual object; The second virtual object is displayed in a state of dizziness, during which it cannot move.

11. A device for controlling the release of skills by virtual objects, characterized in that, The device includes: The game display module is used to display the first and second virtual objects in the game's virtual environment; The skill release module is used to display the first virtual object and the second virtual object in a connected state when the skill released by the first virtual object hits the second virtual object; The skill release module is used to display a first selection result corresponding to the first virtual object and a second selection result corresponding to the second virtual object when the duration of the connection state reaches a first duration. The first selection result is triggered by a first control terminal for controlling the first virtual object, and the second selection result is triggered by a second control terminal for controlling the second virtual object. The skill release module is used to display a first skill release effect when the first selection result and the second selection result are consistent, under which the first virtual object is damaged; and to display a second skill release effect when the first selection result and the second selection result are inconsistent, under which the second virtual object is damaged.

12. A terminal, characterized in that, The terminal includes a processor and a memory, the memory storing at least one instruction, which is loaded and executed by the processor to implement the method for controlling the release of skills of a virtual object as described in any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that, The readable storage medium stores at least one instruction, which is loaded and executed by a processor to implement the method for controlling a virtual object to release a skill as described in any one of claims 1 to 10.

14. A computer program product, characterized in that, The computer program product includes 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, causing the computer device to perform the method for controlling the release of skills of a virtual object as described in any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method and device for determining hit role, storage medium and computer equipment

    CN112843721A

  • Method for controlling virtual object to release skill, terminal, medium and program product

    CN114404978A