A virtual role control method, control device, equipment and medium

By displaying attack direction prompt icons on the side screen of curved screen terminal devices and combining them with skill attack controls, the problem of cumbersome operation of virtual character attack skills is solved, and attack efficiency and interaction efficiency are improved.

CN115634450BActive Publication Date: 2026-03-27NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-01
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In existing technologies, when players control virtual characters to execute directional attack skills, the operation is cumbersome, resulting in low attack efficiency.

Method used

Terminal devices with curved screens display prompt icons indicating the attack direction through the first operation on the side screen, and adjust the indicated direction according to the operation. Combined with the second operation of the skill attack control, the virtual character is controlled to execute attack skills.

Benefits of technology

The release of multiple attack skills with attack directions has been simplified, improving the interaction efficiency between players and terminal devices as well as the attack efficiency of virtual characters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115634450B_ABST
    Figure CN115634450B_ABST
Patent Text Reader

Abstract

The application provides a virtual role control method, a control device, equipment and a medium. The control method comprises the following steps: in response to a first operation acting on a side screen, a prompt icon representing a skill attack direction is displayed, and the indicating direction of the prompt icon is adjusted according to the first operation; in response to a second operation acting on the skill attack control, the target virtual role performs a skill corresponding to the skill attack control along the indicating direction.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of game control, in particular to a virtual character control method, a control device, equipment and a medium. BACKGROUND

[0002] There are more and more types of network games, and the game scenes in different types of games are different. The game play of players is also different for different game scenes. For example, in the current multiplayer online battle arena game, the player needs to control a virtual character to play in the game scene. When the player controls the virtual character to play, the virtual character can execute the corresponding skill according to the control of the player. The skill of some virtual characters is directional. When the player controls the virtual character to execute the skill with direction, the player needs to determine the direction of the virtual character to attack by touching the skill attack control, and then controls the virtual character to execute the skill attack action after the touch of the skill control ends. This attack method is cumbersome and inefficient. SUMMARY

[0003] Therefore, the purpose of the present application is to provide a virtual character control method, a control device, equipment and a medium to solve the problem of low attack efficiency when the player controls the virtual character to execute the attack skill with direction in the prior art.

[0004] In a first aspect, an embodiment of the present application provides a virtual character control method applied to a terminal device, the terminal device comprising a curved screen composed of a main screen and a side screen not in the same plane, the curved screen of the terminal device providing a graphical user interface, the content displayed by the graphical user interface at least including a game picture of part of a game scene, the graphical user interface comprising a skill attack control, the control method comprising:

[0005] displaying a prompt icon representing an attack direction in the main screen in response to a first operation acting on the side screen, and adjusting the indication direction of the prompt icon according to the first operation;

[0006] controlling the target virtual character to execute an attack skill corresponding to the skill attack control along the indication direction in response to a second operation acting on the skill attack control.

[0007] In a second aspect, an embodiment of the present application provides a virtual character control device applied to a terminal device, the terminal device comprising a curved screen composed of a main screen and a side screen not in the same plane, the curved screen of the terminal device providing a graphical user interface, the content displayed by the graphical user interface at least including a game picture of part of a game scene, the graphical user interface comprising a skill attack control, the device comprising:

[0008] The first response module is configured to display a prompt icon representing an attack direction in response to a first operation on the side screen, and adjust an indicating direction of the prompt icon according to the first operation;

[0009] The second response module is configured to control the target virtual character to perform an attack skill corresponding to the skill attack control in the indicating direction in response to a second operation on the skill attack control.

[0010] In a third aspect, an embodiment of the present application provides a computer device, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the steps of the above method when executing the computer program.

[0011] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program runs on a processor to execute the steps of the above method.

[0012] The control method of the virtual character provided by the embodiments of the present application first displays a prompt icon representing an attack direction in response to a first operation on the side screen, and adjusts an indicating direction of the prompt icon according to the first operation; finally, the target virtual character performs an attack skill corresponding to the skill attack control in the indicating direction in response to a second operation on the skill attack control.

[0013] In some embodiments, the player can adjust the indication direction of the prompt icon by a first operation of one of the fingers on the side screen, and then control the target virtual character to perform the attack skill corresponding to the skill attack control in the indication direction by a second operation of the other finger directly on the skill attack control, so that the player does not need to determine the attack direction by the touch operation on the skill attack control every time to release the attack skill when controlling the target virtual character to perform the attack skill with the attack direction. That is, the player can directly control the target virtual character to perform the attack action corresponding to the attack control in the attack direction by directly applying the second operation to any one of the skill attack controls after determining the attack direction by the first operation, so that the player can determine the attack direction of multiple attack skills with the attack direction by only one first operation, which simplifies the release operation of multiple attack skills with the attack direction. Further, the side screen can be associated with multiple skill attack controls in the graphical user interface, that is, the attack direction of the attack skills corresponding to the multiple skill attack controls can be determined by the side screen, so that the target virtual character can perform the attack skill corresponding to each skill attack control according to the attack direction by the second operation of the player directly on the skill attack control after the first operation of one of the fingers of the player on the side screen, without the need to consume a certain time to adjust the attack direction before releasing the attack skill, which improves the attack efficiency of the target virtual character, which is equivalent to improving the interaction efficiency between the player and the terminal device.

[0014] In order to make the above objectives, characteristics and advantages of the present application more obvious and easy to understand, the following preferred embodiments are specifically described below, and the accompanying drawings are described in detail as follows. BRIEF DESCRIPTION OF DRAWINGS

[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0016] Figure 1 A flowchart of a virtual character control method provided by the embodiments of the present application;

[0017] Figure 2 A schematic diagram of a curved screen terminal device provided by the embodiments of the present application;

[0018] Figure 3 A schematic diagram of a first graphical user interface provided by the embodiments of the present application;

[0019] Figure 4 A schematic diagram of a second graphical user interface provided for an embodiment of the present application;

[0020] Figure 5 A schematic diagram of a third graphical user interface provided for an embodiment of the present application;

[0021] Figure 6 A schematic diagram of a fourth graphical user interface provided for an embodiment of the present application;

[0022] Figure 7 A structural schematic diagram of a control device of a virtual role provided for an embodiment of the present application;

[0023] Figure 8 A structural schematic diagram of a computer device provided for an embodiment of the present application;

[0024] Figure 9 A schematic diagram of a fifth graphical user interface provided for an embodiment of the present application. DETAILED DESCRIPTION

[0025] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the following will be combined with the accompanying drawings for the embodiments of the present application to make a clear and complete description of the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application and not all the embodiments. The components of the embodiments of the present application described and shown in the accompanying drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0026] In the prior art, when a player controls a virtual role in a game to perform an attack skill with a direction, in response to a player's drag operation on a skill attack control, the attack direction of the attack skill is determined according to the relative direction between the touch point of the drag operation and the skill attack control. In response to the end of the player's drag operation on the skill attack control, that is, the touch medium of the drag operation leaves the graphical user interface, the virtual role is controlled to perform the attack skill along the attack direction. This way of controlling the virtual role to perform the attack skill with a direction is relatively cumbersome, which reduces the interaction efficiency between the player and the terminal device.

[0027] The embodiments of the present application provide a control method of a virtual role, which comprises the following steps. Figure 1As shown, the control method is applied to a terminal device, the terminal device includes a curved screen, the curved screen is composed of a main screen and a side screen which are not in the same plane, the curved screen of the terminal device provides a graphical user interface, the graphical user interface displays content including at least a game picture of a part of a game scene, the graphical user interface includes a skill attack control, and the control method includes:

[0028] S101, in response to a first operation acting on the side screen, displaying a prompt icon representing an attack direction in the main screen, and adjusting an indicating direction of the prompt icon according to the first operation;

[0029] S102, in response to a second operation acting on the skill attack control, controlling the target virtual character to perform an attack skill corresponding to the skill attack control along the indicating direction.

[0030] The control method of the virtual character in the embodiments of the present application can run on a terminal device or a server. The terminal device can be a local terminal device. When the control method of the virtual character runs on the server, it can be cloud gaming.

[0031] In an optional embodiment, cloud gaming refers to a game mode based on cloud computing. In the running mode of cloud gaming, the running subject of the game program and the game picture presentation subject are separated, the storage and running of the control method of the virtual character are completed on the cloud game server, and the terminal device is used for data receiving, sending and game picture presentation. For example, the terminal device can be a display device close to the user side with data transmission function, such as a mobile terminal, a television, a computer, a palm computer, etc. However, the terminal device for game data processing is the cloud game server in the cloud. When playing the game, the target player operates the terminal device to send operation instructions to the cloud game server, the cloud game server runs the game according to the operation instructions, encodes and compresses the game picture and other data, returns them to the terminal device through the network, and finally decodes and outputs the game picture through the terminal device.

[0032] In an optional embodiment, the terminal device can be a local terminal device. The local terminal device stores a game program and is used for presenting a game picture. The local terminal device is used for interacting with the target player through a graphical user interface, that is, a conventional game program is downloaded and installed on an electronic device and then run. The way of providing the graphical user interface to the target player by the local terminal device can include various ways, for example, it can be rendered and displayed on the display screen of the terminal device, or it can be provided to the target player through holographic projection. For example, the local terminal device can include a display screen for presenting a graphical user interface including a part of a game scene, and a processor for running the game, generating the graphical user interface and controlling the display of the graphical user interface on the display screen.

[0033] The present application is described as a control method of a virtual role running on a terminal device, wherein the terminal device is an electronic device with touch function, such as a smart phone. The display screen of the terminal device in the present application is a curved screen, which includes a main screen and a side screen connected together. The main screen and the side screen are not in the same plane, any position in the main screen is in the same plane, the main screen is located on the front of the terminal device, and the side screen is located on the side of the terminal device. The side screen can be an arc surface, and the side screen is curved from the front of the terminal device to the back of the terminal device. The curved screen can be a single curved screen (i.e. only an arc-shaped screen is arranged on one side of the terminal device) or a double curved screen (i.e. arc-shaped screens are arranged on two opposite sides of the terminal device), as shown in Figure 2 The present application is described as a double curved screen, which includes a main screen (such as the main screen in Figure 2 ) and a side screen (such as the side screen 1 and the side screen 2 in Figure 2 ). The main screen and the side screen are smoothly connected from the main screen to the side screen. The curved screen of the terminal device in the present application provides a graphical user interface, which can be provided by the main screen and the side screen together or only in the main screen. The graphical user interface is an interface rendered in the curved screen of the terminal device for human-computer interaction. In the graphical user interface, the human-computer interaction between the target player and the terminal device is realized through an operation area, which includes a movement control area and a control area. As shown in Figure 3 , the movement control area is generally located on the left side of the main screen of the graphical user interface, and is used to control the movement of the target virtual role in the game scene. The control area includes a control area on the right side of the main screen of the graphical user interface and a control area on the side screen of the graphical user interface. The control area on the main screen of the graphical user interface can include a skill attack control and a basic action control. The skill attack control can be used to control the target virtual role to perform an attack action with direction in the game scene, such as the skill A control, the skill B control and the skill C control in Figure 3 . The basic action control can include any one or two of the following controls: a close-range attack control and a defense action control. The close-range attack control is used to control the target virtual role to perform a close-range attack in the game scene, and the defense action control is used to control the target virtual role to perform a corresponding defense action, such as crouching, squatting, jumping, dodging, etc. Figure 3As shown, the control area of the side screen of the graphical user interface is generally located at a position where the player's index finger (either the left index finger or the right index finger, and the present application takes the left index finger as an example) is conveniently touched, and the control area of the side screen of the graphical user interface can include a skill direction control, which is associated with the skill attack control and can be used to control the target virtual character to perform an attack in the direction of the skill corresponding to the skill attack control. The skill direction control can also be invisible and changeable with the position of the touch point of the first operation, that is, the position of the touch point of the first operation is the position of the skill direction control, and the skill direction control can be transparent. The game of the present application includes a game scene and a target virtual character in the game scene, and the content displayed in the graphical user interface also includes a game picture, which can be a game picture of part of the game scene. The terminal device can respond to the touch operation on the operation area in the graphical user interface to control the target virtual character to perform a virtual action in the game scene, such as moving or releasing a skill in the game scene. The game scene can include any one or more of the following game elements: landscape, rock, flower, river, building, virtual object, game prop, etc. Generally, a virtual camera is set in the game scene, and the game picture displayed on the graphical user interface is the part of the game scene content shot by the virtual camera. For example, in a first-person game, the virtual camera can be set at the head (such as the eye position) of the target virtual character controlled by the player, the virtual camera moves following the movement of the target virtual character, and the orientation of the virtual camera turns following the turning of the virtual subject, so that the game picture presented on the graphical user interface is part of the game scene in the preset range in front of the target virtual character. For another example, in a third-person game, the virtual camera can be set above or behind the target virtual character controlled by the player, so that the game picture presented on the graphical user interface is part of the game scene including the target virtual character. The terminal device has logged in an account of the target virtual character, and the target virtual character is controlled by the terminal device. The virtual object refers to a dynamic object that can be controlled in a virtual scene. Optionally, the dynamic object can be a virtual character, a virtual animal, an animation character, etc. The target virtual character is a character controlled by the player through the terminal device, or an artificial intelligence (AI) set in a virtual environment for battle, or a non-player character (NPC) set in a virtual scene for battle. Optionally, the target virtual character is a virtual character competing in a virtual scene. The target virtual character is a virtual object currently controlled by the player through the terminal device.

[0034] S101, in response to a first operation acting on the side screen, displaying a prompt icon representing an attack direction in the main screen, and adjusting an indicating direction of the prompt icon according to the first operation.

[0035] In the step S101, the first operation is an operation acting on the side screen, and the first operation can be any one of the following operations: a sliding operation, a long-press operation. The prompt icon can be an icon representing a direction, and the prompt icon can be an icon extending outward from the target virtual character as the starting position with a direction (such as Figure 4 shown), or an icon in the vicinity of the target virtual character and a certain distance away from the target virtual character (such as Figure 9 shown). The prompt icon is used to prompt which direction the current first operation is adjusted to, and the indicating direction of the prompt icon can determine the direction to be aimed at when the target virtual character executes the attack skill, or the attack direction when the target virtual character executes the attack skill.

[0036] In a specific implementation, when the first operation acts on the side screen, a prompt icon representing an attack direction is displayed in the graphical user interface. Before the first operation ends, the indicating direction of the prompt icon is adjusted according to the operation parameters of the second operation. When the second operation is a sliding operation, the indicating direction of the prompt icon is adjusted according to the sliding direction and sliding distance of the sliding operation. For example, if the sliding direction of the sliding operation is leftward sliding, the prompt icon adjusts the indicating direction in a clockwise manner or a counterclockwise manner with the target virtual character as the center in the graphical user interface. If the sliding direction of the sliding operation is rightward sliding, the prompt icon adjusts the indicating direction in a counterclockwise manner or a clockwise manner with the target virtual character as the center in the graphical user interface. The rotation direction of the prompt icon when sliding leftward is opposite to the rotation direction of the prompt icon when sliding rightward. When the sliding operation stops sliding, the prompt icon also stops adjusting the indicating direction, and the rotation angle of the indicating direction is determined according to the sliding distance. The greater the sliding distance, the greater the rotation angle. The smaller the sliding distance, the smaller the rotation angle. Of course, the first operation can also be a long-press operation. When the first operation acts on the side screen, the indicating icon displayed in the graphical user interface adjusts the indicating direction according to a preset rotation manner, and during the operation of the long-press operation, the indicating icon always adjusts the indicating direction according to the preset rotation manner until the long-press operation ends. The preset rotation manner can be any one of the following rotation manners: a clockwise manner and a counterclockwise manner.

[0037] S102, in response to a second operation acting on the skill attack control, controlling the target virtual character to execute an attack skill corresponding to the skill attack control along the indicating direction.

[0038] In step S102, the second operation can be an operation of displaying a prompt icon in the graphical user interface, and / or an operation of acting on the skill attack control after the target attack direction is determined. The second operation can be any one of the following operations: a click operation, a long press operation, a double-click operation, a drag operation, etc.

[0039] In a specific implementation, when the second operation acts on the skill attack control, the target virtual character executes the attack skill corresponding to the skill attack control in the direction indicated by the current prompt icon, and displays the attack animation corresponding to the attack skill in the game scene, i.e., the attack effect corresponding to the attack skill, such as an animation generated when the target virtual character fires the attack skill.

[0040] In the scheme provided in the embodiments of the present application, the player can adjust the indication direction of the prompt icon by the first operation of acting on the side screen with one finger, and then the player can control the target virtual character to execute the attack skill corresponding to the skill attack control in the indication direction by the second operation of directly acting on the skill attack control with another finger, so that the player does not need to determine the attack direction by the touch operation on the skill attack control every time when controlling the target virtual character to execute the attack skill with the attack direction. That is, the player can directly control the target virtual character to execute the attack action corresponding to the attack control in the attack direction by directly acting the second operation on any skill attack control after determining the attack direction by the first operation, so that the player can determine the attack directions of multiple attack skills with the attack direction by only one first operation, which simplifies the release operation of multiple attack skills with the attack direction.

[0041] Further, the side screen can be associated with multiple skill attack controls in the graphical user interface, i.e., the attack direction of the attack skill corresponding to the multiple skill attack controls can be determined through the side screen, so that the player can control the target virtual character to execute the attack skill corresponding to each skill attack control in the attack direction by directly acting on the skill attack control by the second operation after determining the attack direction by the touch of the side screen with one finger of the player, without the need to consume a certain time to adjust the attack direction before releasing the attack skill, which improves the attack efficiency of the target virtual character, and equivalently improves the interaction efficiency between the player and the terminal device.

[0042] When the player controls the target virtual character to execute the attack skill, the target attack direction corresponding to the attack skill needs to be determined, and the determination of the target attack direction in the present application includes the following implementation manners.

[0043] In the first implementation, the target attack direction is determined by the second operation, and the target virtual character is controlled to execute the attack skill by the second operation. That is, step S101 includes:

[0044] In step 1011, in response to the first operation on the side screen, a prompt icon indicating the first preset direction is displayed, and the first preset direction is used as the initial direction to adjust the indication direction of the prompt icon according to the first operation.

[0045] In step 1012, in response to the end of the first operation on the side screen, the indication direction of the prompt icon at this time is determined as the target attack direction.

[0046] Step S102 includes:

[0047] In step 1021, in response to the second operation on the skill attack control, the target virtual character is controlled to execute the attack skill corresponding to the skill attack control along the target attack direction.

[0048] In step 1011, the first preset direction can be any one of the following directions: the first preset direction is the character orientation of the target virtual character, the first preset direction is the direction pointing to the enemy virtual character, and the first preset direction is the default direction (the default direction is a specified direction set by a person).

[0049] When the first operation touches the side screen, a prompt icon representing the first preset direction is displayed in the graphical user interface. During the process of the first operation acting on the side screen, the prompt icon is always displayed in the graphical user interface, and the indication direction of the prompt icon displayed in the graphical user interface changes with the operation parameter of the first operation.

[0050] When the target game character moves in the game scene, the character orientation of the target game character changes with the player's control. Generally, the target game character moves in the direction of the character orientation, and the target game character may move towards the position of the attack target. At this time, the character orientation of the target game character is aimed at the attack target. Therefore, if the character orientation of the target virtual character is used as the initial pointing direction of the prompt icon when the target attack direction is determined by the first operation, and the character orientation of the target virtual character is aimed at the attack target at this time, directly controlling the target virtual character to execute the attack skill can attack the attack target. The player does not need to adjust the indication direction of the prompt icon by the first operation to determine the target attack direction, which improves the efficiency of the player controlling the target virtual character to execute the attack skill, and improves the interaction efficiency between the player and the terminal device.

[0051] If the first preset direction is a direction pointing to the hostile virtual character, when the first operation is used to determine the target attack direction, as long as the first operation is performed on the side screen, an instruction icon pointing to the hostile virtual character is immediately displayed in the graphical user interface, and the player can directly control the target virtual character to attack the hostile virtual character by performing the second operation on the skill attack control, so that the player does not need to adjust the indication direction of the instruction icon by using the first operation to determine the target attack direction, the efficiency of the player in controlling the target virtual character to execute the attack skill is improved, and the interaction efficiency between the player and the terminal device is also improved.

[0052] If only a certain direction designated by the user is taken as the first preset direction, the first preset direction is likely not a direction pointing to the hostile virtual character, and the user needs to re-determine the attack direction by using the first operation.

[0053] In summary, compared with the technical solution in which the first preset direction is a default direction, the two technical solutions in which the first preset direction is the orientation of the target virtual character or the direction pointing to the hostile virtual character have fewer operation steps of the user and faster speed of determining the attack direction, and the attack efficiency of the target virtual character is improved.

[0054] In the step 1012, when the first operation ends, it indicates that the player has no need to adjust the indication direction of the instruction icon any more, and the player has determined the target attack direction corresponding to the attack skill executed by the target virtual character. Therefore, when the end of the first operation performed on the side screen is responded to, the direction indicated by the instruction icon adjusted by the first operation is the target attack direction determined by the player for controlling the target virtual character to execute the attack skill. After the target attack direction is determined, the instruction icon with the indication direction being the target attack direction is always kept in the graphical user interface, so as to prompt the player to the target attack direction corresponding to the attack skill executed by the target virtual character in the future.

[0055] In the step 1012, after the target attack direction is determined, as long as the second operation performed by the player on the skill attack control is detected, the target virtual character is controlled to execute the attack skill along the target attack direction. In the subsequent game process, if the player does not want to change the attack direction, the player only needs to perform the second operation on any one of the plurality of skill attack controls, and the target virtual character will execute the corresponding attack skill along the target attack direction, so that the player does not need to repeatedly perform the operation of determining the target attack direction, the attack efficiency of the player in controlling the target virtual character to execute the attack action is improved, and the interaction efficiency between the player and the terminal device is also improved.

[0056] The attack direction of the target virtual character cannot be only one. In different attack requirements, after determining the first target attack direction, the player needs to adjust another target attack direction, that is, after step S101, the control method further comprises:

[0057] In step 103, in response to a third operation acting on the side screen, a prompt icon of a second preset direction is displayed, and the indicating direction of the prompt icon is adjusted according to the third operation;

[0058] In step 104, in response to the end of the third operation acting on the side screen, the indicating direction of the prompt icon at this time is determined as a new target attack direction.

[0059] In the above steps 103 and 104, the third operation can be an operation of adjusting the indicating direction of the prompt icon and determining the new target attack direction. The second preset direction can be any one of the following directions: the second preset direction is the character orientation of the target virtual character, the second preset direction is the direction pointing to the enemy virtual character, the second preset direction is the default direction (the default direction is a certain specified direction set by human), and the second preset direction is the target attack direction determined before the third operation acts on the side screen.

[0060] In a specific implementation, when the third operation touches the side screen, a prompt icon representing the second preset direction is displayed in the graphical user interface. During the process of the third operation acting on the side screen, the prompt icon is always displayed in the graphical user interface, and the indicating direction of the prompt icon displayed in the graphical user interface changes with the operation parameter of the third operation.

[0061] When the character orientation of the target virtual character or the direction pointing to the enemy virtual character is used as the second preset direction, the second preset direction at this time is likely to point to the object that the target virtual character needs to attack, so the player does not need to make too many adjustments to the indicating direction, and the new target attack direction can be directly determined, thereby improving the attack efficiency of the target virtual character. However, when the default direction or the target attack direction determined before the third operation acts on the side screen is used as the second preset direction, the probability that the second preset direction at this time points to the object that the target virtual character needs to attack is very small, so the player needs to make more adjustments to the indicating direction to determine the new target attack direction.

[0062] In summary, compared with the technical solutions in which the second preset direction is a default direction and the second preset direction is a target attack direction determined before the third operation is performed on the side screen, the technical solutions in which the second preset direction is a role orientation of the target virtual role and the second preset direction is a direction pointing to an enemy virtual role have fewer operation steps of the user and a faster speed of determining the attack direction, and thus improve the attack efficiency of the target virtual role.

[0063] The player does not need to use the target attack direction all the time during the game, and if the prompt icon of the target attack direction is displayed in the graphical user interface all the time, part of the game screen will be blocked, which affects the game experience of the user. Therefore, the control method further includes the following steps.

[0064] Step 105: In response to a fourth operation performed on the side screen, the target attack direction is canceled, and the display of the prompt icon is stopped.

[0065] In step 105, the fourth operation is performed on the side screen and is different from the second operation. The fourth operation can include any one of the following operations: a click operation, a double-click operation, a long-press operation, and the like.

[0066] In a specific implementation, when the player does not need to control the target virtual role to perform an attack skill along the target attack direction, the player can feel that the prompt icon displayed in the graphical user interface blocks part of the game scene, that is, the player does not need the prompt icon to provide a prompt at this time. Therefore, the player can stop displaying the prompt icon and cancel the target attack direction through the fourth operation.

[0067] In the first implementation, the prompt icon corresponding to the target attack direction can be canceled through the fourth operation, or the target attack direction can be canceled and the display of the prompt icon can be stopped in the following manner, that is, the control method further includes the following steps.

[0068] Step 106: In response to the target virtual role performing an attack skill corresponding to the skill attack control along the target attack direction, the target attack direction is canceled, and the display of the prompt icon is stopped.

[0069] In step 106, when the target virtual role performs an attack skill corresponding to the skill attack control along the target attack direction, the target attack direction is immediately canceled, and the display of the prompt icon corresponding to the target attack direction is stopped. However, this manner of canceling the target attack direction causes the target virtual role to determine the target attack direction again each time the attack skill is performed.

[0070] In the second implementation, the target attack direction is determined in the process of the first operation, that is, step S102 comprises:

[0071] In step 1021, in the process of adjusting the indication direction of the prompt icon according to the first operation, the indication direction of the prompt icon is determined as the target attack direction in response to the second operation on the first skill attack control, and the target virtual character is controlled to perform the attack skill corresponding to the skill attack control along the target attack direction, and the prompt icon pointing to the target attack direction is kept displayed in the graphical user interface.

[0072] In step 1021, in the process of adjusting the indication direction of the prompt icon according to the first operation, the indication direction of the prompt icon is determined as the target attack direction in response to the second operation on the first skill attack control, and the target virtual character is controlled to perform the attack skill corresponding to the skill attack control along the target attack direction, and the prompt icon pointing to the target attack direction is kept displayed in the graphical user interface.

[0073] In the case where the target attack direction is not cancelled after being determined, if the player touches the skill attack control, the target virtual character will continue to perform the attack skill along the target attack direction, that is, the control method further comprises:

[0074] In step 1022, if the target attack direction exists, the second operation on the second skill attack control is responded to, and the target virtual character is controlled to perform the attack skill corresponding to the target attack direction.

[0075] In step 1022 above, the second skill attack control includes all skill attack controls, including the first skill attack control. If a target attack direction still exists during the current game, when the player applies the second operation to the second skill attack control, the target virtual character will continue to execute the attack skill corresponding to the skill attack control along the target attack direction. Thus, whenever the player touches a skill attack control, the target virtual character will execute the attack skill along the target attack direction. In other words, while maintaining the current target attack direction, if the player performs the second operation on any skill attack control, the attack direction of the attack skill executed by the target virtual character will always be the target attack direction. This eliminates the need for the player to readjust the attack direction every time an attack skill is executed, improving the efficiency of the target virtual character's attack skill execution and also enhancing the interaction efficiency between the player and the terminal device.

[0076] Because in step 1021 above, after determining the target attack direction, the first operation will no longer adjust the direction indicated by the prompt icon. However, players will not always execute attack skills along the target attack direction throughout the entire game. When players do not need to execute attack skills along the target attack direction, in order to reduce the obstruction of the game screen by the prompt icon pointing to the target attack direction, it is necessary to cancel the target attack direction and stop displaying the prompt icon. That is, the control method of this application also includes:

[0077] Step 1023: In response to the fifth operation applied to the side screen, cancel the target attack direction and stop displaying the prompt icon.

[0078] In step 1023 above, the fifth operation is an operation that acts on the side screen and is different from the second operation. The fifth operation can include any of the following operations: click operation, hard press operation, double click operation, long press operation, etc.

[0079] In practice, when players do not need to control the target virtual character to perform attack skills along the target attack direction, players may feel that the prompt icon displayed in the graphical user interface is obscuring part of the game scene. In other words, players do not need the prompt icon to provide a prompt at this time. Therefore, players can use the fifth operation to stop the display of the prompt icon and cancel the target attack direction.

[0080] In the second embodiment, the prompt icon corresponding to the target attack direction can be canceled through the fifth operation, or the target attack direction can be canceled and the prompt icon stopped from being displayed in the following way. That is, the control method of this application further includes:

[0081] Step 107, in response to the target virtual character executing the attack skill corresponding to the skill attack control along the target attack direction, canceling the target attack direction, and stopping displaying the prompt icon.

[0082] In step 107, when the target virtual character executes the attack skill corresponding to the skill attack control along the target attack direction, the target attack direction is immediately canceled, and the prompt icon corresponding to the target attack direction is stopped displaying. However, this way of canceling the target attack direction will cause the target virtual character to determine the target attack direction again each time the attack skill is executed.

[0083] In the game process of the present application, the target virtual character can also be controlled to move in the game scene by the first operation acting on the side screen, that is, step S101, comprising:

[0084] Step 1013, in response to the first operation acting on the side screen, displaying a prompt icon representing an attack direction in the main screen, adjusting the indicating direction of the prompt icon and the character orientation of the target virtual character according to the first operation, and controlling the target virtual character to move along the character orientation; the character orientation and the indicating direction are the same.

[0085] In step 1013, the player adjusts the indicating direction of the prompt icon through the first operation, and the first operation also adjusts the character orientation of the target virtual character, so that the target virtual character moves in the game scene along the character orientation, so that the indicating direction of the prompt icon and the character orientation of the target virtual character are adjusted in the same direction, and the target attack direction determined when the player controls the target virtual character to execute the attack action through the second operation is consistent with the character orientation of the target virtual character. Therefore, the attack skills launched by the target virtual character are all launched from the front of the target virtual character, so that the control of the target virtual character in the game scene is more consistent with the real scene, and the game experience of the player is improved.

[0086] In the scheme of the present application, the character orientation of the target virtual character and the indicating direction of the prompt icon can also be different, that is, the scheme of the present application also comprises:

[0087] Step 108, in response to the sixth operation acting on the movement control, adjusting the character orientation of the target virtual character and controlling the target virtual character to move along the character orientation;

[0088] Step 109, in the process of the target virtual character moving along the character orientation, in response to the first operation acting on the side screen, displaying a prompt icon representing an attack direction in the main screen, and adjusting the indicating direction of the prompt icon according to the first operation.

[0089] In the steps 108 and 109, the moving control is a control for controlling the target game character to move in the game scene. The sixth operation is an operation on the moving control, and the sixth operation can include any one of the following operations: a click operation, a double-click operation, a long-press operation, etc.

[0090] In a specific implementation, the sixth operation on the moving control can be used to control the target virtual character to move in the game scene, and the moving direction of the target virtual character is the character orientation of the target virtual character. In the process of moving the target character, the player can use the first operation on the side screen to adjust the indication direction of the prompt icon representing the attack direction displayed in the graphical user interface. In this case, the character orientation of the target virtual character and the indication direction of the prompt icon representing the attack direction can be consistent or inconsistent.

[0091] Sometimes, after the player touches the skill attack control, the target virtual character may not need to perform the attack skill in the game scene due to changes in the game strategy in the game, and it is necessary to cancel the control of the target virtual character to perform the skill corresponding to the skill attack control. Therefore, step S102 comprises:

[0092] Step 1025, in response to the second operation on the skill attack control, displaying a skill cancel area in the graphical user interface;

[0093] Step 1034, if the third operation is a click operation, controlling the target virtual character to perform the attack skill corresponding to the skill attack control along the indication direction;

[0094] Step 1035, if the third operation is a drag operation, in response to the end of the drag operation and the touch point of the drag operation being located in the skill cancel area at the end of the drag operation, canceling the control of the target virtual character to perform the skill corresponding to the skill attack control along the indication direction.

[0095] In the above step 1033, in response to the second operation on the skill attack control, a skill cancel area is displayed in the graphical user interface. The skill cancel area can be used to cancel the control of the target virtual character to perform the skill corresponding to the skill attack control along the indication direction. The skill cancel area and the skill attack control are arranged on the same side of the graphical user interface, for example, as shown in Figure 5 , the skill cancel area is displayed around the skill attack control, or as shown in Figure 6 , the skill cancel area can be displayed at a preset position near the skill attack control.

[0096] The skill cancel area mentioned above can be displayed in the graphical user interface after being displayed in the graphical user interface, or can stop being displayed in the graphical user interface after the second operation ends (that is, the skill cancel area is displayed in the graphical user interface during execution of the second operation).

[0097] In step 1034, if the second operation is a click operation, the target virtual character directly executes the attack skill of the skill attack control in the direction indicated by the prompt icon.

[0098] In step 1035, if the second operation is a drag operation, the starting position of the drag operation is the position of the skill attack control, and the ending position of the drag operation is in the skill cancel area when the drag operation ends, the target virtual character will not execute the attack skill. The skill cancel area and the skill attack control are arranged on the same side of the graphical user interface, which facilitates the player to cancel the control of the target virtual character to execute the attack skill through the drag operation, and improves the operation efficiency of the player.

[0099] The embodiment of the application further provides a virtual character control device, as shown in the accompanying drawings, applied to a terminal device, the terminal device includes a curved screen, the curved screen of the terminal device provides a graphical user interface, the content displayed by the graphical user interface at least includes a game picture of part of a game scene, the graphical user interface includes a skill attack control, and the device includes: Figure 7

[0100] The first response module 701 is configured to display a prompt icon representing an attack direction in the main screen in response to a first operation acting on the side screen, and adjust the indication direction of the prompt icon according to the first operation;

[0101] The second response module 702 is configured to control the target virtual character to execute an attack skill corresponding to the skill attack control in the indication direction in response to a second operation acting on the skill attack control.

[0102] Optionally, the first response module includes:

[0103] The first response unit is configured to display a prompt icon in a first preset direction in response to a first operation acting on the side screen, and adjust the indication direction of the prompt icon according to the first operation, taking the first preset direction as a starting direction;

[0104] The second response unit is configured to determine the indication direction of the prompt icon at this time as a target attack direction in response to the end of the first operation acting on the side screen.

[0105] The second response module includes: ​

[0106] a third response unit, configured to, in response to a second operation on the skill attack control, control the target virtual character to perform an attack skill corresponding to the skill attack control along the target attack direction.

[0107] Optionally, the control device further comprises:

[0108] a first response sub-unit, configured to, in response to a third operation on the side screen, display a prompt icon in a second preset direction, and adjust an indicating direction of the prompt icon according to the third operation;

[0109] a second response sub-unit, configured to, in response to an end of the third operation on the side screen, determine the indicating direction of the prompt icon at the moment as a new target attack direction.

[0110] Optionally, the control device further comprises:

[0111] a third response unit, configured to, in response to the third operation on the side screen, cancel the target attack direction and stop displaying the prompt icon.

[0112] Optionally, the second response module comprises:

[0113] a fourth response unit, configured to, in the process of adjusting the indicating direction of the prompt icon according to the first operation, in response to a second operation on the skill attack control, determine the indicating direction of the prompt icon when the second operation is on the skill attack control as a target attack direction, and control the target virtual character to perform an attack skill corresponding to the skill attack control along the target attack direction.

[0114] Optionally, the second response module comprises:

[0115] an eleventh response unit, configured to, in the process of adjusting the indicating direction of the prompt icon according to the first operation, in response to a second operation on the first skill attack control, determine the indicating direction of the prompt icon at the moment as a target attack direction, control the target virtual character to perform an attack skill corresponding to the first skill attack control along the target attack direction, and keep displaying the prompt icon pointing to the target attack direction in the graphical user interface.

[0116] Optionally, the control device further comprises:

[0117] a twelfth response unit, configured to, if the target attack direction exists, in response to a second operation on the second skill attack control, control the target virtual character to perform an attack skill corresponding to the attack direction along the target attack direction.

[0118] Optionally, the control device further comprises:

[0119] A twelfth response unit is configured to, in response to a fifth operation performed on the side screen, cancel the target attack direction and stop displaying the prompt icon.

[0120] Optionally, the second response module comprises:

[0121] A fifth response unit is configured to, in response to a sliding operation performed on the side screen, display a prompt icon representing an attack direction in the main screen, and adjust an indicating direction of the prompt icon according to a sliding direction and a sliding distance of the sliding operation.

[0122] Optionally, the third response module comprises:

[0123] A sixth response unit is configured to, in response to a second operation performed on the skill attack control, control the target virtual character to execute an attack skill corresponding to the skill attack control along the indicating direction, and display an attack animation of the attack skill in the graphical user interface.

[0124] Optionally, the second response module comprises:

[0125] A seventh response unit is configured to, in response to a first operation performed on the side screen, display a prompt icon representing an attack direction in the main screen, and adjust an indicating direction of the prompt icon and a character orientation of the target virtual character according to the first operation; the character orientation is the same as the indicating direction.

[0126] Optionally, the third response module comprises:

[0127] An eighth response unit is configured to, in response to a second operation performed on the skill attack control, display a skill cancel area in the graphical user interface.

[0128] A ninth response unit is configured to, if the second operation is a click operation, control the target virtual character to execute an attack skill corresponding to the skill attack control along the indicating direction.

[0129] A tenth response unit is configured to, if the second operation is a drag operation, cancel the control of the target virtual character to execute an attack skill corresponding to the skill attack control along the indicating direction, in response to an end of the drag operation and a condition that a touch point of the drag operation is located in the skill cancel area when the drag operation ends.

[0130] Optionally, the skill cancel area and the skill attack control are both located on the same side of the main screen.

[0131] Optionally, the main screen and the side screen are smoothly transitioned from the main screen to the side screen.

[0132] corresponding to Figure 1 The control method of the virtual role in the game application, and the embodiments of the present application further provide a computer device 800, as shown in the figure, the device comprises a memory 801, a processor 802 and a computer program stored in the memory 801 and executable on the processor 802, wherein the processor 802 executes the above-mentioned computer program to realize the control method of the virtual role, the control method comprises: Figure 8

[0133] in response to a first operation acting on the side screen, displaying a prompt icon representing an attack direction in the main screen, and adjusting the indicating direction of the prompt icon according to the first operation;

[0134] in response to a second operation acting on the skill attack control, controlling the target virtual role to execute the attack skill corresponding to the skill attack control along the indicating direction.

[0135] Optionally, in response to a first operation acting on the side screen, displaying a prompt icon representing an attack direction in the main screen, and adjusting the indicating direction of the prompt icon according to the first operation, comprising:

[0136] in response to a first operation acting on the side screen, displaying a prompt icon of a first preset direction, and taking the first preset direction as a starting direction, adjusting the indicating direction of the prompt icon according to the first operation;

[0137] in response to the end of the first operation acting on the side screen, determining the indicating direction of the prompt icon at this time as a target attack direction;

[0138] in response to a second operation acting on the skill attack control, controlling the target virtual role to execute the attack skill corresponding to the skill attack control along the indicating direction, comprising:

[0139] in response to a second operation acting on the skill attack control, controlling the target virtual role to execute the attack skill corresponding to the skill attack control along the target attack direction.

[0140] Optionally, after the end of the first operation acting on the side screen, determining the indicating direction of the prompt icon at this time as a target attack direction, the control method further comprises:

[0141] in response to a third operation acting on the side screen, displaying a prompt icon of a second preset direction, and adjusting the indicating direction of the prompt icon according to the third operation;

[0142] ​In response to an end of the third operation on the side screen, a pointing direction of the prompt icon at the time is determined as a new target attack direction.

[0143] Optionally, after the target attack direction is determined in response to the end of the first operation on the side screen, the control method further comprises:

[0144] In response to a fourth operation on the side screen, the target attack direction is cancelled, and the prompt icon is stopped from being displayed.

[0145] Optionally, in response to the second operation on the skill attack control, the target virtual character is controlled to execute an attack skill corresponding to the skill attack control along the pointing direction, comprising:

[0146] In the process of adjusting the pointing direction of the prompt icon according to the first operation, in response to the second operation on the skill attack control, the pointing direction of the prompt icon at the time the second operation is performed on the skill attack control is determined as a target attack direction, and the target virtual character is controlled to execute an attack skill corresponding to the skill attack control along the target attack direction.

[0147] Optionally, the graphical user interface comprises a plurality of skill attack controls; in response to the second operation on the skill attack control, the target virtual character is controlled to execute an attack skill corresponding to the skill attack control along the pointing direction, comprising:

[0148] In the process of adjusting the pointing direction of the prompt icon according to the first operation, in response to the second operation on the first skill attack control, a pointing direction of the prompt icon at the time is determined as a target attack direction, and the target virtual character is controlled to execute an attack skill corresponding to the first skill attack control along the target attack direction, and the prompt icon pointing to the target attack direction is kept displayed in the graphical user interface.

[0149] Optionally, the control method further comprises:

[0150] If the target attack direction exists, in response to the second operation on the second skill attack control, the target virtual character is controlled to execute an attack skill corresponding to the attack direction along the target attack direction.

[0151] Optionally, the control method further comprises:

[0152] In response to a fifth operation on the side screen, the target attack direction is cancelled, and the prompt icon is stopped from being displayed.

[0153] Optionally, the first operation is a sliding operation; in response to the first operation acting on the side screen, a prompt icon representing a skill attack direction is displayed in the main screen, and the indicating direction of the prompt icon is adjusted according to the first operation, including:

[0154] In response to a sliding operation acting on the side screen, a prompt icon representing an attack direction is displayed in the main screen, and the indicating direction of the prompt icon is adjusted according to the sliding direction and sliding distance of the sliding operation.

[0155] Optionally, in response to a second operation acting on the skill attack control, the target virtual character is controlled to execute an attack skill corresponding to the skill attack control along the indicating direction, including:

[0156] In response to a second operation acting on the skill attack control, the target virtual character is controlled to execute an attack skill corresponding to the skill attack control along the indicating direction, and an attack animation of the attack skill is displayed in the graphical user interface.

[0157] Optionally, in response to a first operation acting on the side screen, a prompt icon representing an attack direction is displayed in the main screen, and the indicating direction of the prompt icon is adjusted according to the first operation, including:

[0158] In response to a first operation acting on the side screen, a prompt icon representing an attack direction is displayed in the main screen, and the indicating direction of the prompt icon and the character orientation of the target virtual character are adjusted according to the first operation; the character orientation and the indicating direction are the same.

[0159] Optionally, in response to a second operation acting on the skill attack control, the target virtual character is controlled to execute an attack skill corresponding to the skill attack control along the indicating direction, including:

[0160] In response to a second operation acting on the skill attack control, a skill cancel area is displayed in the graphical user interface;

[0161] If the second operation is a click operation, the target virtual character is controlled to execute an attack skill corresponding to the skill attack control along the indicating direction;

[0162] If the second operation is a drag operation, in response to the end of the drag operation and the touch point of the drag operation being located in the skill cancel area at the end of the drag operation, the target virtual character is controlled to cancel executing an attack skill corresponding to the skill attack control along the indicating direction.

[0163] Optionally, the skill cancel area and the skill attack control are both located on the same side of the main screen.

[0164] Optionally, the main screen and the side screen are smoothly transitioned from the main screen to the side screen.

[0165] In particular, the memory 801 and the processor 802 can be general memory and processor, which are not specifically limited herein, and when the processor 802 runs a computer program stored in the memory 801, the above-mentioned control method of the virtual role is executed, and the problem of low attack efficiency when the player controls the virtual role to execute the attack skill with direction in the prior art is solved. In the present application, the player can adjust the indication direction of the prompt icon through the first operation of one finger acting on the side screen, and then the player can control the target virtual role to execute the attack skill corresponding to the skill attack control along the indication direction through the second operation of the other finger directly acting on the skill attack control. Therefore, when the player controls the target virtual role to execute the attack skill with direction, the player does not need to determine the attack direction through the touch operation on the skill attack control every time before releasing the attack skill. That is, the player determines the attack direction through the first operation, and as long as the player directly applies the second operation to any skill attack control, the target virtual role can be directly controlled to execute the attack action corresponding to the attack control along the attack direction. Therefore, the player can determine the attack direction of multiple attack skills with direction through one first operation, which simplifies the release operation of multiple attack skills with direction. Further, the side screen can be associated with multiple skill attack controls in the graphical user interface, that is, the attack direction of the attack skill corresponding to the multiple skill attack controls can be determined through the side screen. Therefore, after the player determines the attack direction through the first operation of one finger on the side screen, the player can control the target virtual role to execute the attack skill corresponding to each skill attack control according to the attack direction through the second operation directly acting on the skill attack control, without the need to consume a certain time to adjust the attack direction before releasing the attack skill. The attack efficiency of the target virtual role is improved, which is equivalent to improving the interaction efficiency between the player and the terminal device.

[0166] Corresponding to the control method of the virtual role in Figure 1 The present application also provides a computer readable storage medium having a computer program stored thereon, wherein the computer program is run by a processor to execute the steps of the above-mentioned control method of the virtual role, and the control method comprises:

[0167] In response to the first operation acting on the side screen, a prompt icon representing the attack direction is displayed in the main screen, and the indication direction of the prompt icon is adjusted according to the first operation;

[0168] In response to a second operation on the skill attack control, the target virtual character is controlled to perform an attack skill corresponding to the skill attack control in the indicated direction.

[0169] Optionally, in response to the first operation on the side screen, a prompt icon representing an attack direction is displayed in the main screen, and the indicated direction of the prompt icon is adjusted according to the first operation, including:

[0170] In response to the first operation on the side screen, a prompt icon of a first preset direction is displayed, and the indicated direction of the prompt icon is adjusted according to the first operation, starting from the first preset direction.

[0171] In response to the end of the first operation on the side screen, the indicated direction of the prompt icon at this time is determined as a target attack direction.

[0172] In response to the second operation on the skill attack control, the target virtual character is controlled to perform an attack skill corresponding to the skill attack control in the indicated direction, including:

[0173] In response to the second operation on the skill attack control, the target virtual character is controlled to perform an attack skill corresponding to the skill attack control in the target attack direction.

[0174] Optionally, after the indicated direction of the prompt icon is determined as the target attack direction in response to the end of the first operation on the side screen, the control method further includes:

[0175] In response to a third operation on the side screen, a prompt icon of a second preset direction is displayed, and the indicated direction of the prompt icon is adjusted according to the third operation.

[0176] In response to the end of the third operation on the side screen, the indicated direction of the prompt icon at this time is determined as a new target attack direction.

[0177] Optionally, after the indicated direction of the prompt icon is determined as the target attack direction in response to the end of the first operation on the side screen, the control method further includes:

[0178] In response to a fourth operation on the side screen, the target attack direction is cancelled, and the display of the prompt icon is stopped.

[0179] Optionally, in response to the second operation on the skill attack control, the target virtual character is controlled to perform an attack skill corresponding to the skill attack control in the indicated direction, including:

[0180] In the process of adjusting the indicating direction of the prompt icon according to the first operation, in response to a second operation acting on the skill attack control, the second operation is used to determine the indicating direction of the prompt icon as a target attack direction when the skill attack control is controlled, and the target virtual character is controlled to perform an attack skill corresponding to the skill attack control along the target attack direction.

[0181] Optionally, the graphical user interface includes a plurality of skill attack controls; in response to a second operation acting on the skill attack control, the target virtual character is controlled to perform an attack skill corresponding to the skill attack control along the indicating direction, including:

[0182] In the process of adjusting the indicating direction of the prompt icon according to the first operation, in response to a second operation acting on the first skill attack control, the indicating direction of the prompt icon at this time is determined as a target attack direction, and the target virtual character is controlled to perform an attack skill corresponding to the first skill attack control along the target attack direction, and the prompt icon pointing to the target attack direction is kept displayed in the graphical user interface.

[0183] Optionally, the control method further includes:

[0184] If the target attack direction exists, in response to a second operation acting on the second skill attack control, the target virtual character is controlled to perform an attack skill corresponding to the attack direction along the target attack direction.

[0185] Optionally, the control method further includes:

[0186] In response to a fifth operation acting on the side screen, the target attack direction is cancelled, and the display of the prompt icon is stopped.

[0187] Optionally, the first operation is a sliding operation; in response to a first operation acting on the side screen, a prompt icon representing a skill attack direction is displayed, and the indicating direction of the prompt icon is adjusted according to the first operation, including:

[0188] In response to a sliding operation acting on the side screen, a prompt icon representing an attack direction is displayed in the main screen, and the indicating direction of the prompt icon is adjusted according to the sliding direction and sliding distance of the sliding operation.

[0189] Optionally, in response to a second operation acting on the skill attack control, the target virtual character is controlled to perform an attack skill corresponding to the skill attack control along the indicating direction, including:

[0190] In response to a second operation on the skill attack control, the target virtual character is controlled to perform an attack skill corresponding to the skill attack control in the indicated direction, and an attack animation of the attack skill is displayed in the graphical user interface.

[0191] Optionally, in response to a first operation on the side screen, a prompt icon representing an attack direction is displayed in the main screen, and the indicated direction of the prompt icon is adjusted according to the first operation, including:

[0192] In response to a first operation on the side screen, a prompt icon representing an attack direction is displayed in the main screen, and the indicated direction of the prompt icon and the character orientation of the target virtual character are adjusted according to the first operation; the character orientation is the same as the indicated direction.

[0193] Optionally, in response to a second operation on the skill attack control, the target virtual character is controlled to perform an attack skill corresponding to the skill attack control in the indicated direction, including:

[0194] In response to a second operation on the skill attack control, a skill cancel area is displayed in the graphical user interface;

[0195] If the second operation is a click operation, the target virtual character is controlled to perform an attack skill corresponding to the skill attack control in the indicated direction;

[0196] If the second operation is a drag operation, in response to the end of the drag operation and the touch point of the drag operation being located in the skill cancel area at the end of the drag operation, the target virtual character is controlled to cancel performing an attack skill corresponding to the skill attack control in the indicated direction.

[0197] Optionally, the skill cancel area and the skill attack control are both located on the same side of the main screen.

[0198] Optionally, the main screen and the side screen are smoothly transitioned from the main screen to the side screen.

[0199] Specifically, the storage medium can be a general storage medium such as a mobile disk, a hard disk, etc., and the computer program on the storage medium can execute the control method of the virtual role when being run, and solves the problem of low attack efficiency when a player controls a virtual role to execute an attack skill with a direction in the prior art. In the application, the player can adjust the indication direction of the prompt icon through a first operation of one finger acting on the side screen, and then the player can control the target virtual role to execute an attack skill corresponding to the skill attack control along the indication direction through a second operation of another finger directly acting on the skill attack control, so that the player does not need to determine the attack direction through a touch operation on the skill attack control every time before releasing the attack skill when controlling the target virtual role to execute an attack skill with an attack direction. That is, the player can directly control the target virtual role to execute an attack action corresponding to the attack control along the attack direction as long as the player directly applies the second operation to any skill attack control after determining the attack direction through the first operation, so that the player can determine the attack direction of multiple attack skills with an attack direction through one first operation, which simplifies the release operation of the multiple attack skills with an attack direction. Further, the side screen can be associated with multiple skill attack controls in the graphical user interface, that is, the attack direction of the attack skills corresponding to the multiple skill attack controls can be determined through the side screen, so that the player can control the target virtual role to execute the attack skill corresponding to each skill attack control according to the attack direction through the second operation directly acting on the skill attack control after determining the attack direction through the first operation of one finger of the player on the side screen, without the need to consume a certain time to adjust the attack direction before releasing the attack skill, which improves the attack efficiency of the target virtual role, and is equivalent to improving the interaction efficiency between the player and the terminal device.

[0200] In the embodiments provided by the present application, it should be understood that the disclosed method and device can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There can be another division during actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between the units can be indirect couplings or communication connections through some interfaces, devices or units, and can be electrical, mechanical or in other forms.

[0201] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e. may be located in one place, or may be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.

[0202] In addition, the functional units in the embodiments provided in the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit.

[0203] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products, and the computer software products are stored in a storage medium, including a plurality of instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, and various media that can store program codes.

[0204] It should be noted that: similar reference numbers and letters represent similar items in the following drawings, therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings, in addition, the terms "first", "second", "third" and the like are only used to distinguish description, and cannot be understood as indicating or implying relative importance.

[0205] Finally, it should be noted that: the above-described embodiments are only specific embodiments of the present application, used to illustrate the technical solutions of the present application, and not to limit them, the protection scope of the present application is not limited thereto, although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any skilled person in the art can modify or easily think of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed by the present application, or make equivalent replacement to part of the technical features; and these modifications, changes or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. All should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be limited by the protection scope of the claims.

Claims

1. A method for controlling a target virtual character, characterized in that, Applied to a terminal device, the terminal device includes a curved screen, the curved screen being composed of a main screen and side screens not on the same plane, the curved screen of the terminal device providing a graphical user interface, the content displayed by the graphical user interface including at least part of the game scene's game screen, the graphical user interface including skill attack controls, the control method including: In response to a first operation applied to the side screen, a prompt icon representing the attack direction is displayed on the main screen, and the direction indicated by the prompt icon is adjusted according to the first operation; in response to a second operation applied to the skill attack control, the target virtual character is controlled to execute the attack skill corresponding to the skill attack control along the indicated direction; The method of responding to a first operation applied to the side screen, displaying a prompt icon representing the direction of attack on the main screen, and adjusting the direction of the prompt icon according to the first operation, includes: In response to a first operation applied to the side screen, a prompt icon in a first preset direction is displayed, and the indication direction of the prompt icon is adjusted according to the first operation, with the first preset direction as the starting direction; the prompt icon displayed in the graphical user interface changes its indication direction from the starting direction of the first preset direction as the operation parameters of the first operation change. Upon completion of the first operation applied to the side screen, the direction indicated by the prompt icon at this time is determined as the target attack direction; Once the target attack direction is determined, as long as the player's second action on the skill attack control is detected, the target virtual character will be controlled to execute the attack skill along the target attack direction.

2. The control method according to claim 1, characterized in that, In response to a second operation applied to the skill attack control, controlling the target virtual character to execute the attack skill corresponding to the skill attack control along the indicated direction includes: In response to a second operation applied to the skill attack control, the target virtual character is controlled to execute the attack skill corresponding to the skill attack control along the target attack direction.

3. The control method according to claim 2, characterized in that, Upon completion of the first operation applied to the side screen, and after determining the direction indicated by the prompt icon as the target attack direction, the control method further includes: In response to a third operation applied to the side screen, a prompt icon in a second preset direction is displayed, and the direction of the prompt icon is adjusted according to the third operation; Upon completion of the third operation applied to the side screen, the direction indicated by the prompt icon at this time is determined as the new target attack direction.

4. The control method according to claim 2, characterized in that, Upon completion of the first operation applied to the side screen, and after determining the direction indicated by the prompt icon as the target attack direction, the control method further includes: In response to the fourth operation applied to the side screen, the target attack direction is canceled and the prompt icon is stopped from being displayed.

5. The control method according to claim 1, characterized in that, In response to a second operation applied to the skill attack control, controlling the target virtual character to execute the attack skill corresponding to the skill attack control along the indicated direction includes: During the process of adjusting the indication direction of the prompt icon according to the first operation, in response to the second operation applied to the skill attack control, the indication direction of the prompt icon when the second operation is applied to the skill attack control is determined as the target attack direction, and the target virtual character is controlled to execute the attack skill corresponding to the skill attack control along the target attack direction.

6. The control method according to claim 1, characterized in that, The graphical user interface includes multiple skill attack controls; in response to a second operation acting on the skill attack controls, the target virtual character is controlled to execute the attack skill corresponding to the skill attack control along the indicated direction, including: During the process of adjusting the direction of the prompt icon according to the first operation, in response to the second operation acting on the first skill attack control, the direction of the prompt icon at this time is determined as the target attack direction, and the target virtual character is controlled to execute the attack skill corresponding to the first skill attack control along the target attack direction, and the prompt icon pointing to the target attack direction is kept displayed in the graphical user interface.

7. The control method according to claim 6, characterized in that, The control method further includes: If the target attack direction exists, in response to the second operation acting on the second skill attack control, the target virtual character is controlled to execute the attack skill corresponding to the attack direction along the target attack direction.

8. The method according to claim 7, characterized in that, The control method further includes: In response to the fifth operation applied to the side screen, the target attack direction is canceled and the prompt icon is stopped from being displayed.

9. The control method according to claim 1, characterized in that, The first operation is a swipe operation; in response to the first operation applied to the side screen, a prompt icon representing the direction of skill attack is displayed, and the indicating direction of the prompt icon is adjusted according to the first operation, including: In response to a swipe operation applied to the side screen, a prompt icon representing the direction of attack is displayed on the main screen, and the direction of the prompt icon is adjusted according to the swipe direction and swipe distance.

10. The control method according to claim 1, characterized in that, In response to a second operation applied to the skill attack control, controlling the target virtual character to execute the attack skill corresponding to the skill attack control along the indicated direction includes: In response to a second operation applied to the skill attack control, the target virtual character is controlled to execute the attack skill corresponding to the skill attack control along the indicated direction, and the attack animation of the attack skill is displayed in the graphical user interface.

11. The control method according to claim 1, characterized in that, In response to a first operation applied to the side screen, a prompt icon representing the direction of attack is displayed on the main screen, and the indicating direction of the prompt icon is adjusted according to the first operation, including: In response to a first operation applied to the side screen, a prompt icon representing the attack direction is displayed on the main screen, and the direction indicated by the prompt icon and the orientation of the target virtual character are adjusted according to the first operation; the character orientation and the direction indicated are the same.

12. The control method according to claim 1, characterized in that, In response to a second operation applied to the skill attack control, controlling the target virtual character to execute the attack skill corresponding to the skill attack control along the indicated direction includes: In response to a second operation applied to the skill attack control, a skill cancellation area is displayed in the graphical user interface; If the second operation is a click operation, then the target virtual character is controlled to execute the attack skill corresponding to the skill attack control along the indicated direction; If the second operation is a drag operation, then in response to the end of the drag operation, and if the touch point of the drag operation is located in the skill cancellation area when the drag operation ends, then the target virtual character is cancelled from executing the attack skill corresponding to the skill attack control along the indicated direction.

13. The control method according to claim 12, characterized in that, The skill cancellation area and the skill attack control settings are both located on the same side of the main screen.

14. The method according to claim 1, characterized in that, The main screen and the side screen have a smooth transition from the main screen to the side screen.

15. A control device for a target virtual character, characterized in that, An application to a terminal device, the terminal device including a curved screen, the curved screen being composed of a main screen and side screens not on the same plane, the curved screen of the terminal device providing a graphical user interface, the content displayed by the graphical user interface including at least part of the game scene's game screen, the graphical user interface including skill attack controls, the device comprising: The first response module is used to respond to a first operation applied to the side screen, display a prompt icon representing the direction of attack on the main screen, and adjust the direction of the prompt icon according to the first operation; The second response module is used to respond to a second operation applied to the skill attack control, and to control the target virtual character to execute the attack skill corresponding to the skill attack control along the indicated direction; The method of responding to a first operation applied to the side screen, displaying a prompt icon representing the direction of attack on the main screen, and adjusting the direction of the prompt icon according to the first operation, includes: In response to a first operation applied to the side screen, a prompt icon in a first preset direction is displayed, and the indication direction of the prompt icon is adjusted according to the first operation, with the first preset direction as the starting direction; the prompt icon displayed in the graphical user interface changes its indication direction from the starting direction of the first preset direction as the operation parameters of the first operation change. Upon completion of the first operation applied to the side screen, the direction indicated by the prompt icon at this time is determined as the target attack direction; Once the target attack direction is determined, as long as the player's second action on the skill attack control is detected, the target virtual character will be controlled to execute the attack skill along the target attack direction.

16. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-14.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program is executed by a processor to perform the steps of the method described in any one of claims 1-14.

Citation Information

Patent Citations

  • Interaction method and device for game through mobile terminal, storage medium and electronic equipment

    CN109865284A