Virtual character control method and device, computer program product and electronic equipment

By displaying the progress of virtual characters leaving the bunker in the graphical user interface of third-person shooting games and automatically performing the disengagement operation, the problem of players being prone to misoperation when leaving the bunker is solved, and the accuracy and difficulty of the operation are improved.

CN119499657APending Publication Date: 2025-02-25NETEASE (SHANGHAI) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411436125.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-14
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In third-person shooting games, players are prone to misoperation when controlling virtual characters to leave the cover, resulting in disruption of combat strategies.

Method used

The possibility of misoperation is reduced by displaying the virtual character's separation progress from the virtual bunker in the graphical user interface and automatically controlling the virtual character's separation from the bunker when the separation progress reaches the end.

Benefits of technology

It improves the accuracy and difficulty of operation without the bunker, reduces the occurrence of misoperation, and enhances the player's sense of control over the operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119499657A_ABST
    Figure CN119499657A_ABST
Patent Text Reader

Abstract

The invention provides a virtual character control method and device, a computer program product and electronic equipment, and relates to the technical field of games. The virtual character control method comprises the following steps: in response to a control instruction for entering a virtual blindage, controlling a virtual character to enter a covering range corresponding to the virtual blindage; in response to a first movement control operation for the moving rocker, controlling the virtual character to move in the covering range; if the virtual character moves to the inner edge of the covering range, responding to a second moving control operation for the moving rocker, and displaying the separation progress of the virtual character for the virtual blindage in the graphical user interface; during the period that the second movement control operation takes effect, the virtual character is controlled to change towards the progress end point according to the separation progress of the virtual blindage; and the virtual character is controlled to be separated from the virtual blindage in response to the situation that the separation progress of the virtual character for the virtual blindage reaches the progress end point, so that the accuracy of the separation blindage operation can be improved, and the operation difficulty is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of game technology, and in particular to a virtual character control method, a virtual character control device, a computer program product, and an electronic device. Background Art

[0002] In some third-person shooting games (TPS) that mainly focus on cover warfare, there are a large number of covers such as walls, windows, vehicles, stones, etc. Players can control virtual characters to enter different types of covers in the game scene and crouch according to the needs of the battle to achieve a defensive effect.

[0003] In the related art, players control the virtual character to leave the cover by clicking the exit control set in the interface, which is easy to make accidental touches during intense battles; players control the virtual character to leave the cover by controlling the movement of the virtual character, which is easy to make accidental operations near the edge of the cover.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The present disclosure provides a virtual character control method, a virtual character control device, a computer program product and an electronic device, so as to at least to some extent solve the problem of easy misoperation when controlling a virtual character to leave a cover in the related art.

[0006] According to a first aspect of the present disclosure, a method for controlling a virtual character is provided, wherein a graphical user interface is provided through a terminal device, wherein the content displayed in the graphical user interface includes a scene screen of at least part of a game scene and a moving joystick, wherein the game scene includes a virtual character and a virtual cover, and the method includes: in response to a control instruction to enter the virtual cover, controlling the virtual character to enter a masking range corresponding to the virtual cover; in response to a first movement control operation on the moving joystick, controlling the virtual character to move within the masking range; if the virtual character moves to an inner edge of the masking range, in response to a second movement control operation on the moving joystick, displaying the virtual character's escaping progress with respect to the virtual cover in the graphical user interface; while the second movement control operation is in effect, controlling the virtual character's escaping progress with respect to the virtual cover to change toward a progress end point; in response to the virtual character's escaping progress with respect to the virtual cover reaching the progress end point, controlling the virtual character to escaping from the virtual cover.

[0007] According to a second aspect of the present disclosure, a virtual character control device is provided, which provides a graphical user interface through a terminal device, wherein the content displayed in the graphical user interface includes a scene screen of at least part of a game scene and a moving joystick, wherein the game scene includes a virtual character and a virtual cover, and the device includes: a cover entry control module, which is used to respond to a control instruction to enter the virtual cover and control the virtual character to enter a cover range corresponding to the virtual cover; a character movement control module, which responds to a first movement control operation on the moving joystick and controls the virtual character to move within the cover range; a disengagement progress display module, which is used to display the disengagement progress of the virtual character with respect to the virtual cover in the graphical user interface in response to a second movement control operation on the moving joystick if the virtual character moves to an inner edge of the cover range; a disengagement progress change module, which is used to control the disengagement progress of the virtual character with respect to the virtual cover to change toward a progress end point during the period when the second movement control operation is effective; and a cover disengagement control module, which is used to respond to the disengagement progress of the virtual character with respect to the virtual cover reaching the progress end point and control the virtual character to disengage from the virtual cover.

[0008] According to a third aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the virtual character control method of the first aspect and possible implementation methods thereof are implemented.

[0009] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the virtual character control method of the first aspect and its possible implementation method by executing the executable instructions.

[0010] The technical solution disclosed in this disclosure has the following beneficial effects:

[0011] In the above-mentioned virtual character control process, in response to the control instruction of entering the virtual cover, the virtual character is controlled to enter the cover range corresponding to the virtual cover; in response to the first movement control operation for the mobile joystick, the virtual character is controlled to move within the cover range; if the virtual character moves to the inner edge of the cover range, in response to the second movement control operation for the mobile joystick, the virtual character's progress of escaping from the virtual cover is displayed in the graphical user interface; during the period when the second movement control operation is effective, the virtual character's progress of escaping from the virtual cover is controlled to change toward the end of the progress; in response to the virtual character's progress of escaping from the virtual cover reaching the end of the progress, the virtual character is controlled to escaping from the virtual cover. On the one hand, during the period when the movement control operation is effective, the present disclosure controls the progress of escaping from the virtual cover of the virtual character to change toward the end of the progress, and when the progress of escaping from the virtual cover reaches the end of the progress, the virtual character is controlled to escaping from the virtual cover, which can avoid user misoperation to a certain extent, improve the accuracy of the operation of escaping from the cover, and reduce the difficulty of the operation. On the other hand, by displaying the progress of escaping from the virtual character to the virtual cover in the graphical user interface, the present disclosure can more intuitively prompt the player that the control operation of escaping from the cover is currently being performed, so that the player can adjust the operation strategy in time according to the needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A flowchart showing a method for controlling a virtual character in this exemplary embodiment is shown;

[0013] Figure 2 A schematic diagram of an interface in which a virtual character is outside a covering range corresponding to a virtual cover in this exemplary embodiment is shown;

[0014] Figure 3A A schematic diagram showing a disengagement operation area in this exemplary embodiment;

[0015] Figure 3B A schematic diagram showing another disengagement operation area in this exemplary embodiment;

[0016] Figure 4 A schematic diagram showing a display of a disengagement progress indicator in this exemplary embodiment is shown;

[0017] Figure 5 A schematic diagram showing a display of a disengagement progress mark relative to a crosshair mark in this exemplary embodiment is shown;

[0018] Figure 6 A schematic diagram showing a display of a disengagement progress when the disengagement progress is respectively at the starting point of the progress, at the middle point of the progress, and at the end point of the progress in this exemplary embodiment;

[0019] Figure 7 A flowchart of controlling a virtual character to escape from a virtual cover in this exemplary embodiment is shown;

[0020] Figure 8 A structural block diagram of a virtual character control device in this exemplary embodiment is shown;

[0021] Fig. 9 An electronic device for implementing the above-mentioned virtual character control method in this exemplary embodiment is shown. DETAILED DESCRIPTION

[0022] Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.

[0023] The accompanying drawings are schematic diagrams of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. The embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein. The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the description below, many specific details are provided to provide a full description of the embodiments of the present disclosure. However, those skilled in the art should appreciate that one or more specific details may be omitted when implementing the technical solution of the present disclosure, or one or more specific details may be replaced by other methods, components, devices, steps, etc.

[0024] In the related art, players control the virtual character to leave the cover by clicking the exit control set in the interface, which is easy to make accidental touches during intense battles and may disrupt the player's combat strategy; players control the virtual character to leave the cover by controlling the movement of the virtual character, which is easy to make accidental operations near the edge of the cover. For example, the player only wants to control the virtual character to move to the edge of the cover, but accidentally leaves the cover.

[0025] In view of one or more of the above problems, exemplary embodiments of the present disclosure provide a virtual character control method, a virtual character control device, a computer program product, and an electronic device.

[0026] In one embodiment of the present disclosure, the virtual character control method can be run on a local terminal device or a server. When the virtual character control method is run on a server, the virtual character control method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0027] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the virtual character control method are completed on the cloud game server. The role of 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 function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the game processing is performed by the cloud game server in the cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0028] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed and run by an electronic device in a conventional manner. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0029] In an optional embodiment, reference Figure 1 As shown, a flowchart of a method for controlling a virtual character is provided, wherein a graphical user interface is provided through a terminal device, and the content displayed in the graphical user interface includes at least part of a game scene and a moving joystick, and the game scene includes a virtual character and a virtual cover, and specifically includes the following steps S110 to S150:

[0030] Step S110, responding to the control instruction of entering the virtual shelter, controlling the virtual character to enter the shelter range corresponding to the virtual shelter;

[0031] Step S120, in response to a first movement control operation on the moving joystick, controlling the virtual character to move within the masking range;

[0032] Step S130, if the virtual character moves to the inner edge of the cover range, in response to the second movement control operation on the moving joystick, the progress of the virtual character's escape from the virtual cover is displayed in the graphical user interface;

[0033] Step S140, during the period when the second movement control operation is in effect, controlling the virtual character to change the progress of leaving the virtual cover toward the end of the progress;

[0034] Step S150 , in response to the virtual character's progress of leaving the virtual cover reaching an end point, controlling the virtual character to leave the virtual cover.

[0035] Figure 1 In the method shown, while the mobile control operation is in effect, the progress of the virtual character's escape from the virtual cover is controlled to change towards the end of the progress, and when the escape progress reaches the end of the progress, the virtual character is controlled to escape from the virtual cover, which can avoid user misoperation to a certain extent, improve the accuracy of the escape operation and reduce the difficulty of the operation; by displaying the virtual character's escape progress from the virtual cover in the graphical user interface, the player can be more intuitively prompted that the control operation of escaping from the cover is currently being performed, so that the player can adjust the operation strategy in time according to needs.

[0036] It should be noted that the game scene in the present disclosure is a virtual scene in the target game application, which may include a virtual character and a virtual cover controlled by a terminal device. The target game application may be a shooting game application, or other game application with a scene of obstacles that can be avoided, and the present disclosure does not specifically limit this. The mobile joystick is a virtual game control used to control the movement of a virtual character in a game scene, and may include a movable virtual slider, and the present disclosure does not specifically limit its specific form.

[0037] Below Figure 1 Provide detailed instructions for each step.

[0038] In step S110, in response to a control instruction to enter a virtual shelter, the virtual character is controlled to enter a shielding range corresponding to the virtual shelter.

[0039] Among them, the virtual character refers to a dynamic object that can be controlled in the game scene. Optionally, the dynamic object can be a virtual person, a virtual animal, a cartoon character, etc. Exemplarily, the player can control the virtual character to move in the game scene, for example, running, jumping, crawling, etc., and can also control the virtual character to fight with other virtual characters using skills and virtual props provided by the application. The virtual character can move accordingly in the game scene according to the movement control operation of the slider in the mobile joystick forward, backward, left and right.

[0040] The virtual cover may be an obstacle in the game scene that can be avoided, such as a wall, a stone, a window, a vehicle, a wooden box, etc.

[0041] The cover range corresponding to the virtual cover refers to the range in which the virtual character can hide, which may be a specific area centered on the virtual cover, and the present disclosure does not specifically limit this. When the virtual character is within the cover range corresponding to the virtual cover, a defensive effect can be achieved. The cover range may be a range with a boundary, and its inner edge may be a range formed by extending the cover range boundary inward by a certain distance.

[0042] For example, Figure 2 As shown, a schematic diagram of an interface in which a virtual character is outside a masking range corresponding to a virtual cover is provided, and a control instruction to enter the virtual cover 201 can be responded to to control the virtual character 202 to enter the masking range corresponding to the virtual cover 201 .

[0043] Optionally, the above-mentioned response to the control instruction to enter the virtual cover and control the virtual character to enter the cover range corresponding to the virtual cover can be achieved through the following steps: responding to the third movement control operation on the moving joystick to control the virtual character to move in the game scene; if the position relationship between the virtual character and the virtual cover satisfies the preset position relationship, controlling the display of the cover control; responding to the first touch operation on the cover control to control the virtual character to enter the cover range corresponding to the virtual cover and crouch.

[0044] The third movement control operation may be a control operation for controlling the movement of the virtual character in the game scene when the virtual character does not enter the virtual cover.

[0045] Among them, the preset position relationship can be, for example, the virtual character moves to the outer edge of the masking range corresponding to the virtual cover, or the virtual character is outside the masking range corresponding to the virtual cover and the distance between the virtual cover and the virtual cover is less than the preset distance, etc. The present disclosure does not make specific limitations on this.

[0046] When the virtual character does not enter the virtual cover, the virtual character can be controlled to move in the game scene in response to the third movement control operation on the moving joystick; if the position relationship between the virtual character and the virtual cover meets the preset position relationship, the cover control can be controlled to be displayed. For example, the cover control can be displayed at the associated position of the virtual cover.

[0047] When the cover control is displayed, the virtual character may be controlled to enter the cover range corresponding to the virtual cover and crouch in response to the first touch operation on the cover control. The first touch operation may include but is not limited to a single-click operation, a long-press operation, a double-click operation, etc. For example, in response to a click operation on the cover control, the virtual character may be controlled to enter the cover range corresponding to the virtual cover and crouch, so that the virtual character can hide in the cover range corresponding to the virtual cover.

[0048] Optionally, in response to a second touch operation on the cover control, the virtual character can be controlled to leave the virtual cover and change from a crouching state to a standing state.

[0049] The second touch operation may include but is not limited to a single-click operation, a long-press operation, a double-click operation, etc.

[0050] For example, in response to a click operation on the cover control again, the virtual character can be controlled to leave the virtual cover and change from a crouching state to a standing state, so that the virtual character can be controlled to move outside the covering range of the virtual cover.

[0051] It should be noted that the first touch operation and the second touch operation may be the same or different, and the present disclosure does not specifically limit this.

[0052] In step S120, in response to a first movement control operation on the moving joystick, the virtual character is controlled to move within the masking range.

[0053] The first movement control operation may be a movement control operation performed on the virtual character when the virtual character is within the masking range.

[0054] Optionally, the virtual character may move in a crouching state after entering the virtual cover so that the virtual character can be better hidden.

[0055] In step S130 , if the virtual character moves to the inner edge of the cover range, in response to the second movement control operation on the moving joystick, the progress of the virtual character's escape from the virtual cover is displayed in the graphical user interface.

[0056] Exemplarily, when the distance between the virtual character and the edge of the masking range corresponding to the virtual cover is less than a preset distance threshold, it can be considered that the virtual character moves to the inner edge of the masking range corresponding to the virtual cover.

[0057] The second movement control operation may be a movement control operation on the moving joystick when the virtual character moves to the inner edge of the covering range corresponding to the virtual cover.

[0058] In an optional embodiment, the above-mentioned response to the second mobile control operation of the mobile joystick and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface can be achieved by the following steps: responding to the second mobile control operation of the mobile joystick within the escape operation area, displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface.

[0059] The disengagement operation area may include an angle range formed by moving a portion of the joystick, and the disengagement operation area may be pre-set or determined based on the camera viewing angle.

[0060] In an optional implementation, the escape operation area may be determined by the following steps: the escape operation area is determined based on the position of the blocking surface of the virtual cover relative to the camera viewing angle of the virtual camera.

[0061] The virtual camera is used to capture the scene. The camera angle of the virtual camera can face the blocking surface of the virtual cover or not face the right surface of the virtual cover, and can be controlled by the player, which is not specifically limited in the present disclosure.

[0062] Specifically, a target straight line passing through the center of the moving joystick and parallel to the blocking surface can be determined in the graphical user interface, and the exit operation area can be determined according to the extension direction of the target straight line to enhance the player's sense of direction and immersion in the operation.

[0063] Exemplarily, when the camera angle of the virtual camera is facing the blocking surface of the virtual cover, the target straight line passing through the center of the moving joystick and parallel to the blocking surface extends left and right, and the left and right areas of the moving joystick can be used as the escape operation area.

[0064] For example, when the camera angle of the virtual camera is not facing the blocking surface of the virtual cover, if the target straight line passing through the center of the moving joystick and parallel to the blocking surface is extended to the lower left and upper right, the lower left and upper right areas of the moving joystick can be used as the escape operation area.

[0065] It should be noted that when the camera angle of the virtual camera is not facing the blocking surface of the virtual cover, the determined escape operation area may be related to the extension direction of the target straight line passing through the center of the moving joystick and parallel to the blocking surface. The determined escape operation area may also be different if the extension direction of the target straight line is different.

[0066] In an optional embodiment, the above-mentioned determination of the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera angle of view of the virtual camera can be achieved through the following steps: based on the position of the occluding surface of the virtual cover relative to the camera angle of view of the virtual camera and a preset angle range, the escape operation area is determined.

[0067] In an optional embodiment, the above-mentioned determination of the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera viewing angle of the virtual camera and the preset angle range can be achieved through the following steps: determining a target straight line passing through the center of the moving joystick and parallel to the occluding surface in the graphical user interface; using the target straight line as the angle bisector, determining the target angle based on the preset angle range, and obtaining the escape operation area based on the target angle.

[0068] Among them, the preset angle range can be set in advance, for example, it can be set to 45°, 90°, etc., and the present disclosure does not make specific limitations on this.

[0069] Exemplarily, the target angle may be an angle having a center of the moving joystick as an angle vertex, a target straight line as an angle bisector, and an angle range within a preset angle range.

[0070] Exemplarily, the angle region formed by the target angle may be used as the disengagement operation region.

[0071] like Figure 3A As shown, a schematic diagram of an escape operation area is provided. When a target straight line passing through the center of the moving joystick and parallel to the blocking surface of the virtual cover 301 is extended left and right, an angle area 303 formed by 225° to 315° in the left half area of ​​the moving joystick 302 and an angle area 304 formed by 45° to 135° in the right half area can be used as the escape operation area.

[0072] like Figure 3B As shown, a schematic diagram of another escape operation area is provided. When a target straight line passing through the center of the moving joystick and parallel to the blocking surface of the virtual cover 301 extends along the lower left and upper right, the angle area 305 at the lower left of the moving joystick 302 and the angle area 306 at the upper right of the moving joystick can be used as the escape operation area.

[0073] By adaptively configuring the escape operation area, it is possible to accurately determine whether the player wants to control the virtual character to escape from the virtual cover, thereby ensuring the accuracy of the operation intention judgment.

[0074] Optionally, in a case where a target straight line passing through the center of the mobile joystick and parallel to the blocking surface of the virtual cover extends left and right, when the virtual character moves to the inner edge of the blocking range corresponding to the virtual cover, the virtual character can be controlled to climb over the virtual cover in response to an upward slide operation of the mobile joystick; the virtual character can be controlled to directly leave the virtual cover in response to a downward slide operation of the mobile joystick, so as to ensure operational efficiency.

[0075] Optionally, when a target straight line passing through the center of the mobile joystick and parallel to the blocking surface of the virtual cover extends along the lower left and upper right, when the virtual character moves to the inner edge of the blocking range corresponding to the virtual cover, the virtual character can be controlled to climb over the virtual cover in response to an upper left sliding operation of the mobile joystick; the virtual character can be controlled to directly leave the virtual cover in response to a lower right sliding operation of the mobile joystick, so as to ensure operational efficiency.

[0076] Optionally, at the initial moment, the virtual character's progress in disengaging from the virtual cover may be at the starting point of the progress, and the initial moment may be, for example, the triggering moment of the second movement control operation.

[0077] In an optional embodiment, the above-mentioned response to the second mobile control operation on the moving joystick and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface can be achieved by the following steps: in response to the second mobile control operation on the moving joystick, displaying an escape progress indicator in the graphical user interface, the escape progress indicator being used to represent the progress of the virtual character's escape from the virtual cover.

[0078] Optionally, the disengagement progress mark may include a graphic mark or a text mark.

[0079] For example, Figure 4 As shown, when the disengagement progress mark 401 is a graphic mark, it can be an arrow mark, and the direction of the arrow mark can be the same as the direction of the second movement control operation 402. When the disengagement progress mark 401 is a text mark, it can be a text mark including "leave the cover" and the like that can reflect the current operation intention. Optionally, the graphic mark can be displayed in parallel and aligned with the text mark for easy viewing by the player.

[0080] Exemplarily, when the progress mark is a text mark, the disengagement progress may also be expressed in the form of a percentage, such as 5%, 10%, or 15%.

[0081] In an optional implementation, the above-mentioned display of the virtual character's escape progress from the virtual cover in the graphical user interface can be achieved by the following steps: displaying the virtual character's escape progress from the virtual cover at the associated position of the crosshair mark displayed in the graphical user interface.

[0082] For example, Figure 5 As shown, a schematic diagram of the display of the disengagement progress mark relative to the crosshair mark is provided, and the disengagement progress mark 501 can be displayed at the associated position of the crosshair mark. Optionally, the associated position can be fixed or non-fixed. When the associated position is non-fixed, the disengagement progress mark can be displayed at the corresponding position of the crosshair mark according to the direction of the second mobile control operation. Exemplarily, if the direction of the second mobile control operation is to the left, the disengagement progress mark is displayed on the left side of the crosshair mark.

[0083] By displaying the virtual character's progress in escaping the virtual cover at the associated position of the crosshair mark, the player can be reminded of the state of escaping the cover within the player's visual focus, providing intuitive visual feedback on the state of escaping the cover.

[0084] In step S140, while the second movement control operation is in effect, the virtual character is controlled to change the escape progress of the virtual cover toward the end of the progress.

[0085] The second movement control operation may be effective during a period in which the operation direction of the second movement touch operation is within the departure operation area and the touch is uninterrupted.

[0086] The progress end point refers to the maximum progress that can be achieved by breaking away from the progress. For example, if the progress is expressed in percentage form, the progress end point may be 100%, and if the progress is expressed in progress bar form, the progress end point may be the end of the progress bar.

[0087] For example, during the period when the second movement control operation is in effect, the virtual character's escape progress from the virtual cover may be controlled to change toward the end of the progress at a preset change speed.

[0088] For example, Figure 5 As shown, the change direction of the escape progress can be consistent with the operation direction of the second movement control, which can more intuitively prompt the player the current direction of escape from the bunker. For example, when the operation direction of the second movement control slides to the left, the change direction of the escape progress is to move forward to the left.

[0089] For example, Figure 6 As shown, a schematic diagram is provided for displaying the disengagement progress when it is at the starting point of the progress, at the middle point of the progress, and at the end point of the progress. By controlling the disengagement progress corresponding to the graphic logo and the text logo to keep changing synchronously, the information feedback can be ensured to be clearer.

[0090] In an optional embodiment, during the period when the second movement control operation is effective, controlling the virtual character's progress of escaping from the virtual cover to change toward the end point of the progress can be achieved through the following steps: determining the progress change speed based on the movement amplitude corresponding to the second movement control operation; wherein the progress change speed is positively correlated with the movement amplitude; and according to the progress change speed, controlling the virtual character's progress of escaping from the virtual cover to change toward the end point of the progress.

[0091] The movement amplitude may be the movement amplitude from the start time of the second movement control operation to the stop time of the movement. Exemplarily, the movement amplitude may be determined by the touch position at the start time of the second movement control operation and the touch position when the second movement control operation stops moving. The farther the distance between the two is, the larger the movement amplitude is; the closer the distance between the two is, the smaller the movement amplitude is.

[0092] The progress change speed refers to the progress change speed of the decoupling progress, and may be positively correlated with the operation amplitude corresponding to the second movement control operation.

[0093] It can be understood that the larger the movement amplitude corresponding to the second movement control operation, the more obvious the player's intention to escape from the cover is. At this time, the escape progress can be controlled to change toward the end point at a faster progress change speed so as to quickly complete the escape process; the smaller the movement amplitude corresponding to the second movement control operation, the less obvious the player's intention to escape from the cover is, and there may even be a misoperation. At this time, the escape progress can be controlled to change toward the end point at a slower progress change speed so that the player has enough time to cancel the escape operation, thereby improving the convenience of the player's operation.

[0094] Optionally, when the second mobile control operation stops moving and keeps touching (pressing) the screen, the progress of the virtual character's escape from the virtual cover can be controlled to change from the starting point of the progress. The starting point of the progress refers to the minimum progress that can be achieved in the escape progress. Taking the progress as a percentage as an example, the starting point of the progress can be 0%. When the second mobile control operation stops moving and keeps touching (pressing) the screen, the escape progress can increase from 0%; taking the progress as a progress bar as an example, the starting point of the progress can be the starting end of the progress bar. When the second mobile control operation stops moving and keeps touching (pressing) the screen, the progress bar can start to move forward from the starting end.

[0095] In an optional embodiment, the above-mentioned control of the virtual character's progress in escaping from the virtual cover to change towards the end point of the progress during the period when the second mobile control operation is effective can be achieved through the following steps: if the operation direction corresponding to the second mobile control operation is the control direction of controlling the virtual character to move away from the virtual cover, during the period when the second mobile control operation is effective, the control of the virtual character's progress in escaping from the virtual cover to change towards the end point of the progress.

[0096] The operation direction corresponding to the second movement control operation is the control direction of controlling the virtual character to move away from the virtual cover, indicating that the player may have the intention to leave the cover. At this time, during the period when the second movement control operation is in effect, the virtual character can be controlled to change towards the end of the progress of leaving the virtual cover, which is more in line with the player's operation habits and can reduce the player's learning cost to a certain extent.

[0097] In an optional embodiment, during the period when the second movement control operation is in effect and before the virtual character's escape progress from the virtual cover reaches the end of the progress, the position of the virtual character at the inner edge of the masking range corresponding to the virtual cover can be controlled to remain unchanged, so that the virtual character can subsequently escape from the virtual cover smoothly.

[0098] In an optional embodiment, before the virtual character's progress in escaping from the virtual cover reaches the end of the progress, the following steps may be performed to interrupt the process of the virtual character escaping from the virtual cover: in response to the interruption of the second mobile control operation, the virtual character's progress in escaping from the virtual cover is cleared; and / or in response to the effective area of ​​the second mobile control operation exceeding the preset area, the virtual character's progress in escaping from the virtual cover is cleared.

[0099] Exemplarily, if the second movement control operation is interrupted, for example, the player releases the movement joystick, the second movement control operation becomes invalid, the virtual character's escape progress from the virtual cover can be reset to zero, and the escape progress indicator displayed in the interface can be deleted.

[0100] Optionally, the preset area may be an escape operation area. Exemplarily, if the action area of ​​the second movement control operation exceeds the preset area, the escape progress of the virtual character for the virtual cover may be reset to zero, and if the virtual character returns to the preset area, the escape progress may restart from the starting point of the progress and change toward the end point.

[0101] By clearing the virtual character's escaping progress for the virtual cover, the player can cancel the escaping operation at any time before the virtual character's escaping progress for the virtual cover reaches the end of the progress, so as to make up for the wrong operation in time.

[0102] Optionally, in response to a change in the operation direction of the second movement control operation, such as starting to move in the reverse direction, the virtual character's escape progress from the virtual cover may be reset to zero.

[0103] In step S150 , in response to the virtual character's progress of leaving the virtual cover reaching an end point, the virtual character is controlled to leave the virtual cover.

[0104] When the virtual character's escape progress for the virtual cover reaches the end, controlling the virtual character to escape from the virtual cover not only improves the accuracy of the player's control over escaping from the cover, but also reserves time for the player to undo the escape operation so as to make up for the wrong operation in time.

[0105] In an optional embodiment, in response to the virtual character's progress in escaping from the virtual cover reaching an end point, controlling the virtual character to escape from the virtual cover can be achieved through the following steps: in response to the virtual character's progress in escaping from the virtual cover reaching an end point, controlling the virtual character to escape from the virtual cover according to an operation direction corresponding to a second mobile control operation.

[0106] The operation direction corresponding to the second movement control operation may be a control direction for controlling the virtual character to move away from the virtual shelter, so that the virtual character can break away from the shelter and quickly leave the covering range corresponding to the virtual shelter.

[0107] For example, in response to the virtual character's progress in leaving the virtual cover reaching an end, the virtual character may be controlled to leave the virtual cover and move away from the covering range corresponding to the virtual cover along the operation direction corresponding to the second movement control operation.

[0108] For example, Figure 7 As shown, a flowchart of controlling a virtual character to leave a virtual cover is provided, which may specifically include the following steps:

[0109] Step S701, responding to a control instruction to enter a virtual shelter, controlling the virtual character to enter a shelter range corresponding to the virtual shelter;

[0110] Step S702, in response to a first movement control operation on the moving joystick, controlling the virtual character to move within a concealed range;

[0111] Step S703, if the virtual character moves to the inner edge of the cover range, in response to the second movement control operation of the moving joystick in the escape operation area, the virtual character's escape progress from the virtual cover is displayed at the associated position of the crosshair mark displayed in the graphical user interface;

[0112] Step S704, during the period when the second movement control operation is in effect, the progress change speed is determined according to the movement amplitude corresponding to the second movement control operation, and according to the progress change speed, the virtual character is controlled to change the progress of the virtual cover escape toward the progress end point; the progress change speed is positively correlated with the movement amplitude corresponding to the second movement control operation;

[0113] Step S705 , in response to the virtual character's progress of leaving the virtual cover reaching an end point, controlling the virtual character to leave the virtual cover.

[0114] The exemplary embodiment of the present disclosure also provides a virtual character control device, which provides a graphical user interface through a terminal device, wherein the content displayed in the graphical user interface includes a scene screen of at least part of a game scene and a moving joystick, wherein the game scene includes a virtual character and a virtual cover, Figure 8 As shown, the virtual character control device 800 may include the following program modules:

[0115] The cover entry control module 810 is used to respond to the control instruction of entering the virtual cover and control the virtual character to enter the cover range corresponding to the virtual cover;

[0116] The character movement control module 820 is used to control the virtual character to move within the masking range in response to the first movement control operation on the moving joystick;

[0117] The escape progress display module 830 is used to display the escape progress of the virtual character from the virtual cover in the graphical user interface in response to the second movement control operation on the moving joystick if the virtual character moves to the inner edge of the cover range;

[0118] The escape progress changing module 840 is used to control the escape progress of the virtual character with respect to the virtual cover to change toward the end point of the progress during the period when the second movement control operation is effective;

[0119] The cover escape control module 850 is used to control the virtual character to escape from the virtual cover in response to the virtual character's escape progress from the virtual cover reaching the end of the progress.

[0120] In an optional embodiment, based on the aforementioned scheme, the disengagement progress change module 840 can be configured to: determine the progress change speed according to the movement amplitude corresponding to the second movement control operation; wherein the progress change speed is positively correlated with the movement amplitude; and according to the progress change speed, control the virtual character's disengagement progress with respect to the virtual cover to change toward the progress end point.

[0121] In an optional implementation, based on the aforementioned solution, the disengagement progress display module 830 may be configured to: respond to a second movement control operation of moving the joystick within the disengagement operation area, and display the disengagement progress of the virtual character from the virtual cover in a graphical user interface.

[0122] In an optional embodiment, based on the aforementioned scheme, the virtual character control device 800 may include: an escape operation area determination module, used to determine the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera angle of the virtual camera, wherein the virtual camera is used to capture the scene picture.

[0123] In an optional implementation, based on the above solution, the escape operation area determination module may be configured to determine the escape operation area based on the position of the blocking surface of the virtual cover relative to the camera viewing angle of the virtual camera and a preset angle range.

[0124] In an optional embodiment, based on the aforementioned scheme, the escape operation area determination module determines the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera viewing angle of the virtual camera and the preset angle range, and may include: determining a target straight line passing through the center of the moving joystick and parallel to the occluding surface in a graphical user interface; using the target straight line as an angle bisector, determining a target angle based on a preset angle range, and obtaining the escape operation area based on the target angle.

[0125] In an optional embodiment, based on the aforementioned scheme, the escape progress display module 830 can be configured to: respond to the second movement control operation on the moving joystick, display the escape progress indicator in the graphical user interface, and the escape progress indicator is used to represent the progress of the virtual character escaping from the virtual cover.

[0126] In an optional implementation, based on the above solution, the disengagement progress mark includes a graphic mark and a text mark.

[0127] In an optional implementation, based on the above solution, the escape progress display module 830 may be configured to: display a crosshair mark in a graphical user interface; and display the escape progress of the virtual character from the virtual cover at an associated position of the crosshair mark displayed in the graphical user interface.

[0128] In an optional implementation, based on the above solution, the change direction of the disengagement progress is consistent with the operation direction of the second movement control.

[0129] In an optional embodiment, based on the aforementioned scheme, the escape progress change module 840 can be configured as follows: if the operation direction corresponding to the second mobile control operation is the control direction of controlling the virtual character to move away from the virtual cover, during the period when the second mobile control operation is effective, the virtual character's escape progress from the virtual cover is controlled to change toward the end of the progress.

[0130] In an optional embodiment, based on the aforementioned scheme, the virtual character control device 800 also includes: a virtual character position control module, which is used to control the virtual character's position at the inner edge of the masking range corresponding to the virtual cover to remain unchanged during the period when the second movement control operation is effective and before the virtual character's escape progress from the virtual cover reaches the end of the progress.

[0131] In an optional implementation, based on the above solution, before the virtual character's progress of escaping from the virtual cover reaches the end of the progress, the virtual character control device 800 further includes: a progress clearing module. The progress clearing module may be configured to: clear the virtual character's progress of escaping from the virtual cover in response to the interruption of the second movement control operation; and / or clear the virtual character's progress of escaping from the virtual cover in response to the action area of ​​the second movement control operation exceeding the preset area.

[0132] In an optional embodiment, based on the aforementioned scheme, the cover entry control module 810 can be configured to: respond to a third movement control operation on the moving joystick, control the virtual character to move in the game scene; if the position relationship between the virtual character and the virtual cover satisfies a preset position relationship, control the display of the cover control; respond to the first touch operation on the cover control, control the virtual character to enter the cover range corresponding to the virtual cover and crouch.

[0133] In an optional implementation, based on the above solution, the cover escape control module 840 is further used to respond to a second touch operation on the cover control, control the virtual character to escape from the virtual cover, and change from a crouching state to a standing state.

[0134] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.

[0135] The exemplary embodiments of the present disclosure also provide a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the above-mentioned virtual character control method is implemented.

[0136] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory, and the like.

[0137] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.

[0138] The code of the computer program can be written in one or more programming languages. Programming languages ​​such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).

[0139] The computer program may be carried or transmitted via electrical, magnetic, optical, electromagnetic, infrared, or other signals. The electronic device may convert the signal carrying the computer program into a digital signal, thereby running the computer program. When the computer program is run on an electronic device, its code is used to enable the electronic device to execute (more specifically, the processor of the electronic device may execute) the method steps of various exemplary embodiments of the present disclosure. Exemplarily, the following steps may be included:

[0140] In response to a control instruction to enter the virtual shelter, the virtual character is controlled to enter a covering range corresponding to the virtual shelter;

[0141] In response to a first movement control operation on the movement joystick, controlling the virtual character to move within the masking range;

[0142] If the virtual character moves to the inner edge of the cover range, in response to the second movement control operation on the moving joystick, the progress of the virtual character's escape from the virtual cover is displayed in the graphical user interface;

[0143] During the period when the second movement control operation is in effect, controlling the virtual character to change the progress of the virtual cover escape toward the end of the progress;

[0144] In response to the virtual character's escape progress from the virtual cover reaching an end point, the virtual character is controlled to escape from the virtual cover.

[0145] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the second mobile control operation of the moving joystick and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface can be achieved by the following steps: determining the operating angle range for escaping from the cover; in response to the second mobile control operation of the moving joystick within the operating angle range, displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface.

[0146] In an optional embodiment, based on the aforementioned scheme, the above-mentioned controlling the virtual character's progress of escaping from the virtual cover to change towards the end point of progress during the period when the second movement control operation is effective can be achieved through the following steps: determining the progress change speed according to the movement amplitude corresponding to the second movement control operation; wherein the progress change speed is positively correlated with the movement amplitude; and according to the progress change speed, controlling the virtual character's progress of escaping from the virtual cover to change towards the end point of progress.

[0147] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the second mobile control operation of the mobile joystick and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface can be achieved by the following steps: responding to the second mobile control operation of the mobile joystick within the escape operation area, and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface.

[0148] In an optional implementation, based on the above solution, the following steps may be further performed: determining the escape operation area based on the position of the blocking surface of the virtual cover relative to the camera viewing angle of a virtual camera, wherein the virtual camera is used to capture the scene image.

[0149] In an optional embodiment, based on the aforementioned scheme, the above-mentioned determination of the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera angle of view of the virtual camera can be achieved by the following steps: determining the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera angle of view of the virtual camera and a preset angle range.

[0150] In an optional embodiment, based on the aforementioned scheme, the determination of the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera viewing angle of the virtual camera and the preset angle range can be achieved through the following steps: determining a target straight line in the graphical user interface that passes through the center of the moving joystick and is parallel to the occluding surface; using the target straight line as an angle bisector, determining a target angle based on a preset angle range, and obtaining the escape operation area based on the target angle.

[0151] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the second mobile control operation on the mobile joystick and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface can be achieved by the following steps: responding to the second mobile control operation on the mobile joystick and displaying a escape progress indicator in the graphical user interface, wherein the escape progress indicator is used to represent the progress of the virtual character's escape from the virtual cover.

[0152] In an optional implementation, based on the above solution, the disengagement progress mark includes a graphic mark and a text mark.

[0153] In an optional embodiment, based on the aforementioned scheme, the above-mentioned display of the virtual character's progress in escaping from the virtual cover in the graphical user interface can be achieved by the following steps: displaying the virtual character's progress in escaping from the virtual cover at the associated position of the crosshair mark displayed in the graphical user interface.

[0154] In an optional implementation, based on the above solution, the change direction of the disengagement progress is consistent with the operation direction of the second movement control.

[0155] In an optional embodiment, based on the aforementioned scheme, during the period when the second mobile control operation is effective, the progress of controlling the virtual character's escape from the virtual cover is changed towards the end point of the progress, which can be achieved by the following steps: if the operation direction corresponding to the second mobile control operation is the control direction of controlling the virtual character away from the virtual cover, during the period when the second mobile control operation is effective, the progress of controlling the virtual character's escape from the virtual cover is changed towards the end point of the progress.

[0156] In an optional embodiment, based on the above-mentioned scheme, the following steps may also be performed: during the period when the second movement control operation is effective and before the virtual character's escape progress from the virtual cover reaches the end of the progress, the position of the virtual character at the inner edge of the covering range corresponding to the virtual cover remains unchanged.

[0157] In an optional embodiment, based on the aforementioned scheme, before the virtual character's progress in escaping from the virtual cover reaches the end of the progress, the following steps may also be performed: in response to the interruption of the second mobile control operation, the virtual character's progress in escaping from the virtual cover is cleared; and / or in response to the effective area of ​​the second mobile control operation exceeding the preset area, the virtual character's progress in escaping from the virtual cover is cleared.

[0158] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the control instruction to enter the virtual cover and control the virtual character to enter the corresponding concealment range of the virtual cover can be achieved through the following steps: responding to the third movement control operation on the moving joystick to control the virtual character to move in the game scene; if the positional relationship between the virtual character and the virtual cover satisfies the preset positional relationship, controlling the display of the cover control; responding to the first touch operation on the cover control to control the virtual character to enter the corresponding concealment range of the virtual cover and crouch.

[0159] In an optional implementation, based on the above solution, the following steps may be further performed: in response to a second touch operation on the cover control, the virtual character is controlled to leave the virtual cover and change from a crouching state to a standing state.

[0160] In the above steps, while the mobile control operation is in effect, the progress of the virtual character's escape from the virtual cover is controlled to change towards the end of the progress, and when the escape progress reaches the end of the progress, the virtual character is controlled to escape from the virtual cover. This can avoid user misoperation to a certain extent, improve the accuracy of the escape operation, and reduce the difficulty of the operation; by displaying the virtual character's escape progress from the virtual cover in the graphical user interface, the player can be more intuitively prompted that the control operation of escaping from the cover is currently being performed, so that the player can adjust the operation strategy in time according to needs.

[0161] The exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-mentioned virtual character control method. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor executes the method in the exemplary embodiment by executing the executable instructions. In addition, the electronic device may also include a display for displaying a graphical user interface.

[0162] Reference below Fig. 9 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Fig. 9 The electronic device 900 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0163] like Fig. 9 As shown, the electronic device 900 may include: a processor 910 , a memory 920 , a bus 930 , an I / O (input / output) interface 940 , a network adapter 950 , and a display 960 .

[0164] The memory 920 may include a volatile memory, such as a RAM 921, a cache unit 922, and may also include a non-volatile memory, such as a ROM 923. The memory 920 may also include one or more program modules 924, such program modules 924 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 924 may include each module in the above-mentioned device.

[0165] The processor 910 may include one or more processing units. For example, the processor 910 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit), etc.

[0166] The processor 910 may be configured to execute executable instructions stored in the memory 920 , such as executing any one or more method steps in the exemplary embodiment.

[0167] Exemplarily, the processor 910 may perform the following steps:

[0168] In response to a control instruction to enter the virtual shelter, the virtual character is controlled to enter a covering range corresponding to the virtual shelter;

[0169] In response to a first movement control operation on the movement joystick, controlling the virtual character to move within the masking range;

[0170] If the virtual character moves to the inner edge of the cover range, in response to the second movement control operation on the moving joystick, the progress of the virtual character's escape from the virtual cover is displayed in the graphical user interface;

[0171] During the period when the second movement control operation is in effect, controlling the virtual character to change the progress of the virtual cover escape toward the end of the progress;

[0172] In response to the virtual character's escape progress from the virtual cover reaching an end point, the virtual character is controlled to escape from the virtual cover.

[0173] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the second mobile control operation of the moving joystick and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface can be achieved by the following steps: determining the operating angle range for escaping from the cover; in response to the second mobile control operation of the moving joystick within the operating angle range, displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface.

[0174] In an optional embodiment, based on the aforementioned scheme, the above-mentioned controlling the virtual character's progress of escaping from the virtual cover to change towards the end point of progress during the period when the second movement control operation is effective can be achieved through the following steps: determining the progress change speed according to the movement amplitude corresponding to the second movement control operation; wherein the progress change speed is positively correlated with the movement amplitude; and according to the progress change speed, controlling the virtual character's progress of escaping from the virtual cover to change towards the end point of progress.

[0175] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the second mobile control operation of the mobile joystick and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface can be achieved by the following steps: responding to the second mobile control operation of the mobile joystick within the escape operation area, and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface.

[0176] In an optional implementation, based on the above solution, the following steps may be further performed: determining the escape operation area based on the position of the blocking surface of the virtual cover relative to the camera viewing angle of a virtual camera, wherein the virtual camera is used to capture the scene image.

[0177] In an optional embodiment, based on the aforementioned scheme, the above-mentioned determination of the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera angle of view of the virtual camera can be achieved by the following steps: determining the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera angle of view of the virtual camera and a preset angle range.

[0178] In an optional embodiment, based on the aforementioned scheme, the determination of the escape operation area based on the position of the occluding surface of the virtual cover relative to the camera viewing angle of the virtual camera and the preset angle range can be achieved through the following steps: determining a target straight line in the graphical user interface that passes through the center of the moving joystick and is parallel to the occluding surface; using the target straight line as an angle bisector, determining a target angle based on a preset angle range, and obtaining the escape operation area based on the target angle.

[0179] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the second mobile control operation on the mobile joystick and displaying the progress of the virtual character's escape from the virtual cover in the graphical user interface can be achieved by the following steps: responding to the second mobile control operation on the mobile joystick and displaying a escape progress indicator in the graphical user interface, wherein the escape progress indicator is used to represent the progress of the virtual character's escape from the virtual cover.

[0180] In an optional implementation, based on the above solution, the disengagement progress mark includes a graphic mark and a text mark.

[0181] In an optional embodiment, based on the aforementioned scheme, the above-mentioned display of the virtual character's progress in escaping from the virtual cover in the graphical user interface can be achieved by the following steps: displaying the virtual character's progress in escaping from the virtual cover at the associated position of the crosshair mark displayed in the graphical user interface.

[0182] In an optional implementation, based on the above solution, the change direction of the disengagement progress is consistent with the operation direction of the second movement control.

[0183] In an optional embodiment, based on the aforementioned scheme, during the period when the second mobile control operation is effective, the progress of controlling the virtual character's escape from the virtual cover is changed towards the end point of the progress, which can be achieved by the following steps: if the operation direction corresponding to the second mobile control operation is the control direction of controlling the virtual character away from the virtual cover, during the period when the second mobile control operation is effective, the progress of controlling the virtual character's escape from the virtual cover is changed towards the end point of the progress.

[0184] In an optional embodiment, based on the above-mentioned scheme, the following steps may also be performed: during the period when the second movement control operation is effective and before the virtual character's escape progress from the virtual cover reaches the end of the progress, the position of the virtual character at the inner edge of the covering range corresponding to the virtual cover remains unchanged.

[0185] In an optional embodiment, based on the aforementioned scheme, before the virtual character's progress in escaping from the virtual cover reaches the end of the progress, the following steps may also be performed: in response to the interruption of the second mobile control operation, the virtual character's progress in escaping from the virtual cover is cleared; and / or in response to the effective area of ​​the second mobile control operation exceeding the preset area, the virtual character's progress in escaping from the virtual cover is cleared.

[0186] In an optional embodiment, based on the aforementioned scheme, the above-mentioned response to the control instruction to enter the virtual cover and control the virtual character to enter the corresponding concealment range of the virtual cover can be achieved through the following steps: responding to the third movement control operation on the moving joystick to control the virtual character to move in the game scene; if the positional relationship between the virtual character and the virtual cover satisfies the preset positional relationship, controlling the display of the cover control; responding to the first touch operation on the cover control to control the virtual character to enter the corresponding concealment range of the virtual cover and crouch.

[0187] In an optional implementation, based on the above solution, the following steps may be further performed: in response to a second touch operation on the cover control, the virtual character is controlled to leave the virtual cover and change from a crouching state to a standing state.

[0188] In the above steps, while the mobile control operation is in effect, the progress of the virtual character's escape from the virtual cover is controlled to change towards the end of the progress, and when the escape progress reaches the end of the progress, the virtual character is controlled to escape from the virtual cover. This can avoid user misoperation to a certain extent, improve the accuracy of the escape operation, and reduce the difficulty of the operation; by displaying the virtual character's escape progress from the virtual cover in the graphical user interface, the player can be more intuitively prompted that the control operation of escaping from the cover is currently being performed, so that the player can adjust the operation strategy in time according to needs.

[0189] The bus 930 is used to realize the connection between different components of the electronic device 900, and may include a data bus, an address bus, and a control bus.

[0190] The electronic device 900 can communicate with one or more external devices 1000 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 940 .

[0191] The electronic device 900 can communicate with one or more networks through the network adapter 950. For example, the network adapter 950 can provide mobile communication solutions such as 3G / 4G / 5G, or provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 950 can communicate with other modules of the electronic device 900 through the bus 930.

[0192] The electronic device 900 may display a graphical user interface and the like through the display 960 .

[0193] although Fig. 9 Not shown, other hardware and / or software modules may also be provided in the electronic device 900, including but not limited to: a display, a microcode, a device driver, a redundant processor, an external disk drive array, a RAID (Redundant Arrays of Independent Disks) system, a tape drive, and a data backup storage system.

[0194] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0195] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which may be collectively referred to herein as a "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0196] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A virtual character control method, characterized in that: A graphical user interface is provided by a terminal device, wherein the content displayed in the graphical user interface includes a scene screen of at least part of a game scene and a moving joystick, wherein the game scene includes a virtual character and a virtual bunker, and the method includes: In response to a control instruction to enter the virtual shelter, the virtual character is controlled to enter a covering range corresponding to the virtual shelter; In response to a first movement control operation on the movement joystick, controlling the virtual character to move within the masking range; If the virtual character moves to the inner edge of the cover range, in response to a second movement control operation on the movement joystick, displaying the virtual character's escape progress from the virtual cover in the graphical user interface; During the period when the second movement control operation is in effect, controlling the virtual character to change the progress of disengaging from the virtual cover toward the end of the progress; In response to the virtual character's escape progress from the virtual cover reaching the progress end, the virtual character is controlled to escape from the virtual cover.

2. The method according to claim 1, characterized in that The step of controlling the virtual character to change the progress of disengaging from the virtual cover toward the end point of the progress while the second movement control operation is in effect includes: Determining a progress change speed according to the movement amplitude corresponding to the second movement control operation; wherein the progress change speed is positively correlated with the movement amplitude; According to the progress change speed, the virtual character is controlled to change the escape progress of the virtual cover toward the progress end point.

3. The method according to claim 1, characterized in that In response to the second movement control operation on the moving joystick, displaying the virtual character's escape progress from the virtual cover in the graphical user interface includes: In response to a second movement control operation on the movement joystick within the escape operation area, the escape progress of the virtual character from the virtual cover is displayed in the graphical user interface.

4. The method according to claim 3, characterized in that The method further comprises: The escape operation area is determined based on a position of an occluding surface of the virtual cover relative to a camera viewing angle of a virtual camera, wherein the virtual camera is used to capture the scene image.

5. The method according to claim 4, characterized in that The step of determining the escape operation area based on the position of the blocking surface of the virtual cover relative to the camera viewing angle of the virtual camera includes: The escape operation area is determined based on a position of the blocking surface of the virtual cover relative to a camera viewing angle of the virtual camera and a preset angle range.

6. The method according to claim 5, characterized in that The step of determining the escape operation area based on a position of the blocking surface of the virtual cover relative to the camera viewing angle of the virtual camera and a preset angle range includes: Determine, in the graphical user interface, a target straight line passing through a center of the mobile joystick and parallel to the blocking surface; The target straight line is used as an angle bisector, a target angle is determined based on a preset angle range, and a disengagement operation area is obtained based on the target angle.

7. The method according to claim 1, characterized in that In response to the second movement control operation on the moving joystick, displaying the virtual character's escape progress from the virtual cover in the graphical user interface includes: In response to a second movement control operation on the movement joystick, a disengagement progress indicator is displayed in the graphical user interface, wherein the disengagement progress indicator is used to indicate the progress of the virtual character disengaging from the virtual cover.

8. The method according to claim 7, characterized in that The disengagement progress mark includes a graphic mark and a text mark.

9. The method according to claim 1, characterized in that: The step of displaying the virtual character's escape progress from the virtual bunker in the graphical user interface includes: The associated position of the crosshair mark displayed in the graphical user interface displays the progress of the virtual character's escape from the virtual cover.

10. The method according to claim 1, characterized in that The change direction of the disengagement progress is consistent with the operation direction of the second movement control.

11. The method according to claim 1, characterized in that: The step of controlling the virtual character to change the progress of disengaging from the virtual cover toward the end point of the progress while the second movement control operation is in effect includes: If the operation direction corresponding to the second movement control operation is a control direction for controlling the virtual character to move away from the virtual cover, during the period when the second movement control operation is effective, the virtual character is controlled to change the progress of leaving the virtual cover toward the end of the progress.

12. The method according to claim 1, characterized in that The method further comprises: While the second movement control operation is in effect and before the virtual character's escape progress from the virtual cover reaches the end of the progress, the virtual character is controlled to remain at a position unchanged at the inner edge of the covering range corresponding to the virtual cover.

13. The method according to claim 1, characterized in that Before the virtual character's progress of leaving the virtual cover reaches the end of the progress, the method further includes: In response to the interruption of the second movement control operation, clearing the virtual character's escape progress from the virtual cover; and / or In response to the effective area of ​​the second movement control operation exceeding a preset area, the escaping progress of the virtual character with respect to the virtual cover is cleared.

14. The method according to claim 1, characterized in that The responding to the control instruction of entering the virtual cover and controlling the virtual character to enter the cover range corresponding to the virtual cover includes: In response to a third movement control operation on the movement joystick, controlling the virtual character to move in the game scene; If the positional relationship between the virtual character and the virtual cover satisfies a preset positional relationship, controlling the display of a cover control; In response to a first touch operation on the cover control, the virtual character is controlled to enter a cover range corresponding to the virtual cover and crouch.

15. The method according to claim 14, characterized in that The method further comprises: In response to a second touch operation on the cover control, the virtual character is controlled to leave the virtual cover and change from a crouching state to a standing state.

16. A virtual character control device, characterized in that: A graphical user interface is provided through a terminal device, wherein the content displayed in the graphical user interface includes a scene screen of at least part of a game scene and a moving joystick, wherein the game scene includes a virtual character and a virtual bunker, and the apparatus includes: A cover entry control module, used to respond to a control instruction to enter the virtual cover, and control the virtual character to enter a cover range corresponding to the virtual cover; A character movement control module, configured to control the virtual character to move within the masking range in response to a first movement control operation on the movement joystick; a disengagement progress display module, configured to display the disengagement progress of the virtual character from the virtual cover in the graphical user interface in response to a second movement control operation on the movement joystick if the virtual character moves to the inner edge of the cover range; a disengagement progress changing module, configured to control the disengagement progress of the virtual character with respect to the virtual cover to change toward a progress end point while the second movement control operation is in effect; The cover escape control module is used to control the virtual character to escape from the virtual cover in response to the virtual character's escape progress from the virtual cover reaching the progress end.

17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.

18. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 15 by executing the executable instructions.