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

By automatically controlling the virtual character to move to the obscuring object and perform actions through the graphical user interface of the game terminal device, the problem of tedious manual operation for players is solved, and the game experience is improved.

CN116785693BActive Publication Date: 2026-11-03NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the game, manually controlling a virtual character to complete target actions near virtual occluded objects is cumbersome and reduces the gaming experience.

Method used

The terminal device provides a graphical user interface, responds to the operation of the first skill control to determine the target occlusion object, and provides supplementary controls. Players can automatically control the virtual character to move to the position of the occlusion object and perform the corresponding action by triggering the operation.

Benefits of technology

It enables automatic control of virtual characters, simplifies player operations, and improves the gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116785693B_ABST
    Figure CN116785693B_ABST
Patent Text Reader

Abstract

The application provides a virtual role control method and device in a game, a terminal equipment and a medium, and relates to the technical field of games. The method comprises the following steps: in response to a second operation on a first skill control, determining a target shielding object in a game scene according to an operation parameter of the second operation, and providing a supplementary control corresponding to a current attribute state of a virtual role in a graphical user interface; and in response to a trigger operation on the supplementary control, controlling the virtual role to move from a current position to a position of the target shielding object to perform a target action corresponding to the supplementary control. Based on the second operation on the first skill control, the target shielding object is determined, and based on the operation on the supplementary control, the virtual role is automatically controlled to automatically move to the position of the target shielding object and perform the target action. The automatic control of the virtual role can be realized by operating the control, the operation of the player is more convenient, 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 medium for controlling virtual characters in games. Background Technology

[0002] As games continue to develop and progress, a wider variety of games are emerging. In these games, virtual characters need to perform specific actions near virtual occlusion objects to ensure their safety. However, currently, players must manually control their virtual characters to complete these actions near these objects, which is cumbersome and inconvenient, reducing the player's gaming experience. Summary of the Invention

[0003] The purpose of this invention is to address the shortcomings of the prior art by providing a method, device, terminal equipment, and medium for controlling virtual characters in games, so as to solve the problem that players need to manually control virtual characters to complete target actions near virtual occluded objects, which is cumbersome and inconvenient for players and reduces the gaming experience.

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

[0005] 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 displays a game scene, a virtual character located in the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene via a first game item in response to a first operation. The method includes:

[0006] In response to a second operation on the first skill control, a target occlusion object is determined in the game scene according to the operation parameters of the second operation, and supplementary controls corresponding to the current attribute state of the virtual character are provided in the graphical user interface;

[0007] In response to a trigger operation on the supplementary control, the virtual character is controlled to move from its current position to the location of the target occlusion object and perform the target action corresponding to the supplementary control.

[0008] Optionally, the second operation is a sliding operation, and the operation parameters include the sliding direction of the sliding operation;

[0009] The step of determining a target occlusion object in the game scene according to the operation parameters of the second operation includes:

[0010] Based on the sliding direction of the sliding operation, a position corresponding to the sliding direction is determined in the game scene, and a target occlusion object is determined at the position.

[0011] Optionally, the step of providing supplementary controls in the graphical user interface corresponding to the current attribute state of the virtual character includes:

[0012] Based on the sliding direction of the sliding operation, at least one supplementary control corresponding to the current attribute state of the virtual character is provided in the sliding direction.

[0013] Optionally, the step of providing supplementary controls in the graphical user interface corresponding to the current attribute state of the virtual character includes at least one of the following:

[0014] If the current attribute status of the virtual character is a missing attribute value state, then the graphical user interface provides an attribute value replenishment control corresponding to the missing attribute value, wherein the missing attribute value state is an attribute value lower than a first threshold, and the attribute value includes one or more of the following: stamina value, energy value, signal value, magic value, vitality value; and

[0015] If the current attribute status of the virtual character is a missing item status, then the graphical user interface provides an item replenishment control corresponding to the missing item, wherein the missing item status is that the number of items is lower than a second threshold, and the missing items include at least the sub-game items of the first game item.

[0016] Optionally, the step of controlling the virtual character to move from its current position to the location of the target occlusion object and perform the target action corresponding to the supplementary control in response to a trigger operation on the supplementary control includes at least one of the following:

[0017] In response to a trigger operation on the attribute value supplementation control, the virtual character is controlled to move to the location of the target occlusion object to perform the attribute value supplementation operation; and

[0018] In response to a trigger operation on the item replenishment control, the virtual character is controlled to move to the location of the target occluded object to perform an item replenishment operation.

[0019] Optionally, the step of controlling the virtual character to move to the location of the target occlusion object and perform the target action corresponding to the supplementary control includes:

[0020] The virtual character is controlled to switch the first game item from the first assembly state to the second assembly state, and move to the location of the target occlusion object to perform the target action corresponding to the supplementary control.

[0021] Optionally, the step of controlling the virtual character to move to the location of the target occlusion object and perform the target action corresponding to the supplementary control includes:

[0022] Obtain the height of the target occluding object;

[0023] Based on the height, control the virtual character to move to the location of the target occlusion object, and perform the target action with a motion posture that matches the height;

[0024] The action posture includes at least one of the following: standing, squatting, and lying down.

[0025] Optionally, the method further includes:

[0026] The graphical user interface provides a first game item replenishment control;

[0027] In response to a touch operation applied to the first game item replenishment control, the virtual character is controlled to perform a sub-game item replenishment operation for the first game item.

[0028] Optionally, the method further includes:

[0029] After the target action is completed, the virtual character is controlled to return from the location of the target occluded object to the current position.

[0030] Optionally, when the sliding operation ends at the supplementary control, the triggering operation of the supplementary control is triggered.

[0031] Secondly, 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 displays a game scene, a virtual character located in the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene via a first game item in response to a first operation. The method includes:

[0032] In response to the current attribute state of the virtual character, supplementary controls corresponding to the current attribute state are provided in the graphical user interface;

[0033] In response to the second operation on the supplementary control, a target occlusion object is determined in the game scene, and the virtual character is controlled to move to the location of the target occlusion object to perform the target action corresponding to the supplementary control;

[0034] The supplementary control includes an attribute value supplementary control or an item supplementary control, the target action includes an attribute value supplementary operation or an item supplementary operation, the attribute value includes one or more of the following: stamina value, energy value, signal value, magic value, vitality value, and the item includes at least a sub-game item of the first game item.

[0035] Optionally, the step of providing supplementary controls corresponding to the current attribute state in the graphical user interface in response to the current attribute state of the virtual character includes:

[0036] In response to the current attribute state of the virtual character, obtain the relative position between the virtual character and the occluding objects within a preset range in the game scene;

[0037] Based on the relative orientation, supplementary controls corresponding to the occluded object are displayed around the first skill control.

[0038] Optionally, the response to the second operation of the supplementary control, the step of determining a target occlusion object in the game scene, includes:

[0039] In response to a selection operation of a target supplementary control among the displayed supplementary controls, the occlusion object corresponding to the target supplementary control is determined to be the target occlusion object.

[0040] Optionally, the step of providing supplementary controls corresponding to the current attribute state in the graphical user interface in response to the current attribute state of the virtual character includes:

[0041] In response to the current attribute state of the virtual character, and when there is an occluding object within a preset range of the virtual character, supplementary controls corresponding to the current attribute state are provided in the graphical user interface.

[0042] Optionally, the response to the second operation of the supplementary control, the step of determining a target occlusion object in the game scene, includes:

[0043] In response to the second operation of the supplementary control, the target occlusion object is determined as the occlusion object that is closest to the virtual character among the occlusion objects within the preset range of the virtual character.

[0044] Optionally, the second operation is a sliding operation applied to the supplementary control;

[0045] The response is in response to a second operation of the supplementary control, and the step of determining a target occlusion in the game scene includes:

[0046] In response to a sliding operation of the supplementary control, based on the sliding direction of the sliding operation, a position corresponding to the sliding direction is determined in the game scene, and a target occluder is determined at the position.

[0047] Thirdly, 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 displays a game scene, a virtual character located in the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene via a first game item in response to a first operation. The device includes:

[0048] The determination module is used to respond to a second operation on the first skill control, determine a target occlusion object in the game scene according to the operation parameters of the second operation, and provide supplementary controls in the graphical user interface that correspond to the current attribute state of the virtual character.

[0049] The control module is used to respond to the trigger operation of the supplementary control and control the virtual character to move from the current position to the position of the target occlusion object to perform the target action corresponding to the supplementary control.

[0050] Optionally, the second operation is a sliding operation, and the operation parameters include the sliding direction of the sliding operation;

[0051] The determining module is further configured to determine, based on the sliding direction of the sliding operation, a position in the game scene corresponding to the sliding direction, and determine a target occlusion object at the position.

[0052] Optionally, the determining module is further configured to provide at least one supplementary control corresponding to the current attribute state of the virtual character in the sliding direction, based on the sliding direction of the sliding operation.

[0053] Optionally, the determining module is further configured to, if the current attribute state of the virtual character is an attribute value missing state, provide an attribute value supplementation control in the graphical user interface corresponding to the missing attribute value, wherein the attribute value missing state is an attribute value lower than a first threshold, and the attribute value includes one or more of the following: stamina value, energy value, signal value, magic value, vitality value; and / or if the current attribute state of the virtual character is an item missing state, provide an item supplementation control in the graphical user interface corresponding to the missing item, wherein the item missing state is an item quantity lower than a second threshold, and the missing item includes at least a sub-game item of the first game item.

[0054] Optionally, the control module is further configured to, in response to a trigger operation on the attribute value replenishment control, control the virtual character to move to the location of the target occluded object to perform an attribute value replenishment operation; and / or, in response to a trigger operation on the prop replenishment control, control the virtual character to move to the location of the target occluded object to perform an prop replenishment operation.

[0055] Optionally, the control module is further configured to control the virtual character to switch the first game item from a first assembly state to a second assembly state, and move to the location of the target occlusion object to perform the target action corresponding to the supplementary control.

[0056] Optionally, the control module is further configured to obtain the height of the target occlusion object; based on the height, control the virtual character to move to the location of the target occlusion object, and perform the target action with a motion posture matching the height; wherein the motion posture includes at least one of the following: standing, squatting, and lying down.

[0057] Optionally, the device further includes:

[0058] A module is provided for providing first game item supplementation controls in the graphical user interface;

[0059] The first control module is used to respond to touch operations applied to the first game item replenishment control and control the virtual character to perform a sub-game item replenishment operation for the first game item.

[0060] Optionally, the device further includes:

[0061] The second control module is used to control the virtual character to return from the location of the target occluded object to the current position after the target action is completed.

[0062] Optionally, when the sliding operation ends at the supplementary control, the triggering operation of the supplementary control is triggered.

[0063] Fourthly, 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 displays a game scene, a virtual character located in the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene via a first game item in response to a first operation. The device includes:

[0064] A module is provided to provide supplementary controls corresponding to the current attribute state of the virtual character in the graphical user interface in response to the current attribute state.

[0065] The control module is used to respond to a second operation on the supplementary control, determine a target occlusion object in the game scene, and control the virtual character to move to the location of the target occlusion object to perform a target action corresponding to the supplementary control;

[0066] The supplementary control includes an attribute value supplementary control or an item supplementary control, the target action includes an attribute value supplementary operation or an item supplementary operation, the attribute value includes one or more of the following: stamina value, energy value, signal value, magic value, vitality value, and the item includes at least a sub-game item of the first game item.

[0067] Optionally, the providing module is further configured to, in response to the current attribute state of the virtual character, obtain the relative position between the occluding object within a preset range of the virtual character in the game scene and the virtual character; and display supplementary controls corresponding to the occluding object around the first skill control based on the relative position.

[0068] Optionally, the control module is further configured to respond to a selection operation of a target supplementary control among the displayed supplementary controls, and determine the occlusion object corresponding to the target supplementary control as the target occlusion object.

[0069] Optionally, the providing module is further configured to provide supplementary controls corresponding to the current attribute state in the graphical user interface when, in response to the current attribute state of the virtual character and when there is an occluding object within a preset range of the virtual character, the providing module is configured to provide supplementary controls corresponding to the current attribute state in the graphical user interface.

[0070] Optionally, the control module is further configured to respond to a second operation on the supplementary control, and determine the occlusion object closest to the virtual character among the occlusion objects within a preset range of the virtual character as the target occlusion object.

[0071] Optionally, the second operation is a sliding operation applied to the supplementary control;

[0072] The providing module is also configured to respond to a sliding operation on the supplementary control, determine a position in the game scene corresponding to the sliding direction based on the sliding direction of the sliding operation, and determine a target occluder at the position.

[0073] Fifthly, 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 one of the first and second aspects above.

[0074] Sixthly, 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 one of the first and second aspects.

[0075] 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 displays a game scene, a virtual character located within the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene via a first game item in response to a first operation. The method includes: responding to a second operation on the first skill control; determining a target occlusion object in the game scene based on the operation parameters of the second operation; and providing supplementary controls in the GUI corresponding to the current attribute state of the virtual character; responding to a trigger operation on the supplementary controls; and controlling the virtual character to move from its current position to the location of the target occlusion object to perform the target action corresponding to the supplementary controls. Based on the second operation on the first skill control, a target occlusion object is determined. Based on the operation on the supplementary controls, the virtual character is automatically controlled to move to the location of the target occlusion object and perform the target action. By operating the controls, automatic control of the virtual character can be achieved, making player operation more convenient and improving the player's gaming experience. Attached Figure Description

[0076] 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.

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

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

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

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

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

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

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

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

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

[0086] 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.

[0087] Figure 11 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.

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

[0089] 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.

[0090] 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.

[0091] 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.

[0092] 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.

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

[0094] As games continue to develop and progress, a wider variety of games are emerging. In these games, virtual characters need to perform specific actions near virtual occlusion objects to ensure their safety.

[0095] In related technologies, players manually control a virtual character to move near a virtual occlusion object, and then manually control the virtual character to complete a target action near the occlusion object. This design is inconvenient for players to operate and reduces their gaming experience.

[0096] To address the aforementioned technical problems in related technologies, this application provides a method for controlling a virtual character in a game. In response to a second operation on a first skill control, a target occlusion object is identified in the game scene, and supplementary controls are provided in the graphical user interface. In response to a trigger operation on the supplementary controls, the virtual character can be automatically moved from its current position to the location of the target occlusion object, and a target action corresponding to the supplementary control is performed at the location of the target occlusion object. By manipulating the controls, the virtual character can be automatically moved to the target occlusion object to perform the target action, making player operation more convenient and improving the player's gaming experience.

[0097] This application provides a method for controlling virtual characters in a game. The executing entity can be a terminal device, which can be any of the following: desktop computer, laptop computer, tablet computer, smartphone, etc. It can also be other types of devices that have processing, display and can install game applications. This application does not impose specific limitations on this.

[0098] 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.

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

[0100] S101, responding to the second operation on the first skill control, determining a target occlusion object in the game scene according to the operation parameters of the second operation, and providing supplementary controls in the graphical user interface that correspond to the current attribute state of the virtual character.

[0101] Figure 2 A schematic diagram of a graphical user interface provided in an embodiment of the present invention, such as... Figure 2 As shown, the terminal device provides a graphical user interface (GUI), which displays a game scene, a virtual character within the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene via a first game item in response to a first operation.

[0102] In this embodiment, the terminal device responds to a first operation on the first skill control, which can control the first game item to launch a sub-game item; the terminal device responds to a second operation on the first skill control, which determines a target occlusion object in the game scene based on the operation parameters of the second operation. The first and second operations are of different types.

[0103] For example, the first operation can be a click operation, and the second operation can be a long press operation. Correspondingly, the operation parameter of the second operation can be the long press duration; or, the first operation can be a single click operation, and the second operation can be a multi-click operation. Correspondingly, the operation parameter of the multi-click operation can be the number of clicks.

[0104] In some implementations, the terminal device can determine the target attribute to be supplemented based on the current attribute status of the virtual character, and then provide supplementary controls corresponding to the target attribute in the graphical user interface.

[0105] like Figure 2 As shown, after performing a second operation on the first skill control, a supplementary control is also provided in the graphical user interface. This supplementary control can be displayed and fixed in a preset position. Of course, the display position of the supplementary control can also be determined according to the second operation. This application embodiment does not impose specific limitations on this.

[0106] It should be noted that the target occlusion object determined in the game scene according to the operation parameters of the second operation can be an object that already exists in the game scene or a newly generated object. This application embodiment does not impose specific restrictions on this.

[0107] S102, Respond to the trigger operation for the supplementary control, and control the virtual character to move from the current position to the position of the target occluded object to perform the target action corresponding to the supplementary control.

[0108] In one possible implementation, in response to a trigger operation on the supplementary control, the terminal device can automatically control the virtual character to move from its current position to the location of the target occluded object to perform the target action, thereby supplementing the target attribute of the virtual character to the target state.

[0109] Figure 3 A schematic diagram of a graphical user interface provided in an embodiment of the present invention, such as... Figure 3 As shown, in response to a trigger operation on the supplementary control, after controlling the virtual character to move from its current position to the location of the target occlusion object, the supplementary control can also be hidden. Optionally, during the process of controlling the virtual character to perform the target action corresponding to the supplementary control, supplementary prompt information can also be displayed in the graphical user interface.

[0110] It should be noted that the triggering operation for the supplementary control can be any of the following: click operation, long press operation, hard press operation, swipe operation, etc., and this application embodiment does not impose specific restrictions on this.

[0111] In summary, the embodiments of the present invention provide a method for controlling virtual characters in a game. By determining the target occlusion object based on the second operation on the first skill control, and by automatically controlling the virtual character to move to the location of the target occlusion object based on the trigger operation on the supplementary control, the method can realize automatic control of the virtual character, making the player's operation more convenient and improving the player's gaming experience.

[0112] Optionally, the second operation is a sliding operation, and the operation parameters include the sliding direction of the sliding operation.

[0113] The step of determining a target occlusion object in the game scene according to the operation parameters of the second operation in S101 above may include: determining the position corresponding to the sliding direction in the game scene according to the sliding direction of the sliding operation, and determining a target occlusion object at the position.

[0114] In some implementations, the terminal device can determine the orientation corresponding to the sliding direction in the game scene based on the sliding direction of the sliding operation, and determine the nearest occluding object from the existing occluding objects at the orientation as the target occluding object, or generate a target occluding object at the orientation.

[0115] Optionally, the step of providing supplementary controls corresponding to the current attribute state of the virtual character in the graphical user interface in S101 above may include: providing at least one supplementary control corresponding to the current attribute state of the virtual character in the sliding direction according to the sliding direction of the sliding operation.

[0116] In the embodiments of this application, such as Figure 2 As shown, the sliding direction can be leftward, and the terminal device can provide a supplementary control at a preset threshold position away from the first skill control along the sliding direction. Of course, this is just an example; multiple supplementary controls can be provided when there are multiple supplementary controls.

[0117] It should be noted that different supplementary controls can display different supplementary prompts, which are used to indicate the attribute information to be supplemented. For example, if the current attribute status indicates that the sub-game item corresponding to the first game item is missing, the supplementary prompt could be: Supplement the sub-game item corresponding to the first game item.

[0118] Optionally, the step of providing supplementary controls corresponding to the current attribute state of the virtual character in the graphical user interface in S101 above may include at least one of the following:

[0119] If the virtual character's current attribute status is a missing attribute value state, then a corresponding attribute value replenishment control is provided in the graphical user interface. The missing attribute value state is defined as an attribute value falling below a first threshold. Attribute values ​​include one or more of the following: stamina, energy, signal strength, mana, and vitality.

[0120] If the current attribute status of the virtual character is a missing item status, then the graphical user interface provides a missing item replenishment control corresponding to the missing item. The missing item status is when the number of items is lower than the second threshold, and the missing items include at least the sub-game items of the first game item.

[0121] In this embodiment, the current attribute state of a virtual character may include: an attribute value missing state and / or an item missing state; if only the attribute value missing state is included, then an attribute value supplementation control corresponding to the missing attribute value is provided in the graphical user interface; if only the item missing state is included, then an item supplementation control corresponding to the missing item is provided in the graphical user interface; if both the attribute value missing state and the item missing state are included, and the number of supplementation controls to be provided is less than or equal to a preset number, then attribute value supplementation controls and item supplementation controls are provided in the graphical user interface.

[0122] It should be noted that if both attribute value missing status and item missing status are included, but the number of supplementary controls required exceeds the preset number, then the priority of providing attribute value supplementary controls is higher than the priority of providing item supplementary controls.

[0123] Optionally, the first game item can be a virtual pistol, and the sub-game item of the first game item can be a virtual bullet; or, the first game item can be a bow, and the sub-game item of the first game item can be an arrow, etc. This application embodiment does not impose specific limitations on this.

[0124] Optionally, the step of responding to a trigger operation on the supplementary control and controlling the virtual character to move from its current position to the location of the target occluded object to perform the target action corresponding to the supplementary control includes at least one of the following:

[0125] In response to a trigger action on an attribute value replenishment control, control the virtual character to move to the location of the target occluded object and perform the attribute value replenishment operation; and

[0126] In response to a trigger action on the item replenishment control, control the virtual character to move to the location of the target occluded object and perform the item replenishment operation.

[0127] In some implementations, the terminal device responds to a trigger operation on the attribute value supplementation control, controlling the virtual character to move to the location of the target occluded object and supplement the missing attribute value corresponding to the attribute value supplementation control. For example, at least one of the following can be supplemented: stamina, energy, signal strength, magic power, and vitality.

[0128] Furthermore, the attribute value replenishment control can be a control for replenishing virtual food, a control for replenishing virtual potions, or other forms; this application embodiment does not impose specific limitations on this. For example, when the attribute value replenishment control is a control for replenishing virtual potions, the replenishment prompt information of the attribute value replenishment control can be "Covering up the medicine".

[0129] In other embodiments, the terminal device responds to a trigger operation on the item replenishment control, controlling the virtual character to move to the location of the target occluded object and replenish the item. The item can be the item corresponding to the first skill control, or it can be other items in the game; this application embodiment does not impose specific limitations on this.

[0130] For example, it could be replenishing bullets for virtual weapons. The replenishment prompt on the item replenishment control could be "Reload while obstructing the view".

[0131] Optionally, the step of controlling the virtual character to move from its current position to the location of the target occlusion object and perform the target action corresponding to the supplementary control in S102 above may include: controlling the virtual character to switch the first game item from the first assembly state to the second assembly state, and moving it to the location of the target occlusion object to perform the target action corresponding to the supplementary control.

[0132] In some implementations, the terminal device can first control the virtual character to switch the first game item from a first assembly state to a second assembly state, and then control it to move to the location of the target occluded object to perform the target action corresponding to the supplementary control.

[0133] In other implementations, the terminal device can control the virtual character to move towards the location of the target occluded object, switch the first game item from a first assembly state to a second assembly state, and execute the target action corresponding to the supplementary control when it reaches the location of the target occluded object.

[0134] For example, the first assembly state can be for the virtual character to take out virtual game items, and the second assembly state can be for the virtual character to put away virtual game items.

[0135] In summary, controlling the virtual character to switch the first game item from the first equipped state to the second equipped state allows the virtual character to move to the location of the target occluded object more quickly and efficiently.

[0136] Optional, Figure 4 This is a flowchart illustrating a method for controlling a virtual character in a game, as provided in an embodiment of the present invention. Figure 4 As shown, the step in S102 above, which controls the virtual character to move from its current position to the location of the target occluded object and perform the target action corresponding to the supplementary control, may include:

[0137] S401, Get the height of the target occluding object.

[0138] S402. Based on the height, control the virtual character to move to the location of the target occluded object, and perform the target action with a motion posture that matches the height.

[0139] Among them, the action posture includes at least one of the following: standing, squatting, or lying down.

[0140] In some implementations, after the terminal device controls the virtual character to move to the location of the target occluded object, it can determine the action posture that matches the height of the target occluded object based on the height of the target occluded object and the height of the virtual character in different action postures, and then perform the target action based on the action posture.

[0141] In summary, by controlling the virtual character to perform the target action with a posture that matches the height at the location of the target occluding object, the virtual object can be better hidden at the location of the target occluding object.

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

[0143] S501, Provides a first game item replenishment control in the graphical user interface.

[0144] S502, responding to a touch operation applied to the first game item replenishment control, controlling the virtual character to perform a sub-game item replenishment operation for the first game item.

[0145] In some implementations, if the current attribute status indicates that the first game item is missing, a first game item replenishment control can be provided in the graphical user interface. In response to touch operations on the first game item replenishment control, the virtual character can be controlled to perform a sub-game item replenishment operation for the first game item at the current position.

[0146] For example, the first game item could be a virtual pistol. Responding to touch controls that supplement the first game item, the virtual character could be controlled to reload at the current location.

[0147] Optionally, the method also includes:

[0148] After the target action is completed, control the virtual character to return from the location of the target occluded object to the current position.

[0149] Figure 6 A schematic diagram of a graphical user interface provided in an embodiment of the present invention, such as... Figure 6 As shown, after the target action is completed, the virtual character is controlled to return to its current position.

[0150] Optionally, when the sliding operation ends at the supplementary control, the supplementary control's trigger operation is triggered.

[0151] In this embodiment of the application, the sliding operation for the first skill control and the triggering operation for the supplementary control can be continuous operations, that is, when the end position of the sliding operation is at the position of the supplementary control, the triggering operation of the supplementary control is triggered.

[0152] In some implementations, the first operation on the first skill control can be a click operation. The terminal device responds to this first operation and launches a sub-game item through the first game item in the game scene. The second operation on the first skill control can be a swipe operation. The starting point of the swipe operation can be the first skill control. During the swipe in a swipe direction from the starting point, if there is at least one occluding object in the position corresponding to the swipe direction, the nearest occluding object is determined as the target occluding object. Supplementary controls corresponding to the current attribute state of the virtual character are provided in the swipe direction corresponding to the swipe operation in the graphical user interface. If the end position of the swipe operation is detected on the supplementary control, the virtual character is controlled to move from the current position to the position of the target occluding object and execute the target action corresponding to the supplementary control.

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

[0154] S701. In response to the current attribute state of the virtual character, provide supplementary controls in the graphical user interface that correspond to the current attribute state.

[0155] The graphical user interface is provided through a terminal device. The content displayed by the graphical user interface includes: a game scene, a virtual character located in the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene in response to a first operation through a first game item.

[0156] In some implementations, if the terminal device detects that the current attribute state of the virtual character does not meet the first preset state, it indicates that the current attribute state of the virtual character is missing and needs to be supplemented. In this case, a supplementary control corresponding to the current attribute state can be provided in the graphical user interface.

[0157] For example, if the current attribute status of the virtual character indicates that an attribute value is missing, an attribute value replenishment control is provided on the graphical user interface; if the current attribute status of the virtual character indicates that an item is missing, an item replenishment control is provided on the graphical user interface. The item can be a first game item or other items in the game. This application embodiment does not impose specific limitations on this.

[0158] S702, responding to the second operation for the supplementary control, identify a target occlusion object in the game scene, and control the virtual character to move to the location of the target occlusion object to perform the target action corresponding to the supplementary control.

[0159] The supplementary controls include attribute value supplementary controls or prop supplementary controls, the target actions include attribute value supplementary operations or prop supplementary operations, the attribute values ​​include one or more of the following: stamina, energy, signal, magic, vitality, and props include at least the sub-game props of the first game prop.

[0160] In this embodiment of the application, a target occlusion object is determined in the game scene. It can be an object that already exists in the game scene or a newly generated object. This embodiment of the application does not impose specific restrictions on this.

[0161] In some implementations, the terminal device can control the virtual character to move to the location of the target occlusion object and control the virtual character to perform the target action corresponding to the supplementary control, thereby supplementing the attribute value or prop under the occlusion of the target occlusion object. When the supplemented attribute state meets the second preset state, the supplementation is completed.

[0162] In summary, this application provides a method for controlling a virtual character in a game, comprising: responding to the current attribute state of the virtual character, providing supplementary controls corresponding to the current attribute state in a graphical user interface; responding to a second operation on the supplementary controls, determining a target occlusion object in the game scene, and controlling the virtual character to move to the location of the target occlusion object to perform a target action corresponding to the supplementary controls; wherein, the supplementary controls include attribute value supplementary controls or item supplementary controls, the target action includes attribute value supplementary operations or item supplementary operations, the attribute values ​​include one or more of the following: stamina, energy, signal, magic, vitality, and the items include at least a sub-game item of a first game item. Based on the second operation on the supplementary controls, a target occlusion object is determined, and the virtual character is automatically controlled to move to the location of the target occlusion object and perform the target action. Operating the supplementary controls enables automatic control of the virtual character, making player operation more convenient and improving the player's gaming experience. Moreover, different types of supplementary controls can be provided according to the current attribute state, which can not only supplement attribute values ​​but also supplement items.

[0163] Optional, Figure 8 This is a flowchart illustrating a method for controlling a virtual character in a game, as provided in an embodiment of the present invention. Figure 8 As shown, the step in S701 above, which provides supplementary controls corresponding to the current attribute state of the virtual character in response to the current attribute state, may include:

[0164] S801, In response to the current attribute state of the virtual character, obtain the relative position between the virtual character and the occluding object within the preset range of the virtual character in the game scene.

[0165] The target occlusion object can be an existing occlusion object in the game scene.

[0166] In some implementations, in response to the current attribute state of the virtual character, the terminal device can obtain at least one occluding object within a preset range of the virtual character in the game scene, and determine the relative position between each occluding object and the virtual character.

[0167] S802, Based on the relative orientation, display supplementary controls corresponding to the occluded object around the first skill control.

[0168] In some implementations, the terminal device can display supplementary controls corresponding to the obscured object at a preset distance from the first skill control, based on the relative orientation.

[0169] For example, if the occluded object is to the left of the virtual character, a supplementary control corresponding to the occluded object can be displayed to the left of the first skill control; or, if the most recent occluded object is above the virtual character, a supplementary control corresponding to the occluded object can be displayed above the first skill control.

[0170] It should be noted that the supplementary control can also display a tooltip indicating which object is being obscured, so that the user can know which object the supplementary control is specifically obscuring.

[0171] Optionally, the step of determining a target occlusion object in the game scene in response to the second operation on the supplementary control in S702 above may include: responding to the selection operation on a target supplementary control among the displayed supplementary controls, and determining the occlusion object corresponding to the target supplementary control as the target occlusion object.

[0172] The graphical user interface may provide at least one supplementary control.

[0173] Figure 9 A schematic diagram of a graphical user interface provided in an embodiment of the present invention, such as... Figure 9 As shown, the graphical user interface may include supplementary control a and supplementary control b. The occlusion object corresponding to supplementary control a can be the first occlusion object, and the occlusion object corresponding to supplementary control b can be the second occlusion object.

[0174] Optionally, the step of providing supplementary controls corresponding to the current attribute state in the graphical user interface in response to the current attribute state of the virtual character in S701 above may include: providing supplementary controls corresponding to the current attribute state in the graphical user interface when there is an occluding object within a preset range of the virtual character in response to the current attribute state of the virtual character.

[0175] In this embodiment, in response to the current attribute state of the virtual character, when there is an obstructing object within the preset range of the virtual character, supplementary controls corresponding to the current attribute state are provided; when there is an obstructing object within the preset range of the virtual character, supplementary controls corresponding to the current attribute state are not provided.

[0176] Optionally, the step of determining a target occlusion object in the game scene in response to the second operation on the supplementary control in S702 above may include: in response to the second operation on the supplementary control, determining the occlusion object closest to the virtual character among the occlusion objects within the preset range of the virtual character as the target occlusion object.

[0177] In some implementations, in response to a second operation on the supplementary control, the terminal determines at least one occluding object within a preset range of the virtual character, calculates the distance between each occluding object and the virtual character, and selects the closest occluding object as the target occluding object.

[0178] Optionally, the second operation is a sliding operation applied to the supplementary control.

[0179] The step of determining a target occluder in the game scene in response to the second operation of the supplementary control in S702 above may include: responding to the sliding operation of the supplementary control, determining the position corresponding to the sliding direction in the game scene according to the sliding direction of the sliding operation, and determining a target occluder at the position.

[0180] Optionally, the supplementary controls presented on the graphical user interface can be in the form of a virtual joystick, and the sliding operation for the supplementary controls can be a sliding operation for the virtual joystick.

[0181] For example, a left swipe of the virtual joystick corresponds to the left side of the supplementary control, so a target obstruction can be identified to the left of the supplementary control; or, an up swipe of the virtual joystick corresponds to the top of the supplementary control, so a target obstruction can be identified above the supplementary control; a right swipe of the virtual joystick corresponds to the right side of the supplementary control, so a target obstruction can be identified to the right of the supplementary control; or, a down swipe of the virtual joystick corresponds to the bottom of the supplementary control, so a target obstruction can be identified below the supplementary control.

[0182] In some implementations, the terminal device can determine the location corresponding to the sliding direction in the game scene based on the sliding direction of the sliding operation, and determine the object closest to the virtual character as the target occluder.

[0183] Of course, if there is no target obstruction in the direction of the swipe, the terminal device can also determine the direction corresponding to the swipe direction in the game scene according to the swipe direction, and regenerate a target obstruction at a preset distance from the virtual character in that direction.

[0184] 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.

[0185] 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, the device provides a graphical user interface via a terminal device. The content displayed in the graphical user interface includes a game scene, a virtual character located in the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene via a first game item in response to a first operation. The device includes:

[0186] The determination module 1001 is used to respond to a second operation on the first skill control, determine a target occlusion object in the game scene according to the operation parameters of the second operation, and provide supplementary controls in the graphical user interface that correspond to the current attribute state of the virtual character.

[0187] The control module 1002 is used to respond to the trigger operation of the supplementary control and control the virtual character to move from the current position to the position of the target occlusion object to perform the target action corresponding to the supplementary control.

[0188] Optionally, the second operation is a sliding operation, and the operation parameters include the sliding direction of the sliding operation;

[0189] The determining module 1001 is further configured to determine, based on the sliding direction of the sliding operation, a position in the game scene corresponding to the sliding direction, and determine a target occlusion object at the position.

[0190] Optionally, the determining module 1001 is further configured to provide at least one supplementary control corresponding to the current attribute state of the virtual character in the sliding direction according to the sliding direction of the sliding operation.

[0191] Optionally, the determining module 1001 is further configured to, if the current attribute state of the virtual character is an attribute value missing state, provide an attribute value supplementation control corresponding to the missing attribute value in the graphical user interface, wherein the attribute value missing state is an attribute value lower than a first threshold, and the attribute value includes one or more of the following: stamina value, energy value, signal value, magic value, vitality value; and / or if the current attribute state of the virtual character is an item missing state, provide an item supplementation control corresponding to the missing item in the graphical user interface, wherein the item missing state is an item quantity lower than a second threshold, and the missing item includes at least a sub-game item of the first game item.

[0192] Optionally, the control module 1002 is further configured to, in response to a trigger operation on the attribute value replenishment control, control the virtual character to move to the location of the target occluded object to perform an attribute value replenishment operation; and / or, in response to a trigger operation on the prop replenishment control, control the virtual character to move to the location of the target occluded object to perform an prop replenishment operation.

[0193] Optionally, the control module 1002 is further configured to control the virtual character to switch the first game item from a first assembly state to a second assembly state, and move to the location of the target occlusion object to perform the target action corresponding to the supplementary control.

[0194] Optionally, the control module 1002 is further configured to obtain the height of the target occlusion object; according to the height, control the virtual character to move to the location of the target occlusion object, and perform the target action with a motion posture matching the height; wherein the motion posture includes at least one of the following: standing, squatting, and lying down.

[0195] Optionally, the device further includes:

[0196] A module is provided for providing first game item supplementation controls in the graphical user interface;

[0197] The first control module is used to respond to touch operations applied to the first game item replenishment control and control the virtual character to perform a sub-game item replenishment operation for the first game item.

[0198] Optionally, the device further includes:

[0199] The second control module is used to control the virtual character to return from the location of the target occluded object to the current position after the target action is completed.

[0200] Optionally, when the sliding operation ends at the supplementary control, the triggering operation of the supplementary control is triggered.

[0201] Figure 11 This is a schematic diagram of a control device for a virtual character in a game, provided by an embodiment of the present invention. The device provides a graphical user interface (GUI) via a terminal device. The GUI displays a game scene, a virtual character located within the game scene, and a first skill control. The first skill control is configured to respond to a first operation by launching a sub-game item in the game scene using a first game item, such as... Figure 11 As shown, the device includes:

[0202] A module 1101 is provided to provide supplementary controls corresponding to the current attribute state in the graphical user interface in response to the current attribute state of the virtual character.

[0203] The control module 1102 is used to respond to a second operation on the supplementary control, determine a target occlusion object in the game scene, and control the virtual character to move to the location of the target occlusion object to perform a target action corresponding to the supplementary control;

[0204] The supplementary control includes an attribute value supplementary control or an item supplementary control, the target action includes an attribute value supplementary operation or an item supplementary operation, the attribute value includes one or more of the following: stamina value, energy value, signal value, magic value, vitality value, and the item includes at least a sub-game item of the first game item.

[0205] Optionally, the providing module 1101 is further configured to, in response to the current attribute state of the virtual character, obtain the relative position between the occluding object within a preset range of the virtual character in the game scene and the virtual character; and display supplementary controls corresponding to the occluding object around the first skill control based on the relative position.

[0206] Optionally, the control module 1102 is further configured to respond to a selection operation of a target supplementary control among the displayed supplementary controls, and determine the occlusion object corresponding to the target supplementary control as the target occlusion object.

[0207] Optionally, the providing module 1101 is further configured to provide supplementary controls corresponding to the current attribute state in the graphical user interface when, in response to the current attribute state of the virtual character and when there is an occluding object within a preset range of the virtual character.

[0208] Optionally, the control module 1102 is further configured to respond to a second operation on the supplementary control and determine the occlusion object closest to the virtual character among the occlusion objects within the preset range of the virtual character as the target occlusion object.

[0209] Optionally, the second operation is a sliding operation applied to the supplementary control;

[0210] The providing module 1101 is also configured to respond to a sliding operation on the supplementary control, determine a position in the game scene corresponding to the sliding direction according to the sliding direction of the sliding operation, and determine a target occluder at the position.

[0211] 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.

[0212] 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).

[0213] Figure 12 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present invention, such as... Figure 12 As shown, the terminal device includes: processor 1201 and memory 1202.

[0214] The memory 1202 is used to store programs, and the processor 1201 calls the programs stored in the memory 1202 to execute the above method embodiments. The specific implementation and technical effects are similar, and will not be described in detail here.

[0215] 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, is used to perform the above-described method embodiments.

[0216] 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.

[0217] 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.

[0218] 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.

[0219] 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 partial steps of the methods of 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.

[0220] 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, A graphical user interface is provided through a terminal device. The content displayed in the graphical user interface includes a game scene, a virtual character located in the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene via a first game item in response to a first operation. The method includes: In response to a second operation on the first skill control, a target occlusion object is determined in the game scene according to the operation parameters of the second operation, and supplementary controls corresponding to the current attribute state of the virtual character are provided in the graphical user interface; In response to a trigger operation on the supplementary control, the virtual character is controlled to move from its current position to the location of the target occlusion object and perform the target action corresponding to the supplementary control; The step of controlling the virtual character to move from its current position to the location of the target occlusion object and perform the target action corresponding to the supplementary control includes: The virtual character is controlled to switch the first game item from a first equipped state to a second equipped state, and move to the location of the target occlusion object to perform the target action corresponding to the supplementary control; wherein, the first equipped state is when the virtual character takes out the virtual game item, and the second equipped state is when the virtual character puts away the virtual game item; The step of providing supplementary controls in the graphical user interface corresponding to the current attribute state of the virtual character includes at least one of the following: If the current attribute status of the virtual character is a missing attribute value state, then the graphical user interface provides an attribute value replenishment control corresponding to the missing attribute value, wherein the missing attribute value state is an attribute value lower than a first threshold, and the attribute value includes one or more of the following: stamina value, energy value, signal value, magic value, vitality value; and If the current attribute status of the virtual character is a missing item status, then the graphical user interface provides an item replenishment control corresponding to the missing item, wherein the missing item status is that the number of items is lower than a second threshold, and the missing items include at least the sub-game items of the first game item.

2. The method according to claim 1, characterized in that, The second operation is a sliding operation, and the operation parameters include the sliding direction of the sliding operation; The step of determining a target occlusion object in the game scene according to the operation parameters of the second operation includes: Based on the sliding direction of the sliding operation, a position corresponding to the sliding direction is determined in the game scene, and a target occlusion object is determined at the position.

3. The method according to claim 2, characterized in that, The step of providing supplementary controls in the graphical user interface corresponding to the current attribute state of the virtual character includes: Based on the sliding direction of the sliding operation, at least one supplementary control corresponding to the current attribute state of the virtual character is provided in the sliding direction.

4. The method according to claim 1, characterized in that, The step of responding to a trigger operation on the supplementary control and controlling the virtual character to move from its current position to the location of the target occlusion object to perform a target action corresponding to the supplementary control includes at least one of the following: In response to a trigger operation on the attribute value supplementation control, the virtual character is controlled to move to the location of the target occlusion object to perform the attribute value supplementation operation; and In response to a trigger operation on the item replenishment control, the virtual character is controlled to move to the location of the target occluded object to perform an item replenishment operation.

5. The method according to claim 1, characterized in that, The step of controlling the virtual character to move from its current position to the location of the target occlusion object and perform the target action corresponding to the supplementary control includes: Obtain the height of the target occluding object; Based on the height, control the virtual character to move to the location of the target occlusion object, and perform the target action with a motion posture that matches the height; The action posture includes at least one of the following: standing, squatting, and lying down.

6. The method according to claim 1, characterized in that, The method further includes: The graphical user interface provides a first game item replenishment control; In response to a touch operation applied to the first game item replenishment control, the virtual character is controlled to perform a sub-game item replenishment operation for the first game item.

7. The method according to claim 1, characterized in that, The method further includes: After the target action is completed, the virtual character is controlled to return from the location of the target occluded object to the current position.

8. The method according to claim 2, characterized in that, When the sliding operation ends at the supplementary control, the triggering operation of the supplementary control is triggered.

9. A control device for a virtual character in a game, characterized in that, A graphical user interface is provided through a terminal device. The content displayed in the graphical user interface includes a game scene, a virtual character located in the game scene, and a first skill control. The first skill control is configured to launch a sub-game item in the game scene via a first game item in response to a first operation. The device includes: The determination module is used to respond to a second operation on the first skill control, determine a target occlusion object in the game scene according to the operation parameters of the second operation, and provide supplementary controls in the graphical user interface that correspond to the current attribute state of the virtual character. The control module is used to respond to the trigger operation of the supplementary control and control the virtual character to move from the current position to the position of the target occlusion object to perform the target action corresponding to the supplementary control; The control module is specifically used to control the virtual character to switch the first game item from a first assembly state to a second assembly state, and move it to the location of the target occlusion object to perform the target action corresponding to the supplementary control; wherein, the first assembly state is when the virtual character takes out the virtual game item, and the second assembly state is when the virtual character puts away the virtual game item; The determining module is specifically configured to, if the current attribute state of the virtual character is an attribute value missing state, provide an attribute value supplementation control in the graphical user interface corresponding to the missing attribute value, wherein the attribute value missing state is an attribute value lower than a first threshold, and the attribute value includes one or more of the following: stamina value, energy value, signal value, magic value, vitality value; and / or if the current attribute state of the virtual character is an item missing state, provide an item supplementation control in the graphical user interface corresponding to the missing item, wherein the item missing state is an item quantity lower than a second threshold, and the missing item includes at least a sub-game item of the first game item.

10. 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-8.

11. 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-8.