Method and device for controlling virtual character in game, terminal equipment and storage medium

By using the graphical user interface of the terminal device, the controlled virtual character's posture is adjusted according to the direction of the controlled virtual character's gaze to perform a descent action, which solves the problem of insufficient flexibility in the controlled virtual character's jumping action and improves the game experience and pursuit efficiency.

CN115155060BActive Publication Date: 2025-11-25NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210700883.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-20
Publication Date
2025-11-25
Estimated Expiration
2042-06-20

AI Technical Summary

Technical Problem

In existing technologies, controlled virtual characters can only jump from a fixed standing position, resulting in poor flexibility in the jumping action and reducing the player's gaming experience.

Method used

The terminal device provides a graphical user interface to respond to the height descent operation, determine the gaze direction of the controlled virtual character, and control the controlled virtual character to perform the height descent action in different postures according to the gaze direction, including a first posture and a second posture, and flexibly adjust the posture to perform the height descent.

Benefits of technology

It improves the posture flexibility of controlled virtual characters when performing descent maneuvers, enhancing the player's gaming experience, especially in terms of efficiency and sense of accomplishment when chasing target virtual characters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115155060B_ABST
    Figure CN115155060B_ABST
Patent Text Reader

Abstract

The application provides a game virtual character control method and device, terminal equipment and storage medium, and relates to the technical field of games. The position of a controlled virtual object in a graphical user interface in a preset vertical direction is higher than that of a target virtual character. The method comprises the following steps: in response to a height reduction operation, judging the line-of-sight direction of the controlled virtual character; if the line-of-sight direction of the controlled virtual character meets a first condition, controlling the controlled virtual character to perform a height reduction action in a first posture; and if the line-of-sight direction of the controlled virtual character meets a second condition, controlling the controlled virtual character to perform a height reduction action in a second posture. In response to the height reduction operation, the line-of-sight direction of the controlled virtual character can be used to control the controlled virtual character to perform a height reduction action in a first posture or a second posture, so that the posture of the controlled virtual character when performing the height reduction action is more flexible, and the game experience of the player is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of game technology, and more specifically, to a method, device, terminal equipment, and storage medium for controlling virtual characters in games. Background Technology

[0002] With the popularization of internet technology, online games have also developed rapidly. Games typically include game scenes and controlled virtual characters, which players can control. The control of these virtual characters has become a hot research topic.

[0003] In related technologies, a controlled virtual character can jump from a height while standing. However, in these technologies, the controlled virtual character can only jump from a fixed standing position, resulting in poor flexibility in the jumping action and reducing the player's gaming experience. Summary of the Invention

[0004] The purpose of this invention is to address the shortcomings of the prior art by providing a method, device, terminal equipment, and storage medium for controlling virtual characters in games, so as to solve the problem that the controlled virtual characters can only jump in a fixed standing posture, resulting in poor flexibility in the jumping action and reduced gaming experience for players.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of the present invention are as follows:

[0006] In a first aspect, embodiments of the present invention provide a method for controlling a virtual character in a game, which provides a graphical user interface through a terminal device. The graphical user interface includes a game scene, and the game scene includes at least: a controlled virtual character. The method includes:

[0007] In response to the descent operation, determine the direction of the controlled virtual character's gaze;

[0008] If the gaze direction of the controlled virtual character meets the first condition, control the controlled virtual character to perform a height descent action in the first posture;

[0009] If the gaze direction of the controlled virtual character meets the second condition, the controlled virtual character is controlled to perform a height descent action in the second posture.

[0010] Optionally, if the gaze direction of the controlled virtual character satisfies the first condition, controlling the controlled virtual character to perform a height descent action in the first posture includes:

[0011] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, the controlled virtual character is controlled to perform free fall motion in the first posture;

[0012] If the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a descent action in the second posture includes:

[0013] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, the controlled virtual character is controlled to perform free fall motion in the second posture.

[0014] Optionally, the method further includes:

[0015] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, the controlled virtual character is adjusted from the first posture to a standing posture in response to the input first posture adjustment operation.

[0016] The controlled virtual character continues to perform the descent action while maintaining the standing posture.

[0017] Optionally, the game scene may further include: a virtual object having a preset height in the preset vertical direction;

[0018] If the gaze direction of the controlled virtual character meets the first condition, controlling the controlled virtual character to perform a descent action in the first posture includes:

[0019] If the gaze direction of the controlled virtual character meets the first condition, control the controlled virtual character to perform a height descent action from the virtual object along the preset vertical direction in the first posture;

[0020] If the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a descent action in the second posture includes:

[0021] If the gaze direction of the controlled virtual character meets the second condition, the controlled virtual character is controlled to perform a height descent action from the virtual object in the second posture along the preset vertical direction.

[0022] Optionally, if the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a height descent action from the virtual object along the preset vertical direction in the second posture includes:

[0023] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, in response to the input second posture adjustment operation, the controlled virtual character is controlled to walk and fall along the outer surface of the virtual object in the preset vertical direction in the second posture.

[0024] Optionally, the method further includes:

[0025] The viewpoint adjustment operation is responded to, and the viewpoint of the controlled virtual character is controlled during the walking and falling process.

[0026] Optionally, the method further includes:

[0027] During the controlled virtual character's descent action, in response to an input third posture adjustment operation, the first posture is adjusted to the third posture, or the second posture is adjusted to the third posture;

[0028] The controlled virtual character is controlled to continue performing the altitude descent action in the third posture.

[0029] Optionally, before determining the gaze direction of the controlled virtual character in response to the height descent operation, the method further includes:

[0030] In response to the input of the fourth posture adjustment operation, the gaze direction of the controlled virtual character is adjusted.

[0031] Optionally, the game scene further includes: a target virtual character; the fourth posture adjustment operation in response to input adjusts the gaze direction of the controlled virtual character, including:

[0032] After the target virtual character performs a descent action, in response to the input of a fourth posture adjustment operation, the gaze direction of the controlled virtual character is adjusted.

[0033] Optionally, the descent action is a jumping action.

[0034] Secondly, embodiments of the present invention also provide a control device for a virtual character in a game, which provides a graphical user interface through a terminal device. The graphical user interface includes a game scene, and the game scene includes at least: a controlled virtual character. The device includes:

[0035] The judgment module is used to respond to the height descent operation and determine the direction of the controlled virtual character's gaze;

[0036] The control module is configured to control the controlled virtual character to perform a height descent action in the first posture if the gaze direction of the controlled virtual character meets a first condition; and to control the controlled virtual character to perform a height descent action in the second posture if the gaze direction of the controlled virtual character meets a second condition.

[0037] Optionally, the control module is specifically configured to control the controlled virtual character to perform free fall motion in the first posture if the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to a preset angle; and to control the controlled virtual character to perform free fall motion in the second posture if the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than a preset angle.

[0038] Optionally, the device further includes:

[0039] The first adjustment module is used to adjust the controlled virtual character from the first posture to a standing posture if the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle.

[0040] The first control module is used to control the controlled virtual character to continue performing the height descent action in the standing posture.

[0041] Optionally, the game scene further includes: a virtual object having a preset height in the preset vertical direction; the control module is specifically configured to, if the gaze direction of the controlled virtual character satisfies the first condition, control the controlled virtual character to perform a height descent action from the virtual object along the preset vertical direction in the first posture; and if the gaze direction of the controlled virtual character satisfies the second condition, control the controlled virtual character to perform a height descent action from the virtual object along the preset vertical direction in the second posture.

[0042] Optionally, the control module is specifically used to respond to the input second posture adjustment operation if the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than a preset angle, and control the controlled virtual character to walk and fall along the outer surface of the virtual object in the preset vertical direction in the second posture.

[0043] Optionally, the device further includes:

[0044] The second control module is used to respond to input viewpoint adjustment operations and control the viewpoint of the controlled virtual character during the walking and falling process.

[0045] Optionally, the device further includes:

[0046] The second adjustment module is used to respond to an input third posture adjustment operation during the process of the controlled virtual character performing a height descent action, and adjust the first posture to the third posture, or adjust the second posture to the third posture.

[0047] The third control module is used to control the controlled virtual character to continue performing the altitude descent action in the third posture.

[0048] Optionally, the device further includes:

[0049] The third adjustment module is used to respond to the input of the fourth posture adjustment operation and adjust the gaze direction of the controlled virtual character.

[0050] Optionally, the game scene also includes a target virtual character. The third adjustment module is specifically used to adjust the line of sight of the controlled virtual character in response to an input fourth posture adjustment operation after the target virtual character performs a height descent action.

[0051] Optionally, the descent action is a jumping action.

[0052] Thirdly, embodiments of the present invention also provide a terminal device, including: a memory and a processor, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to implement the control method for virtual characters in a game as described in any of the first aspects above.

[0053] Fourthly, embodiments of the present invention also provide a storage medium storing a computer program, wherein when the computer program is read and executed, it implements the control method for virtual characters in a game as described in any of the first aspects above.

[0054] The beneficial effects of this invention are as follows: This invention provides a method for controlling a virtual character in a game. A graphical user interface (GUI) is provided through a terminal device. The GUI includes a game scene, which at least includes a controlled virtual character. The method includes: responding to a height descent operation; determining the gaze direction of the controlled virtual character; if the gaze direction of the controlled virtual character meets a first condition, controlling the controlled virtual character to perform a height descent action in a first posture; if the gaze direction of the controlled virtual character meets a second condition, controlling the controlled virtual character to perform a height descent action in a second posture. By responding to a height descent operation and controlling the controlled virtual character to perform a height descent action in either a first or second posture based on the gaze direction, the posture of the controlled virtual character performing the height descent action is more flexible, improving the player's gaming experience. Attached Figure Description

[0055] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0056] Figure 1A flowchart illustrating a method for controlling a virtual character in a game, provided as an embodiment of the present invention;

[0057] Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of the present invention;

[0058] Figure 3 A flowchart illustrating a method for controlling a virtual character in a game, provided as an embodiment of the present invention;

[0059] Figure 4 A schematic diagram of a graphical user interface provided in an embodiment of the present invention;

[0060] Figure 5 A flowchart illustrating a method for controlling a virtual character in a game, provided as an embodiment of the present invention;

[0061] Figure 6 A schematic diagram of a graphical user interface provided in an embodiment of the present invention;

[0062] Figure 7 A flowchart illustrating a method for controlling a virtual character in a game, provided as an embodiment of the present invention;

[0063] Figure 8 A schematic diagram of a graphical user interface provided in an embodiment of the present invention;

[0064] Figure 9 A flowchart illustrating a method for controlling a virtual character in a game, provided as an embodiment of the present invention;

[0065] Figure 10 This is a schematic diagram of the structure of a control device for a virtual character in a game, provided by an embodiment of the present invention.

[0066] Figure 11 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present invention. Detailed Implementation

[0067] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.

[0068] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0069] In the description of this application, it should be noted that if the terms "upper", "lower", etc. appear to indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship that the product of this application is usually placed in, it is only for the convenience of describing this application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0070] Furthermore, the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Additionally, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0071] It should be noted that, where there is no conflict, the features in the embodiments of this application can be combined with each other.

[0072] In one embodiment of this application, the method for controlling virtual characters in a game can run on a local terminal device or a server. When the method for controlling virtual characters in a game runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0073] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separated. The storage and execution of the control methods for the virtual characters in the game are completed on the cloud gaming server. The client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission capabilities located close to the player, such as a mobile terminal, television, computer, or PDA; however, the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.

[0074] In an optional implementation, taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface (GUI), i.e., conventionally by downloading, installing, and running the game program via an electronic device. The local terminal device can provide the GUI to the player in various ways, such as rendering it on the terminal's display screen or providing it to the player via holographic projection. For example, the local terminal device can include a display screen for displaying the GUI, which includes game screens, and a processor for running the game, generating the GUI, and controlling the display of the GUI on the display screen.

[0075] In related technologies, a controlled virtual character can jump from a height while standing. However, in these technologies, the controlled virtual character can only jump from a fixed standing position, resulting in poor flexibility in the jumping action and reducing the player's gaming experience.

[0076] In response to the aforementioned technical problems in related technologies, this application provides a method for controlling a virtual character in a game. In response to a height descent operation, the method can control the virtual character to perform a height descent action in a first posture or a second posture according to the direction of the virtual character's gaze. This makes the posture of the virtual character performing the height descent action more flexible and improves the player's gaming experience.

[0077] The following explanation uses a terminal device as the execution subject to illustrate a method for controlling a virtual character in a game, as provided in the embodiments of this application.

[0078] Figure 1 A flowchart illustrating a method for controlling a virtual character in a game, as provided in an embodiment of the present invention, is shown below. Figure 1 As shown, the method may include:

[0079] S101, respond to the height descent operation and determine the direction of the controlled virtual character's gaze.

[0080] The graphical user interface is provided through a terminal device. The graphical user interface includes a game scene, which includes at least a controlled virtual character.

[0081] Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of the present invention, such as... Figure 2 As shown, in the game scene, the controlled virtual character can perform a descent action from the virtual platform.

[0082] In some implementations, the controlled virtual character can be suspended in mid-air, or as... Figure 2As shown, the controlled virtual character can respond to the input height descent operation on the virtual platform to determine the direction of the controlled virtual character's gaze.

[0083] In addition, the direction of the controlled virtual character's gaze can be perpendicular to the axis of gravity of the controlled virtual character.

[0084] S102. If the gaze direction of the controlled virtual character meets the first condition, control the controlled virtual character to perform a height descent action in the first posture.

[0085] The first condition may include the first line of sight.

[0086] In some implementations, it is determined whether the gaze direction of the controlled virtual character is within the first line of sight. If the gaze direction of the controlled virtual character is within the first line of sight, the controlled virtual character is controlled to perform a height descent action in a first posture.

[0087] In this embodiment, the controlled virtual character performs a height-descent action, which reduces the vertical height of the controlled virtual character. Optionally, the height-descent can be a movement only in the vertical direction, or a movement in both the vertical and horizontal directions, such as a drift descent.

[0088] S103. If the gaze direction of the controlled virtual character meets the second condition, control the controlled virtual character to perform a height descent action in the second posture.

[0089] The first condition may include the second line of sight.

[0090] In some implementations, it is determined whether the gaze direction of the controlled virtual character is within the second line of sight. If the gaze direction of the controlled virtual character is within the second line of sight, the controlled virtual character is controlled to perform a height descent action in a second posture.

[0091] It should be noted that before the descent, the controlled virtual character can be at a first altitude, either suspended in mid-air or on a virtual platform. After the descent, the controlled virtual character can be at a second altitude, either suspended in mid-air, on another virtual platform, or directly on the ground. This embodiment does not impose specific limitations on these aspects. The first altitude can be higher than the second altitude.

[0092] In summary, this invention provides a method for controlling a virtual character in a game. A graphical user interface (GUI) is provided via a terminal device. The GUI includes a game scene, which at least includes a controlled virtual character. The method includes: responding to a height descent operation; determining the gaze direction of the controlled virtual character; if the gaze direction of the controlled virtual character meets a first condition, controlling the controlled virtual character to perform a height descent action in a first posture; if the gaze direction of the controlled virtual character meets a second condition, controlling the controlled virtual character to perform a height descent action in a second posture. By responding to a height descent operation and controlling the controlled virtual character to perform a height descent action in either a first or second posture based on the gaze direction, the posture of the controlled virtual character performing the height descent action is more flexible, improving the player's gaming experience.

[0093] Optionally, the descent motion is a downward jump.

[0094] Optionally, the first posture is in which the direction of the virtual character's limbs (torso) is perpendicular to the direction of descent, and the second posture is in which the direction of the virtual character's limbs is parallel to the direction of descent; or, the second posture is in which the direction of the virtual character's limbs is perpendicular to the direction of descent, and the first posture is in which the direction of the virtual character's limbs is parallel to the direction of descent.

[0095] Figure 3 A flowchart illustrating a method for controlling a virtual character in a game, as provided in an embodiment of the present invention, is shown below. Figure 3 As shown, in S113 above, if the gaze direction of the controlled virtual character meets the first condition, controlling the controlled virtual character to perform a height descent action in a first posture may include:

[0096] S201. If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, control the controlled virtual character to perform free fall motion in the first posture.

[0097] Figure 4 A schematic diagram of a graphical user interface provided in an embodiment of the present invention, such as... Figure 4 As shown, the line of sight is perpendicular to the axis of gravity.

[0098] In some implementations, the terminal can determine the line of sight of the controlled virtual character based on the axis of gravity of the controlled virtual character; then it can calculate the angle between the line of sight of the controlled virtual character and the preset vertical direction, and determine whether the angle between the line of sight and the preset vertical direction is greater than or equal to the preset angle. If so, the terminal controls the controlled virtual character to perform free fall motion in a first posture according to the preset acceleration corresponding to free fall motion.

[0099] S202. If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, control the controlled virtual character to perform free fall motion in the second posture.

[0100] In some implementations, the terminal can determine the line of sight of the controlled virtual character based on the axis of gravity of the controlled virtual character; then it can calculate the angle between the line of sight of the controlled virtual character and the preset vertical direction, and determine whether the angle between the line of sight and the preset vertical direction is less than a preset angle. If so, the terminal controls the controlled virtual character to perform free fall motion in a second posture according to the preset acceleration corresponding to free fall motion.

[0101] The acceleration corresponding to free fall motion can be a preset acceleration.

[0102] It should be noted that the preset angle can be set according to actual needs or experience. For example, the preset angle can be 60 degrees or 55 degrees. This application embodiment does not impose specific limitations on this.

[0103] In this embodiment of the application, during the process of the controlled virtual character performing a descent, the posture of the controlled virtual character remains unchanged when no other posture adjustment operation is received for the controlled virtual character.

[0104] Optional, Figure 5 A flowchart illustrating a method for controlling a virtual character in a game, as provided in an embodiment of the present invention, is shown below. Figure 5 As shown, the method may further include:

[0105] S301. If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, respond to the input first posture adjustment operation and adjust the controlled virtual character from the first posture to the standing posture.

[0106] If the angle between the gaze direction of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, then the gaze direction of the controlled virtual character satisfies the first condition.

[0107] In addition, when standing, the central axis of the controlled virtual character's weight is parallel to the preset vertical direction, and the direction of the controlled virtual character's gaze is perpendicular to the preset vertical direction.

[0108] S302, Control the controlled virtual character to continue performing the height descent action in a standing posture.

[0109] In this embodiment, the speed at which the controlled virtual character performs a descent action while standing is greater than the speed at which the controlled virtual character performs a descent action while in a first or second posture.

[0110] Optionally, the acceleration of the controlled virtual character performing the height descent action in a standing posture is greater than the acceleration corresponding to free fall motion; or, the speed at which the controlled virtual character performs the height descent action in a standing posture is a constant speed, and this constant speed is greater than the speed at which the controlled virtual character performs the height descent action in the first posture. This allows the controlled virtual character to perform the height descent action quickly.

[0111] It should be noted that the first posture adjustment operation can be a touch operation or an operation input through an external device connected to the terminal device. Optionally, it can be an operation inputting with a mouse and / or keyboard, and this application embodiment does not impose specific limitations on this. For example, the first posture adjustment operation can be a pressing operation on a preset key on the keyboard. The preset key can be the 'c' key, or it can be set according to actual needs.

[0112] Optional, Figure 6 A schematic diagram of a graphical user interface provided in an embodiment of the present invention, such as... Figure 6 As shown, the game scene also includes: a virtual object with a preset height in a preset vertical direction; the controlled virtual character can be located on the virtual object.

[0113] Figure 7 A flowchart illustrating a method for controlling a virtual character in a game, as provided in an embodiment of the present invention, is shown below. Figure 7 As shown, the process in S102 above, where the controlled virtual character's gaze direction satisfies the first condition, involves controlling the controlled virtual character to perform a descent action in a first posture. This process may include:

[0114] S401. If the gaze direction of the controlled virtual character meets the first condition, control the controlled virtual character to perform a height descent action from the virtual object in a first posture along the preset vertical direction.

[0115] The process of controlling the controlled virtual character to perform a height descent action in a second posture in S103 above, if the gaze direction of the controlled virtual character meets the second condition, may include:

[0116] S402. If the gaze direction of the controlled virtual character meets the second condition, control the controlled virtual character to perform a height descent action from the virtual object in a second posture along a preset vertical direction.

[0117] In this embodiment, the controlled virtual object is controlled to descend from the virtual object in a first or second posture along a preset vertical direction. The preset vertical direction can be the vertical direction where the virtual object is located, or it can be a vertical direction separated from the virtual object by a preset horizontal distance; this embodiment does not impose specific limitations on this.

[0118] Optionally, the process in S402 above, where the controlled virtual character's line of sight meets the second condition, of controlling the controlled virtual character to perform a height descent action from the virtual object in a second posture along a preset vertical direction, may include:

[0119] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, respond to the input second posture adjustment operation and control the controlled virtual character to walk and fall along the outer surface of the virtual object in the preset vertical direction in the second posture.

[0120] In some implementations, if the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than a preset angle, the controlled virtual character is controlled to perform a height descent action in a second posture near the virtual object; in the second posture, in response to the input second posture adjustment operation, the controlled virtual character is controlled to walk and fall along the outer surface of the virtual object in the preset vertical direction in the second posture.

[0121] Among them, the speed at which the controlled virtual character walks and falls along the outer surface of the virtual object in the second posture in the preset vertical direction is greater than the speed at which the controlled virtual character performs the height descent action in the second posture, which can realize the ability to quickly walk along the outer surface of the virtual object and achieve rapid height descent.

[0122] It should be noted that the second posture adjustment operation can be a touch operation or an operation input through an external device connected to the terminal device. Optionally, it can be an operation inputting with a mouse and / or keyboard, and this application embodiment does not impose specific limitations on this. For example, the second posture adjustment operation can be a pressing operation on a preset key on the keyboard. The preset key can be the 'c' key, or it can be set according to actual needs.

[0123] Figure 8 A schematic diagram of a graphical user interface provided in an embodiment of the present invention, such as... Figure 8 As shown, the controlled virtual character walks and falls along the outer surface of a virtual object in a preset vertical direction in a second posture. The virtual object can be... Figure 6 An object perpendicular to the ground can also be Figure 8 Virtual objects with a certain degree of tilt, such as Figure 8 The virtual object in the application can be a city wall, but this application does not impose specific restrictions on it.

[0124] Optionally, the method may further include:

[0125] Responding to input viewpoint adjustment operations, it controls the viewpoint of the controlled virtual character during walking and falling.

[0126] In this embodiment, in response to the input viewpoint adjustment operation, a free viewpoint is enabled, and the controlled virtual character can move horizontally or vertically within a preset range during the walking and falling process.

[0127] It should be noted that the viewing angle adjustment operation can be a touch operation or an operation input through an external device connected to the terminal device. Optionally, it can be an operation input using a mouse and / or keyboard, and this application embodiment does not impose specific limitations on this. For example, the viewing angle adjustment operation can be achieved by simultaneously pressing a button for the direction of the viewing angle and a button for the opposite direction of the viewing angle.

[0128] Optional, Figure 9 A flowchart illustrating a method for controlling a virtual character in a game, as provided in an embodiment of the present invention, is shown below. Figure 9 As shown, the method also includes:

[0129] S501. During the process of the controlled virtual character performing the height descent action, respond to the input third posture adjustment operation to adjust the first posture to the third posture, or adjust the second posture to the third posture.

[0130] During the process of the controlled virtual character performing a descent action in the first or second posture, the player can also input a third posture adjustment operation to adjust the posture of the controlled virtual character again.

[0131] In practical applications, when the controlled virtual character is performing a descent action in the first or second posture, adjusting the posture of the controlled virtual character again can change the direction of the controlled virtual character's gaze, thereby changing the field of vision of the controlled virtual character, making the posture of the controlled virtual character more flexible during the descent action.

[0132] S502, Control the controlled virtual character to continue performing the altitude descent action in a third posture.

[0133] The controlled virtual character continues to perform a descent in a third posture until it descends to a preset position, which can be a virtual ground.

[0134] In this embodiment, the received third posture adjustment operation may be limited by the angle between the virtual character's line of sight and a preset vertical direction, or it may not be limited by this angle. For example, if the angle between the virtual character's line of sight and the preset vertical direction is greater than or equal to a preset angle, the received third posture adjustment operation can be received; if the angle between the virtual character's line of sight and the preset vertical direction is less than a preset angle, the received third posture adjustment operation cannot be received.

[0135] It should be noted that the input third posture adjustment operation can be a touch operation or an operation input by an external device of the terminal device. Optionally, it can be an operation input by a mouse and / or keyboard. This application embodiment does not impose specific limitations on this.

[0136] Optionally, before determining the gaze direction of the controlled virtual character in response to the height descent operation in S111 above, the method may further include: adjusting the gaze direction of the controlled virtual character in response to the input fourth posture adjustment operation.

[0137] Specifically, before controlling the controlled virtual character to perform a descent action, a fourth posture adjustment operation can be input to adjust the posture of the controlled virtual character, thereby adjusting the direction of the controlled virtual character.

[0138] Optionally, the fourth posture adjustment operation in response to the above-mentioned input, the process of adjusting the gaze direction of the controlled virtual character, may include:

[0139] After the target virtual character performs a descent action, the fourth posture adjustment operation is responded to to adjust the gaze direction of the controlled virtual character.

[0140] In the process of the controlled virtual character performing a descent action in a first or second posture, the controlled virtual character's field of vision may include the target virtual character.

[0141] In this embodiment, the fourth posture adjustment operation can be a touch operation or an operation input by an external device of the terminal device, such as an operation input by a mouse and / or keyboard. This embodiment does not impose specific limitations on this.

[0142] In some implementations, the target virtual character may be in a suspended state, or the target virtual character may descend along a preset vertical direction from a suspended state or on a virtual platform or virtual object. After the target virtual character lands or during the descent, in response to the input fourth posture adjustment operation, the line of sight of the controlled virtual character is adjusted. In response to the input height descent operation, the controlled virtual character is controlled to perform the descent in a first posture or a second posture, so that the controlled virtual character can observe the target virtual character during the descent, which facilitates the pursuit of the target virtual character.

[0143] It should be noted that the target virtual character can perform a descent action on the virtual object, in which case the target virtual character can hang on the outer surface of the virtual object; or the target virtual character can land near the virtual object; or the target virtual character can use a zipline to return to the virtual object or other buildings within a certain distance range while falling.

[0144] In this scenario, regardless of the target virtual character's situation, during the controlled virtual character's descent, the controlled virtual character's posture is adjusted in response to the input of a fourth or third posture adjustment operation, so that the controlled virtual character can observe the target virtual character, facilitating the controlled virtual character's pursuit of the target virtual character.

[0145] like Figure 4 , 7 As shown in Figure 8, the graphical user interface may include: the target virtual character.

[0146] In summary, this invention provides a method for controlling a virtual character in a game. A graphical user interface (GUI) is provided via a terminal device. The GUI includes a game scene, which at least includes a controlled virtual character. The method includes: responding to a height descent operation; determining the gaze direction of the controlled virtual character; if the gaze direction of the controlled virtual character meets a first condition, controlling the controlled virtual character to perform a height descent action in a first posture; if the gaze direction of the controlled virtual character meets a second condition, controlling the controlled virtual character to perform a height descent action in a second posture. By responding to a height descent operation and controlling the controlled virtual character to perform a height descent action in either a first or second posture based on the gaze direction, the posture of the controlled virtual character performing the height descent action is more flexible, improving the player's gaming experience.

[0147] Furthermore, when the target virtual character jumps down and the controlled virtual character pursues it, the efficiency of the controlled virtual character in viewing the location of the target virtual character can be greatly improved. This triggers more in-game battles, increases the success rate and sense of accomplishment in the pursuit, and further enhances the player's gaming experience.

[0148] The following describes the control device, terminal device, and storage medium for the virtual character in the game used to execute the control method for the virtual character in the game provided in this application. For the specific implementation process and technical effects, please refer to the relevant content of the control method for the virtual character in the game mentioned above, and it will not be repeated below.

[0149] Figure 10 This is a schematic diagram of the structure of a control device for a virtual character in a game, provided by an embodiment of the present invention. Figure 10 As shown, a graphical user interface is provided through a terminal device, the graphical user interface including a game scene, the game scene including at least: a controlled virtual character, the device including:

[0150] The judgment module 1001 is used to respond to the height descent operation and determine the gaze direction of the controlled virtual character;

[0151] The control module 1002 is configured to control the controlled virtual character to perform a height descent action in the first posture if the gaze direction of the controlled virtual character meets a first condition; and to control the controlled virtual character to perform a height descent action in the second posture if the gaze direction of the controlled virtual character meets a second condition.

[0152] Optionally, the control module 1002 is specifically used to control the controlled virtual character to perform free fall motion in the first posture if the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to a preset angle; and to control the controlled virtual character to perform free fall motion in the second posture if the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than a preset angle.

[0153] Optionally, the device further includes:

[0154] The first adjustment module is used to adjust the controlled virtual character from the first posture to a standing posture if the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle.

[0155] The first control module is used to control the controlled virtual character to continue performing the height descent action in the standing posture.

[0156] Optionally, the game scene further includes: a virtual object having a preset height in the preset vertical direction; the control module 1002 is specifically used to control the controlled virtual character to perform a height descent action from the virtual object in the first posture along the preset vertical direction if the line of sight of the controlled virtual character meets the first condition; and to control the controlled virtual character to perform a height descent action from the virtual object in the second posture along the preset vertical direction if the line of sight of the controlled virtual character meets the second condition.

[0157] Optionally, the control module 1002 is specifically used to respond to the input second posture adjustment operation if the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, and control the controlled virtual character to walk and fall along the outer surface of the virtual object in the preset vertical direction in the second posture.

[0158] Optionally, the device further includes:

[0159] The second control module is used to respond to input viewpoint adjustment operations and control the viewpoint of the controlled virtual character during the walking and falling process.

[0160] Optionally, the device further includes:

[0161] The second adjustment module is used to respond to an input third posture adjustment operation during the process of the controlled virtual character performing a height descent action, and adjust the first posture to the third posture, or adjust the second posture to the third posture.

[0162] The third control module is used to control the controlled virtual character to continue performing the altitude descent action in the third posture.

[0163] Optionally, the device further includes:

[0164] The third adjustment module is used to respond to the input of the fourth posture adjustment operation and adjust the gaze direction of the controlled virtual character.

[0165] Optionally, the game scene also includes a target virtual character. The third adjustment module is specifically used to adjust the line of sight of the controlled virtual character in response to an input fourth posture adjustment operation after the target virtual character performs a height descent action.

[0166] Optionally, the descent action is a jumping action.

[0167] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0168] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).

[0169] Figure 11 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present invention, as shown below. Figure 11 As shown, the terminal device may include: processor 1101 and memory 1102.

[0170] The memory 1102 stores a program, and the processor 1101 calls the program stored in the memory 1102 to execute the above-described method embodiment. The executed method may include:

[0171] In response to the descent operation, determine the direction of the controlled virtual character's gaze;

[0172] If the gaze direction of the controlled virtual character meets the first condition, control the controlled virtual character to perform a height descent action in the first posture;

[0173] If the gaze direction of the controlled virtual character meets the second condition, the controlled virtual character is controlled to perform a height descent action in the second posture.

[0174] Optionally, if the gaze direction of the controlled virtual character satisfies the first condition, controlling the controlled virtual character to perform a height descent action in the first posture includes:

[0175] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, the controlled virtual character is controlled to perform free fall motion in the first posture;

[0176] If the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a descent action in the second posture includes:

[0177] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, the controlled virtual character is controlled to perform free fall motion in the second posture.

[0178] Optionally, the method further includes:

[0179] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, the controlled virtual character is adjusted from the first posture to a standing posture in response to the input first posture adjustment operation.

[0180] The controlled virtual character continues to perform the descent action while maintaining the standing posture.

[0181] Optionally, the game scene may further include: a virtual object having a preset height in the preset vertical direction;

[0182] If the gaze direction of the controlled virtual character meets the first condition, controlling the controlled virtual character to perform a descent action in the first posture includes:

[0183] If the gaze direction of the controlled virtual character meets the first condition, control the controlled virtual character to perform a height descent action from the virtual object along the preset vertical direction in the first posture;

[0184] If the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a descent action in the second posture includes:

[0185] If the gaze direction of the controlled virtual character meets the second condition, the controlled virtual character is controlled to perform a height descent action from the virtual object in the second posture along the preset vertical direction.

[0186] Optionally, if the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a height descent action from the virtual object along the preset vertical direction in the second posture includes:

[0187] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, in response to the input second posture adjustment operation, the controlled virtual character is controlled to walk and fall along the outer surface of the virtual object in the preset vertical direction in the second posture.

[0188] Optionally, the method further includes:

[0189] The viewpoint adjustment operation is responded to, and the viewpoint of the controlled virtual character is controlled during the walking and falling process.

[0190] Optionally, the method further includes:

[0191] During the controlled virtual character's descent action, in response to an input third posture adjustment operation, the first posture is adjusted to the third posture, or the second posture is adjusted to the third posture;

[0192] The controlled virtual character is controlled to continue performing the altitude descent action in the third posture.

[0193] Optionally, before determining the gaze direction of the controlled virtual character in response to the height descent operation, the method further includes:

[0194] In response to the input of the fourth posture adjustment operation, the gaze direction of the controlled virtual character is adjusted.

[0195] Optionally, the game scene further includes: a target virtual character; the fourth posture adjustment operation in response to input adjusts the gaze direction of the controlled virtual character, including:

[0196] After the target virtual character performs a descent action, in response to the input of a fourth posture adjustment operation, the gaze direction of the controlled virtual character is adjusted.

[0197] Optionally, the descent action is a jumping action.

[0198] In summary, the response to the height descent operation allows the controlled virtual character to descend in either a first or second posture based on the direction of the controlled virtual character's gaze. This makes the controlled virtual character's posture more flexible when performing the height descent action, thus enhancing the player's gaming experience.

[0199] Optionally, the present invention also provides a program product, such as a computer-readable storage medium, including a program that, when executed by a processor, performs the above-described method embodiments. The performed method may include:

[0200] In response to the descent operation, determine the direction of the controlled virtual character's gaze;

[0201] If the gaze direction of the controlled virtual character meets the first condition, control the controlled virtual character to perform a height descent action in the first posture;

[0202] If the gaze direction of the controlled virtual character meets the second condition, the controlled virtual character is controlled to perform a height descent action in the second posture.

[0203] Optionally, if the gaze direction of the controlled virtual character satisfies the first condition, controlling the controlled virtual character to perform a height descent action in the first posture includes:

[0204] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, the controlled virtual character is controlled to perform free fall motion in the first posture;

[0205] If the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a descent action in the second posture includes:

[0206] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, the controlled virtual character is controlled to perform free fall motion in the second posture.

[0207] Optionally, the method further includes:

[0208] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, the controlled virtual character is adjusted from the first posture to a standing posture in response to the input first posture adjustment operation.

[0209] The controlled virtual character continues to perform the descent action while maintaining the standing posture.

[0210] Optionally, the game scene may further include: a virtual object having a preset height in the preset vertical direction;

[0211] If the gaze direction of the controlled virtual character meets the first condition, controlling the controlled virtual character to perform a descent action in the first posture includes:

[0212] If the gaze direction of the controlled virtual character meets the first condition, control the controlled virtual character to perform a height descent action from the virtual object along the preset vertical direction in the first posture;

[0213] If the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a descent action in the second posture includes:

[0214] If the gaze direction of the controlled virtual character meets the second condition, the controlled virtual character is controlled to perform a height descent action from the virtual object in the second posture along the preset vertical direction.

[0215] Optionally, if the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a height descent action from the virtual object along the preset vertical direction in the second posture includes:

[0216] If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, in response to the input second posture adjustment operation, the controlled virtual character is controlled to walk and fall along the outer surface of the virtual object in the preset vertical direction in the second posture.

[0217] Optionally, the method further includes:

[0218] The viewpoint adjustment operation is responded to, and the viewpoint of the controlled virtual character is controlled during the walking and falling process.

[0219] Optionally, the method further includes:

[0220] During the controlled virtual character's descent action, in response to an input third posture adjustment operation, the first posture is adjusted to the third posture, or the second posture is adjusted to the third posture;

[0221] The controlled virtual character is controlled to continue performing the altitude descent action in the third posture.

[0222] Optionally, before determining the gaze direction of the controlled virtual character in response to the height descent operation, the method further includes:

[0223] In response to the input of the fourth posture adjustment operation, the gaze direction of the controlled virtual character is adjusted.

[0224] Optionally, the game scene further includes: a target virtual character; the fourth posture adjustment operation in response to input adjusts the gaze direction of the controlled virtual character, including:

[0225] After the target virtual character performs a descent action, in response to the input of a fourth posture adjustment operation, the gaze direction of the controlled virtual character is adjusted.

[0226] Optionally, the descent action is a jumping action.

[0227] In summary, the response to the height descent operation allows the controlled virtual character to descend in either a first or second posture based on the direction of the controlled virtual character's gaze. This makes the controlled virtual character's posture more flexible when performing the height descent action, thus enhancing the player's gaming experience.

[0228] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0229] The units described as separate components may or may not be physically separate. 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 the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0230] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0231] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0232] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for controlling a virtual character in a game, characterized in that, The method includes providing a graphical user interface (GUI) via a terminal device, the GUI including a game scene, the game scene including at least a controlled virtual character, and the method comprising: In response to the descent operation, determine the direction of the controlled virtual character's gaze; If the gaze direction of the controlled virtual character meets the first condition, the controlled virtual character is controlled to perform a height descent action in a first posture, wherein the first condition includes a first gaze range; If the gaze direction of the controlled virtual character meets the second condition, the controlled virtual character is controlled to perform a height descent action in a second posture, wherein the second condition includes the second gaze range; The height descent action includes free fall motion and height descent action performed from the virtual object along a preset vertical direction. The first posture is in which the direction of the virtual character's limbs is perpendicular to the height descent direction, and the second posture is in which the direction of the virtual character's limbs is parallel to the height descent direction; or, the second posture is in which the direction of the virtual character's limbs is perpendicular to the height descent direction, and the first posture is in which the direction of the virtual character's limbs is parallel to the height descent direction.

2. The method according to claim 1, characterized in that, If the gaze direction of the controlled virtual character meets the first condition, controlling the controlled virtual character to perform a descent action in the first posture includes: If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, the controlled virtual character is controlled to perform free fall motion in the first posture; If the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a descent action in the second posture includes: If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, the controlled virtual character is controlled to perform free fall motion in the second posture.

3. The method according to claim 2, characterized in that, The method further includes: If the angle between the line of sight of the controlled virtual character and the preset vertical direction is greater than or equal to the preset angle, the controlled virtual character is adjusted from the first posture to a standing posture in response to the input first posture adjustment operation. The controlled virtual character continues to perform the descent action while maintaining the standing posture.

4. The method according to claim 1, characterized in that, The game scene also includes: a virtual object with a preset height in a preset vertical direction; If the gaze direction of the controlled virtual character meets the first condition, controlling the controlled virtual character to perform a descent action in the first posture includes: If the gaze direction of the controlled virtual character meets the first condition, control the controlled virtual character to perform a height descent action from the virtual object along the preset vertical direction in the first posture; If the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a descent action in the second posture includes: If the gaze direction of the controlled virtual character meets the second condition, the controlled virtual character is controlled to perform a height descent action from the virtual object in the second posture along the preset vertical direction.

5. The method according to claim 4, characterized in that, If the gaze direction of the controlled virtual character satisfies the second condition, controlling the controlled virtual character to perform a descent action from the virtual object along the preset vertical direction in the second posture includes: If the angle between the line of sight of the controlled virtual character and the preset vertical direction is less than the preset angle, in response to the input second posture adjustment operation, the controlled virtual character is controlled to walk and fall along the outer surface of the virtual object in the preset vertical direction in the second posture.

6. The method according to claim 5, characterized in that, The method further includes: The viewpoint adjustment operation is responded to, and the viewpoint of the controlled virtual character is controlled during the walking and falling process.

7. The method according to claim 1, characterized in that, The method further includes: During the controlled virtual character's descent action, in response to an input third posture adjustment operation, the first posture is adjusted to the third posture, or the second posture is adjusted to the third posture; The controlled virtual character is controlled to continue performing the altitude descent action in the third posture.

8. The method according to claim 1, characterized in that, Before determining the gaze direction of the controlled virtual character in response to the height descent operation, the method further includes: In response to the input of the fourth posture adjustment operation, the gaze direction of the controlled virtual character is adjusted.

9. The method according to claim 8, characterized in that, The game scene also includes: a target virtual character; the fourth posture adjustment operation in response to input adjusts the gaze direction of the controlled virtual character, including: After the target virtual character performs a descent action, in response to the input of a fourth posture adjustment operation, the gaze direction of the controlled virtual character is adjusted.

10. The method according to any one of claims 1-9, characterized in that, The descent motion is a jumping motion.

11. A control device for a virtual character in a game, characterized in that, A graphical user interface is provided via a terminal device, the graphical user interface including a game scene, the game scene including at least: a controlled virtual character, the device comprising: The judgment module is used to respond to the height descent operation and determine the direction of the controlled virtual character's gaze; A control module is configured to control the controlled virtual character to perform a height-descent action in a first posture if the gaze direction of the controlled virtual character meets a first condition; and to control the controlled virtual character to perform a height-descent action in a second posture if the gaze direction of the controlled virtual character meets a second condition. The first condition includes a first gaze range, the second condition includes a second gaze range, and the height-descent action includes free fall motion and a height-descent action performed from a virtual object along a preset vertical direction. The first posture is in which the direction of the virtual character's limbs is perpendicular to the direction of height descent, and the second posture is in which the direction of the virtual character's limbs is parallel to the direction of height descent; or, the second posture is in which the direction of the virtual character's limbs is perpendicular to the direction of height descent, and the first posture is in which the direction of the virtual character's limbs is parallel to the direction of height descent.

12. A terminal device, characterized in that, include: A memory and a processor, wherein the memory stores a computer program executable by the processor, and the processor executes the computer program to implement the control method for virtual characters in a game as described in any one of claims 1-10.

13. A storage medium, characterized in that, The storage medium stores a computer program, which, when read and executed, implements the control method for virtual characters in a game as described in any one of claims 1-10.

Citation Information

Patent Citations

  • Control method and device for virtual object, terminal and storage medium

    CN110354489A