Virtual character control method, device, equipment, storage medium and product
By adjusting the landing point of the second skill based on the duration and position of the second trigger operation in multiplayer online tactical competitive games, the problem of inaccurate release position of virtual characters has been solved, improving reaction speed and realism.
Patent Information
- Application Number
- CN202510677147.2
- 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
In multiplayer online tactical battle games, when a virtual character releases their first skill, the change in position can cause the landing point of their second skill to be inaccurate, affecting reaction flexibility and realism.
After the first skill is released, the landing point of the second skill is dynamically adjusted based on the operation time and landing point of the second trigger operation to ensure that it matches the actual situation.
It improves the reaction speed and flexibility of virtual characters in the virtual world, enhancing users' sense of realism and participation in virtual control.
Smart Images

Figure CN123148641A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of human-computer interaction, and in particular to a method, apparatus, device, storage medium, and product for controlling virtual characters. Background Technology
[0002] In Multiplayer Online Battle Arena (MOBA) games, players control virtual characters to explore, fight, or engage in other activities within a virtual world. In one scenario, after a player uses their virtual character to unleash a first skill, they might want to cache a second skill during the skill's activation, based on real-time changes in the virtual world's combat situation. For example, if a virtual character selects and interacts with a virtual enemy, and while using their first skill to interact with that enemy, a second virtual enemy might approach and potentially harm the character. In this situation, the player controlling the virtual character might need to cache the second skill, such as to escape the second enemy's damage range.
[0003] In some situations, the first skill might be one that allows the character to move, such as when a virtual character uses a skill from their initial position and moves towards a designated target location during the skill's execution. In this case, if the second skill is cached based on the virtual character's position in the virtual world, the selected landing point of the second skill might not be what the player intends, resulting in a rather rigid reaction from the virtual character. Therefore, improving the accuracy of determining the landing point of the second skill is a problem that needs to be solved. Summary of the Invention
[0004] This application provides a method, apparatus, device, storage medium, and product for controlling virtual characters, and the technical solution is as follows.
[0005] According to one aspect of this application, a method for controlling a virtual character is provided, the method being executed by a client, the method comprising:
[0006] Display virtual characters in a virtual world, each possessing at least two skills;
[0007] In response to the first trigger operation for the first skill, the virtual character releases the first skill, and the virtual character's position in the virtual world changes during or after the release of the first skill;
[0008] Based on the operation time of the second trigger operation for the second skill and the first release landing point position, after the first skill is released, the virtual character is shown to release the second skill. The second release landing point position of the second skill after release is different from the first release landing point position.
[0009] Among them, the second skill is a skill that is different from the first skill among at least two skills, and the first release landing point is the release landing point indicated by the second trigger operation.
[0010] According to one aspect of this application, a control device for a virtual character is provided, the device comprising:
[0011] The display module is used to display virtual characters in the virtual world. Each virtual character has at least two skills.
[0012] The response module is used to respond to the first trigger operation for the first skill, displaying the virtual character releasing the first skill, and the virtual character's position in the virtual world changing during or after the release of the first skill;
[0013] The display module is also used to display the virtual character releasing the second skill after the first skill is released, based on the operation duration of the second trigger operation for the second skill and the first release landing position. The second release landing position of the second skill after release is different from the first release landing position.
[0014] Among them, the second skill is a skill that is different from the first skill among at least two skills, and the first release landing point is the release landing point indicated by the second trigger operation.
[0015] According to another aspect of this application, a client is provided for implementing the virtual character control method described above.
[0016] According to another aspect of this application, a computer storage medium is provided, wherein at least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by a processor to implement the virtual character control method as described above.
[0017] According to another aspect of this application, a computer program product is provided, comprising a computer program stored in a computer-readable storage medium; the computer program is read from and executed by a processor of a computer device from the computer-readable storage medium, causing the computer device to perform the virtual character control method as described above.
[0018] The beneficial effects of the technical solutions provided in this application include at least the following:
[0019] The second skill can be cached during the process of a virtual character releasing the first skill, allowing the virtual character to quickly release the second skill after the first skill is released, thereby improving the virtual character's reaction speed in the virtual world and enhancing the virtual character's flexibility.
[0020] Specifically, the second release point of the second skill is determined in real-time based on the duration of the second trigger operation and the first release point. This allows the second release point to more closely match the actual situation of the virtual character and enables intelligent judgment of the user's true intentions, thus satisfying the user's need for a realistic virtual control experience. The first release point is the release point indicated by the second trigger operation in the virtual world, while the second release point is the actual release point of the second skill. This makes the virtual character's reactions more realistic and flexible, thereby increasing the user's sense of participation in the virtual world and making human-computer interaction more engaging. Attached Figure Description
[0021] 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.
[0022] Figure 1 This is a schematic diagram of the architecture of a computer system provided in one embodiment of this application;
[0023] Figure 2 This is a schematic diagram of a scenario illustrating a virtual character control method provided in one embodiment of this application;
[0024] Figure 3 This is a schematic diagram of a virtual character control method provided in one embodiment of this application;
[0025] Figure 4 This is a flowchart of a virtual character control method provided in one embodiment of this application;
[0026] Figure 5 This is a flowchart of a virtual character control method provided in one embodiment of this application;
[0027] Figure 6 This is a schematic diagram of a virtual character control method provided in one embodiment of this application;
[0028] Figure 7 This is a flowchart of a virtual character control method provided in one embodiment of this application;
[0029] Figure 8This is a flowchart of a virtual character control method provided in one embodiment of this application;
[0030] Figure 9 This is a flowchart of a virtual character control method provided in one embodiment of this application;
[0031] Figure 10 This is a structural block diagram of a virtual character control device provided in one embodiment of this application;
[0032] Figure 11 This is a structural block diagram of a computer device provided in one embodiment of this application. Detailed Implementation
[0033] 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.
[0034] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0035] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0036] It should be understood that although the terms first, second, etc., may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, a first parameter may also be referred to as a second parameter, and similarly, a second parameter may also be referred to as a first parameter. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0037] It should be noted that this application may display prompt interfaces, pop-ups, or output voice prompts before and during the collection of user data. These prompt interfaces, pop-ups, or voice prompts are used to inform the user that their data is being collected. This ensures that the application only begins the steps for collecting user data after receiving confirmation from the user regarding the prompt interface or pop-up; otherwise (i.e., without user confirmation), the steps for collecting user data end, meaning no user data is collected. In other words, all user data collected in this application is collected with the user's consent and authorization, and the collection, use, and processing of related user data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0038] First, let me introduce the relevant terms used in this application:
[0039] Virtual world: A virtual environment displayed (or provided) by an application when it runs on a terminal. The virtual world is implemented based on a virtual environment. This virtual world can be a simulation of the real world, a semi-simulated / semi-fictional three-dimensional world, or a purely fictional three-dimensional world. The virtual environment can be any of a two-dimensional, 2.5-dimensional, or three-dimensional virtual environment; this application does not limit it. The following embodiments illustrate this using a three-dimensional virtual environment.
[0040] For example, a virtual environment includes the sky, land, and ocean. The land includes environmental elements such as plants and houses, and users can control their virtual characters to move within this environment. This virtual environment also includes virtual objects, which can be interactive, such as virtual beds, chairs, lamps, and bathtubs, allowing users to control their virtual characters to lie on the virtual bed or sit in the virtual chair. These virtual objects can also be non-interactive, such as virtual trees, virtual rocks, and virtual house structures (which may include roofs, floors, pillars, doors, and windows). This virtual environment can also simulate real-world conditions under different weather conditions, such as sunny days, rainy days, foggy days, or nighttime. The diverse scene elements enhance the diversity and realism of the virtual environment.
[0041] Virtual character: A movable object in a virtual environment. This movable object can be at least one of a virtual person, a virtual animal, or a virtual anime character. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual character can be a three-dimensional virtual model, each virtual character having its own shape and volume in the three-dimensional virtual environment and occupying a portion of the space within the three-dimensional virtual environment. Optionally, the virtual character is a three-dimensional object constructed based on three-dimensional human skeleton technology, and the virtual character achieves different external appearances by wearing different skins. In some implementations, the virtual character can also be implemented using a 2.5D or 2D model; this application does not limit this aspect.
[0042] NPC (Non-Player Character): A character created specifically for the purpose of gameplay, typically playing a role in driving the plot forward. NPC characters are not controlled by the player; examples include characters who give quests or trigger story events. In some embodiments, virtual characters can be implemented as virtual monsters. The movement path, attack methods, and attack power of these virtual monsters are pre-set by the server, and one or more players can control their respective virtual characters to fight against these virtual monsters.
[0043] Figure 1 This illustration shows an architectural diagram of a computer system provided in an exemplary embodiment of this application. The computer system 100 may include: a first terminal device 110, a server 120, and a second terminal device 130.
[0044] The first terminal device 110 has a client 111 installed and running that supports a virtual environment. This client 111 can be a multiplayer online battle arena program. When the first terminal device 110 runs the client 111, the game interface of the client 111 is displayed on the screen of the first terminal device 110. The client 111 can be any of the following: a massively multiplayer online role-playing game (MMORPG), a battle royale shooting game, a virtual reality (VR) application, an augmented reality (AR) application, a 3D mapping application, a virtual reality game, an augmented reality game, a first-person shooter (FPS) game, a third-person shooter (TPS) game, a multiplayer online battle arena (MOBA) game, or a simulation game (SLG). The first terminal device 110 is a terminal used by the first user 112. The first user 112 uses the first terminal device 110 to control a first virtual character located in the virtual world to perform activities and operate virtual items owned by the first virtual character. The first virtual character can be referred to as the virtual character of the first user 112, or a virtual character controlled by the first user 112, etc. The first user 112 can perform operations such as assembling, disassembling, and unloading virtual items owned by the first virtual character, which are not limited in this application. The activities of the first virtual character include, but are not limited to, at least one of the following: moving, jumping, teleporting, releasing skills, using props, adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, and throwing.
[0045] The second terminal device 130 has a client 131 installed and running that supports a virtual environment. This client 131 can be a multiplayer online battle arena program. When the second terminal device 130 runs the client 131, the game interface of the client 131 is displayed on the screen of the second terminal device 130. This client can be any of the following: MMORPG, MOBA, battle royale shooting game, VR application, AR program, 3D map program, virtual reality game, augmented reality game, FPS, TPS, SLG. The second terminal device 130 is the terminal used by the second user 132. The second user 132 uses the second terminal device 130 to control a second virtual character located in the virtual world to perform activities and operate the virtual items owned by the second virtual character. The second virtual character can be referred to as the virtual character of the second user 132, the virtual character controlled by the second user 132, etc. The activities of the second virtual character include, but are not limited to: moving, jumping, teleporting, releasing skills, using items, adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, and throwing at least one of the following.
[0046] Optionally, users can choose to enter different virtual environments; or, users can choose to randomly enter different virtual environments; or, users will enter different virtual environments in a random order preset by the developer. The virtual environments are pre-designed by the developer; or, the virtual environments are created by users using a user-generated content (UGC) editor provided by the client.
[0047] Optionally, the first virtual character and the second virtual character are in the same virtual environment. Optionally, the first virtual character and the second virtual character can belong to the same faction, the same team, the same organization, have a friend relationship, or have temporary communication permissions.
[0048] Optionally, the clients installed on the first terminal device 110 and the second terminal device 130 are the same, or the clients installed on the two terminals are the same type of client on different operating system platforms (Android or iOS). The first terminal device 110 can refer to one of a plurality of terminals, and the second terminal device 130 can refer to another of a plurality of terminals. This embodiment only uses the first terminal device 110 as an example. The device types of the first terminal device 110 and the second terminal device 130 may be the same or different, and the device types include at least one of the following: smartphone, tablet computer, e-book reader, MP3 player, MP4 player, laptop computer, and desktop computer.
[0049] Figure 1Only two terminals are shown in the diagram, but in different embodiments, multiple other terminals 140 can access the server 120. Optionally, one or more terminals 140 may also be terminals corresponding to developers, on which a development and editing platform for clients supporting virtual environments is installed. Developers can edit and update the client on the terminal 140 and transmit the installation package of the updated client to the server 120 via wired or wireless network. The first terminal device 110 can download the client installation package from the server 120 to update the client.
[0050] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 is used to provide backend services to client 111. Optionally, server 120 undertakes the primary computing work, and the first terminal device 110 undertakes the secondary computing work; or, server 120 undertakes the secondary computing work, and the first terminal device 110 undertakes the primary computing work; or, server 120 and the first terminal device 110 collaborate on computing using a distributed computing architecture.
[0051] Optionally, the server 120 includes a processor 121, a user account database 122, a battle service module 123, and a user-facing input / output interface (I / O interface) 124. The processor 121 loads instructions stored in the server 120 and processes data in the user account database 122 and the battle service module 123. The user account database 122 stores data about user accounts used by the first terminal device 110 and other terminals 140, such as the user account's avatar, name, combat power index, and service area. The battle service module 123 provides multiple battle rooms for users to engage in battles, such as 1v1, 3v3, and 5v5 battles. The user-facing I / O interface 124 establishes communication and exchanges data with the first terminal device 110 and / or other terminals 140 via a wireless or wired network.
[0052] The first terminal device 110, the second terminal device 130, and other terminals 140 are connected to the server 120 via a wireless network or a wired network.
[0053] In some embodiments, the first terminal device 110 and the second terminal device 130 send user operation data during a game to the server 120. The server 120 receives the operation data, processes it to obtain a processing result, and sends the processing result to the first terminal device 110 and the second terminal device 130 respectively.
[0054] In related technologies, players control virtual characters to explore, fight, or engage in other activities in a virtual world. For example, players can control their virtual characters to unleash specific skills. Figure 2 A scene diagram illustrating a virtual character control method provided in one embodiment of this application is shown.
[0055] For example, in the virtual world 200 displayed in the virtual world, there are virtual characters 201 and virtual enemies 202 of virtual characters 201. The virtual world 200 may also optionally display other virtual characters and / or one or more non-player characters. Players can control the virtual characters through one or more skill controls 203 in the virtual world 200.
[0056] When a player controls the skill control 203 to make the virtual character release the first skill, the attack range of the first skill is displayed in the virtual world 200. The virtual character 201 releases the first skill at its current location and causes damage to other virtual characters or non-player characters within the attack range of the first skill.
[0057] It should be noted that the attack range of the first skill can be a circular area centered on the virtual character, and the radius of this circular area can be set according to actual needs; this application does not limit this. Alternatively, the attack range of the first skill can be an area in a specified direction. (Reference) Figure 2 When the user triggers the skill control 203 and drags it to the location of the virtual enemy 202, the attack range of the first skill will be displayed in the virtual world 200 with the virtual character 201 as the center, and the attack path of the specified virtual enemy 202 will be displayed to prompt the player whether to use the first skill to attack the virtual enemy 202.
[0058] According to the relevant design in the related technology, when the virtual character 201 attacks the virtual enemy 202 according to the instructions, it can directly release the first skill in the direction of the virtual enemy 202 from its current position, or it can release the skill while moving to the location of the virtual enemy 202.
[0059] In some scenarios, the virtual character 201's position in the virtual world may change during or after the release of its first skill; that is, the virtual character 201 may be displaced during or after the release of its first skill. In such cases, given the real-time changes in the combat situation within the virtual world, players may want to cache their second skill. For example, while virtual character 201 is using its first skill to damage virtual enemy 202, another virtual enemy may approach virtual character 201, potentially harming it. In this situation, the player might need to control virtual character 201 to cache its second skill, such as to escape the damage range of the other virtual enemy.
[0060] Therefore, if the second skill of the virtual character 201 is cached, the actual release point of the selected second skill may not be what the player wants, based on the movement of the virtual character 201 in the virtual world 200. This would result in the virtual character 201 reacting rather rigidly in the virtual world 200. How to improve the accuracy of the release point of the second skill is a problem that needs to be solved.
[0061] Therefore, in order to solve the problems existing in related technologies, this application provides a method for controlling virtual characters. Figure 3 A schematic diagram illustrating the control method of the virtual character is shown.
[0062] Indicatively, virtual character 301 is displayed in virtual world 300.
[0063] The virtual character 301 is controlled by the player through their primary account logged into the client. Virtual character 301 possesses at least two skills, each of which can be triggered via different skill controls on the display interface or via a game controller. (Reference) Figure 3 The virtual character 301 possesses multiple skills that can be triggered through multiple game controls in the lower right corner of the display interface (i.e., the circular icon shown in the figure).
[0064] Taking the first skill being triggered by a game control as an example, in response to the triggering operation of the first skill, the virtual character 301 is displayed to release the first skill. If the player clicks the game control corresponding to the first skill, the virtual character 301 will cast the spell in the virtual world 300. The position of the virtual character 301 in the virtual world 300 changes during or after the release of the first skill.
[0065] In some embodiments, the first skill is a skill with inherent movement characteristics, such as when virtual character 301 attacks while moving in a specified direction towards a specified virtual character; that is, virtual character 301 moves during the release of the first skill. In other embodiments, the first skill is a skill without inherent movement characteristics, but the player can control virtual character 301 to move during the release of the first skill. This can also be displayed on the screen as virtual character 301 moving while releasing the skill, resulting in a position after the first skill is released that differs from its initial position; that is, virtual character 301 moves after the first skill is released. (See reference) Figure 3 Virtual character 301 releases its first skill between two cover points in virtual world 300. After the first skill is released, virtual character 301 moves to the area around the cover point in the upper right corner.
[0066] For example, based on the operation duration of the second trigger operation for the second skill and the first release landing position 303, after the first skill is released, the virtual character 301 is displayed to release the second skill. The second release landing position 304 after the second skill is released is different from the first release landing position 303. Here, the second skill is a skill that is different from the first skill among at least two skills, and the first release landing position 303 is the release landing position indicated by the second trigger operation.
[0067] refer to Figure 3 Taking the second skill triggered by the skill control 302 as an example, the player can click on the skill control 302 and drag it to the first release landing point 303. This process is the second trigger operation for the second skill. The time it takes for the player to click on the skill control 302 and drag it to the first release landing point 303 is the operation duration of the second trigger operation. The first release landing point 303 is the endpoint position for the player to complete the second trigger operation. It can also be understood as: the first release landing point 303 is the release landing point position indicated by the second trigger operation for the second skill.
[0068] In some embodiments, during the triggering process of the second triggering operation, the attack range O1 of the virtual player 301 releasing the second skill can be displayed in the virtual world 300 (shown as a black circle in the figure). Reference Figure 3 The first release point 303 is outside the attack range of the second skill 01, meaning the endpoint of the second trigger operation is outside the maximum release distance of the second skill.
[0069] In this scenario, if the duration of the second triggering operation is short (e.g., 0.2 seconds), it can be assumed that the player, based on the real-time changes in the scene within the virtual world 300, may want the virtual character 301 to release the second skill from a relatively distant location. Subsequently, based on the duration of the second triggering operation and the first release landing point 303, the second release landing point 304 of the second skill can be determined. For example, if the duration of the second triggering operation is shorter than the preset duration, and the first release landing point 303 exceeds the attack range 01 of the second skill, it is confirmed that the player wants to release the second skill from a relatively distant location. Subsequently, the location where the virtual character 301 is after releasing the first skill is determined as the origin, a character coordinate system is established in real time, and the second release landing point 304 is determined based on the character coordinate system.
[0070] Exemplary Reference Figure 3 The second release landing point 304 can be determined in the following way:
[0071] When virtual character 301 releases its first skill between two pieces of cover, a second trigger operation for the second skill is triggered. The position between the two pieces of cover (the position of virtual character 301 when it receives the second trigger operation) is determined as the first character position of virtual character 301. After the first skill is released, virtual character 301 moves to the area around the cover in the upper right corner (the position of virtual character 301 after releasing the first skill). The area around the cover in the upper right corner is then determined as the second character position of virtual character 301.
[0072] Subsequently, based on the first distance between the first release landing point 303 and the first character position, the second release landing point 304 and the second character position are determined. In some embodiments, the first distance and the second distance are equal; in other embodiments, the first distance and the second distance are related, that is, the second distance can be determined based on the first distance. For example, if the first release landing point 303 exceeds the attack range 01 of the second skill, that is, the endpoint of the second trigger operation exceeds the maximum release distance of the second skill, the position where the maximum release distance is reached, along the operation direction of the second trigger operation and starting from the second character position, is determined as the second release landing point 304.
[0073] After determining the second landing point 304, the virtual character 301 moves after releasing the first skill and releases the second skill at the second landing point 304. (Reference) Figure 3 Virtual character 301 releases its first skill between two pieces of cover and caches its second skill. After releasing the first skill, virtual character 301 moves to the area around the cover in the upper right corner and immediately releases its second skill at the second release landing point 304. It is evident that the first release landing point 303 and the second release landing point 304 are two different locations within the virtual world 300. The first release landing point 303 is the release landing point indicated by the second trigger operation for the second skill in the virtual world 300, while the second release landing point 304 is the actual corresponding release landing point of the second skill in the virtual world 300.
[0074] In other embodiments, if the duration of the second triggering operation is relatively long, and / or the first release landing point 303 is still within the attack range 01 of the first skill, it can be assumed that the player has carefully considered the actual release landing point of the second skill. In this case, the first release landing point 303 is still determined as the actual release landing point of the second skill.
[0075] Referring to the above, the actual landing point of the second skill (either the first landing point 303 or the second landing point 304) can be determined based on different coordinate systems. For example, the virtual world 300 has a world coordinate system, which is established based on the virtual world 300. If the actual landing point of the second skill is determined based on the world coordinate system, then it is determined as the first landing point 303. If the construction condition of a character coordinate system with the virtual character 301 as the origin is met, a character coordinate system can be constructed. If the actual landing point of the second skill is determined based on the character coordinate system, then it is determined as the second landing point 304.
[0076] Optionally, the construction conditions for the character coordinate system are: the operation duration of the second triggering operation is not greater than the first threshold, and the distance between the first release landing point 303 and the first character position is not less than the second threshold. The first character position is the position of the virtual character 301 when it receives the second triggering operation. After determining the actual release landing point of the second skill in the character coordinate system, it can be mapped to the world coordinate system. At this time, the specific position of the second release landing point 304 in the world coordinate system can be determined, thus determining that the actual release landing point of the virtual character 301's second skill is the second release landing point 304.
[0077] Taking the first threshold as the duration of the second skill and the second threshold as the maximum release distance of the second skill as an example, when the player performs the second trigger operation, the virtual character 301 is in the first character position, and the first release landing point 303 is 6 units directly to the right of the first character position. However, the maximum release distance of the second skill is 5 units, meaning the distance between the first release landing point 303 and the first character position exceeds the maximum release distance of the second skill. At this point, if the condition that the duration of the second trigger operation is not greater than the first threshold is still met, then the condition for constructing the character coordinate system is satisfied.
[0078] Subsequently, a character coordinate system is constructed in real time, with the position of virtual character 301 when the first skill is released (i.e., the second character position) as the origin. It should be noted that the character coordinate system constructed at different times will also differ depending on the second character position.
[0079] After constructing the character coordinate system, the second release landing point position 304 can be determined in the character coordinate system based on the distance and angle between the first release landing point position and the first character position. Referring to the previous content, the first release landing point position 303 is 6 units directly to the right of the first character position, so the coordinates of the second release landing point position 304 in the character coordinate system are (6,0). Subsequently, according to the relationship between the world coordinate system and the character coordinate system, (6,0) in the character coordinate system is mapped to the world coordinate system, thereby obtaining the coordinates of the second release landing point position 304 in the world coordinate system, thus controlling the virtual character 301 to release the second skill at the second release landing point position 304.
[0080] Figure 4 This is a flowchart illustrating a virtual character control method provided in an exemplary embodiment of this application. The method is applied to... Figure 1 The terminal device 110 shown is illustrated as an example. Terminal device 110 can be considered a first client, used by a first account to control a first virtual character, or a first terminal running the first client used to control the first virtual character. The method includes:
[0081] Step 420: Display a virtual character in the virtual world, the virtual character having at least two skills.
[0082] For example, the terminal running the client is the first terminal. The first terminal runs a first client that supports a virtual environment, and the display screen of the first terminal can display virtual scene images. The virtual scene images are scene images in the virtual environment captured by a camera model, and the virtual scene images can be regarded as all or part of the display images of the virtual world involved in this application.
[0083] In some embodiments, one or more virtual characters exist in the virtual world, each controlled by a different user. Optionally, one or more non-player characters also exist in the virtual world. These non-player characters can be characters set up to advance the plot, characters that cannot be controlled by the player, such as virtual characters controlled by artificial intelligence (AI), or virtual characters controlled by computer programs on the terminal and / or computer programs on the server, such as virtual monsters.
[0084] In the virtual world, a virtual character controlled by a player possesses at least two skills, thereby enabling interaction with other virtual characters and / or non-player characters.
[0085] Any one of the at least two skills can be released within an attack range to attack one or more virtual characters and / or non-player characters within that range, or it can be released in a specific direction to attack one or more virtual characters and / or non-player characters in that direction, or it can target a single virtual character or non-player character. This application does not limit the specific attack method of any one of the at least two skills. In other embodiments, any one of the at least two skills can also execute commands other than attack commands, such as defensive, auxiliary, or control commands, which are not listed here. It should be understood that any action that allows any virtual character in any virtual game to execute different types of commands such as attack, defense, auxiliary, or control can be considered as any one of the at least two skills indicated in this application.
[0086] In some embodiments, taking the virtual character's skill as an example, the virtual character can release the corresponding skill within a preset attack range. This attack range can be a circular area centered on the virtual character, and the radius of this circular area can be set according to actual needs; this application does not limit this. Optionally, the virtual character's attack range may or may not be displayed in the virtual world. (See reference) Figure 3 The attack range 01 of the second skill of the virtual character 301 can be displayed as a black circle, and one or more reminder effects can be attached to the black circle, such as displaying a glowing effect on the black circle; in some other embodiments, when the virtual character 301 does not interact with other virtual characters or non-player characters, the attack range 01 of the second skill may not be displayed in the virtual world.
[0087] Step 440: In response to the first trigger operation for the first skill, display the virtual character releasing the first skill, and the virtual character's position in the virtual world changes during or after the release of the first skill.
[0088] For example, a virtual character is controlled by a first account corresponding to the client. The user can control the virtual character's activities, such as interacting with other virtual characters or non-player characters in the virtual world, through interaction with the client's display screen (which is a touch-enabled screen, also known as a touchscreen) or external interactive devices (such as a mouse, keyboard, stylus, game controller, etc.). This application embodiment uses a player-controlled virtual character as an example; the player's first account, logged into through the client, has control over the virtual character.
[0089] In some embodiments, the virtual character possesses at least a first skill and a second skill, with different triggering operations corresponding to the two skills. The first triggering operation for the first skill and the second triggering operation for the second skill can be implemented as one or more of the following operations: a single-click triggering operation, a continuous-click triggering operation, a pressing operation, a dragging operation, etc. For example, the first triggering operation for the first skill could be pressing the skill space and dragging it to the desired location.
[0090] To demonstrate the realism of the virtual game, at least one or more of the two skills may have hand-raising and casting animations, which can be understood as skill pre-casting and post-casting animations. In some embodiments, if the first skill has a pre-casting or post-casting animation, the virtual character may move within the virtual world during the skill's release, or the virtual character may move within the virtual world after releasing the first skill. Based on this, it can be understood that, according to step 440, the virtual character's position in the virtual world changes during or after the first skill's release.
[0091] Apart from the above situations, the first skill may not have a pre-cast or post-cast animation. However, during the process of the virtual character releasing the first skill, the player may control the virtual character to move in the virtual world, which may cause the virtual character's position in the virtual world to change during or after the release of the first skill.
[0092] In some embodiments, the first skill is a skill that has movement characteristics, or it can be understood as a skill that has a pre-cast animation and / or a post-cast animation.
[0093] Optionally, the first skill can be a basic movement skill, which moves the user in a specified direction and releases the skill. This movement can be forward, roll, spin, dash, etc.; or, the first skill can be a reverse movement skill, where the movement direction is opposite to the skill release direction. This movement can be a back jump, backstep, etc.; or, the first skill can be a forced movement skill, which forcibly changes the user's position during skill release. This forced change can be a flash, retreat, return, dash, sweeping movement, wall-crossing, long-range attack, etc.; or, the first skill can be a teleportation skill, which can be a long-range teleport, follow-up movement, multi-stage movement, etc.
[0094] For example, the first skill is to rotate in a certain direction and attack other virtual characters and / or non-player characters along the rotation path, and the virtual character moves along the rotation path while releasing the first skill; another example is that the first skill is to attack from the original position and then jump backward, that is, the virtual character takes a step back after casting the spell in place; yet another example is that the first skill is to flash from the current position to a designated position.
[0095] In other embodiments, the first skill is a skill that does not inherently possess movement characteristics; it can also be understood as a skill without pre-cast and / or post-cast animations. Subsequently, while the virtual character is releasing the first skill, the player controls the virtual character to move in a specified direction within the virtual world. For example, the first skill releases a specified type of attack from the initial position, but while the virtual character is performing the casting action, it also receives a movement command. At this point, the virtual world displays the virtual character simultaneously performing the casting action and a movement motion in the specified direction.
[0096] Step 460: Based on the operation duration of the second trigger operation for the second skill and the first release landing point position, after the first skill is released, the virtual character is shown to release the second skill. The second release landing point position of the second skill after release is different from the first release landing point position.
[0097] Indicatively, the second skill is a skill that is different from the first skill among at least two skills, and the first release landing point is the release landing point indicated by the second triggering operation.
[0098] Because the virtual character's position in the virtual world changes during or after the first skill is released, if the virtual character receives a second trigger operation for the second skill, the virtual character needs to cache the second skill and release it immediately after the first skill is released. At this point, since the virtual character's position in the virtual world changes after the first skill is released, it is necessary to accurately determine the actual landing point of the second skill.
[0099] In some embodiments, the player controlling the virtual character pre-determines where to release the second skill, and then performs a second trigger operation for the second skill. In this case, to achieve the expected operation, the player will perform a relatively long operation on the second trigger operation, such as aiming at a target for 3 seconds; or, the player will precisely confirm the release landing point indicated by the second trigger operation (i.e., the first release landing point), such as confirming it at a specific location within the attack range of the second skill. Based on this, it can be considered that the player's release of the second skill is well-thought-out, and the virtual character will release the second skill according to the second trigger operation after the first skill is released. At this time, the actual release landing point of the second skill is the same as the first release landing point.
[0100] In other embodiments, based on real-time changes in the virtual world's scene, the player controlling the virtual character needs to dynamically adjust the character's behavior accordingly. For example, while the virtual character is releasing its first skill, one or more powerful virtual enemies suddenly appear. Faced with this unexpected situation, the virtual character needs to quickly escape the current scene. In this case, the actual landing point of the second skill will be temporarily selected by the player. When the player performs the second trigger operation, both the duration of the second trigger operation and the landing point of the first skill are temporarily determined. Therefore, there are situations where the duration of the second trigger operation is too short, and / or the landing point of the first skill is outside the attack range of the second skill.
[0101] In this case, the actual landing point of the second skill will change to a second landing point that is different from the landing point of the first skill. For example, refer to... Figure 3 If the duration of the second trigger operation for the second skill is shorter than the preset duration, and the first release landing point 303 exceeds the attack range 01 of the second skill (i.e., the elliptical area in the diagram), it is confirmed that the player wants to release the second skill from a farther position. The second trigger operation is a click and drag operation on the skill control 302. Subsequently, the position where the virtual character 301 is after releasing the first skill is determined as the origin, a character coordinate system is established in real time, and the second release landing point 304 is determined in the character coordinate system. Based on this, the virtual character 301 releases the first skill between two cover points and caches the second skill. After releasing the first skill, the virtual character 301 moves to the area around the cover point in the upper right corner and immediately releases the second skill at the second release landing point 304.
[0102] The character coordinate system is established with the virtual character's position at the end of the first skill's release as the origin, such as... Figure 3 The character coordinate system of virtual character 301 can be established based on the position of the cover in the upper right corner.
[0103] In summary, the virtual character control method provided in this embodiment can cache the second skill during the release of the first skill, so that the virtual character can quickly release the second skill after the first skill is released, thereby improving the reaction speed of the virtual character in the virtual world and enhancing the flexibility of the virtual character.
[0104] Specifically, the second release point of the second skill is determined in real-time based on the duration of the second trigger operation and the first release point. This ensures the second release point more closely matches the actual situation of the virtual character and intelligently judges the user's true intentions, thus satisfying the user's need for a realistic virtual control experience. Conversely, the first release point is the release point indicated by the second trigger operation in the virtual world, while the second release point is the actual release point of the second skill. This makes the virtual character's reactions more realistic and flexible, thereby increasing the user's sense of participation in the virtual world and making human-computer interaction more engaging.
[0105] Based on the aforementioned examples, if the player controlling the virtual character pre-determines the actual landing point of the second skill, meaning the player has carefully considered where to release the second skill, then the first landing point can be determined as the actual landing point of the second skill. However, if the player's choice of the actual landing point of the second skill is instantaneous, meaning the player decides where to release the second skill on the fly, then the second landing point needs to be re-determined, thus re-determining the actual landing point of the second skill, to make the virtual character's reaction in the virtual world more accurate. Based on this, by inferring the player's true intention from the difference between the duration of the second trigger operation and the first landing point, intelligent judgment can be achieved, making the virtual character's reaction more realistic and flexible. This improves the initial experience for novice players while also satisfying the in-depth experience for advanced players.
[0106] Based on the foregoing, this application involves the following multiple locations, and the relevant concepts are as follows:
[0107] • First character position: The position of the virtual character when it receives the second trigger operation;
[0108] • Second character position: The position of the virtual character after the first skill has been released;
[0109] • First release landing point position: The release landing point position indicated by the second trigger operation;
[0110] • Second release landing point: The actual landing point of the second skill.
[0111] The possible relationships between the four positions mentioned above are shown below:
[0112] - The first distance between the first release landing point and the first character position is equal to or related to the second distance between the second release landing point and the second character position;
[0113] - The angle of the first release landing point relative to the first character's position is the same as the angle of the second release landing point relative to the second character's position.
[0114] refer to Figure 3 The virtual character 301 releases its first skill between two pieces of cover. This triggers a second trigger operation for the second skill, defining the position between the two pieces of cover as the virtual character 301's first position. After the first skill is released, the virtual character 301 moves to the area around the cover on the upper right, defining the area around the cover on the upper right as the virtual character 301's second position. During the second trigger operation, the endpoint of the second trigger operation is defined as the first release landing point. If the second trigger operation is a click and drag operation, then the endpoint of the drag action is the first release landing point as described in this application.
[0115] Referring to the foregoing, after clarifying the positions of the first character, the second character, and the first release landing point, the position of the second release landing point can be determined based on the above three positions.
[0116] In some embodiments, the first distance between the first release landing point and the first character's position exceeds the maximum release distance of the second skill. (See reference...) Figure 3 The attack range 01 of the second skill of the virtual character 301 shown is not within the attack range 01 of the second skill. That is, the first distance between the first release landing point 303 and the first character position (the position between the two cover) exceeds the maximum release distance of the second skill.
[0117] At this point, the second distance is determined based on the first distance, and the angle of the second release landing point 304 relative to the second character's position (around the cover in the upper right corner) is determined based on the angle of the first release landing point 303 relative to the first character's position. Since the first distance exceeds the maximum release distance of the second skill, the second distance can be determined as the maximum release distance of the second skill to enable the virtual character 301 to achieve the maximum casting range in the virtual world 300.
[0118] In other embodiments, the first distance does not exceed the maximum release distance of the second skill, but can reach 80% or 90% of the maximum release distance. For example, if the maximum release distance is 5 units, the first distance is 4.5 units. (See reference) Figure 3 The attack range 01 of the second skill of the virtual character 301 shown is such that if the position of the first release landing point 303 falls within the attack range 01 of the second skill and is located on the elliptical line.
[0119] At this point, since the first distance does not exceed the maximum release distance of the second skill, the second distance can be determined to be equal to the first distance, and the second release landing point position 304 can be determined according to the position of the second character. This means that the virtual character releases the second skill at a distance of 4.5 units from the position of the second character, which is related to the aforementioned first distance and second distance.
[0120] refer to Figure 3 In both of the above cases, the angle of the second release landing point 304 relative to the second character's position can be determined based on the angle of the first release landing point 303 relative to the first character's position. For example, if the first release landing point 303 is located at the upper right corner of the first character's position, then the second release landing point 304 is also located at the upper right corner of the second character's position.
[0121] In summary, the virtual character control method provided in this application, based on the diverse types of any of the at least two skills, presents the technical problem of "how to cache and use a second skill with a selected position when releasing a first skill that can be released in a mobile manner and has a casting process".
[0122] To address this technical issue, the second trigger operation for the second skill involved in this application can be understood as a short-term input, a rapid input response made by the player controlling the virtual character based on real-time scene changes in the virtual world. For example, if the virtual character detects an enemy rapidly approaching from behind during the casting of the first skill, and needs to leave as quickly as possible, the player can quickly drag the skill control corresponding to the second skill to a greater distance. If the player completes the second trigger operation within 0.2 seconds during the first skill's release, and the endpoint of the second trigger operation exceeds the maximum casting range of the second skill, then the second trigger operation can be performed effectively.
[0123] Based on this, accurate judgment of the actual landing point of the second skill can be achieved, making the virtual character's reaction in the virtual world more in line with the player's expectations and enhancing the player's experience. On the one hand, from the player's perspective, it can not only reduce the input difficulty for novice players in virtual games, but also reduce the input accuracy for experienced players, thus improving the player's experience in virtual games; on the other hand, from the perspective of virtual games, the virtual character control method provided in this application enables the algorithm for input and output of the second skill in virtual games to be more precise.
[0124] For example, when determining the location of the second release point, specific conditions also need to be met, as follows:
[0125] refer to Figure 4 , Figure 5A flowchart of a virtual character control method according to an embodiment of this application is shown. Step 460 can be implemented as any one of the following steps:
[0126] Step 461: If the duration of the second trigger operation is not greater than the first threshold and the distance between the first release landing point and the first character position is not less than the second threshold, after the first skill is released, display the virtual character releasing the second skill at the second release landing point.
[0127] The second release landing point is determined based on the character coordinate system, which is established with the second character's position as the origin. The relevant descriptions of the first and second character positions are as described above and will not be repeated here.
[0128] In some embodiments, the first threshold can be determined according to actual needs. For example, if the operation duration of the second triggering operation of the second skill is typically 1 second, then the first threshold can be any duration less than 1 second, such as 0.2 seconds. This application does not limit the value of the first threshold, as long as it can reflect that the operation duration of the second triggering operation is less than the conventional operation duration.
[0129] Optionally, the second threshold is the maximum release distance of the second skill; or, the second threshold is determined as a percentage of the maximum release distance of the second skill, which can be 80% or 90%. For example, if the maximum release distance of the second skill is 5 units, then the second threshold can be 5 units, or it can be a percentage of 5 units (such as 4 units, 4.5 units, etc.).
[0130] Based on the foregoing, the second skill may be predetermined by the player or determined on the spot, which may result in different actual landing points of the second skill.
[0131] According to step 461, if the duration of the second trigger operation is no greater than the first threshold and the distance between the first release landing point and the first character's position is no less than the second threshold, it is confirmed that the second skill was temporarily determined by the player. This can be understood as: the player completed the second trigger operation in a short period of time, and the endpoint of the second trigger operation (i.e., the first release landing point) was hastily selected or deliberately exceeded the maximum release distance of the second skill.
[0132] For example, when a player is controlling their virtual character to unleash their first skill, they might suddenly discover a high-attack virtual enemy approaching and need to escape as quickly as possible. Or, while controlling their virtual character to unleash their first skill, a potential target appears in the character's movement path, but this target is far from the character's current location. The player wants the virtual character to move closer to the target so that it enters the character's attack range. In these situations, the actual landing point of the second skill will differ from the landing point of the first skill.
[0133] Optionally, since the virtual character's position in the virtual world is dynamically changing, a character coordinate system needs to be constructed in real time to determine the second release landing point. The origin of the character coordinate system is the second character's position. Subsequently, referring to the aforementioned content, based on the first distance between the first character's position and the first release landing point position, as well as the relative angle between the first character's position and the first release landing point position, the actual release landing point position of the second skill, i.e., the second release landing point position, can be determined in the character coordinate system.
[0134] Step 461 can be understood as the step of constructing the character coordinate system.
[0135] In some other embodiments, there may be cases where the conditions for constructing the character coordinate system are not met. In such cases, step 462 or step 463 can be executed, as follows:
[0136] Step 462: If the duration of the second triggering operation exceeds the first threshold, after the first skill is released, display the virtual character releasing the second skill at the first release landing point position;
[0137] Step 463: If the distance between the first release landing point and the first character's position is less than the second threshold, after the first skill is released, display the virtual character releasing the second skill at the first release landing point.
[0138] Referring to the foregoing, the conditions for constructing the character coordinate system are: the duration of the second triggering operation is no greater than the first threshold, and the distance between the first release landing point and the first character's position is no less than the second threshold. Conversely, if the above conditions are not met, it is not necessary to construct a character coordinate system, and therefore it is not necessary to determine the second release landing point.
[0139] This can be understood as the second skill being predetermined by the player. That is, the player completes the second triggering action within a relatively long period of time, and / or the endpoint of the second triggering action (i.e., the landing point of the first release) is carefully chosen or located within the attack range of the second skill.
[0140] For example, when a player is controlling their virtual character to unleash their first skill, they might notice a high-attack virtual enemy approaching in the opposite direction of the character's movement. The enemy might be close enough for the player to wait for the character to finish using their first skill before escaping. Alternatively, when a player is controlling their virtual character to unleash their first skill, they might notice a potential target in the character's path, relatively close to their current position. The player wants the character to attack this target quickly after using their first skill. In these situations, the player can pre-select a second skill. Upon receiving the second trigger, the virtual character will cache the second skill and unleash it at the location where the first skill was used, after the first skill has been completed.
[0141] Optionally, the virtual world has a corresponding world coordinate system. It can be assumed that in the cases of steps 462 and 463, it is not necessary to construct a character coordinate system. The actual release point of the second skill can be determined by using only the currently used world coordinate system.
[0142] Figure 6 A schematic diagram of a virtual character control method provided in one embodiment of this application is shown.
[0143] A virtual character 601 is displayed in the virtual world 600. The virtual character 601 has at least a first skill and a second skill. Subsequently, in response to the trigger operation of the first skill, the virtual character 601 is shown to release the first skill. If the player clicks the game control corresponding to the first skill, the virtual character 601 casts the spell in the virtual world 600. The position of the virtual character 601 in the virtual world 600 changes during or after the release of the first skill.
[0144] Taking the second skill triggered by skill control 602 as an example, the player clicks skill control 602 and drags it to the first release landing point position 603, which is within the attack range of the virtual character 601. At this point, it can be considered that the conditions for constructing a character coordinate system are not met, so the first release landing point position 603 is determined as the actual release landing point position of the second skill. Subsequently, after the first skill is released, the second skill is released at the first release landing point position 603. That is, the actual release landing point position of the second skill is determined in the world coordinate system, and a character coordinate system with the second character's position as the origin is no longer constructed.
[0145] Referring to the foregoing, during or after the release of the first skill, the virtual character's position in the virtual world changes; that is, the virtual character moves during or after the release of the first skill. There are several ways to achieve this movement of the virtual character:
[0146] Firstly, the first skill is one that grants the user mobility.
[0147] Secondly, the first skill itself does not have movement characteristics, but the virtual character still receives movement commands while releasing the first skill.
[0148] The specific description is as follows:
[0149] refer to Figure 5 , Figure 7 A flowchart of a virtual character control method according to an embodiment of this application is shown. Step 440 can be implemented as step 441, or step 440 can be implemented as steps 4421 and 4422, as detailed below:
[0150] Step 441: In response to the first trigger operation for the first skill, display the virtual character releasing a first skill that has movement characteristics.
[0151] The first skill is one of at least two skills possessed by the virtual character. In some embodiments, to demonstrate the realism of the virtual game, the first skill may have hand-raising and casting process actions, which can be understood as the skill's pre-cast and post-cast animations, so that the release of the first skill is accompanied by the virtual character's movement in the virtual world, or the virtual character moves in the virtual world after releasing the first skill.
[0152] For example, the first skill is a basic displacement skill, which moves in a specified direction and releases the skill. This movement can be forward, roll, spin, dash, etc.; or, the first skill is a reverse displacement skill, whose displacement direction is opposite to the skill release direction. This displacement can be backward jump, backstep, etc.; or, the first skill is a forced displacement skill, which forcibly changes the user's position during skill release. This forced change can be flash, retreat, return, dash, sweeping displacement, wall-passing, long-range attack, etc.; or, the first skill is a teleportation skill, which can be long-range teleportation, follow-up displacement, multi-stage displacement, etc.
[0153] For example, the first skill is to rotate in a certain direction and attack other virtual characters and / or non-player characters along the rotation path, and the virtual character moves along the rotation path while releasing the first skill; another example is that the first skill is to attack from the original position and then jump backward, that is, the virtual character takes a step back after casting the spell in place; yet another example is that the first skill is to flash from the current position to a designated position.
[0154] If the first skill is one that grants the user mobility, refer to... Figure 3 Virtual character 301 releases its first skill between two cover points in virtual world 300. After the first skill is released, virtual character 301 moves to the area around the cover point in the upper right corner.
[0155] In other embodiments, the first skill is a skill that does not have movement characteristics itself, but the virtual character receives a movement operation during the release of the first skill, so as to enable the virtual character to move in the virtual world during or after the release of the first skill, as follows:
[0156] Step 4421: In response to the first trigger operation for the first skill, display the virtual character releasing a first skill that does not have movement characteristics;
[0157] Step 4422: During the release of the first skill that does not have a movement characteristic, in response to the movement operation of the virtual character, display the virtual character releasing the first skill that does not have a movement characteristic while moving in the specified direction.
[0158] In some embodiments, the first skill may not have a pre-cast or post-cast animation, meaning the first skill is cast by the virtual character at a designated location. However, while the virtual character is casting the first skill, the player may control the virtual character to move within the virtual world, which could cause the virtual character's position in the virtual world to change during or after the first skill is cast.
[0159] For example, the first skill releases a specified type of attack from the original position, but while the virtual character is casting the spell, the virtual character also receives a movement command. At this time, the virtual world can display that the virtual character is performing a movement action in the specified direction while casting the spell.
[0160] Referring to the foregoing, executing step 441, or sequentially executing steps 4421 and 4422, will cause the virtual character to shift within the virtual world during or after the release of the first skill. Because of this, the virtual character's real-time position is uncertain, making the attack range of the second skill unpredictable as well. The subsequent execution of step 460 allows for accurate prediction of the actual landing point of the second skill, thus making the virtual character's reactions in the virtual world more closely match the player's real intentions and satisfying the player's sense of authentic participation.
[0161] Based on the foregoing, the location of the second release landing point is determined according to the character's coordinate system, as follows:
[0162] refer to Figure 5 , Figure 8 A flowchart of a virtual character control method according to an embodiment of this application is shown. Step 460 can be implemented as follows:
[0163] Step 471: Based on the operation duration of the second trigger operation and the landing point of the first release, establish a character coordinate system. The character coordinate system is established with the second character position as the origin. The second character position is the position of the virtual character when the first skill is released.
[0164] Step 472: Determine the landing point of the second release based on the character coordinate system;
[0165] Step 473: After the first skill is released, control the virtual character to release the second skill at the second release point.
[0166] The descriptions of the first release landing point, the second character position, and the third release landing point are as described above and will not be repeated here. It is important to clarify that the virtual world corresponds to a world coordinate system, and each of the aforementioned locations uniquely corresponds to coordinates within that system. Based on this world coordinate system, the client and / or server can implement real-time control over the reactions of virtual characters in the virtual world, enabling them to perform specific actions at specific coordinates, such as controlling a virtual character to release a player-indicated target skill at a designated coordinate.
[0167] According to step 471, a character coordinate system can be established based on the operation duration of the second triggering operation and the position of the first release landing point. Referring to the foregoing, constructing the character coordinate system requires meeting certain conditions. In some embodiments, step 471 can be implemented as follows:
[0168] If the duration of the second triggering operation is not greater than the first threshold and the distance between the first release landing point and the first character position is not less than the second threshold, a character coordinate system is established, where the first character position is the position of the virtual character when it receives the second triggering operation.
[0169] The first threshold can be determined according to actual needs. This application does not limit the value of the first threshold, as long as it can reflect that the operation time of the second triggering operation is less than the operation time of the normal operation.
[0170] Optionally, the second threshold is the maximum release distance of the second skill; or, the second threshold is determined as a percentage of the maximum release distance of the second skill, which can be 80% or 90%. For example, if the maximum release distance of the second skill is 5 units, then the second threshold can be 5 units, or it can be a percentage of 5 units (such as 4 units, 4.5 units, etc.).
[0171] Referring to the foregoing, if the duration of the second triggering operation is no greater than the first threshold, and the distance between the first release landing point and the first character's position is no less than the second threshold, then the second skill is confirmed to be temporarily determined by the player. This can be understood as: the player completes the second triggering operation within a short time, and the endpoint of the second triggering operation (i.e., the first release landing point) is hastily chosen or intentionally exceeds the maximum release distance of the second skill. In this case, since the virtual character's position in the virtual world is dynamically changing, a character coordinate system is constructed based on the second character's position to determine the second release landing point.
[0172] In some embodiments, after constructing the character coordinate system, the coordinates of the actual release landing point of the second skill can be determined in the character coordinate system based on the distance and angle relationship between the first character position, the second character position, the first release landing point position, and the second release landing point position. Subsequently, based on the relative relationship between the world coordinate system and the character coordinate system, the coordinates of the actual release landing point of the second skill in the character coordinate system are mapped to the world coordinate system, thereby determining the second release landing point position.
[0173] Optionally, there may be cases where the conditions for constructing the character coordinate system are not met. That is, the virtual character control method provided in this application embodiment may also optionally include the following steps:
[0174] If the duration of the second trigger operation exceeds the first threshold, the first release landing point will be determined as the release landing point of the second skill.
[0175] Alternatively, if the distance between the first release landing point and the first character's position is less than the second threshold, the first release landing point will be determined as the release landing point of the second skill.
[0176] Referring to the foregoing, if the duration of the second triggering operation exceeds the first threshold, and / or the distance between the first release landing point and the first character's position is less than the second threshold, the conditions for constructing a character coordinate system are not met. In this case, it is not necessary to construct a character coordinate system; the actual release landing point of the second skill is still determined based on the world coordinate system, that is, the first release landing point is determined as the release landing point of the second skill.
[0177] Figure 9 A flowchart of a virtual character control method provided in one embodiment of this application is shown.
[0178] Step 91: The user enters information during the skill cache period.
[0179] Here, "user" refers to the player who controls the virtual character, "skill caching period" refers to the process of the virtual character releasing the first skill and caching the second skill during this process, and "input" refers to the second trigger operation for the second skill. The relevant descriptions can be found in the foregoing content and will not be repeated here.
[0180] Step 92: Determine if the total input time exceeds 0.2 seconds.
[0181] The total input duration is the input duration of the second trigger operation, and 0.2 seconds is an optional implementation of the first threshold. Optionally, if the total input duration exceeds 0.2 seconds, step 93 is executed; otherwise, step 94 is executed.
[0182] Step 93: Output in world coordinates.
[0183] Here, "output" refers to controlling the virtual character to release the second skill at its actual landing point. In step 93, the conditions for constructing a character coordinate system are not met, therefore, it is not necessary to construct a character coordinate system to determine the landing point of the second skill.
[0184] Step 94: Determine if the maximum release distance has been exceeded.
[0185] Among them, the maximum release distance refers to the maximum release distance of the second skill.
[0186] Optionally, if the maximum release distance is exceeded, proceed to step 95; otherwise, proceed to step 96.
[0187] Step 95: Map the coordinates from the character coordinate system to the world coordinate system for output.
[0188] The character coordinate system must meet certain construction conditions, and the construction of the character coordinate system can be referred to the aforementioned content.
[0189] For example, steps 92 and 94 are both steps to determine whether the construction conditions are met. If the total input duration exceeds 0.2 seconds and exceeds the maximum release distance of the second skill, a character coordinate system is constructed. Then, the actual release landing point of the second skill is determined in the character coordinate system and mapped to the world coordinate system to obtain the second release landing point position.
[0190] Step 96: Output in world coordinates.
[0191] Here, "output" refers to controlling the virtual character to release the second skill at its actual landing point. In step 95, the conditions for constructing a character coordinate system are not met, therefore, it is not necessary to construct a character coordinate system to determine the landing point of the second skill.
[0192] The core loop of virtual games is feedback. Users exert simulated control (i.e., input) through a medium. After receiving this input, the virtual game, according to a pre-defined algorithm, produces an output, which is then fed back to the user through visuals, sound, and logic. In some implementation scenarios, virtual games cannot perfectly match the user's expected output. This results in a persistent error between the actual and expected output; the only difference lies in the magnitude of this error's impact on the final output.
[0193] Consider a coordinate axis as an example. Suppose a user clicks in a Cartesian coordinate system (i.e., the aforementioned world coordinate system). The user inputs an input where their expected target is the coordinate point (1,1), but the actual input in the virtual game might be either the coordinate point (0.99, 0.99) or the coordinate point (0.9, 0.9). In the former case, the difference is smaller and may not be noticeable in the virtual game; however, the difference in the latter case is much larger, and the virtual game's output may produce a discrepancy between the user's expected and actual results, a problem that the user cannot perceive. In this case, the user usually does not think there is a problem with their input pattern, but the difference in the actual output will frustrate the user.
[0194] Therefore, virtual games should provide users with the output they want as much as possible, even if the expected output differs from the output corresponding to the user's input. Taking the click in the aforementioned Cartesian coordinate system as an example, suppose the virtual character starts moving to the right from the origin of the Cartesian coordinate system and releases skill 1 during its movement. For example, the virtual character moves along the positive X-axis. During the release of skill 1, after the skill's pre-cast animation and casting animation are completed, the virtual character moves to the coordinate point (1,0).
[0195] During the release of Skill 1, due to the existence of caching technology, the user can input skills into the virtual character, such as caching Skill 2. Assuming that Skill 2 can move up to 5 units, then the virtual character should eventually be able to move to the coordinate point (6,0).
[0196] However, users are not always able to accurately select the coordinate point (6,0) during input. For example, if the virtual character receives the skill 2 trigger when it is at coordinate point (0.5,0), and the user drags skill 2 to its maximum distance, then due to the casting distance limitation, the user can only select the coordinate point (5.5,0). Subsequently, when the virtual character moves to (1,0), skill 1 has already finished casting, and skill 2 is buffered for output. At this point, since the user's input is the coordinate point (5.5,0), the virtual character will move to the point (5.5,0). It can be seen that the timing of the user's input affects the final skill output.
[0197] In some implementation scenarios, if the user uses skill 2 in an escape or pursuit situation, such as when a virtual enemy is 6 units away from the virtual character, or when a very aggressive and dangerous virtual enemy is very close behind the virtual character, the above output actually results in a shorter pursuit distance and a shorter escape distance, which is obviously not the result the user wants.
[0198] The virtual character control method provided in this application can improve the above-mentioned problems. In the above implementation scenario, the final output of the virtual game is not based on the user's absolute input, but rather on a character coordinate system established according to the virtual character's own position, and is executed with relative output, thereby realizing the user's true control intention over the virtual character.
[0199] At this point, a Cartesian coordinate system is established with the virtual character's position after releasing skill 1 as the origin (this Cartesian coordinate system is the aforementioned character coordinate system). The virtual character is located at coordinate point (0,0) in the character coordinate system. In the example operation above, when the user performs the second trigger operation, the dragged selection position has exceeded the maximum casting range of skill 2. It can be assumed that the input the user wants is actually the furthest point, that is, the input the user wants should be coordinate point (5,0) in the character coordinate system, not coordinate point (5.5,0) in the world coordinate system. Based on this, according to the mapping relationship between the character coordinate system and the world coordinate system, the output the user wants should be (6,0) in the world coordinate system.
[0200] In some embodiments, user input can be considered short-term input, rather than a precise input that has been selected for a long time (e.g., the user has been aiming at a location for 5 seconds, but the final output is not the target point). For example, the user completes the input within 0.2 seconds (the input is a press, drag, or release on the skill control corresponding to skill 2), and the user's drag endpoint exceeds the maximum casting range of skill 2. In this case, we consider the user's input to meet the construction conditions for building the character coordinate system, thereby determining the user's expected output.
[0201] Figure 10 A structural block diagram of a virtual character control device according to an embodiment of this application is shown. This device has the functionality to implement the aforementioned virtual character control method example; the functionality can be implemented by hardware or by hardware executing corresponding software. This device can be the client described above, or it can be set within the client. For example... Figure 10 As shown, the device includes:
[0202] Display module 1020 is used to display virtual characters in a virtual world, and the virtual characters have at least two skills;
[0203] The response module 1040 is used to respond to the first trigger operation for the first skill, display the virtual character releasing the first skill, and the virtual character's position in the virtual world changes during or after the release of the first skill;
[0204] The display module 1020 is also used to display the virtual character releasing the second skill after the first skill is released, based on the operation duration of the second trigger operation for the second skill and the first release landing position. The second release landing position of the second skill after release is different from the first release landing position.
[0205] Among them, the second skill is a skill that is different from the first skill among at least two skills, and the first release landing point is the release landing point indicated by the second trigger operation.
[0206] In some embodiments, the first distance between the first release landing point and the first character position is equal to or related to the second distance between the second release landing point and the second character position; wherein, the first character position is the character position of the virtual character when it receives the second trigger operation, and the second character position is the character position of the virtual character when the first skill is released.
[0207] In some embodiments, the angle of the first release landing point relative to the position of the first character is the same as the angle of the second release landing point relative to the position of the second character.
[0208] In some embodiments, the response module 1040 is configured to, when the operation duration of the second trigger operation is not greater than a first threshold and the distance between the first release landing point and the first character position is not less than a second threshold, display the virtual character releasing the second skill at the second release landing point after the first skill is released; wherein, the first character position is the character position of the virtual character when the second trigger operation is received, the second release landing point is determined according to the character coordinate system, the character coordinate system is a coordinate system established with the second character position as the origin, and the second character position is the character position of the virtual character when the first skill is released.
[0209] In some embodiments, the response module 1040 is further configured to, when the operation duration of the second triggering operation is greater than a first threshold, display the virtual character releasing a second skill at the first release landing position after the first skill is released; or, when the distance between the first release landing position and the first character position is less than a second threshold, display the virtual character releasing a second skill at the first release landing position after the first skill is released.
[0210] In some embodiments, the second threshold is the maximum release distance of the second skill; or, the second threshold is determined as a percentage of the maximum release distance of the second skill.
[0211] In some embodiments, the display module 1020 is configured to display, in response to a first trigger operation, a virtual character releasing a first skill that has mobility characteristics.
[0212] In some embodiments, the display module 1020 is configured to, in response to a first trigger operation, display a virtual character releasing a first skill that does not have movement characteristics; and during the release of the first skill that does not have movement characteristics, in response to a movement operation on the virtual character, display the virtual character releasing the first skill that does not have movement characteristics while moving in a specified direction.
[0213] In some embodiments, the response module 1040 is used to establish a character coordinate system based on the operation duration of the second trigger operation and the first release landing point position. The character coordinate system is a coordinate system established with the second character position as the origin. The second character position is the position of the virtual character when the first skill is released. The second release landing point position is determined according to the character coordinate system. After the first skill is released, the virtual character is controlled to release the second skill at the second release landing point position.
[0214] In some embodiments, the response module 1040 is used to establish a character coordinate system when the operation duration of the second triggering operation is not greater than a first threshold and the distance between the first release landing point and the first character position is not less than a second threshold. The first character position is the position of the virtual character when it receives the second triggering operation.
[0215] In some embodiments, the response module 1040 is further configured to determine the first release landing point position as the release landing point position of the second skill when the operation duration of the second triggering operation is greater than the first threshold; or, when the distance between the first release landing point position and the first character position is less than the second threshold, determine the first release landing point position as the release landing point position of the second skill.
[0216] It should be noted that the specific limitations of the embodiments of the control device for one or more virtual characters provided above can be found in the limitations of the control method for virtual characters above, and will not be repeated here. Each module of the above device can be implemented entirely or partially by software, hardware, or a combination thereof. Each module can be embedded in the processor of the computer device in hardware form or independent of the processor, or it can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0217] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0218] Figure 11This illustration shows a structural block diagram of a computer device 1100 provided in an exemplary embodiment of this application. The computer device 1100 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), or MP4 player (Moving Picture Experts Group Audio Layer IV). The computer device 1100 may also be referred to as a user device, portable terminal, or other names. Typically, the computer device 1100 includes a processor 1101 and a memory 1102.
[0219] Processor 1101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), 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 1101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0220] The memory 1102 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1102 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 1102 are used to store at least one instruction, which is executed by the processor 1101 to implement the virtual character control method provided in the embodiments of this application.
[0221] In some embodiments, the computer device 1100 may also optionally include: a peripheral device interface 1103 and at least one peripheral device. The processor 1101, memory 1102, and peripheral device interface 1103 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of: a radio frequency circuit 1104, a touch display screen 1105, a camera assembly 1106, an audio circuit 1107, and a power supply 1108.
[0222] Peripheral device interface 1103 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1101 and memory 1102. In some embodiments, processor 1101, memory 1102 and peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1101, memory 1102 and peripheral device interface 1103 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0223] The radio frequency (RF) circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1104 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or Wi-Fi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1104 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0224] The touch display screen 1105 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 1105 also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to the processor 1101 for processing. The touch display screen 1105 is used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one touch display screen 1105, located on the front panel of the computer device 1100; in other embodiments, there may be at least two touch display screens, respectively located on different surfaces of the computer device 1100 or in a folded design; in some embodiments, the touch display screen 1105 may be a flexible display screen, located on a curved or folded surface of the computer device 1100. Furthermore, the touch display screen 1105 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The touch display screen 1105 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0225] The camera assembly 1106 is used to capture images or videos. Optionally, the camera assembly 1106 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is used for video calls or selfies, and the rear-facing camera is used for taking photos or videos. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, and a wide-angle camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, and panoramic shooting and VR shooting by fusion of the main camera and the wide-angle camera. In some embodiments, the camera assembly 1106 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0226] Audio circuitry 1107 provides an audio interface between the user and computer device 1100. Audio circuitry 1107 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to processor 1101 for processing, or input to radio frequency circuitry 1104 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different location within computer device 1100. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from processor 1101 or radio frequency circuitry 1104 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, audio circuitry 1107 may also include a headphone jack.
[0227] Power supply 1108 is used to supply power to the various components in computer device 1100. Power supply 1108 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1108 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0228] In some embodiments, the computer device 1100 further includes one or more sensors 1109. The one or more sensors 1109 include, but are not limited to: an accelerometer 1110, a gyroscope 1111, a pressure sensor 1112, an optical sensor 1113, and a proximity sensor 1114.
[0229] Accelerometer 1110 can detect the magnitude of acceleration on the three coordinate axes of a coordinate system established by computer device 1100. For example, accelerometer 1110 can be used to detect the components of gravitational acceleration on the three coordinate axes. Processor 1101 can control touch screen 1105 to display the user interface in landscape or portrait view based on the gravitational acceleration signal collected by accelerometer 1110. Accelerometer 1110 can also be used for game or user motion data acquisition. Gyroscope 1111 can detect the orientation and rotation angle of computer device 1100. Gyroscope 1111 can work in conjunction with accelerometer 1110 to acquire 3D user actions on computer device 1100. Based on the data collected by gyroscope 1111, processor 1101 can perform the following functions: motion sensing (e.g., changing the UI based on user tilt), image stabilization during shooting, game control, and inertial navigation.
[0230] Pressure sensor 1112 can be disposed on the side bezel of computer device 1100 and / or on the lower layer of touch display screen 1105. When pressure sensor 1112 is disposed on the side bezel of computer device 1100, it can detect the user's grip signal on computer device 1100 and perform left / right hand recognition or quick operation based on the grip signal. When pressure sensor 1112 is disposed on the lower layer of touch display screen 1105, it can control operable controls on the UI interface based on the user's pressure operation on touch display screen 1105. Operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0231] Optical sensor 1113 is used to collect ambient light intensity. In one embodiment, processor 1101 can control the display brightness of touch screen 1105 based on the ambient light intensity collected by optical sensor 1113. Specifically, when the ambient light intensity is high, the display brightness of touch screen 1105 is increased; when the ambient light intensity is low, the display brightness of touch screen 1105 is decreased. In another embodiment, processor 1101 can also dynamically adjust the shooting parameters of camera assembly 1106 based on the ambient light intensity collected by optical sensor 1113.
[0232] The proximity sensor 1114, also known as a distance sensor, is typically located on the front of the computer device 1100. The proximity sensor 1114 is used to detect the distance between the user and the front of the computer device 1100. In one embodiment, when the proximity sensor 1114 detects that the distance between the user and the front of the computer device 1100 is gradually decreasing, the processor 1101 controls the touchscreen display 1105 to switch from a screen-on state to a screen-off state; when the proximity sensor 1114 detects that the distance between the user and the front of the computer device 1100 is gradually increasing, the processor 1101 controls the touchscreen display 1105 to switch from a screen-off state to a screen-on state.
[0233] Those skilled in the art will understand that the above structure does not constitute a limitation on the computer device 1100, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0234] This application also provides a client for implementing the virtual character control methods provided in the above-described method embodiments.
[0235] This application also provides a computer-readable storage medium storing at least one computer program, which is loaded and executed by a processor to implement the virtual character control method provided in the above-described method embodiments.
[0236] This application also provides a computer program product, which includes at least one computer program stored in a computer-readable storage medium; the at least one computer program is read from and executed by a processor of a computer device from the computer-readable storage medium, causing the computer device to perform the virtual character control method provided in the above-described method embodiments.
[0237] It should be understood that "multiple" as used herein refers to two or more. "And / or," describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the step numbers described herein are merely illustrative of one possible execution order. In some other embodiments, the steps may not be executed in numerical order, such as two steps with different numbers being executed simultaneously, or two steps with different numbers being executed in the reverse order of the illustration. This application does not limit this.
[0238] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0239] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent switching, 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 a virtual character, characterized in that, The method is executed by the client, and the method includes: Displaying virtual characters in a virtual world, wherein the virtual characters possess at least two skills; In response to a first trigger operation for a first skill, the virtual character is shown to release the first skill, and the position of the virtual character in the virtual world changes during or after the release of the first skill. Based on the operation duration of the second trigger operation for the second skill and the first release landing point position, after the first skill is released, the virtual character is shown to release the second skill, and the second release landing point position of the second skill after release is different from the first release landing point position; The second skill is a skill that is different from the first skill among the at least two skills, and the first release landing point position is the release landing point position indicated by the second triggering operation.
2. The method according to claim 1, characterized in that, The first distance between the first release landing point and the first character position is equal to or related to the second distance between the second release landing point and the second character position; Wherein, the first character position is the character position of the virtual character when it receives the second trigger operation, and the second character position is the character position of the virtual character when the first skill is released.
3. The method according to claim 2, characterized in that, The angle between the first release landing point and the first character's position is the same as the angle between the second release landing point and the second character's position.
4. The method according to any one of claims 1 to 3, characterized in that, The method of displaying the virtual character to release the second skill after the first skill is released, based on the operation duration of the second trigger operation for the second skill and the position of the first release landing point, includes: If the duration of the second triggering operation is not greater than the first threshold and the distance between the first release landing point and the first character position is not less than the second threshold, after the first skill is released, the virtual character releases the second skill at the second release landing point position; Wherein, the first character position is the character position of the virtual character when it receives the second trigger operation, the second release landing point position is determined according to the character coordinate system, the character coordinate system is a coordinate system established with the second character position as the origin, and the second character position is the character position of the virtual character when the first skill is released.
5. The method according to claim 4, characterized in that, The method further includes: If the duration of the second triggering operation exceeds the first threshold, after the first skill is released, the virtual character is displayed releasing the second skill at the first release landing point position; Alternatively, if the distance between the first release landing point and the first character's position is less than the second threshold, after the first skill is released, the virtual character is displayed releasing the second skill at the first release landing point.
6. The method according to claim 4 or 5, characterized in that, The second threshold is the maximum release distance of the second skill; Alternatively, the second threshold may be determined as a percentage of the maximum release distance of the second skill.
7. The method according to any one of claims 1 to 6, characterized in that, The response to a first trigger operation for a first skill, displaying the virtual character releasing the first skill, includes: In response to the first triggering operation, the virtual character is shown to release a first skill that has the ability to move.
8. The method according to any one of claims 1 to 6, characterized in that, The response to a first trigger operation for a first skill, displaying the virtual character releasing the first skill, includes: In response to the first triggering operation, the virtual character is shown to release a first skill that does not have movement characteristics. During the release of the first skill, which does not have a movement characteristic, in response to a movement operation on the virtual character, the virtual character is shown releasing the first skill, which does not have a movement characteristic, while moving in a specified direction.
9. The method according to any one of claims 1 to 8, characterized in that, The method of displaying the virtual character to release the second skill after the first skill is released, based on the operation duration of the second trigger operation for the second skill and the position of the first release landing point, includes: Based on the operation duration of the second trigger operation and the first release landing point position, a character coordinate system is established. The character coordinate system is established with the second character position as the origin. The second character position is the position of the virtual character when the first skill is released. Determine the location of the second release landing point based on the character coordinate system; After the first skill is released, control the virtual character to release the second skill at the second release landing point.
10. The method according to claim 9, characterized in that, The establishment of a character coordinate system based on the operation duration of the second triggering operation and the position of the first release landing point includes: If the duration of the second triggering operation is not greater than the first threshold and the distance between the first release landing point and the first character position is not less than the second threshold, the character coordinate system is established, and the first character position is the position of the virtual character when it receives the second triggering operation.
11. The method according to claim 10, characterized in that, The method further includes: If the duration of the second triggering operation exceeds the first threshold, the first release landing point location is determined as the release landing point location of the second skill; Alternatively, if the distance between the first release landing point and the first character's position is less than a second threshold, the first release landing point is determined as the release landing point of the second skill.
12. A control device for a virtual character, characterized in that, The device includes: A display module is used to display virtual characters in a virtual world, wherein the virtual characters have at least two skills; The response module is used to respond to the first trigger operation on the skill control, display the virtual character releasing the first skill, and the position of the virtual character in the virtual world changes during or after the release of the first skill; The display module is also used to display, based on the operation duration of the second trigger operation for the second skill and the first release landing position, after the first skill is released, that the virtual character releases the second skill, and the second release landing position of the second skill after release is different from the first release landing position; The second skill is a skill that is different from the first skill among the at least two skills, and the first release landing point position is the release landing point position indicated by the second triggering operation.
13. A client application, characterized in that, The client is used to implement the control method for the virtual character as described in any one of claims 1 to 11.
14. A computer storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to implement the control method for the virtual character as described in any one of claims 1 to 11.
15. A computer program product, characterized in that, The computer program product includes a computer program stored in a computer-readable storage medium; the computer program is read from and executed by a processor of a computer device from the computer-readable storage medium, causing the computer device to perform the control method for the virtual character as described in any one of claims 1 to 11.
