Virtual character control method and apparatus, storage medium, and electronic device

By adjusting the movement speed of the virtual character and summoning subordinate characters, the virtual character acquires skills in the game, which solves the problem of a single control method for the virtual character and improves the game complexity and player experience.

WO2024212689A1PCT designated stage expired Publication Date: 2024-10-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/075708
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-13
Filing Date
2024-02-04
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

In the game, players lack flexibility in movement speed when controlling virtual characters, resulting in a single control method and the inability to adjust the loading of virtual characters according to the combat form, resulting in simple gameplay and poor player experience.

Method used

By displaying the target virtual character in the virtual scene and adjusting its movement speed in response to its status, it can obtain corresponding virtual skills, including increasing or decreasing attack attributes, increasing or decreasing defensive attributes, and even summoning subordinate virtual characters to change the game state.

Benefits of technology

It achieves diversified control of virtual characters, reduces players’ click operations on virtual skills, saves system resources, and improves game complexity and player experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024075708_17102024_PF_FP_ABST
    Figure CN2024075708_17102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a virtual character control method and apparatus, a storage medium, and an electronic device. The method comprises: displaying a target virtual character and a first virtual character in a virtual scene; in response to the target virtual character being in a target state, adjusting the movement speed of the target virtual character to a target speed corresponding to the target state; and in response to the target speed being within a target speed range, enabling the target virtual character to obtain a target virtual skill, the target virtual skill being used for defending and / or attacking the first virtual character. The present application solves the technical problem of single control for virtual characters.
Need to check novelty before this filing date? Find Prior Art

Description

Virtual character control method and device, storage medium and electronic device Technical Field

[0001] The present application relates to the field of computers, and in particular to a method and device for controlling a virtual character, a storage medium, and an electronic device.

[0002] Background of the Invention

[0003] In the gaming world, players control virtual characters in virtual game scenes through terminals (such as mobile phones and computers). Currently, when players control the virtual characters to move within the virtual scene, this only changes the virtual characters' positions and does not affect their skills. Therefore, players typically control the virtual characters to quickly move to a designated location and then perform actions such as attacking.

[0004] Due to the lack of influence of movement speed on the skills of the virtual character, players will always default to controlling the virtual character to move to the designated position at the fastest speed, and need to click the corresponding skill release operation to use the relevant skills of the virtual character. There is no purposeful control of the virtual character's movement speed to change the virtual character's skills, so there is a problem of relatively single control of the virtual character.

[0005] To address the above-mentioned problems, no effective solutions have been proposed so far.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a method and device for controlling a virtual character, a storage medium, and an electronic device, so as to at least solve the technical problem of relatively simple control of a virtual character.

[0008] According to one aspect of an embodiment of the present application, a method for controlling a virtual character is provided, comprising: displaying a target virtual character and a first virtual character in a virtual scene; in response to the target virtual character being in a target state, adjusting the movement speed of the target virtual character to a target speed corresponding to the target state; in response to the target speed being within a target speed range, enabling the target virtual character to obtain a target virtual skill, wherein the target virtual skill is used to defend and / or attack the first virtual character.

[0009] Optionally, the virtual scene also includes a first subordinate virtual character of the target virtual character, and the method further includes: in response to the target virtual character summoning the first subordinate virtual character, attaching the first subordinate virtual character to the target virtual character, and switching the state of the target virtual character to an attached state; in response to the target virtual character being in the target state, adjusting the movement speed of the target virtual character to a target speed corresponding to the target state includes: in response to the target virtual character being in the attached state, reducing the movement speed of the target virtual character to the target speed corresponding to the attached state.

[0010] Optionally, the virtual scene also includes a second subordinate virtual character of the target virtual character, and the method further includes: in response to the target virtual character summoning the second subordinate virtual character, causing the second subordinate virtual character to follow the target virtual character; in response to the target speed being within the target speed range, causing the second subordinate virtual character to acquire a first virtual skill, wherein the first virtual skill is used to defend or attack the first virtual character.

[0011] Optionally, in response to the target speed being within the target speed range, enabling the target virtual character to obtain a target virtual skill, including: in response to the target speed being within a preset first speed range, enabling the target virtual character to obtain an attack attribute enhancement skill and a defense attribute reduction skill, wherein the target speed range includes the first speed range, and the target virtual skills include the attack attribute enhancement skill and the defense attribute reduction skill; in response to the target speed being within a preset second speed range, enabling the target virtual character to obtain an attack attribute reduction skill and a defense attribute enhancement skill, wherein the target speed range includes the second speed range, and the target virtual skills include the attack attribute reduction skill and the defense attribute enhancement skill.

[0012] Optionally, the speed in the second speed range is lower than the speed in the first speed range.

[0013] Optionally, the method further includes: in response to the target speed being within the first speed range, displaying an attack attribute enhancement mark and a defense attribute reduction mark, wherein the attack attribute enhancement mark is used to identify that the target virtual character has acquired the attack attribute enhancement skill, and the defense attribute reduction mark is used to identify that the target virtual character has acquired the defense attribute reduction skill; in response to the target speed being within the second speed range, displaying an attack attribute reduction mark and a defense attribute enhancement mark, wherein the attack attribute reduction mark is used to identify that the target virtual character has acquired the attack attribute reduction skill, and the defense attribute enhancement mark is used to identify that the target virtual character has acquired the defense attribute enhancement skill.

[0014] Optionally, the method further includes: when the target speed is greater than a preset first movement speed threshold of the target virtual character, determining that the target speed is within the first speed range; when the target speed is less than a preset second movement speed threshold of the target virtual character, determining that the target speed is within the second speed range; wherein the second movement speed threshold is less than or equal to the first movement speed threshold.

[0015] Optionally, the method further includes: in response to the target virtual character being in a first group of motion states, determining that the moving speed of the target virtual character is within a first speed range, wherein the target speed range includes the first speed range, and the first group of motion states includes at least one of the following: accelerated sprint, falling from a height, and jumping during a sprint; in response to the target virtual character being in a second group of motion states, determining that the moving speed of the target virtual character is within a second speed range, wherein the target speed range includes the second speed range, and the second group of motion states includes at least one of the following: rolling, shoulder shooting, machine aiming, close combat, jumping, and squatting.

[0016] Optionally, enabling the target virtual character to obtain a target virtual skill includes one of the following: enabling the target virtual character to obtain a skill for recovering health after being attacked, wherein the skill for recovering health after being attacked is used to increase the health of the target virtual character after being attacked; enabling the target virtual character to obtain a skill for concealment, wherein the skill for concealment is used to prevent virtual characters or non-player virtual characters in different camps from discovering the target virtual character, and the virtual characters or non-player virtual characters in different camps from the target virtual character include the first virtual character; enabling the target virtual character to obtain a skill for rebounding after being attacked, wherein the skill for rebounding after being attacked is used to rebound the attack to the virtual characters or non-player virtual characters in different camps from the target virtual character, and the virtual characters or non-player virtual characters in different camps from the target virtual character include the first virtual character.

[0017] Optionally, enabling the target virtual character to acquire a target virtual skill includes: enabling the target virtual character to acquire the target virtual skill that is actively triggered; or enabling the target virtual character to acquire the target virtual skill that is passively triggered.

[0018] Optionally, the method further includes: when the target virtual character obtains the passively triggered target virtual skill, and when the passive triggering condition of the target virtual skill is met, automatically triggering the release of the target virtual skill.

[0019] Optionally, in response to the target speed being within the target speed range, enabling the target virtual character to obtain the target virtual skill, includes: when the distance between the target virtual character and the first virtual character is less than or equal to a preset distance threshold, in response to the target speed being within the target speed range, enabling the target virtual character to obtain the target virtual skill.

[0020] Optionally, the method further includes: when the distance between the target virtual character and the first virtual character is less than or equal to a preset distance threshold, switching the state of the target virtual character to a melee attack state; in response to the target virtual character being in the target state, adjusting the movement speed of the target virtual character to a target speed corresponding to the target state, including: in response to the target virtual character being in the melee attack state, reducing the movement speed of the target virtual character to the target speed corresponding to the melee attack state.

[0021] According to another aspect of an embodiment of the present application, a control device for a virtual character is also provided, including: a display module for displaying a target virtual character and a first virtual character in a virtual scene; a first response module for adjusting the movement speed of the target virtual character to a target speed corresponding to the target state in response to the target virtual character being in a target state; and a second response module for enabling the target virtual character to obtain a target virtual skill in response to the target speed being within a target speed range, wherein the target virtual skill is used to defend and / or attack the first virtual character.

[0022] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned virtual character control method when running.

[0023] According to another aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the above-described method for controlling a virtual character.

[0024] According to another aspect of the embodiments of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-mentioned virtual character control method through the computer program.

[0025] In an embodiment of the present application, in response to a target virtual character being in a target state, the target virtual character's movement speed is adjusted to a target speed corresponding to the target state, and in response to the target speed being within a target speed range, the target virtual character acquires a target virtual skill for defending and / or attacking a first virtual character. In this way, the player can control the target virtual character's state and movement speed to enable the target virtual character to acquire the target virtual skill. This achieves the technical effect of increasing control over the virtual character in the game, thereby resolving the technical issue of relatively limited control over the virtual character.

[0026] BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0028] FIG1 is a schematic diagram of an application environment of an optional virtual character control method according to an embodiment of the present application;

[0029] FIG2 is a flow chart of an optional method for controlling a virtual character according to an embodiment of the present application;

[0030] FIG3 is a schematic diagram of an optional virtual game scene according to an embodiment of the present application;

[0031] FIG4 is a schematic diagram of another optional virtual game scene according to an embodiment of the present application;

[0032] FIG5 is a schematic diagram of another optional virtual game scene according to an embodiment of the present application;

[0033] FIG6 is a schematic diagram of another optional virtual game scene according to an embodiment of the present application;

[0034] FIG7 is a schematic diagram of another optional virtual game scene according to an embodiment of the present application;

[0035] FIG8 is a schematic diagram of another optional virtual game scene according to an embodiment of the present application;

[0036] FIG9 is a schematic diagram of the overall process according to an embodiment of the present application;

[0037] FIG10 is a schematic structural diagram of an optional virtual character control device according to an embodiment of the present application;

[0038] FIG11 is a block diagram of a computer system structure of an optional electronic device according to an embodiment of the present application;

[0039] FIG12 is a schematic structural diagram of an optional electronic device according to an embodiment of the present application.

[0040] Modes for Carrying Out the Invention

[0041] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0043] As used herein, the terms "at least one," "a plurality," "each," and "any" include one, two, or more, "a plurality" and "each" and refer to each of the corresponding plurality, and "any" and refer to any one of the plurality. For example, if a plurality of functional controls includes three functional controls, then "each" and refer to each of the three functional controls, and "any" and refer to any one of the three functional controls, which may be the first functional control, the second functional control, or the third functional control.

[0044] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following interpretations:

[0045] Shooting games: including but not limited to first-person shooting games, third-person shooting games, etc., as well as including but not limited to games using firearms for long-range attacks.

[0046] Third-person perspective: The virtual camera in the virtual game scene is positioned a certain distance behind the virtual game character, and the virtual game character and all surrounding combat elements in the virtual game environment can be seen on the screen.

[0047] Open World: refers to a completely free and open virtual game scene in the game. Players can move forward and explore freely in any direction. The distances between the boundaries of various directions are very large. At the same time, there are virtual objects of various shapes and sizes in the virtual game scene, which can produce various physical collisions or interactions with virtual characters, non-player virtual characters and other entities.

[0048] The virtual character control method of the present application can be applied to the above-mentioned open-world virtual game scene. In the open-world virtual game scene, the virtual character controlled by the player can be viewed from a third-person perspective or a first-person perspective.

[0049] Currently, in open-world virtual game scenes, the movement of a player-controlled avatar only affects its position within the scene, without affecting its skills. Typically, players simply manipulate the avatar to quickly move to a designated location and then perform actions like attacking. This results in limited control over the avatar, making it difficult for players to adjust their avatar's loadout based on the combat situation. This results in relatively simple gameplay and a poor gaming experience.

[0050] In the present application, when the target virtual character in the virtual game scene is moving, the player can control the state of the target virtual character and change the moving speed of the target virtual character so that the target virtual character obtains virtual skills corresponding to the moving speed (including but not limited to: increasing or decreasing the defense of the virtual character, increasing or decreasing the attack power of the virtual character, etc.). In this way, the player can be guided to adjust the state of the virtual character in real time according to the combat form in the virtual game scene, change the moving speed so that the system automatically triggers the corresponding virtual skills according to the current state and / or moving speed, without the player having to trigger the corresponding virtual skills by constantly clicking on the virtual skill release operation, thereby reducing the number of human-computer interactions and saving system resources. In addition, the player can obtain the maximum combat benefits, and by adjusting the player's manipulation behavior, the complexity of the game is increased and the player's gaming experience is enhanced.

[0051] The present application will be described below with reference to the following embodiments:

[0052] According to one aspect of an embodiment of the present application, a method for controlling a virtual character is provided. Optionally, in this embodiment, the method for controlling a virtual character can be applied to a hardware environment consisting of a server 101 and a terminal device 103 as shown in FIG1 . As shown in FIG1 , the server 101 is connected to the terminal 103 via a network and can be used to provide services for the terminal device or an application installed on the terminal device. The application can be a video application, an instant messaging application, a browser application, a game application, etc. A database 105 may be set up on the server or independently of the server to provide data storage services for the server 101, for example, a game data storage server. The above-mentioned network may include but is not limited to: a wired network, a wireless network, wherein the wired network includes: a local area network, a metropolitan area network and a wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that implement wireless communication. The terminal device 103 may be a terminal configured with an application, and may include but is not limited to at least one of the following: a mobile phone (such as an Android phone, an iOS phone, etc.), a laptop computer, a tablet computer, a PDA, an MID (Mobile Internet Devices), a PAD, a desktop computer, a smart TV and other computer devices. The above-mentioned server may be a single server, or a server cluster consisting of multiple servers, or a cloud server. The application 107 using the above-mentioned virtual character control method is displayed through the terminal device 103 or other connected display devices.

[0053] 1 , the above-mentioned method for controlling a virtual character can be implemented on the terminal device 103 through the following steps:

[0054] S1, displaying a target virtual character and a first virtual character in a virtual scene.

[0055] S2: In response to the target virtual character being in a target state, adjusting the moving speed of the target virtual character to a target speed corresponding to the target state.

[0056] S3: In response to the target speed being within the target speed range, enabling the target virtual character to acquire a target virtual skill, wherein the target virtual skill is used to defend and / or attack the first virtual character.

[0057] Optionally, in this embodiment, the above-mentioned virtual character control method can also be implemented by a server, for example, implemented in the server 101 shown in FIG1 ; or implemented by the user terminal and the server together.

[0058] The above is only an example and is not specifically limited in this embodiment.

[0059] Optionally, as an optional implementation, as shown in FIG2 , the control method of the virtual character includes:

[0060] Step S202: Display the target virtual character and the first virtual character in the virtual scene.

[0061] Specifically, a virtual game scene can be displayed in a target game application. The target game application can be an application installed on the terminal device 103 shown in FIG1 . The target game application includes, but is not limited to, virtual shooting games, racing games, sports games, puzzle games, adventure games, fighting games, etc. A player registers a game account on the target game application and enters the virtual game scene by logging into the registered game account in the target game application. The target virtual character can be a virtual game character controlled by the player in the virtual game scene. The first virtual character can be an enemy virtual character (belonging to a different faction than the target virtual character) or a non-player virtual character.

[0062] Step S204 : In response to the target virtual character being in the target state, adjusting the moving speed of the target virtual character to a target speed corresponding to the target state.

[0063] The moving speed of the target virtual character includes but is not limited to the default moving speed of the target virtual character, and may also be the real-time moving speed of the target virtual character.

[0064] The above-mentioned default movement speed may be an initial movement speed pre-set for the target virtual character in the virtual game scene. In response to the target virtual character being in the target state, the initial movement speed of the target virtual character is adjusted to the target movement speed corresponding to the target state.

[0065] The real-time moving speed of the target virtual character may be the moving speed of the target virtual character in various motion states, for example, the moving speed of the target virtual character when stationary is 0, the moving speed of the target virtual character when accelerating is 100 m / s, etc. In response to the target virtual character being in the target state, the real-time moving speed of the target virtual character is adjusted to the moving speed corresponding to the target state.

[0066] The target state can be an action performed on the target virtual character, such as rolling, shoulder firing, aiming, melee combat, jumping, crouching, etc. It can also be the current state of the target virtual character, such as the target virtual character entering a swampy area and becoming restricted in movement, or in a melee attack state. The target state can also be a combination of multiple states, such as accelerating to sprint, falling from a height, or jumping mid-sprint.

[0067] The above-mentioned target state can also be a state in which the target virtual character is attached to or followed by a subordinate virtual character. The target virtual character can summon the subordinate virtual character and use the subordinate virtual character to attack the first virtual character, or a local virtual character (a virtual character belonging to a different camp than the target virtual character) or a non-player virtual character in the virtual game scene.

[0068] The slave virtual character includes two forms. In the first form, the slave virtual character is attached to the target virtual character (for example, attached to the arm of the target virtual character). In the second form, the slave virtual character exists independently and can move with the target virtual character.

[0069] The first form of subordinate virtual character can be called a first subordinate virtual character. The virtual scene also includes the first subordinate virtual character of the target virtual character. In response to the target virtual character summoning the first subordinate virtual character, the first subordinate virtual character is attached to the target virtual character, and the state of the target virtual character is switched to an attached state. In response to the target virtual character being in the attached state, the moving speed of the target virtual character is reduced to a target speed corresponding to the attached state.

[0070] The second form of the subordinate virtual character can be called the second subordinate virtual character, and the virtual scene also includes the second subordinate virtual character of the target virtual character. The adjustment of the speed of the target virtual character will also enable the second subordinate virtual character to obtain the corresponding virtual skills. For example, in response to the target virtual character summoning the second subordinate virtual character, the second subordinate virtual character follows the target virtual character; in response to the target speed being within the target speed range, the second subordinate virtual character obtains the first virtual skill (including but not limited to increasing or decreasing the attack power of the second subordinate virtual character, increasing or decreasing the defense power of the second subordinate virtual character, the skill of recovering blood after being hit, the skill of rebounding after being hit, etc.), and the first virtual skill is used to defend or attack the first virtual character, for example, in response to the target virtual character using the first virtual skill of the second subordinate virtual character to attack the first virtual character.

[0071] Step S206 : in response to the target speed being within the target speed range, enabling the target virtual character to acquire a target virtual skill, wherein the target virtual skill is used to defend and / or attack the first virtual character.

[0072] Under the condition that the distance between the target virtual character and the first virtual character is less than or equal to a preset distance threshold, the target virtual character may be triggered to acquire the target virtual skill in response to the target speed being within the target speed range.

[0073] The target avatar's movement speed can be divided into a high-speed movement range and a low-speed movement range. The high-speed movement range corresponds to a preset first speed range, and the low-speed movement range corresponds to a preset second speed range. The speed in the second speed range is lower than the speed in the first speed range. The target speed range can be either the high-speed movement range or the low-speed movement range.

[0074] For example, when the target speed is greater than the preset first movement speed threshold of the target virtual character, the target speed is determined to be within the first speed range; when the target speed is less than the preset second movement speed threshold of the target virtual character, the target speed is determined to be within the second speed range.

[0075] The first movement speed threshold may be equal to or greater than the second movement speed threshold. For example, the first movement speed threshold and the second movement speed threshold may both be the default movement speed of the target virtual character.

[0076] The default movement speed of the target virtual character is a preset movement speed, which can be the initial movement speed of the target virtual character when entering the game, or it can be the movement speed when only the movement operation is performed on the target virtual character (the movement speed when no other similar rolling operations are performed or no skills are released). The size of the default movement speed can be set according to actual conditions. For example, 5 meters per second, 10 meters per second, etc. Taking the default movement speed of the target virtual character of 10 meters per second as an example, the first speed range (high-speed movement range) can be a speed range greater than or equal to 10 meters per second, and the second speed range (low-speed movement range) can be a speed range less than 10 meters per second.

[0077] In addition, in other embodiments, the first moving speed threshold and the second moving speed threshold may also be different preset moving speeds.

[0078] In response to the target speed being within a preset first speed range, the target virtual character is enabled to acquire an attack attribute enhancement skill and a defense attribute reduction skill, wherein the target speed range includes the first speed range, and the target virtual skills include an attack attribute enhancement skill and a defense attribute reduction skill.

[0079] In response to the target speed being within a preset second speed range, the target virtual character is enabled to acquire an attack attribute reduction skill and a defense attribute improvement skill, wherein the target speed range includes the second speed range, and the target virtual character skills include the attack attribute reduction skill and the defense attribute improvement skill.

[0080] Among them, obtaining an attack attribute enhancement skill means that the attack attribute of the target virtual character is enhanced, and obtaining a defense attribute reduction skill means that the defense attribute of the target virtual character is reduced. Obtaining an attack attribute reduction skill means that the attack attribute of the target virtual character is reduced, and obtaining a defense attribute enhancement skill means that the defense attribute of the target virtual character is enhanced.

[0081] The adjustment values ​​(increased or decreased values) of the attack attribute and the defense attribute can be set according to actual conditions. The attack attribute or the defense attribute value of the target virtual character can be adjusted from the current value to the first target value in a manner corresponding to the target speed range. The value of the first target value can be set according to actual conditions.

[0082] In response to the target speed being within the first speed range, an attack attribute enhancement indicator and a defense attribute reduction indicator are displayed. The attack attribute enhancement indicator is used to identify that the target virtual character has acquired the attack attribute enhancement skill, and the defense attribute reduction indicator is used to identify that the target virtual character has acquired the defense attribute reduction skill.

[0083] In response to the target speed being within the second speed range, an attack attribute reduction indicator and a defense attribute improvement indicator are displayed. The attack attribute reduction indicator is used to indicate that the target virtual character has acquired the attack attribute reduction skill, and the defense attribute improvement indicator is used to indicate that the target virtual character has acquired the defense attribute improvement skill.

[0084] The target game application may display game interfaces as shown in Figures 3 and 4. The game interface shown in Figure 3 displays an attack attribute increase indicator 301 and a defense attribute decrease indicator 302. The game interface shown in Figure 4 displays an attack attribute decrease indicator 401 and a defense attribute increase indicator 402.

[0085] The motion state of the target virtual character can be divided into a high-speed motion state and a low-speed motion state. The high-speed motion state corresponds to a moving speed within a high-speed moving range, and the low-speed motion state corresponds to a moving speed within a low-speed moving range.

[0086] For example, as shown in Table 1 below, in response to the target virtual character being in a first set of motion states, it is determined that the target virtual character's movement speed is within a first speed range. In this case, the target speed range includes the first speed range, and the first set of motion states may include at least one of the following: accelerating sprinting, falling from a height, and jumping during sprinting.

[0087] Among the first set of motion states, accelerated sprinting, falling from a height, and jumping during a sprint are high-speed motion states. When performing operations such as accelerated sprinting, falling from a height, and jumping during a sprint in the first set of motion states, the target avatar moves at a high-speed speed, and the target avatar's movement speed is within the first speed range.

[0088] In response to the target virtual character being in a second set of motion states, determining that the target virtual character's movement speed is within a second speed range, wherein the target speed range includes the second speed range, and the second set of motion states may include at least one of the following: rolling, shoulder fire, aiming, close combat, jumping, and crouching.

[0089] As shown in Table 1, the second set of motion states, including rolling, shoulder firing, aiming, close combat, jumping, and crouching, are low-speed motion states. When performing actions such as rolling, shoulder firing, aiming, close combat, jumping, and crouching in the second set of motion states, the target avatar's movement speed is low-speed, and the target avatar's movement speed is within the second speed range.

[0090] Table 1

[0091] As an optional implementation, the above-mentioned target virtual skills include but are not limited to: hit recovery skills, concealment skills, hit rebound skills, auxiliary skills, etc.

[0092] The HP recovery skill is used to increase the HP of the target virtual character after the target virtual character is attacked. The HP of the target virtual character can be increased after the target virtual character is attacked by the first virtual character, or it can be increased after the target virtual character is attacked by other virtual characters other than the first virtual character in the virtual game scene. The increased HP value can be a preset default value, for example, one or two units of HP. Alternatively, the increased HP value can also be related to the attack received by the target virtual character. For example, if the target virtual character is attacked by a shooting virtual prop, the increased HP value can be two units of HP; if the target virtual character is attacked by a knife-type virtual prop, the increased HP value can be one unit of HP.

[0093] The concealment skill is used to prevent virtual characters or non-player virtual characters in different camps from the target virtual character from discovering the target virtual character, and the virtual characters or non-player virtual characters in different camps from the target virtual character include the first virtual character.

[0094] The above-mentioned attack rebound skill is used to rebound the attack to the virtual character in a different camp or the non-player virtual character when the target virtual character is attacked by the virtual character in a different camp or the non-player virtual character. The virtual character in a different camp or the non-player virtual character includes the first virtual character.

[0095] The above-mentioned auxiliary skills include a first auxiliary skill and a second auxiliary skill.

[0096] Taking an actual virtual game scene as an example, a target virtual character can summon subordinate virtual characters to assist the target virtual character in executing an attack on a first virtual character. When the target virtual character meets the summoning conditions, the subordinate virtual characters in the virtual game scene can be summoned. The summoning conditions may include, but are not limited to, the target virtual character's virtual resources reaching a preset resource threshold (which may be set based on actual circumstances). The target virtual character can obtain virtual resources by killing non-player virtual characters in the virtual game scene or by killing virtual characters in a different faction than the target virtual character.

[0097] The subordinate virtual characters summoned by the target virtual character have two states, one is an attached state (the first subordinate virtual character), and the other is an independent following state (the second subordinate virtual character).

[0098] For the first auxiliary skill, the target avatar summons a first subordinate avatar, which attaches to the target avatar (the subordinate avatar can attach to the target avatar's body, for example, to the target avatar's arm). While the first subordinate avatar is attached to the target avatar, the target avatar's movement speed is reduced, allowing the target avatar to gain the target avatar skill. The target avatar can then use the second avatar to attack the first avatar.

[0099] For the second auxiliary skill, the second subordinate virtual character summoned by the target virtual character is independent and can move with the target virtual character. The target virtual character's movement speed enables the second subordinate virtual character to obtain the corresponding first virtual skill (including but not limited to attack power-enhancing skills, defense power-reducing skills, attack power-reducing skills, defense power-enhancing skills, etc.). When the target virtual character attacks the first virtual character, the second subordinate virtual character can use the first virtual skill to attack the first virtual character.

[0100] The target virtual skill can be a skill that is actively triggered or a skill that is passively triggered. For an actively triggered skill, a virtual button for the target virtual skill is displayed on the game interface, such as the virtual button 501 shown in FIG5 , and the player needs to click and touch the virtual button 501 to trigger the target virtual skill.

[0101] For passively triggered skills, when the target virtual character obtains the passively triggered target virtual skill, the target virtual skill is automatically triggered and released when the passive triggering conditions of the target virtual skill are met. Passive triggering conditions include but are not limited to the target virtual character's target speed being within the target speed range, or the distance between the target virtual character and the non-player virtual character being less than a preset distance threshold, or the distance between the target virtual character and the enemy virtual character (a virtual character belonging to a different faction than the target virtual character) being less than a preset distance threshold (the preset distance threshold can be set according to actual circumstances).

[0102] The "using static to control dynamic" effect can be introduced in a single game. It is composed of a set of dynamic values. Different types of motion states correspond to different movement speeds. The target virtual character obtains the corresponding target virtual skills according to the movement speed of that type.

[0103] The countdown of the target virtual skills can also be displayed on the game interface of the target game application. The first countdown corresponding to the target virtual skills (defense attribute enhancement skills and attack attribute reduction skills) is displayed on the game interface as shown in Figure 6 (10 seconds as shown in the figure, the length of the first countdown can be set according to actual conditions). Before the end of the first countdown, the attack attributes and defense attributes of the target virtual character are taken as the adjusted first target values; at the end of the first countdown, the attack attributes and defense attributes of the target virtual character are adjusted back to the current values.

[0104] In response to the target virtual character switching from the target state to the first state, the moving speed of the target virtual character is adjusted to a first speed corresponding to the first state; in response to the first speed being within the first target speed range, the target virtual character obtains a first target virtual skill, and the first target virtual skill is used to defend or attack the first virtual object.

[0105] During the first countdown of the target virtual skill, in response to the target virtual character switching from the target state to the second state, the movement speed of the target virtual character is adjusted to a second speed corresponding to the second state; in response to the second speed being within the second target speed range, the target virtual character obtains the second target virtual skill, and the target virtual character has the second target virtual skill before the end of the first countdown.

[0106] The present application is described below by means of specific examples, see Table 2

[0107] Table 2

[0108] When the target state includes a tumbling state, and the target virtual character is in the tumbling state, the target virtual character's movement speed is adjusted to the target movement speed corresponding to the target state in response to the target virtual character being in the target state, including: in response to the target virtual character being in the tumbling state, the target virtual character's movement speed is adjusted to the movement speed corresponding to the tumbling state. When the target virtual skill includes a skill for recovering health upon being hit, the target virtual character is enabled to obtain the target virtual skill in response to the movement speed corresponding to the target state being within the target speed range, including: in response to the movement speed corresponding to the tumbling state being within the target speed range, the target virtual character is enabled to obtain the skill for recovering health upon being hit. Furthermore, in response to the target virtual character using the skill for recovering health upon being hit, the target virtual character's health is increased after being attacked by the first virtual character.

[0109] When the target state includes a squatting state, and the target virtual character is in the squatting state, the method of adjusting the moving speed of the target virtual character to a moving speed corresponding to the target state in response to the target virtual character being in the target state includes: in response to the target virtual character being in the squatting state, adjusting the moving speed of the target virtual character to a moving speed corresponding to the squatting state.

[0110] When the target virtual skill includes a concealment skill, the response to the movement speed corresponding to the target state being within the target speed range enables the target virtual character to obtain the target virtual skill, including: responding to the movement speed corresponding to the crouching state being within the target speed range, enabling the target virtual character to obtain the concealment skill; responding to the target virtual character using the concealment skill, making the first virtual character unable to discover the target virtual character.

[0111] For the melee state, when the distance between the target virtual character and the first virtual character is less than or equal to a preset distance threshold, the state of the target virtual character is switched to the melee attack state; at this time, in response to the target virtual character being in the target state, the movement speed of the target virtual character is adjusted to the target speed corresponding to the target state, including: in response to the target virtual character being in the melee attack state, the movement speed of the target virtual character is reduced to the target speed corresponding to the melee attack state.

[0112] As an optional implementation, after the target virtual character acquires the target virtual skill, a dynamic special effect can be displayed on the target virtual character. Different target virtual skills correspond to different dynamic special effects. For example, if the target virtual character's attack attribute is increased and the target virtual character's defense attribute is decreased, the target virtual character will display a yellow dynamic special effect. If the target virtual character's attack attribute is decreased and the target virtual character's defense attribute is increased, the target virtual character will display a blue dynamic special effect.

[0113] As an optional implementation, when the virtual skills of the target virtual character in the target game application are adjusted in a manner corresponding to the first target speed range, an icon mark can also be displayed in the target game application. The first icon mark 700 shown in Figure 7 indicates that the attack power of the target virtual character is increased and the defense power is decreased, and the second icon mark 800 shown in Figure 8 indicates that the defense power of the target virtual character is increased and the attack power is decreased.

[0114] As an optional implementation, the overall framework flow chart shown in FIG9 includes the following steps:

[0115] Step S901: Select a target virtual character from the candidate virtual characters in the game lobby, initialize the target virtual character (for example, initialize virtual equipment, clothing, props, etc. for the target virtual character), and enter the game.

[0116] The player logs in to the target game app using their game account, begins the game by touching the "Start" button, and then initializes the target virtual character after entering the game. This initialization includes, but is not limited to, initializing the target virtual character's attire and the virtual props used by the target virtual character.

[0117] In the game, the target virtual character can obtain virtual resources (such as virtual gold coins) by killing non-player virtual characters and enemy virtual characters. Players can use the virtual resources to purchase different virtual props for the target virtual character to use.

[0118] The purchased virtual props include but are not limited to shooting virtual props, summoning virtual props, etc. Taking the purchase of summoning virtual props as an example, the player controls the target virtual character to attack the non-player virtual character (or enemy virtual character). When the remaining health of the non-player virtual character is less than the preset health threshold (which can be set according to actual conditions, such as 1 or 2 units of health), the target virtual character uses the summoning virtual props to summon the non-player virtual character to become a subordinate virtual character of the target virtual character. The subordinate virtual character can have two forms, one is attached to the target virtual character, and the other is an independent form. The player can switch between the two forms of the subordinate virtual character through instructions.

[0119] The attached subordinate virtual character may be referred to as a first subordinate virtual character. Because the first subordinate virtual character is attached to the target virtual character (e.g., attached to the target virtual character's arm), it reduces the target virtual character's movement speed (e.g., reduces the target virtual character's movement speed to the target movement speed), allowing the target virtual character to acquire the target virtual skill. The first subordinate virtual character attached to the target virtual character can enable the target virtual character to acquire the target virtual skill.

[0120] The subordinate virtual character in an independent form can be called a second subordinate virtual character, and the second subordinate virtual character can follow the target virtual character to move. The moving speed of the target virtual character changes with the motion state of the target virtual character, and the target virtual character can obtain the target virtual skill by changing the moving speed. At the same time, the second subordinate virtual character can also obtain virtual skills (for example, the first virtual skill, including but not limited to the attack power increasing skill, the defense power reducing skill, the attack power reducing skill, the defense power increasing skill, etc.). The target virtual character can enable the second subordinate virtual character following the target virtual character to obtain the corresponding virtual skill by changing the moving speed.

[0121] Step S902: Detect the current motion state of the target virtual character in real time to obtain the current moving speed of the target character.

[0122] Players can change the target avatar's movement speed by using special virtual props or taking advantage of special terrain within the avatar. For example, a player can use a virtual prop that temporarily increases the target avatar's movement speed. In this case, the server can detect the change in the target avatar's movement speed.

[0123] Step S903: Retrieve the adjustment method of the virtual skill corresponding to the current moving speed of the target virtual character according to the pre-configured relationship.

[0124] The pre-configured relationships include but are not limited to the correspondence between speed ranges and virtual skills, and the correspondence between the motion state of the target virtual character and the target virtual skills as shown in Table 2 above (for example, rolling corresponds to the skill of recovering blood after being hit).

[0125] The server enables the target avatar to acquire the corresponding target avatar skill based on the speed range within which the target avatar's current movement speed falls. For example, if the target avatar's current movement state is tumbling, the target avatar skill corresponding to the tumbling avatar's movement speed is a health recovery skill.

[0126] More virtual skill adjustment methods can be nested according to the movement speed gear defined by the player, and the corresponding virtual skill adjustment method can be executed through the switch function.

[0127] In step S904, if the target virtual character's movement speed is within the first speed range (high-speed movement speed range), the target virtual character can acquire a virtual skill corresponding to the high-speed movement range. When the target virtual character acquires the target virtual skill, the target virtual skill identifier will be displayed on the target game application. Different virtual skills will display different identifiers.

[0128] Step S905: During the game, the survival status of the target virtual character can be continuously detected. When the target virtual character is alive, the target virtual character can obtain corresponding virtual skills according to the real-time moving speed.

[0129] Step S906: When the target virtual character in the virtual game scene dies, the target virtual skill of the target virtual character is cancelled.

[0130] This application allows the player to control the target virtual character at different movement speeds so that the target virtual character can obtain corresponding virtual skills, allowing the player to combine the real-time virtual game scene and purposefully adjust the movement speed of the target virtual character to achieve the goal of maximizing combat benefits.

[0131] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0132] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0133] According to another aspect of the embodiments of the present application, a virtual character control device for implementing the aforementioned virtual character control method is also provided. As shown in FIG10 , the device includes: a display module 1002 for displaying a target virtual character and a first virtual character in a virtual scene; a first response module 1004 for adjusting the target virtual character's movement speed to a target speed corresponding to the target state in response to the target virtual character being in a target state; and a second response module 1006 for causing the target virtual character to acquire a target virtual skill in response to the target speed being within a target speed range, wherein the target virtual skill is used to defend against and / or attack the first virtual character.

[0134] Optionally, the virtual scene also includes a first subordinate virtual character of the target virtual character, and the above-mentioned device is further used to, in response to the target virtual character summoning the first subordinate virtual character, attach the first subordinate virtual character to the target virtual character and switch the state of the target virtual character to an attached state; in response to the target virtual character being in the target state, adjusting the moving speed of the target virtual character to a target speed corresponding to the target state includes: in response to the target virtual character being in the attached state, reducing the moving speed of the target virtual character to the target speed corresponding to the attached state.

[0135] Optionally, the virtual scene also includes a second subordinate virtual character of the target virtual character, and the above-mentioned device is further used to respond to the operation of the target virtual character summoning the second subordinate virtual character, so that the second subordinate virtual character follows the target virtual character; in response to the target speed being within the target speed range, the second subordinate virtual character obtains a first virtual skill, wherein the first virtual skill is used to defend or attack the first virtual character.

[0136] Optionally, the device is further configured to, in response to the target speed being within a preset first speed range, enable the target virtual character to acquire an attack attribute enhancement skill and a defense attribute reduction skill, wherein the target speed range includes the first speed range, and the target virtual skills include the attack attribute enhancement skill and the defense attribute reduction skill. In response to the target speed being within a preset second speed range, enable the target virtual character to acquire an attack attribute reduction skill and a defense attribute enhancement skill, wherein the target speed range includes the second speed range, and the target virtual skills include the attack attribute reduction skill and the defense attribute enhancement skill.

[0137] Optionally, the speed in the second speed range is lower than the speed in the first speed range.

[0138] Optionally, the above-mentioned device is also used to display an attack attribute improvement mark and a defense attribute reduction mark in response to the target speed being within the first speed range, wherein the attack attribute improvement mark is used to identify that the target virtual character has obtained the attack attribute improvement skill, and the defense attribute reduction mark is used to identify that the target virtual character has obtained the defense attribute reduction skill; in response to the target speed being within the second speed range, display an attack attribute reduction mark and a defense attribute improvement mark, wherein the attack attribute reduction mark is used to identify that the target virtual character has obtained the attack attribute reduction skill, and the defense attribute improvement mark is used to identify that the target virtual character has obtained the defense attribute improvement skill.

[0139] Optionally, the apparatus is further configured to determine that the target speed is within the first speed range when the target speed is greater than a preset first movement speed threshold of the target virtual character; and to determine that the target speed is within the second speed range when the target speed is less than a preset second movement speed threshold of the target virtual character. The preset first movement speed threshold is greater than or equal to the second movement speed threshold. In one embodiment, the first movement speed threshold and the second movement speed threshold may be default movement speeds of the target virtual character.

[0140] Optionally, the above-mentioned device is also used to determine that the moving speed of the target virtual character is within a first speed range in response to the target virtual character being in a first group of motion states, wherein the target speed range includes the first speed range, and the first group of motion states includes at least one of the following: accelerated sprint, falling from a height, and jumping during a sprint; in response to the target virtual character being in a second group of motion states, determine that the moving speed of the target virtual character is within a second speed range, wherein the target speed range includes the second speed range, and the second group of motion states includes at least one of the following: rolling, shoulder shooting, machine aiming, close combat, jumping, and squatting.

[0141] Optionally, the above-mentioned device is also used to enable the target virtual character to obtain a skill of recovering health after being hit, wherein the skill of recovering health after being hit is used to increase the health of the target virtual character after being attacked; enable the target virtual character to obtain a skill of concealment, wherein the skill of concealment is used to prevent virtual characters or non-player virtual characters in different camps from discovering the target virtual character, and the virtual characters or non-player virtual characters in different camps from the target virtual character include the first virtual character; enable the target virtual character to obtain a skill of rebounding after being hit, wherein the skill of rebounding after being hit is used to rebound the attack to the virtual characters or non-player virtual characters in different camps from the target virtual character when the target virtual character is attacked by the virtual characters or non-player virtual characters, and the virtual characters or non-player virtual characters in different camps from the target virtual character include the first virtual character.

[0142] Optionally, the above-mentioned device is further used to enable the target virtual character to obtain the target virtual skill that is actively triggered; or to enable the target virtual character to obtain the target virtual skill that is passively triggered.

[0143] Optionally, the above-mentioned device is also used to automatically trigger the release of the target virtual skill when the target virtual character obtains the passively triggered target virtual skill and the passive triggering condition of the target virtual skill is met.

[0144] Optionally, the apparatus is further configured to enable the target virtual character to acquire a target virtual skill in response to the target speed being within a target speed range when the distance between the target virtual character and the first virtual character is less than or equal to a preset distance threshold.

[0145] Optionally, the above-mentioned device is also used to switch the state of the target virtual character to a melee attack state when the distance between the target virtual character and the first virtual character is less than or equal to a preset distance threshold; in response to the target virtual character being in the target state, adjusting the movement speed of the target virtual character to a target speed corresponding to the target state, including: in response to the target virtual character being in the melee attack state, reducing the movement speed of the target virtual character to the target speed corresponding to the melee attack state.

[0146] According to one aspect of the present application, a computer program product is provided, comprising a computer program / instructions containing program code for executing the method illustrated in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1109 and / or installed from a removable medium 1111. When the computer program is executed by the central processing unit 1101, the various functions provided in the embodiments of the present application are performed.

[0147] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0148] FIG11 schematically shows a block diagram of a computer system structure of an electronic device for implementing an embodiment of the present application.

[0149] It should be noted that the computer system 1100 of the electronic device shown in FIG11 is merely an example and should not impose any limitation on the functions and scope of use of the embodiments of the present application.

[0150] As shown in Figure 11, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 1102 or the program loaded from the storage part 1108 into the random access memory (RAM) 1103. Various programs and data required for system operation are also stored in the random access memory 1103. The CPU 1101, the read-only memory 1102, and the random access memory 1103 are connected to each other via a bus 1104. An input / output interface 1105 (i.e., an I / O interface) is also connected to the bus 1104.

[0151] The following components are connected to the input / output interface 1105: an input section 1106 including a keyboard, a mouse, and the like; an output section 1107 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 1108 including a hard disk; and a communication section 1109 including a network interface card such as a local area network card or a modem. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the input / output interface 1105 as needed. Removable media 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 1110 as needed, so that computer programs read therefrom can be installed into the storage section 1108 as needed.

[0152] In particular, according to an embodiment of the present application, the processes described in the various method flow charts can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for executing the methods shown in the flow charts. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 1109 and / or installed from a removable medium 1111. When the computer program is executed by the central processing unit 1101, the various functions defined in the system of the present application are performed.

[0153] According to another aspect of an embodiment of the present application, an electronic device for implementing the aforementioned virtual character control method is also provided. The electronic device may be the terminal device or server shown in FIG1 . This embodiment is described using the terminal device as an example. As shown in FIG12 , the electronic device includes a memory 1202 and a processor 1204. The memory 1202 stores a computer program, and the processor 1204 is configured to execute the steps of any of the aforementioned method embodiments using the computer program.

[0154] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0155] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:

[0156] S1, displaying the target virtual character and the first virtual character in the virtual scene;

[0157] S2, in response to the target virtual character being in a target state, adjusting the moving speed of the target virtual character to a target speed corresponding to the target state;

[0158] S3: In response to the target speed being within the target speed range, enabling the target virtual character to acquire a target virtual skill, wherein the target virtual skill is used to defend and / or attack the first virtual character.

[0159] Alternatively, those skilled in the art will appreciate that the structure shown in FIG12 is merely illustrative, and the electronic device may also be a smartphone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile internet device (MID), a PAD, or other terminal device. FIG12 does not limit the structure of the electronic device. For example, the electronic device may include more or fewer components (such as a network interface, etc.) than those shown in FIG12, or may have a configuration different from that shown in FIG12.

[0160] Memory 1202 can be used to store software programs and modules, such as program instructions / modules corresponding to the virtual character control method and device in the embodiments of the present application. Processor 1204 executes the software programs and modules stored in memory 1202 to execute various functional applications and data processing, thereby implementing the aforementioned virtual character control method. Memory 1202 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some embodiments, memory 1202 may further include memory remotely located from processor 1204, which can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. Memory 1202 can specifically, but is not limited to, be used to store game data, including, but not limited to, information such as the target virtual character, movement speed, and virtual skills. As an example, as shown in FIG12 , memory 1202 may include, but is not limited to, the display module 1002, the first response module 1004, and the second response module 1006 of the virtual character control device. In addition, it may also include but is not limited to other module units in the above-mentioned virtual character control device, which will not be repeated in this example.

[0161] Optionally, the transmission device 1206 is configured to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one embodiment, the transmission device 1206 includes a network interface controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In one embodiment, the transmission device 1206 is a radio frequency (RF) module, which is configured to communicate with the Internet wirelessly.

[0162] In addition, the electronic device further includes: a display 1208 for displaying the virtual game scene; and a connection bus 1210 for connecting various module components in the electronic device.

[0163] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting multiple nodes through network communication. The nodes may form a peer-to-peer (P2P) network, and any computing device, such as a server, terminal, or other electronic device, may become a node in the blockchain system by joining the peer-to-peer network.

[0164] According to one aspect of the present application, a computer-readable storage medium is provided, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the virtual character control method provided in the various optional implementations described above.

[0165] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0166] S1, displaying the target virtual character and the first virtual character in the virtual scene;

[0167] S2, in response to the target virtual character being in a target state, adjusting the moving speed of the target virtual character to a target speed corresponding to the target state;

[0168] S3: In response to the target speed being within the target speed range, enabling the target virtual character to acquire a target virtual skill, wherein the target virtual skill is used to defend and / or attack the first virtual character.

[0169] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0170] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0171] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application.

[0172] In the above embodiments of the present application, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0173] In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, and can be electrical or other forms.

[0174] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0175] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0176] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for controlling a virtual character, characterized in that: include: Displaying the target virtual character and the first virtual character in the virtual scene; In response to the target virtual character being in a target state, adjusting the moving speed of the target virtual character to a target speed corresponding to the target state; In response to the target speed being within the target speed range, the target virtual character is enabled to acquire a target virtual skill, wherein the target virtual skill is used to defend and / or attack the first virtual character.

2. The method according to claim 1, characterized in that The virtual scene also includes a first subordinate virtual character of the target virtual character, and the method further includes: In response to the target virtual character summoning the first subordinate virtual character, attaching the first subordinate virtual character to the target virtual character, and switching the state of the target virtual character to an attached state; In response to the target virtual character being in the target state, adjusting the moving speed of the target virtual character to the target speed corresponding to the target state includes: in response to the target virtual character being in the attached state, reducing the moving speed of the target virtual character to the target speed corresponding to the attached state.

3. The method according to claim 1, characterized in that The virtual scene also includes a second subordinate virtual character of the target virtual character, and the method further includes: In response to the target virtual character summoning the second subordinate virtual character, causing the second subordinate virtual character to move following the target virtual character; In response to the target speed being within the target speed range, the second subordinate virtual character is enabled to acquire a first virtual skill, wherein the first virtual skill is used to defend or attack the first virtual character.

4. The method according to claim 1, characterized in that In response to the target speed being within the target speed range, enabling the target virtual character to acquire a target virtual skill, comprises: In response to the target speed being within a preset first speed range, enabling the target virtual character to obtain an attack attribute enhancement skill and a defense attribute reduction skill, wherein the target speed range includes the first speed range, and the target virtual skills include the attack attribute enhancement skill and the defense attribute reduction skill; In response to the target speed being within a preset second speed range, the target virtual character acquires an attack attribute reduction skill and a defense attribute improvement skill, wherein the target speed range includes the second speed range, and the target virtual skills include the attack attribute reduction skill and the defense attribute improvement skill.

5. The method according to claim 4, characterized in that The speed in the second speed range is lower than the speed in the first speed range.

6. The method according to claim 4, characterized in that The method further comprises: In response to the target speed being within the first speed range, displaying an attack attribute enhancement mark and a defense attribute reduction mark, wherein the attack attribute enhancement mark is used to indicate that the target virtual character has acquired the attack attribute enhancement skill, and the defense attribute reduction mark is used to indicate that the target virtual character has acquired the defense attribute reduction skill; In response to the target speed being within the second speed range, an attack attribute reduction indicator and a defense attribute improvement indicator are displayed, wherein the attack attribute reduction indicator is used to indicate that the target virtual character has acquired the attack attribute reduction skill, and the defense attribute improvement indicator is used to indicate that the target virtual character has acquired the defense attribute improvement skill.

7. The method according to claim 4, characterized in that The method further comprises: In a case where the target speed is greater than a preset first moving speed threshold of the target virtual character, determining that the target speed is within the first speed range; When the target speed is less than a preset second moving speed threshold of the target virtual character, determining that the target speed is within the second speed range; The second moving speed threshold is less than or equal to the first moving speed threshold.

8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: In response to the target virtual character being in a first group of motion states, determining that the moving speed of the target virtual character is within a first speed range, wherein the target speed range includes the first speed range, and the first group of motion states includes at least one of the following: accelerating sprinting, falling from a height, and jumping during sprinting; In response to the target virtual character being in a second set of motion states, determining that the moving speed of the target virtual character is within a second speed range, wherein the target speed range includes the second speed range, and the second set of motion states includes at least one of the following: rolling, shoulder shooting, aiming, close combat, jumping, and crouching.

9. The method according to any one of claims 1 to 7, characterized in that The step of enabling the target virtual character to acquire a target virtual skill comprises one of the following: enabling the target virtual character to acquire a skill of recovering health after being attacked, wherein the skill of recovering health after being attacked is used to increase the health of the target virtual character after being attacked; The target virtual character acquires a concealment skill, wherein the concealment skill is used to prevent a virtual character or a non-player virtual character in a different camp from the target virtual character from discovering the target virtual character, wherein the virtual character or the non-player virtual character in a different camp from the target virtual character includes the first virtual character; The target virtual character is enabled to acquire a hit rebound skill, wherein the hit rebound skill is used to rebound the attack to the virtual character in a different camp or the non-player virtual character when the target virtual character is attacked by the virtual character or the non-player virtual character, wherein the virtual character or the non-player virtual character in a different camp from the target virtual character includes the first virtual character.

10. The method according to any one of claims 1 to 7, characterized in that The step of enabling the target virtual character to acquire a target virtual skill comprises: enabling the target virtual character to obtain the target virtual skill that is actively triggered; or The target virtual character is enabled to obtain the target virtual skill that is passively triggered.

11. The method according to claim 10, characterized in that The method further comprises: When the target virtual character obtains the passively triggered target virtual skill, the release is automatically triggered when the passive triggering condition of the target virtual skill is met. The target virtual skill.

12. The method according to any one of claims 1 to 7, characterized in that In response to the target speed being within the target speed range, enabling the target virtual character to acquire a target virtual skill, comprises: In a case where the distance between the target virtual character and the first virtual character is less than or equal to a preset distance threshold, in response to the target speed being within a target speed range, the target virtual character is enabled to obtain a target virtual skill.

13. The method according to any one of claims 1 to 7, characterized in that The method further includes: if the distance between the target virtual character and the first virtual character is less than or equal to a preset distance threshold, switching the state of the target virtual character to a melee attack state; In response to the target virtual character being in the target state, adjusting the movement speed of the target virtual character to the target speed corresponding to the target state includes: in response to the target virtual character being in the melee attack state, reducing the movement speed of the target virtual character to the target speed corresponding to the melee attack state.

14. A control device for a virtual character, characterized in that: include: A display module, used for displaying the target virtual character and the first virtual character in the virtual scene; A first response module, configured to adjust the moving speed of the target virtual character to a target speed corresponding to the target state in response to the target virtual character being in a target state; The second response module is used for enabling the target virtual character to obtain a target virtual skill in response to the target speed being within the target speed range, wherein the target virtual skill is used to defend and / or attack the first virtual character.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program can be executed by a terminal device or a computer to execute the method described in any one of claims 1 to 13.

16. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method described in any one of claims 1 to 13 are implemented.

17. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 13 through the computer program.

Citation Information

Patent Citations

  • Control method and device for virtual character in game, electronic equipment and storage medium

    CN111905370A

  • Football game control method, device and equipment and storage medium

    CN112426719A

  • Control method, device and equipment for virtual skills in virtual scene and storage medium

    CN113440853A

  • Interaction method and device and computer storage medium

    CN113457168A

  • In-Game Display Control Method and Apparatus, Storage Medium, Processor, and Terminal

    US20210322864A1