Skill release control method and device, terminal, storage medium and program product
By automatically identifying the target object and releasing the skill when the virtual object leaves the field of view, the problem of inaccurate skill release control in existing technologies is solved, and a more efficient skill release effect is achieved.
Patent Information
- Application Number
- CN202510677908.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2026-11-24
AI Technical Summary
When a virtual object leaves the field of view, the terminal in the existing technology cannot accurately determine the target of skill release, resulting in reduced accuracy of skill release control and a large gap between the user's output and expectations.
When a virtual object is out of sight, the terminal automatically determines the target object from the candidate release objects and controls the virtual object to release the skill to the location where it was when it was out of sight. The target determination is made by setting a release object selection strategy or an artificial intelligence model.
Even when the virtual object is out of view, the skill can still be released accurately, improving the accuracy and efficiency of skill release control and reducing output differences caused by user operation delays.
Smart Images

Figure CN123148648A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of human-computer interaction, and in particular to a skill release control method, device, terminal, storage medium, and program product. Background Technology
[0002] With the development of human-computer interaction technology, terminals can automatically determine and execute complete input operations even when the user's input is incomplete, thereby improving operational efficiency.
[0003] For example, in game scenarios using related technologies, when a user performs a skill release operation without specifying a target, the terminal can identify the target from multiple virtual objects in the unobstructed area and automatically perform the skill release operation on that target, thereby improving the game's operational efficiency.
[0004] However, the above method has some drawbacks. For example, when a virtual object is out of the field of view, if the user's operation is slow, the terminal may determine that the release target is another virtual object, thus failing to achieve the user's expected output result and reducing the accuracy of skill release control. Summary of the Invention
[0005] This application provides a skill release control method, device, terminal, storage medium, and program product. The technical solution is as follows:
[0006] On one hand, embodiments of this application provide a skill release control method, the method comprising:
[0007] Display the first and second virtual objects in the virtual environment;
[0008] When the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, a target release object is determined from the candidate release objects containing the second virtual object. The first skill supports the selection of a release target, and the first skill release operation is an operation in which the release target is not selected.
[0009] When the target release object is the second virtual object, the first virtual object is controlled to release the first skill towards the target location, the target location being related to the position of the second virtual object when it leaves the field of view.
[0010] On the other hand, embodiments of this application provide a skill release control device, the device comprising:
[0011] The display module is used to display the first virtual object and the second virtual object in the virtual environment;
[0012] The determination module is used to determine a target release object from candidate release objects in response to a first skill release operation of a first skill when the second virtual object is out of the field of view of the first virtual object. The candidate release objects include the second virtual object, the first skill supports the selection of release target, and the first skill release operation is an operation in which the release target is not selected.
[0013] The control module is used to control the first virtual object to release the first skill to a target location when the target release object is the second virtual object, wherein the target location is related to the position of the second virtual object when it leaves the field of view.
[0014] 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 computer instruction, the at least one computer instruction being loaded and executed by the processor to implement the method as described above.
[0015] On the other hand, embodiments of this application provide a computer-readable storage medium storing at least one computer instruction, which is loaded and executed by a processor to implement the method described above.
[0016] On the other hand, embodiments of this application provide a computer program product including 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 methods provided in the various optional implementations of the above aspects.
[0017] In this embodiment, when the second virtual object leaves the field of view of the first virtual object, in response to the release operation of the first skill, since the first skill supports target selection and the release operation is an operation without target selection, the terminal needs to automatically determine the target. Because the terminal determines the target release object from the candidate release objects including the second virtual object, even if the second virtual object has left the field of view of the first virtual object, the second virtual object may still be the target release object of the first skill. When the target release object is the second virtual object, the terminal controls the first virtual object to release the first skill towards the target location. Since the target location is related to the position of the second virtual object when it leaves the field of view, the effect of releasing the first skill from the first virtual object towards the position where the second virtual object left the field of view can be achieved. This avoids a large discrepancy between the output result and the user's expectations due to slow skill release operation, thus improving skill release control efficiency. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic diagram of a computer system provided in an exemplary embodiment of this application;
[0020] Figure 2 This is a diagram illustrating how, in related technologies, when a virtual object is out of the user's field of vision, the user cannot use "automatic target acquisition" to release skills at that virtual object.
[0021] Figure 3 This is a flowchart of a skill release control method provided in an exemplary embodiment of this application;
[0022] Figure 4 This is a schematic diagram of a skill release control method provided in an exemplary embodiment of this application;
[0023] Figure 5 This is a flowchart illustrating the determination of a target release object from candidate release objects, provided in an exemplary embodiment of this application.
[0024] Figure 6 This is a flowchart of a skill release control method provided in an exemplary embodiment of this application, in which a terminal determines whether a user performs a first skill release operation in each frame;
[0025] Figure 7 This is a flowchart of a skill release control method provided in an exemplary embodiment of this application when the existence duration of an alternative virtual object is less than a duration threshold;
[0026] Figure 8 This is a schematic diagram illustrating a combo attack formed by the first skill and the second skill, provided in an exemplary embodiment of this application.
[0027] Figure 9 This is a structural block diagram of a skill release control device provided in an exemplary embodiment of this application;
[0028] Figure 10 This is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application. Detailed Implementation
[0029] 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.
[0030] First, the terms used in the embodiments of this application will be introduced.
[0031] Multiplayer Online Battle Arena (MOBA) games: A game genre with team-based gameplay, typically consisting of two teams of players controlling virtual objects to compete on a fixed map.
[0032] Virtual environment: This is a virtual environment displayed (or provided) by an application when it runs on a terminal. This virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment. Optionally, this virtual environment can provide a battle environment between virtual objects. For example, in a MOBA, player-controlled virtual objects battle against other virtual objects in a virtual environment.
[0033] Virtual objects: These are interactive objects in a virtual environment. In some embodiments, virtual objects are interactive objects controlled by a player, such as a single character controlled by a player, or a party controlled by a player. In some embodiments, virtual objects are interactive objects controlled by an application, also known as non-player characters (NPCs).
[0034] Skills: The abilities or operational mechanisms possessed by virtual objects in a virtual environment, used to interact with other virtual objects. These are typically behaviors that can be actively released, passively activated, or triggered under specific conditions. In MOBA games, skills are a core element constituting the differentiated positioning and tactical strategies of virtual objects (especially player-controlled characters), and their design directly affects the character's gameplay role, team division of labor, and competitive balance.
[0035] Automatic target acquisition: When a player inputs a skill release command without specifying a target (such as release location and direction), the game determines the target from multiple possible candidates based on a target selection strategy. Automatic target acquisition improves operational efficiency.
[0036] The skill release control method proposed in this application will be explained below in conjunction with an introduction to MOBA games. However, the method proposed in this application can also be implemented in any other type of game or non-game program, such as any of the following: role-playing game (RPG) programs, first-person shooter (FPS) programs, third-person shooter (TPS) programs, 3D map programs, virtual reality (VR) programs, augmented reality (AR) programs, and simulation game (SLG) programs. This application makes no limitation in this regard.
[0037] See Figure 1 , Figure 1 This is a schematic diagram of a computer system provided in an exemplary embodiment of this application. The computer system may include: a first terminal 110, a server 120, and a second terminal 130.
[0038] The first terminal 110 runs an application 111 that supports a virtual environment. When the first terminal 110 runs the application 111, the user interface of the application 111 is displayed on the screen of the first terminal 110. The first terminal 110 is the terminal used by the first user 112, who uses the first terminal 110 to control virtual objects located in the virtual environment. A virtual object is an active object in the virtual environment. In some embodiments, a virtual object is an active object controlled by a player, such as a single character controlled by the player, or a team controlled by the player. In other embodiments, a virtual object is an active object controlled by an application, or a non-player character. Optionally, the virtual object is a three-dimensional model created based on animation skeletal technology. Each virtual object has its own shape and volume in the virtual environment and occupies a portion of the space in the virtual environment.
[0039] The second terminal 130 runs an application 131 that supports a virtual environment. 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. The second terminal 130 is the terminal used by the second user 132, who uses the second terminal 130 to control virtual objects located in the virtual environment.
[0040] Optionally, the virtual objects controlled by the first user 112 and the second user 132 are in the same virtual environment. Optionally, the virtual objects controlled by the first user 112 and the second user 132 may belong to the same team, have a friend relationship, or have temporary communication permissions. Optionally, the virtual objects controlled by the first user 112 and the second user 132 may belong to different teams or have an adversarial relationship.
[0041] 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.
[0042] Figure 1 Only 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.
[0043] 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.
[0044] 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.
[0045] 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 user account data used by first terminal 110, second terminal 130, and other terminals, such as user account avatars, nicknames, combat power indices, and service regions. Battle service module 124 provides multiple battle rooms for users to engage in battles, such as 1v1, 3v3, 5v5, and 1v5 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 networks.
[0046] It should be noted that in some embodiments, the skill release control method provided in this application can be implemented by the terminal alone, or the terminal and the server can be combined to implement the skill release control method provided in this application. The following description uses the terminal executing the method alone as an example, but this does not constitute a limitation.
[0047] In MOBA games, users can input skill release operations by specifying the release target (such as the release direction and release location). To simplify the operation process and improve operational efficiency, when the user does not specify a release target, the terminal can automatically determine the target release object from multiple candidate release objects within the field of view, and control the virtual object operated by the user to release the skill towards the target release object. This method is also known as "automatic target acquisition".
[0048] However, because the "automatic target acquisition" in related technologies is based on selecting virtual objects within the field of view, in a specific scenario, when the virtual object the user intends to attack is out of the field of view, "automatic target acquisition" may incorrectly select the target to release the skill, leading to the user being unable to understand why the skill was not released correctly. For example, there is a neural transmission time between when a user sees the product output (visually seeing information) and when they react (pressing a button). Due to this time difference, the input scenario when the user performs the skill release operation is actually different from the scenario they observed when they wanted to input. Because the time difference is very short, in most cases the difference between the two scenarios is small, and the user's output will not differ significantly. However, because the virtual object is out of the field of view, the user cannot directly release the skill at the virtual object through "automatic target acquisition," so the difference in output in this scenario is huge, resulting in a perceptible negative experience for the user.
[0049] See Figure 2 , Figure 2 This is a diagram illustrating how, in related technologies, when a virtual object is out of the user's field of vision, the user cannot use "automatic target acquisition" to unleash skills on that virtual object.
[0050] For ease of description, frame rates are used to represent changes in the virtual environment. For example... Figure 1 As shown, in the virtual environment 210-1 of frame 0, there exists a user-controlled first virtual object 211, and a second virtual object 212 and a third virtual object 213 that are hostile to the first virtual object 211. The second virtual object 212 is located near the grass. In the virtual environment 210-2 of frame 1, the second virtual object 212 moves to the grass, causing it to leave the field of vision of the first virtual object 211. In the virtual environment 210-3 of frame 2, due to a series of time errors such as user neural transmission and key press timing, the user performs a skill release operation in frame 2 without specifying a target. At this time, according to the "automatic target acquisition" method in related technologies, the terminal will determine the target release object from the virtual objects within the current field of vision. That is, the terminal determines the third virtual object 213 as the target release object and controls the first virtual object 211 to release the skill towards the third virtual object 213.
[0051] It should be noted that the frame order in this application is mainly used for the logical order of events, and the actual number of frames of the events may not match the number of frames described.
[0052] Therefore, it is evident that using related technologies to achieve automatic target acquisition may result in the terminal identifying other virtual objects as the target of release when the virtual object leaves the field of view, especially if the user's operation is slow. This could lead to the user failing to achieve the expected output and reducing the accuracy of skill release control.
[0053] To improve the accuracy of skill release control, this application proposes a skill release control method that can still achieve good output results even when the virtual object is out of the field of view.
[0054] See Figure 3 , Figure 3 This is a flowchart of a skill release control method provided in an exemplary embodiment of this application. In some embodiments, the method is executed by a terminal. The method includes the following steps.
[0055] Step 301: Display the first virtual object and the second virtual object in the virtual environment.
[0056] A virtual environment is an environment displayed (or provided) by an application when it runs on a terminal. This virtual environment can be a simulation of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment. Optionally, the virtual environment can provide a battle environment between virtual objects. For example, in a MOBA, player-controlled virtual objects battle against other virtual objects in a virtual environment.
[0057] A virtual object is an active object in a virtual environment. In some embodiments, a virtual object is an active object controlled by a player, such as a single character controlled by a player, or a party controlled by a player. In some embodiments, a virtual object is an active object controlled by an application, or a non-player character.
[0058] In some embodiments, the first virtual object is a virtual object controlled by a player, and the second virtual object is a virtual object that is hostile to the first virtual object (e.g., it may be a virtual object controlled by another player or a virtual object controlled by an application).
[0059] In some embodiments, the virtual environment is the environment from the perspective of the first virtual object.
[0060] See Figure 4 , Figure 4 This is a schematic diagram of a skill release control method provided in an exemplary embodiment of this application.
[0061] like Figure 4As shown, in the virtual environment 410-1 of frame 0, a first virtual object 411 and a second virtual object 412 are displayed. In addition, a third virtual object 413 is also displayed in virtual environment 410-1. The second virtual object 412 and the third virtual object 413 are in an adversarial relationship with the first virtual object 411.
[0062] Step 302: When the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, the target release object is determined from the candidate release objects containing the second virtual object. The first skill supports the selection of release target, and the first skill release operation is an operation without selecting a release target.
[0063] The second virtual object leaving the field of view of the first virtual object means that the second virtual object moves from within the field of view of the first virtual object to outside the field of view of the first virtual object.
[0064] The field of view of the first virtual object refers to the range that the first virtual object can see.
[0065] Regarding the specific manner in which the second virtual object leaves the field of view of the first virtual object, in one possible scenario, the second virtual object leaves the field of view of the first virtual object when it enters an occluded area (e.g., into bushes or a building providing cover). In another possible scenario, the second virtual object leaves the field of view of the first virtual object when it is occluded by an object (e.g., by a specific object). In yet another possible scenario, the second virtual object leaves the field of view of the first virtual object when the object distance between the two virtual objects increases (e.g., exceeds a distance threshold). Furthermore, those skilled in the art can determine the specific manner in which the second virtual object leaves the field of view of the first virtual object according to actual needs, and there are no limitations on this.
[0066] The first skill is a skill that the first virtual object can release. Optionally, under specific release conditions (such as reaching a specified duration, or the object attributes of the first virtual object meeting specific requirements), the user can control the first virtual object to perform the first skill release operation.
[0067] The first skill release operation is used to release the first skill. Optionally, the first skill release operation may include releasing the skill release control. In addition, the first skill release operation may be implemented in any other possible way, such as through voice control, through specific gestures or hotkeys, without any restrictions.
[0068] In some embodiments, the first skill supports selecting a release target. Optionally, the release target can be the target release direction, the target release location, or the target release object.
[0069] Optionally, the first skill allows you to select the target release direction, or the first skill allows you to select the target release location.
[0070] In one possible scenario, if the user selects a target release direction, the terminal controls the first virtual object to release the first skill in that direction. For example, if the user selects the direction via a wheel and determines the target release direction to be north when performing the first skill release operation, the terminal controls the first virtual object to release the first skill towards north.
[0071] In another possible scenario, if the user selects a target release location, the terminal controls the first virtual object to release the first skill towards that location. For example, if the user performs the first skill release operation and the point corresponding to the target release location is determined via a map, the terminal controls the first virtual object to release the first skill towards that point.
[0072] In another possible scenario, if a target object is selected during the first skill release operation, the terminal controls the first virtual object to release the first skill towards the target object. For example, if the user selects a virtual object 'a' by clicking on an avatar when performing the first skill release operation, the terminal controls the first virtual object to release the first skill towards virtual object 'a'.
[0073] In some embodiments, when the first skill release operation is an operation in which no release target is selected, the terminal determines the target release object from the candidate release objects containing the second virtual object.
[0074] In some embodiments, the candidate release objects include virtual objects within the field of view of the first virtual object, and second virtual objects outside the field of view of the first virtual object.
[0075] like Figure 4 In the virtual environment 410-2 of the first frame, the second virtual object 412 enters the grass from outside the grass, thus leaving the field of vision of the first virtual object 411.
[0076] At this time, when the user controls the first virtual object 411 to perform the skill release operation of the first skill, the terminal will consider the third virtual object 413 within the field of view of the first virtual object 411 and the second virtual object 412 outside the field of view as candidate release objects.
[0077] Regarding the specific method by which the terminal determines the target release object from the candidate release objects, in some embodiments, the terminal may pre-set a release object selection strategy and select the target release object from the candidate release objects according to the release object selection strategy.
[0078] As an example only, the release target selection strategy can be to select the candidate release target with the lowest number of objects as the target release target (for example, select the candidate release target with the lowest health as the target release target).
[0079] As an example only, the release object selection strategy can be to select the candidate release object that is closest to the first virtual object as the target release object.
[0080] As an example only, the release object selection strategy can be to select candidate release objects of a specified type as the target release object.
[0081] Regarding the specific method by which the terminal determines the target release object from the candidate release objects, in some embodiments, the terminal may also input the object attributes of each candidate release object into an artificial intelligence model, and select the target release object from the candidate release objects through the artificial intelligence model.
[0082] In addition, those skilled in the art can set the method for determining the target release object from the candidate release objects according to actual needs, without any restrictions.
[0083] Step 303: When the target release object is the second virtual object, control the first virtual object to release the first skill towards the target location. The target location is related to the position of the second virtual object when it leaves the field of vision.
[0084] The target object determined by the terminal from multiple candidate release objects may be the second virtual object, or it may be a virtual object other than the second virtual object. For example... Figure 4 In the process, the target object to be released by the terminal may be the second virtual object 412 or the third virtual object 413.
[0085] In some embodiments, when the target release object is a second virtual object, the terminal controls the first virtual object to release the first skill to the target location.
[0086] The target location is related to the position of the second virtual object when it leaves the field of view.
[0087] Optionally, the target location is the position of the second virtual object when it leaves the field of view (for example, the second virtual object is in the last frame of the first virtual object's field of view).
[0088] Optionally, the target position can also be the position after offsetting the location of the second virtual object when it leaves the field of view, for example, the position after offsetting according to a preset offset vector.
[0089] Optionally, the target location can also be the location of the second virtual object in a preset frame after the second virtual object enters the field of view of the first virtual object and is no longer visible.
[0090] Taking the target location as the position of the second virtual object when it leaves the field of view as an example, such as Figure 4 In the virtual environment 410-3 of the second frame, in response to the first skill release operation, the terminal determines the target release object from the candidate release objects (including the second virtual object 412 and the third virtual object 413). If the target release object is the second virtual object 412, the terminal controls the first virtual object 411 to release the first skill to the position where the second virtual object 412 is located when it leaves the field of view.
[0091] Comparison with this application Figure 4 and related technologies Figure 2 It is understood that by using the skill release control method provided in this application, even when the second virtual object leaves the field of vision of the first virtual object, the effect of the first virtual object releasing the first skill to the target location can still be achieved, and the target location is related to the position of the second virtual object when it leaves the field of vision.
[0092] In some embodiments, when the target release object is a third virtual object, the terminal controls the first virtual object to release the first skill at the location of the third virtual object.
[0093] In summary, when the second virtual object leaves the field of view of the first virtual object, in response to the release operation of the first skill, since the first skill supports target selection and the release operation is an operation without target selection, the terminal needs to automatically determine the target. Because the terminal determines the target release object from the candidate release objects including the second virtual object, even if the second virtual object has left the field of view of the first virtual object, the second virtual object may still be the target release object of the first skill. When the target release object is the second virtual object, the terminal controls the first virtual object to release the first skill towards the target location. Since the target location is related to the position of the second virtual object when it left the field of view, it can achieve the effect of releasing the first skill towards the position where the second virtual object was when it left the field of view. This avoids a large discrepancy between the output result and the user's expectations due to slow skill release operation, thus improving the efficiency of skill release control.
[0094] Since the purpose of this application is to avoid the situation where the user's skill release operation is slow and the output result is far from the user's expectation, the terminal can control the determination of the target release object from the candidate release objects containing the second virtual object within a certain period of time after the second virtual object leaves the field of view; and if the second virtual object leaves the field of view for a long time, the second virtual object will no longer be used as a candidate release object.
[0095] See Figure 5 , Figure 5 This is a flowchart illustrating the determination of a target release object from candidate release objects, provided by an exemplary embodiment of this application. The process includes the following steps.
[0096] Step 510: The second virtual object moves out of the field of view of the first virtual object.
[0097] Optionally, if the second virtual object enters the occlusion area, or if the second virtual object is occluded by a specified occlusion object, or if the object distance between the second virtual object and the first virtual object is greater than a distance threshold, the terminal determines that the second virtual object has left the field of view of the first virtual object.
[0098] Step 520: Received the first skill release operation for the first skill.
[0099] The first skill allows you to select a target to release, and the release of the first skill is an operation without selecting a target.
[0100] Step 530: Determine whether the time interval between the operation time of the first skill release and the time of the exit from the field of vision is greater than the time threshold.
[0101] Optionally, the duration threshold is a value preset by the terminal, such as 200ms.
[0102] The "viewpoint detachment moment" is the moment when the second virtual object leaves the field of view of the first virtual object. For example, it is the moment when the second virtual object appears in the last frame of the first virtual object's field of view.
[0103] If the time interval between the moment of the first skill release operation and the moment of leaving the field of vision is not greater than the time threshold, proceed to step 541; if the time interval between the moment of the first skill release operation and the moment of leaving the field of vision is greater than the time threshold, proceed to step 542.
[0104] Step 541: Determine the target release object from the candidate release objects containing the second virtual object.
[0105] In some embodiments, when the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, and the time interval between the operation time of the first skill release operation and the time of the field of view being out of view is not greater than a time interval threshold, the terminal determines the target release object from the candidate release objects containing the second virtual object.
[0106] Optionally, the candidate objects to be released include the second virtual object and the third virtual object that is within the field of view of the first virtual object.
[0107] Step 542: Determine the target release object from the candidate release objects that do not contain the second virtual object.
[0108] In some embodiments, when the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, and the time interval between the operation time of the first skill release operation and the time of the field of view being out of view is greater than a time interval threshold, the terminal determines the target release object from the candidate release objects that do not contain the second virtual object.
[0109] Optionally, the candidate release objects may not include the second virtual object. For example, the candidate release objects may only include the third virtual object that is within the field of view of the first virtual object.
[0110] In this embodiment, when the time interval between the operation time of the first skill release operation and the time of the field of vision being removed is greater than the time threshold, since the second virtual object has been out of the field of vision of the first virtual object for a long time, it is no longer necessary to implement the skill release effect with the target release object as the second virtual object. At this time, the terminal determines the target object from the candidate release objects containing the second virtual object, which is beneficial to improving the control efficiency of skill release.
[0111] In one possible implementation, when the second virtual object is out of the field of view of the first virtual object, the terminal can create a replacement virtual object corresponding to the second virtual object based on the position of the second virtual object at the moment it is out of the field of view.
[0112] Among them, the substitute virtual object is not visible in the virtual environment.
[0113] Optionally, the alternative virtual object can be a virtual object with an opacity of 1.
[0114] In some embodiments, the object properties of the alternative virtual object are the same as the object properties of the second virtual object at the moment of view removal.
[0115] As an example only, in frame 1, if the second virtual object leaves the field of view and enters the grass, the terminal will create a replacement virtual object at the last location of the second virtual object in frame 1, set the transparency of the replacement virtual object to 1, and make all object attributes of the replacement virtual object the same as the object attributes of the second virtual object when it left the field of view (e.g., same health, same virtual object type, same stamina value, etc.).
[0116] Since the object attributes of the substitute virtual object are the same as those of the second virtual object when it is out of sight, when the terminal determines the target release object from the candidate release objects containing the second virtual object based on the object attributes, the object attributes of the substitute virtual object can be used to replace the object attributes of the second virtual object, so that the terminal can make a decision on the target release object based on the situation and circumstances at the moment of being out of sight.
[0117] In some embodiments, the target location is the location of the second virtual object when it is out of view, that is, the location of the substitute virtual object.
[0118] In some embodiments, when the target release object is a second virtual object, the terminal controls the first virtual object to release the first skill to the target location where the substitute virtual object is located.
[0119] Since the purpose of creating the alternative virtual object is to allow the terminal to control the first virtual object to release the first skill to the target location of the alternative virtual object when the target release object is the second virtual object, the terminal can delete the alternative virtual object to save storage space when it does not need to release the first skill to the target location.
[0120] In some embodiments, the terminal deletes the substitute virtual object if the conditions for deleting the substitute object are met.
[0121] The conditions for deleting a substitute object include at least one of the following: the duration of the substitute virtual object's existence reaches a duration threshold, the second virtual object re-enters the field of vision of the first virtual object, and the second virtual object is defeated.
[0122] Optionally, the duration threshold is a value preset by the terminal, such as 200ms.
[0123] Optionally, if the second virtual object re-enters the field of view of the first virtual object within 200ms, the terminal deletes the replacement virtual object corresponding to the second virtual object. In response to the first skill release operation, the terminal determines the target release object from the candidate release objects containing the second virtual object. If the target release object is the second virtual object, the terminal controls the first virtual object to release the first skill towards the real-time location of the second virtual object.
[0124] Optionally, if the second virtual object is defeated, the terminal deletes the replacement virtual object corresponding to the second virtual object.
[0125] Since a user may perform the first skill release operation in any frame, the terminal can determine whether the user has performed the first skill release operation in each frame.
[0126] See Figure 6 , Figure 6 This is a flowchart of a skill release control method provided in an exemplary embodiment of this application, in which a terminal determines whether a user performs a first skill release operation in each frame.
[0127] like Figure 6 As shown, in frame 0, the second virtual object is located outside the grass, and at this time, the second virtual object is within the field of view of the first virtual object. The terminal determines whether it has received the first skill release operation in frame 0.
[0128] When the terminal receives the first skill release operation in frame 0, it determines the target release object from the candidate release objects containing the second virtual object and executes step 601. If the target release object is the second virtual object, it controls the first virtual object to release the first skill to the real-time position of the second virtual object.
[0129] If no first skill release operation is received in frame 0, proceed to frame 1.
[0130] In frame 1, the second virtual object enters the bushes, at which point it moves out of the first virtual object's field of vision. The terminal then creates a replacement virtual object at the location where the second virtual object was at the moment it moved out of vision, and determines whether the first skill release operation was received in frame 1.
[0131] When the terminal receives the first skill release operation in the first frame, it determines the target release object from the candidate release objects containing the second virtual object and executes step 602. If the target release object is the second virtual object, it controls the first virtual object to release the first skill to the location of the substitute virtual object.
[0132] If the first skill release operation is not received in the first frame, proceed to the second frame.
[0133] In frame 2, the second virtual object is in the grass, and at this time, the second virtual object is out of the field of vision of the first virtual object. The terminal determines whether it has received the first skill release operation in frame 2.
[0134] When the terminal receives the first skill release operation in the second frame, it determines the target release object from the candidate release objects containing the second virtual object and executes step 603. If the target release object is the second virtual object, it controls the first virtual object to release the first skill to the location of the substitute virtual object.
[0135] If the first skill release operation is not received in the second frame, proceed to the third frame.
[0136] In frame 3, the second virtual object leaves the bushes and returns to the field of view of the first virtual object. The terminal then deletes the replacement virtual object corresponding to the second virtual object and checks whether the first skill release operation was received in frame 3.
[0137] When the terminal receives the first skill release operation in the third frame, it determines the target release object from the candidate release objects containing the second virtual object and executes step 604. If the target release object is the second virtual object, it controls the first virtual object to release the first skill to the real-time position of the second virtual object.
[0138] If the first skill release operation is not received in the 3rd frame, proceed to the 4th frame.
[0139] In frame 4, the second virtual object re-enters the bushes, at which point it moves out of the first virtual object's field of vision. The terminal then creates a replacement virtual object at the location where the second virtual object was when it moved out of vision (if the second virtual object entered at different locations in frames 1 and 4, the locations of the replacement virtual objects created in frames 1 and 4 will also be different), and determines whether the first skill release operation was received in frame 4.
[0140] When the terminal receives the first skill release operation in the 4th frame, it determines the target release object from the candidate release objects containing the second virtual object and executes step 605. If the target release object is the second virtual object, it controls the first virtual object to release the first skill to the location of the substitute virtual object.
[0141] If the first skill release operation is not received in the 4th frame, the process ends.
[0142] In some embodiments, since the terminal will delete the substitute virtual object when the duration of the substitute virtual object corresponding to the second virtual object exceeds a duration threshold (e.g., 200ms), the duration of the substitute virtual object is less than or equal to the duration threshold. Taking a frame as 100ms as an example, the duration of the substitute virtual object does not exceed 2 frames.
[0143] See Figure 7 , Figure 7 This is a flowchart of a skill release control method provided in an exemplary embodiment of this application when the existence duration of an alternative virtual object is less than a duration threshold.
[0144] like Figure 7 As shown, in frame 0, the second virtual object is located outside the grass, and at this time, the second virtual object is within the field of view of the first virtual object. The terminal determines whether it has received the first skill release operation in frame 0.
[0145] When the terminal receives the first skill release operation in frame 0, it determines the target release object from the candidate release objects containing the second virtual object and executes step 701. If the target release object is the second virtual object, it controls the first virtual object to release the first skill to the real-time position of the second virtual object.
[0146] If no first skill release operation is received in frame 0, proceed to frame 1.
[0147] In frame 1, the second virtual object enters the bushes, at which point it moves out of the first virtual object's field of vision. The terminal then creates a replacement virtual object at the location where the second virtual object was at the moment it moved out of vision, and determines whether the first skill release operation was received in frame 1.
[0148] When the terminal receives the first skill release operation in the first frame, it determines the target release object from the candidate release objects containing the second virtual object and executes step 702. If the target release object is the second virtual object, it controls the first virtual object to release the first skill to the location of the substitute virtual object.
[0149] If the first skill release operation is not received in the first frame, proceed to the second frame.
[0150] In frame 2, the second virtual object is in the grass, and at this time, the second virtual object is out of the field of vision of the first virtual object. The terminal determines whether it has received the first skill release operation in frame 2.
[0151] When the terminal receives the first skill release operation in the second frame, it determines the target release object from the candidate release objects containing the second virtual object and executes step 703. If the target release object is the second virtual object, it controls the first virtual object to release the first skill to the location of the substitute virtual object.
[0152] If the first skill release operation is not received in the second frame, proceed to the third frame.
[0153] In frame 3, the second virtual object is in the grass, and at this time, the second virtual object is out of the field of vision of the first virtual object. The terminal determines whether it has received the first skill release operation in frame 3.
[0154] When the terminal receives the first skill release operation in the third frame, it determines the target release object from the candidate release objects containing the second virtual object and executes step 704. If the target release object is the second virtual object, it controls the first virtual object to release the first skill to the location of the substitute virtual object.
[0155] If the first skill release operation is not received in the 3rd frame, proceed to the 4th frame.
[0156] In frame 4, the second virtual object is in the grass, and at this time, the second virtual object is not visible to the first virtual object. Since the duration of the substitute virtual object corresponding to the second virtual object is greater than the duration threshold of 200ms, the terminal deletes the substitute virtual object corresponding to the second virtual object and determines whether the first skill release operation was received in frame 4.
[0157] Upon receiving a first skill release operation in frame 4, the terminal executes step 705, determining the target release object from the candidate release objects that do not include the second virtual object. If the target release object is the third virtual object, the terminal controls the first virtual object to release the first skill at the location of the third virtual object.
[0158] If the first skill release operation is not received in the 4th frame, the process ends.
[0159] It should be noted that the frame order in this application is mainly for the logical order of events, and the actual number of frames for each event may not match the described frame number. For example, Figure 6-8 The number of frames shown is for illustrative purposes only and does not constitute a limitation on the scope of this application.
[0160] Regarding the method for determining the target location, those skilled in the art can determine the target location based on the actual needs and the position of the second virtual object when it leaves the field of view of the first virtual object.
[0161] In one possible scenario, the terminal determines the target location as the position of the second virtual object when it leaves the field of view.
[0162] In another possible scenario, the terminal obtains the offset position by the position of the second virtual object when it leaves the field of view, and determines the offset position as the target position.
[0163] Optionally, the terminal offsets the position of the second virtual object when it leaves the field of view according to a preset offset vector, and obtains the offset position.
[0164] Optionally, the terminal determines the offset based on the movement of the second virtual object when it leaves the field of view and the duration of the movement.
[0165] The movement duration is the time between the moment the first skill is released and the moment the character leaves the field of vision.
[0166] Optionally, the movement of the second virtual object when it is out of the field of view includes its movement speed and direction.
[0167] In some embodiments, the terminal offsets the position of the second virtual object when it leaves the field of view based on the offset amount, and obtains the offset position.
[0168] Based on the movement and duration of the second virtual object when it leaves the field of view, the offset is determined, and the offset position is obtained based on the offset. This allows the terminal to control the first virtual object to release the first skill at the offset position. Since the offset position is closer to the actual position of the second virtual object, a more accurate skill release effect can be displayed, thus improving the efficiency of the skill release control method.
[0169] In some other possible implementations, the terminal may also determine the position of the second virtual object in a preset frame after the second virtual object has left the field of view of the first virtual object as the target position.
[0170] As an example only, in frame 3, the second virtual object enters the operation. The preset frame is 2 frames. Then the terminal determines the position of the second virtual object in frame 5 as the target position, thereby achieving a certain delay display effect, making the display effect of skill release operation smoother and more natural.
[0171] In one possible scenario, after performing the first skill release operation, the user may continue to perform the second skill release operation, and the second skill and the first skill form a combo.
[0172] To improve the efficiency of skill release control, in some embodiments, when the target release object is a second virtual object, in response to the second skill release operation of the second skill, the terminal controls the first virtual object to release the second skill to the target location.
[0173] The second skill allows you to select a target to release, but the second skill release operation does not require selecting a target.
[0174] See Figure 8 , Figure 8 This is a schematic diagram illustrating a combo attack formed by the first skill and the second skill, provided in an exemplary embodiment of this application.
[0175] like Figure 8As shown, in the virtual environment 810-1 of frame 0, a first virtual object 811 and a third virtual object 813 are displayed. The second virtual object enters the grass and moves out of the first virtual object's field of vision. In frame 0, in response to the first skill release operation, the terminal determines the target release object from the candidate release objects (including the second and third virtual objects). If the target release object is the second virtual object, the terminal controls the first virtual character to release the first skill towards the target location, where the target location is the position where the second virtual object was when it moved out of the field of vision.
[0176] In the virtual environment 810-2 of frame 1, in response to the release operation of the second skill, when the second skill and the first skill form a combo, and the second skill also supports the selection of release target, but the release operation of the second skill is an operation without selecting a release target, in order to improve the skill release control efficiency, the terminal does not need to determine the target release target of the second skill release operation from the candidate release targets again for the second skill release operation. Instead, it directly controls the first virtual object to release the second skill to the target position, thereby realizing the sequential release of the first skill and the second skill to the target position to display the release effect of the combo.
[0177] In this embodiment, when the target release object is the second virtual object, in response to the second skill release operation of the second skill, the terminal controls the first virtual object to release the second skill to the target location. This eliminates the need for the terminal to determine the target release object of the second skill release operation from the candidate release objects again, thus displaying the release effect of the combo and improving the skill release control efficiency.
[0178] In one possible scenario, the skill release control method provided in this application is applicable to any second virtual object. In another possible scenario, the terminal executes the skill release control method provided in this application only if the second virtual object meets the target acquisition optimization conditions.
[0179] That is, in some embodiments, when the second virtual object meets the target acquisition optimization conditions and the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, the terminal determines the target release object from the candidate release objects containing the second virtual object.
[0180] Among them, when the second virtual object meets the target acquisition optimization conditions, the buff obtained by the first virtual object when releasing the first skill to the target location is higher than the buff obtained by the first virtual object when releasing the first skill to other locations outside the target location.
[0181] Optionally, the buff obtained by the first virtual object at the target location may be the amount of damage to the enemy obtained by releasing the first skill at the target location, the number of enemies defeated after releasing the first skill at the target location, or any other possible game buff of the first virtual object. This application does not limit the method of measuring the buff.
[0182] Optionally, the target acquisition optimization condition includes the second virtual object's object attributes being lower than the attribute threshold.
[0183] As an example only, when the second virtual object's health is below a health threshold, the terminal determines that the second virtual object meets the target acquisition optimization conditions and identifies the target release object from the candidate release objects that include the second virtual object. If the target release object is the second virtual object, the terminal controls the first virtual character to release the first skill towards the target location. Since the second virtual object's movement speed is relatively slow, and because its health is below the health threshold, the first virtual object has a higher probability of defeating the second virtual object with the first skill, thereby gaining the benefit of defeating the second virtual object.
[0184] Optionally, the target acquisition optimization condition includes the second virtual object being continuously attacked by the first virtual object before the second virtual object leaves the field of view.
[0185] As an example only, if the second virtual object is attacked more times by the first virtual object than a threshold number before leaving the field of view, the terminal determines that the second virtual object meets the target acquisition optimization conditions and identifies the target release object from the candidate release objects that include the second virtual object. If the target release object is the second virtual object, the terminal controls the first virtual character to release the first skill towards the target location. Because the second virtual object has been attacked more times by the first virtual object than the threshold number, the first virtual object has a higher probability of increasing the number of attacks on the second virtual object again when the second virtual object's movement speed is relatively slow, thereby gaining the benefit of increased attack count.
[0186] Optionally, target acquisition optimization conditions include the reward obtained from defeating the second virtual object reaching a reward threshold.
[0187] As an example only, if the second virtual object is an enemy with a high bounty, or if the second virtual object is of a higher level, and the reward obtained by the first virtual object for defeating the second virtual object reaches a reward threshold, the terminal determines that the second virtual object meets the target acquisition optimization conditions and identifies the target release object from the candidate release objects that include the second virtual object. If the target release object is the second virtual object, the terminal controls the first virtual character to release its first skill towards the target location. If the second virtual object moves slowly, the first virtual object has a higher probability of damaging the second virtual object with its first skill, thus having a chance to defeat the second virtual object earlier and obtain a reward higher than the reward threshold.
[0188] It should be noted that the above target acquisition optimization conditions are only examples. Those skilled in the art can also set specific conditions for the second virtual object to meet the target acquisition optimization conditions according to actual needs, and there are no restrictions on this.
[0189] In this embodiment, when the second virtual object meets the target acquisition optimization conditions and the second virtual object is out of the field of vision of the first virtual object, in response to the first skill release operation of the first skill, the terminal determines the target release object from the candidate release objects including the second virtual object. When the target release object is the second virtual object, the terminal controls the first virtual character to release the first skill to the target position of the second virtual object. Since the gain obtained by the first virtual object to release the first skill to the target position is higher than the gain obtained by the first virtual object to release the first skill to other positions outside the target position, the effect of skill release can be maximized and the efficiency of skill release control can be improved.
[0190] See Figure 9 , Figure 9 This is a structural block diagram of a skill release control device provided in an exemplary embodiment of this application. The device includes:
[0191] Display module 901 is used to display a first virtual object and a second virtual object in a virtual environment;
[0192] The determining module 902 is used to determine a target release object from candidate release objects in response to a first skill release operation of a first skill when the second virtual object is out of the field of view of the first virtual object. The candidate release objects include the second virtual object, the first skill supports selecting a release target, and the first skill release operation is an operation in which the release target is not selected.
[0193] The control module 903 is used to control the first virtual object to release the first skill to a target location when the target release object is the second virtual object, wherein the target location is related to the position of the second virtual object when it leaves the field of view.
[0194] Optionally, module 902 is used for:
[0195] When the second virtual object leaves the field of view of the first virtual object, in response to the first skill release operation of the first skill, and the time interval between the operation time of the first skill release operation and the time of leaving the field of view is not greater than a time interval threshold, the target release object is determined from the candidate release objects containing the second virtual object, and the time of leaving the field of view is the time when the second virtual object leaves the field of view of the first virtual object.
[0196] Optionally, module 902 is used for:
[0197] When the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, and the time interval between the operation time of the first skill release operation and the time of the field of view being out of view is greater than the time interval threshold, the target release object is determined from the candidate release objects that do not contain the second virtual object.
[0198] Optional, control module 903, used for:
[0199] Based on the position of the second virtual object at the moment of visual detachment, a replacement virtual object corresponding to the second virtual object is created, and the replacement virtual object is invisible in the virtual environment;
[0200] If the target release object is the second virtual object, control the first virtual object to release the first skill to the target location where the alternative virtual object is located.
[0201] Optionally, the object attributes of the substitute virtual object are the same as those of the second virtual object at the moment of visual detachment.
[0202] Optional, control module 903, used for:
[0203] If the conditions for deleting the substitute object are met, the substitute virtual object is deleted. The conditions for deleting the substitute virtual object include at least one of the following: the duration of the substitute virtual object's existence reaches the duration threshold, the second virtual object re-enters the field of view of the first virtual object, and the second virtual object is defeated.
[0204] Optionally, module 902 is used for:
[0205] The target location is determined by the position of the second virtual object when it leaves the field of view; or...
[0206] The offset position is obtained by shifting the position of the second virtual object when it leaves the field of view; the offset position is determined as the target position.
[0207] Optionally, module 902 is used for:
[0208] Based on the movement and duration of the second virtual object when it leaves the field of view, the offset is determined. The duration of movement is the time between the operation time of the first skill release and the time when it leaves the field of view.
[0209] Based on the offset, the position of the second virtual object when it leaves the field of view is offset to obtain the offset position.
[0210] Optional, control module 903, used for:
[0211] When the target release object is the second virtual object, in response to the second skill release operation of the second skill, the first virtual object is controlled to release the second skill to the target location. The second skill and the first skill form a combo. The second skill supports selecting the release target, and the second skill release operation does not select the release target.
[0212] Optionally, module 902 is used for:
[0213] When the second virtual object meets the target acquisition optimization conditions and the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, the target release object is determined from the candidate release objects containing the second virtual object;
[0214] Wherein, when the second virtual object meets the target acquisition optimization conditions, the gain obtained by the first virtual object when releasing the first skill at the target location is greater than the gain obtained by the first virtual object when releasing the first skill at other locations besides the target location.
[0215] Optionally, the target acquisition optimization conditions include at least one of the following:
[0216] The second virtual object's object attributes are below the attribute threshold;
[0217] Before the second virtual object leaves the field of view, the second virtual object is continuously attacked by the first virtual object;
[0218] The reward obtained from defeating the second virtual object reaches the reward threshold.
[0219] Optionally, the first skill allows selection of the target release direction, or the first skill allows selection of the target release location.
[0220] See Figure 10 , Figure 10 This is a schematic diagram of the structure of a terminal provided in an exemplary embodiment of this application. Specifically, the terminal 1000 includes a Central Processing Unit (CPU) 1001, a system memory 1004 including a random access memory 1002 and a read-only memory 1003, and a system bus 1005 connecting the system memory 1004 and the CPU 1001. The terminal 1000 also includes a basic input / output system (I / O system) 1006 that facilitates the transmission of information between various devices within the computer, and a mass storage device 1007 for storing the operating system 1013, application programs 1014, and other program modules 1015.
[0221] The basic input / output system 1006 includes a display 1008 for displaying information and an input device 1009 for user input, such as a mouse or keyboard. Both the display 1008 and the input device 1009 are connected to the central processing unit 1001 via an input / output controller 1010 connected to the system bus 1005. The basic input / output system 1006 may also include the input / output controller 1010 for receiving and processing input from multiple other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 1010 also provides output to a display screen, printer, or other types of output devices.
[0222] The mass storage device 1007 is connected to the central processing unit 1001 via a mass storage controller (not shown) connected to the system bus 1005. The mass storage device 1007 and its associated computer-readable media provide non-volatile storage for the terminal 1000. That is, the mass storage device 1007 may include computer-readable media (not shown) such as a hard disk or drive.
[0223] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include random access memory (RAM), read-only memory (ROM), flash memory or other solid-state storage technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage media are not limited to the above-mentioned types. The system memory 1004 and mass storage device 1007 described above can be collectively referred to as memory.
[0224] The memory stores one or more programs, which are configured to be executed by one or more central processing units 1001. The one or more programs contain computer instructions for implementing the methods described above. The central processing unit 1001 executes the one or more programs to implement the methods provided in the various method embodiments described above.
[0225] According to various embodiments of this application, the terminal 1000 can also be connected to a remote computer on a network, such as the Internet. That is, the terminal 1000 can be connected to the network 1012 via the network interface unit 1011 connected to the system bus 1005, or the network interface unit 1011 can be used to connect to other types of networks or remote computer systems (not shown).
[0226] The memory further includes one or more programs stored in the memory, and the one or more programs include steps executed by the terminal in the method provided in the embodiments of this application.
[0227] This application also provides a computer-readable storage medium storing at least one computer instruction, which is loaded and executed by a processor to implement the method described in the above embodiments. Optionally, the computer-readable storage medium may include ROM, RAM, solid-state drives (SSDs), or optical discs, etc. The RAM may include resistive random access memory (ReRAM) and dynamic random access memory (DRAM).
[0228] This application also provides a computer program product or computer program that includes 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 methods provided in the various optional implementations of the above aspects.
[0229] 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 skill release control method, characterized in that, The method includes: Display the first and second virtual objects in the virtual environment; When the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, a target release object is determined from the candidate release objects containing the second virtual object. The first skill supports the selection of a release target, and the first skill release operation is an operation in which the release target is not selected. When the target release object is the second virtual object, the first virtual object is controlled to release the first skill towards the target location, the target location being related to the position of the second virtual object when it leaves the field of view.
2. The method according to claim 1, characterized in that, When the second virtual object leaves the field of view of the first virtual object, in response to the first skill release operation of the first skill, determining the target release object from the candidate release objects containing the second virtual object includes: When the second virtual object leaves the field of view of the first virtual object, in response to the first skill release operation of the first skill, and the time interval between the operation time of the first skill release operation and the time of leaving the field of view is not greater than a time interval threshold, the target release object is determined from the candidate release objects containing the second virtual object, and the time of leaving the field of view is the time when the second virtual object leaves the field of view of the first virtual object.
3. The method according to claim 2, characterized in that, The method further includes: When the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, and the time interval between the operation time of the first skill release operation and the time of the field of view being out of view is greater than the time interval threshold, the target release object is determined from the candidate release objects that do not contain the second virtual object.
4. The method according to claim 2, characterized in that, The method further includes: Based on the position of the second virtual object at the moment of visual detachment, a replacement virtual object corresponding to the second virtual object is created, and the replacement virtual object is invisible in the virtual environment; When the target release object is the second virtual object, controlling the first virtual object to release the first skill to the target location includes: If the target release object is the second virtual object, control the first virtual object to release the first skill to the target location where the alternative virtual object is located.
5. The method according to claim 4, characterized in that, The object attributes of the substitute virtual object are the same as those of the second virtual object at the moment of visual detachment.
6. The method according to claim 4, characterized in that, The method further includes: If the conditions for deleting the substitute object are met, the substitute virtual object is deleted. The conditions for deleting the substitute virtual object include at least one of the following: the duration of the substitute virtual object's existence reaches the duration threshold, the second virtual object re-enters the field of view of the first virtual object, and the second virtual object is defeated.
7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: The target location is determined by the position of the second virtual object when it leaves the field of view; or... The offset position is obtained by shifting the position of the second virtual object when it leaves the field of view; the offset position is determined as the target position.
8. The method according to claim 7, characterized in that, The step of obtaining the offset position by shifting the position of the second virtual object when it leaves the field of view includes: Based on the movement and duration of the second virtual object when it leaves the field of view, the offset is determined. The duration of movement is the time between the operation time of the first skill release and the time when it leaves the field of view. Based on the offset, the position of the second virtual object when it leaves the field of view is offset to obtain the offset position.
9. The method according to any one of claims 1 to 8, characterized in that, The method further includes: When the target release object is the second virtual object, in response to the second skill release operation of the second skill, the first virtual object is controlled to release the second skill to the target location. The second skill and the first skill form a combo. The second skill supports selecting the release target, and the second skill release operation does not select the release target.
10. The method according to any one of claims 1 to 9, characterized in that, When the second virtual object leaves the field of view of the first virtual object, in response to the first skill release operation of the first skill, determining the target release object from the candidate release objects containing the second virtual object includes: When the second virtual object meets the target acquisition optimization conditions and the second virtual object is out of the field of view of the first virtual object, in response to the first skill release operation of the first skill, the target release object is determined from the candidate release objects containing the second virtual object; Wherein, when the second virtual object meets the target acquisition optimization conditions, the gain obtained by the first virtual object when releasing the first skill at the target location is greater than the gain obtained by the first virtual object when releasing the first skill at other locations besides the target location.
11. The method according to claim 10, characterized in that, The target acquisition optimization conditions include at least one of the following: The second virtual object's object attributes are below the attribute threshold; Before the second virtual object leaves the field of view, the second virtual object is continuously attacked by the first virtual object; The reward obtained from defeating the second virtual object reaches the reward threshold.
12. The method according to any one of claims 1 to 11, characterized in that, The first skill allows you to select the target release direction, or the first skill allows you to select the target release location.
13. A skill release control device, characterized in that, The device includes: The display module is used to display the first virtual object and the second virtual object in the virtual environment; The determination module is used to determine a target release object from candidate release objects in response to a first skill release operation of a first skill when the second virtual object is out of the field of view of the first virtual object. The candidate release objects include the second virtual object, the first skill supports the selection of release target, and the first skill release operation is an operation in which the release target is not selected. The control module is used to control the first virtual object to release the first skill to a target location when the target release object is the second virtual object, wherein the target location is related to the position of the second virtual object when it leaves the field of view.
14. A terminal, characterized in that, The terminal includes a processor and a memory; the memory stores at least one computer instruction, which is executed by the processor to implement the skill release control method as described in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer instruction, which is loaded and executed by a processor to implement the skill release control method as described in any one of claims 1 to 12.
16. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium; the processor of the terminal reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the terminal to perform the skill release control method as described in any one of claims 1 to 12.
