Game operation control method, device and electronic equipment

By switching the movement joystick control to the shooting control area in the graphical user interface of football mobile games, and collecting operation touch points to determine the flight direction of the virtual ball, the problem of low shooting accuracy is solved, and the game experience is improved.

CN116421961BActive Publication Date: 2026-04-10NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

The shooting accuracy in existing football mobile games is low, which affects the player's gaming experience.

Method used

By switching the joystick control to the shooting control area in the graphical user interface, the operation touch points of the shooting control area are collected, and the flight direction of the virtual ball is determined based on the touch point position, enabling players to control the shooting operation with both hands.

Benefits of technology

It improves the accuracy of shooting and enhances the player's gaming experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116421961B_ABST
    Figure CN116421961B_ABST
Patent Text Reader

Abstract

The present disclosure provides a game operation control method, device and electronic equipment; wherein the method comprises: in response to a trigger operation for a mobile joystick control, controlling a controlled virtual object to move, and controlling a virtual ball to move following the controlled virtual object; in response to a first trigger operation for a shooting control, switching the mobile joystick control to be displayed as a shooting control area; wherein the shooting control area matches a goal area in a game scene; the shooting control area is used to: collect a first operation touch point of a specified operation acting on the shooting control area; in response to a second trigger operation for the shooting control, controlling the controlled virtual object to perform a shooting action, and determining a flight direction of the virtual ball based on a touch position of the first operation touch point in the shooting control area. This way can realize that the player controls the shooting operation with both hands, improves the accuracy of the shooting operation, and improves the game experience of the player.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of games, and particularly to a game operation control method and device and electronic equipment. BACKGROUND

[0002] In a football mobile game, a player often needs to perform a shooting operation. In the related art, a moving joystick and a shooting control are displayed in a game interface. The player controls the moving joystick with the left hand to control a player to move with the ball. The player triggers the shooting control with the right hand to adjust shooting direction, force, and other parameters through the shooting control, and then controls the player to shoot. The shooting accuracy of this shooting operation is low, which affects the game experience of the player. SUMMARY

[0003] Therefore, the purpose of the present disclosure is to provide a game operation control method, device and electronic equipment to improve the shooting accuracy and improve the game experience of the player.

[0004] In a first aspect, the embodiments of the present disclosure provide a game operation control method. A graphical user interface is provided by a terminal device. The graphical user interface includes a scene picture of a game scene. The game scene includes a controlled virtual object. The controlled virtual object is controlled by the terminal device. The graphical user interface further includes a moving joystick control and a shooting control. The method includes: in response to a trigger operation on the moving joystick control, controlling the controlled virtual object to move and controlling a virtual ball to move with the controlled virtual object; in response to a first trigger operation on the shooting control, switching the moving joystick control to be displayed as a shooting control area; the shooting control area is matched with a goal area in the game scene; the shooting control area is used to collect a first operation touch point of a specified operation on the shooting control area; in response to a second trigger operation on the shooting control, controlling the controlled virtual object to perform a shooting action, and determining a flight direction of the virtual ball based on a touch point position of the first operation touch point in the shooting control area; the touch point position includes a current position or a historical movement position of the first operation touch point when the second trigger operation is performed.

[0005] In a second aspect, the embodiments of the present disclosure provide a game operation control apparatus. The apparatus provides a graphical user interface through a terminal device. The graphical user interface includes a scene picture of a game scene. The game scene includes a controlled virtual object. The controlled virtual object is controlled through the terminal device. The graphical user interface further includes a movement joystick control and a shooting control. The apparatus includes a movement control module configured to control the movement of the controlled virtual object and control a virtual ball to move along with the controlled virtual object in response to a trigger operation on the movement joystick control. The apparatus further includes a switching display module configured to switch the movement joystick control to a shooting control area in response to a first trigger operation on the shooting control. The shooting control area is matched with a goal area in the game scene. The shooting control area is configured to collect a first operation touch point of a specified operation on the shooting control area. The apparatus further includes a shooting control module configured to control the controlled virtual object to perform a shooting action in response to a second trigger operation on the shooting control. The shooting control module is configured to determine a flight direction of the virtual ball based on a touch point position of the first operation touch point in the shooting control area. The touch point position includes a current position or a historical movement position of the first operation touch point when the second trigger operation is performed.

[0006] In a third aspect, the embodiments of the present disclosure provide an electronic device. The electronic device includes a processor and a memory. The memory stores machine executable instructions which are executable by the processor. The processor executes the machine executable instructions to implement the game operation control method.

[0007] In a fourth aspect, the embodiments of the present disclosure provide a machine readable storage medium. The machine readable storage medium stores machine executable instructions. When the machine executable instructions are called and executed by a processor, the machine executable instructions cause the processor to implement the game operation control method.

[0008] The embodiments of the present disclosure have the following beneficial effects:

[0009] The game operation control method, device and electronic equipment described above provide a graphical user interface through a terminal device, the graphical user interface includes a scene picture of a game scene, and the game scene includes a controlled virtual object; the controlled virtual object is controlled through the terminal device; the graphical user interface further includes a moving joystick control and a shooting control; in response to a triggering operation on the moving joystick control, the controlled virtual object is controlled to move, and a virtual ball is controlled to move along with the controlled virtual object; in response to a first triggering operation on the shooting control, the moving joystick control is switched to display a shooting control area; the shooting control area matches a goal area in the game scene; the shooting control area is used to collect a first operation touch point of a specified operation on the shooting control area; in response to a second triggering operation on the shooting control, the controlled virtual object is controlled to perform a shooting action, and a flight direction of the virtual ball is determined based on a touch point position of the first operation touch point in the shooting control area; the touch point position includes a current position or a historical moving position of the first operation touch point when the second triggering operation is performed. In this way, after the shooting control is triggered, the moving joystick control is switched to the shooting control area, and the player can adjust the shooting result by operating the shooting control area; this way can realize that the player controls the shooting operation with both hands, improves the accuracy of the shooting operation, and improves the game experience of the player.

[0010] Other features and advantages of the present disclosure will be set forth in the descriptions below, and in part will become apparent to those skilled in the art from the descriptions, or can be learned by practice of the present disclosure. The purposes and other advantages of the present disclosure can be realized and obtained by the structure particularly pointed out in the descriptions, claims and drawings.

[0011] In order to make the above-mentioned purposes, features and advantages of the present disclosure 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

[0012] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the following will briefly introduce the drawings needed to be used in the specific embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present disclosure, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0013] Figure 1 A flowchart of a game operation control method provided by an embodiment of the present disclosure;

[0014] Figure 2 A moving control schematic diagram of a controlled virtual object provided by an embodiment of the present disclosure;

[0015] Figure 3A schematic diagram of a shooting control area provided by an embodiment of the present disclosure;

[0016] Figure 4 A schematic diagram of a specified sub-area provided by an embodiment of the present disclosure;

[0017] Figure 5 A schematic diagram of a movement track of an operation touch point and a movement position of a virtual sphere provided by an embodiment of the present disclosure;

[0018] Figure 6 A schematic diagram of a movement track of an operation touch point and a movement position of a virtual sphere provided by another embodiment of the present disclosure;

[0019] Figure 7 A schematic diagram of a recovery display of a movement joystick control provided by an embodiment of the present disclosure;

[0020] Figure 8 A schematic diagram of a shooting control display of a shooting control area provided by an embodiment of the present disclosure;

[0021] Figure 9 A schematic diagram of a shooting control cancel and a movement joystick control display provided by an embodiment of the present disclosure;

[0022] Figure 10 A structural schematic diagram of an operation control device of a game provided by an embodiment of the present disclosure;

[0023] Figure 11 A result schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] In order to make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions of the present disclosure will be described clearly and completely below with reference to the drawings, obviously, the described embodiments are some but not all of the embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work, fall within the protection scope of the present disclosure.

[0025] In a football mobile game, when performing a shooting operation, a player usually operates a movement joystick with a left hand to control a player to move with the ball, and operates a shooting control with a right hand to shoot. The shooting accuracy of such shooting operation is low, which affects the game experience of the player.

[0026] Based on this, the present disclosure provides a game operation control method, device and electronic device, which can be applied to various ball games such as football, basketball and water polo, and especially can be applied to shooting operations of various ball games in mobile games.

[0027] The operation control method of the game in one of the embodiments of the present disclosure can run on a local terminal device or a server. When the operation control method of the game runs on the server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0028] In an optional embodiment, various cloud applications, such as cloud games, can run under the cloud interaction system. Taking the cloud game as an example, the cloud game refers to a game mode based on cloud computing. In the running mode of the cloud game, the running subject of the game program and the presentation subject of the game picture are separated, the storage and running of the operation control method of the game are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture. For example, the client device can be a display device close to the user side with a data transmission function, such as a mobile terminal, a television, a computer, a palm computer, etc.; but the information processing is performed by the cloud game server in the cloud. When playing the game, the player operates the client 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 the data to the client device through the network, and finally decodes and outputs the game picture through the client device.

[0029] In an optional embodiment, taking the game as an example, the local terminal device stores the game program and is used for presenting the game picture. The local terminal device is used for interacting with the player through a graphical user interface, that is, the conventional game program is downloaded and installed through an electronic device and is run. The way in which the local terminal device provides the graphical user interface to the player can include various ways, for example, the graphical user interface can be rendered and displayed on the display screen of the terminal, or the graphical user interface can be provided to the player through holographic projection. For example, the local terminal device can include a display screen and a processor, the display screen is used for presenting the graphical user interface, the graphical user interface includes the game picture, and the processor is used for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.

[0030] The inventors found in the research process that when the player performs the shooting operation, only a very short thinking and processing time is needed, for example, less than 1 second, and in this very short time, the control operation of the moving joystick by the left hand of the player has little effect on the shooting result; for most players, the left hand can be in an empty state in this time period. Based on this, if some shooting auxiliary operations are performed by the left hand when the shooting operation is performed, the shooting accuracy and the shooting experience can be greatly improved.

[0031] In one possible implementation, this disclosure provides a game operation control method, which provides a graphical user interface (GUI) through a terminal device. The terminal device can be either the aforementioned local terminal device or a client device in the aforementioned cloud interaction system. The GUI includes a game scene view, which includes controlled virtual objects. The controlled virtual objects are controlled through the terminal device. The GUI also includes a joystick control and a shooting control.

[0032] The aforementioned game scenarios typically include a virtual stadium. Taking a soccer field as an example, the virtual stadium consists of one's own half and the opponent's half; both halves have virtual goals; the game scenario includes multiple virtual objects; these virtual objects are divided into one team and one opposing team. One virtual object on one's own team is a controlled virtual object, which has possession of the ball and can move with it, shoot, etc.; during the game, possession of the ball continuously changes among the virtual objects on one's own team, therefore, the controlled virtual object also changes continuously.

[0033] The controlled virtual object is controlled by the terminal device; for example, the terminal device can control the controlled virtual object to perform operations such as movement, passing, and shooting. The graphical user interface displays movement joystick controls and shooting controls. Players can use the movement joystick controls to move the controlled virtual object in various directions, and use the shooting controls to control the controlled virtual object to perform a shooting action. Additionally, the graphical user interface can also include various skill controls such as passing controls and through-run controls.

[0034] like Figure 1 As shown, the game's control method includes the following steps:

[0035] Step S102: Respond to the trigger operation for the movement joystick control, control the movement of the controlled virtual object, and control the virtual sphere to follow the movement of the controlled virtual object;

[0036] like Figure 2 As shown, the joystick control is typically located on the left side of the graphical user interface. Players control the joystick control with their left-hand fingers, thereby controlling the movement of the virtual object within the game scene. Specifically, triggering the joystick control can involve pressing the joystick with a finger and moving the finger's touch point while it's pressed; the joystick then follows the finger's touch point. The joystick control also includes a movement control area where the joystick moves.

[0037] The position of the mobile joystick in the mobile control area can determine the moving direction and moving speed of the controlled virtual object, and the controlled virtual object is controlled to move in the game scene based on the moving direction and the moving speed; since the controlled virtual object is a virtual object in the team having the ball right, the virtual ball body moves along with the controlled virtual object.

[0038] In the right area of the graphical user interface, a jump skill control and a shooting control are further arranged. The jump skill control is triggered to realize the action of dribbling past of the controlled virtual object, and the shooting control is triggered to realize the shooting operation.

[0039] In step S104, the mobile joystick control is switched to display a shooting control area in response to a first trigger operation on the shooting control; the shooting control area is matched with a goal area in the game scene; and the shooting control area is used to collect a first operation touch point of a specified operation on the shooting control area.

[0040] The first trigger operation can be a pressing operation on the shooting control or a sliding operation on the shooting control, etc. It should be noted that after the first trigger operation is executed, the controlled virtual object does not perform the shooting operation, and the virtual ball body still moves along with the controlled virtual object. However, when the player performs the first trigger operation, the player usually has the intention to shoot. When the second trigger operation is executed subsequently, the controlled virtual object will perform the shooting action, and the virtual ball body will move away from the controlled virtual object and move towards the goal area.

[0041] In the execution process of the first trigger operation and the subsequent second trigger operation, the time is usually short, and in this process, the mobile joystick control has little effect on the movement control of the controlled virtual object, or even some players do not trigger the mobile joystick control in this process. Based on this, in this embodiment, after the first trigger operation is executed, the mobile joystick control is switched to display the shooting control area. The shooting control area is used to assist in executing the shooting operation. Specifically, the shooting control area is switched to display by the mobile joystick control, and therefore, the shooting control area can be displayed in the left area of the graphical user interface, and the player's left hand finger can perform the specified operation in the shooting control area.

[0042] The shooting control area is matched with the goal area, for example, the area shape of the shooting control area is the same as the area shape of the goal area, for another example, the area size of the shooting control area is the same as the area size of the goal area, for another example, the area shape of the shooting control area is the same as the area shape of the goal area, but the size is different. In one example, the goal area is a rectangular area, and the shooting control area is also a rectangular area, and the aspect ratio of the shooting control area is the same as the aspect ratio of the goal area.

[0043] The specified operation on the shooting control region can be a click operation, a sliding operation, a double-click operation, etc. The shooting control region can be displayed on the graphical user interface with preset display parameters such as color, transparency, etc. When the player's finger performs the specified operation on the shooting control region, the position of the first operation touch point located in the shooting control region can be captured.

[0044] In step S106, in response to the second trigger operation on the shooting control, the controlled virtual object performs a shooting action, and the flight direction of the virtual ball is determined based on the position of the first operation touch point in the shooting control region. The position of the touch point includes the current position or the historical movement position of the first operation touch point when the second trigger operation is performed.

[0045] For example, if the aforementioned first trigger operation is a press-down operation on the shooting control, the second trigger operation here is a lift-up operation. After the second trigger operation is performed, the shooting control is released, at which time the controlled virtual object performs a shooting action, and then the virtual ball moves away from the controlled virtual object and starts moving towards the goal area. In this embodiment, the player can perform a specified operation in the shooting control region. Therefore, based on the position of the first operation touch point in the shooting control region, the flight direction of the virtual ball is determined.

[0046] The position of the touch point can be the current position of the first operation touch point in the shooting control region when the second trigger operation is performed. For example, if the current position is on the right side of the shooting control region, the virtual ball will move to the right side of the goal area without being intercepted. In actual implementation, the shooting position can be determined based on the position of the touch point in the plane of the goal area, and then the flight direction of the virtual ball is determined based on the controlled virtual object and the shooting position.

[0047] The position of the touch point can also be the historical movement position of the first operation touch point when the second trigger operation is performed. The historical movement position can include multiple positions, and the multiple historical movement positions form the movement trajectory of the first operation touch point. Through the historical movement position, the movement trajectory of the virtual ball during shooting can be controlled, and then the shooting position of the virtual ball in the goal area can be controlled. For example, the trajectory formed by the historical movement position in the shooting control region can be mapped to the shooting area to obtain a mapped trajectory. The mapped trajectory can be used as the two-dimensional projection trajectory of the three-dimensional movement trajectory of the virtual ball in the shooting area in the plane of the shooting area. Then, the two-dimensional projection trajectory, combined with other shooting parameters such as the shooting strength parameter, can obtain the three-dimensional movement trajectory, and after the three-dimensional movement trajectory is determined, the flight direction of the virtual ball can be obtained.

[0048] The operation control method of the game provides a graphical user interface through the terminal device, the graphical user interface includes a scene picture of a game scene, and the game scene includes a controlled virtual object; the controlled virtual object is controlled through the terminal device; the graphical user interface further includes a moving joystick control and a shooting control; in response to a triggering operation on the moving joystick control, the controlled virtual object is controlled to move, and a virtual ball is controlled to move along with the controlled virtual object; in response to a first triggering operation on the shooting control, the moving joystick control is switched to display a shooting control area; the shooting control area is matched with a goal area in the game scene; the shooting control area is used to collect a first operation touch point of a specified operation on the shooting control area; in response to a second triggering operation on the shooting control, the controlled virtual object is controlled to perform a shooting action, and a flight direction of the virtual ball is determined based on a touch point position of the first operation touch point in the shooting control area; the touch point position includes a current position or a historical moving position of the first operation touch point when the second triggering operation is performed. In this way, after the shooting control is triggered, the moving joystick control is switched to the shooting control area, and the player can adjust the shooting result by operating the shooting control area; the player's hands can be used to control the shooting operation together, the accuracy of the shooting operation is improved, and the game experience of the player is improved.

[0049] The following embodiments continue to describe the display method of the shooting control area.

[0050] In one way, in response to the first triggering operation on the shooting control, a second operation touch point acting on the moving joystick control is determined; the moving joystick control is no longer displayed, and the shooting control area is displayed at the touch point position of the second operation touch point. When the shooting control is executed for the first triggering operation, the moving joystick control can also be in a triggered state, at this time, the second operation touch point acting on the moving joystick control is determined. The second operation touch point can be the position of the finger touch point when the player's finger drags the moving joystick in the moving joystick control. The second operation touch point can be the same as the position of the moving joystick, or it can be different. In this way, after the first triggering operation is executed, the moving joystick control is no longer displayed, but the second operation touch point still exists, and the shooting control area starts to be displayed at the touch point position of the second operation touch point.

[0051] Specifically, since the shooting control area has a certain display area, the touch point position of the second operation touch point can be used as the center position of the shooting control area, or as a top corner position of the shooting control area, or as another specified position of the shooting control area.

[0052] Figure 3 As an example, the area shape of the shooting control area is matched with the area shape of the goal area; the touch point position of the second operation touch point is located at the center of the shooting control area. In this way, the shooting control area is matched with the goal area, and the shooting control area is located at the center of the goal area, so that the player can easily adjust the shooting result. Figure 3In the above manner, when the rocker control is switched to the shooting control region, the player's left-hand finger does not need to change the contact position, and the player can perform the related operation in the shooting control region, thus having high operation convenience.

[0053] In the above manner, when the rocker control is switched to the shooting control region, the player's left-hand finger does not need to change the contact position, and the player can perform the related operation in the shooting control region, thus having high operation convenience.

[0054] In order to improve the operation convenience of the player, the shooting control region can also be adjusted in size to be more in line with the operation habit of the player. In one manner, the size of the shooting control region is adjusted in response to a size adjustment operation on the shooting control region; wherein the region shape of the shooting control region and the goal region is a rectangle; the aspect ratio of the shooting control region and the goal region is the same; and the aspect ratio of the shooting control region is unchanged during the adjustment of the size of the shooting control region.

[0055] The size adjustment operation can be that the length or width of the shooting control region is input through a size input control, or the shooting control region is pressed and then a sliding operation is performed, so that the size of the shooting control region changes with the movement of the contact of the sliding operation. In this manner, the shape of the shooting control region and the goal region is the same, that is, a rectangle, and the aspect ratio of the shooting control region and the goal region is the same, so that the position of the first operation contact of the player in the shooting control region directly indicates the position of the virtual ball that the player expects to be shot into the goal region. At the same time, the size of the shooting control region is unchanged during the adjustment, or in other words, during the size adjustment operation of the player, that is, the shape of the shooting control region is always the same as that of the goal region during the change of the size of the shooting control region. This manner can realize that the shape of the shooting control region is the same as that of the goal region, and the player can accurately indicate the shooting position of the virtual ball by operating the shooting control region.

[0056] In other manners, the position of the contact position of the second operation contact in the shooting control region can be determined according to the relative position of the controlled virtual object and the goal region. For example, the controlled virtual object moves to the left side of the goal region, and at this time, the contact position of the second operation contact is located on the left side of the shooting control region when the shooting control region is displayed.

[0057] In another mode, in response to the first trigger operation for the shooting control, the control display position of the moving joystick is determined in the case that the moving joystick is not triggered by the trigger operation; the moving joystick is hidden, and the shooting control area is displayed at the control display position. When the first trigger operation is performed, the left-hand finger of the player can be away from the touch screen, so the moving joystick is not triggered. At this time, the area display position of the shooting control area is determined based on the control display position of the moving joystick. Specifically, the center position of the moving joystick can be acquired, and the center position is determined as the center position of the shooting control area, and then the shooting control area is displayed.

[0058] In order to improve the accuracy of the display of the shooting control area, a certain display condition can also be set. When the first trigger operation for the shooting control is performed, and the preset display condition is met, the shooting control area is displayed. Specifically, in response to the first trigger operation for the shooting control, it is determined whether the preset display condition is met; the preset display condition is determined based on the object position of the controlled virtual object and / or the trigger state of the moving joystick; and if the preset display condition is met, the moving joystick is switched to be displayed as the shooting control area.

[0059] In one mode, the preset display condition is determined based on the object position of the controlled virtual object. For example, it is determined whether the controlled virtual object is located in the vicinity of the goal area. If the controlled virtual object is located within the preset range of the goal area, the preset display condition is met. In another mode, the preset display condition is determined based on the trigger state of the moving joystick. For example, the trigger state can be whether the moving joystick is triggered, or the trigger position of the moving joystick. The trigger state of the moving joystick can determine the movement state of the controlled virtual object, such as the movement speed, the movement direction, etc. In one example, when the controlled virtual object moves and moves towards the goal area, the player can perform a shooting operation. Based on this, when the trigger state of the moving joystick meets the preset display condition, it can be considered that the player can perform a shooting operation. At this time, when the first trigger operation for the shooting control is performed, the moving joystick is switched to be displayed as the shooting control area.

[0060] In addition, the preset display condition can include multiple conditions. For example, the first sub-condition determined based on the object position of the controlled virtual object, and the second sub-condition determined based on the trigger state of the moving joystick. When the first sub-condition and the second sub-condition are met at the same time, the moving joystick is switched to be displayed as the shooting control area.

[0061] In one specific implementation, the game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; the moving joystick control includes a moving joystick and a moving control region; the preset display condition includes: the object position of the controlled virtual object is located in the away half, and the moving joystick is located in a specified sub-region in the moving control region; the specified sub-region is used to control the controlled virtual object to move towards a goal area of the away half.

[0062] When the moving joystick is located in the specified sub-region, the object moving direction of the controlled virtual object is the direction of the goal area of the away half, or the object moving direction is close to the direction of the goal area of the away half.

[0063] In the above manner, when the object position of the controlled virtual object is located in the away half, the shooting operation can be effectively performed; if the first trigger operation of the shooting control is performed when the object position of the controlled virtual object is located in the home half, the player triggers the shooting control, which may be a false trigger or just a big foot clearance to kick the virtual ball out of the danger zone, and is not intended to perform the shooting operation. Therefore, if the object position of the controlled virtual object is located in the home half, the shooting control region is not displayed when the first trigger operation of the shooting control is performed.

[0064] In addition, for the moving joystick control, a specified sub-region in the moving control region is preset; since the moving joystick control can control the moving direction of the controlled virtual object, when the moving joystick is located in the specified sub-region, it can be understood that the controlled virtual object is moving towards the goal area. In actual implementation, a direction difference range can be preset, and during the game session, the relative direction of the goal area relative to the controlled virtual object is obtained, and based on the relative direction and the direction difference range, the direction range of the object moving direction is determined, and then the specified sub-region in the moving control region is determined based on the direction range.

[0065] As an example, the relative direction of the goal area relative to the controlled virtual object is the positive direction of the Y axis, and the direction difference range is 30 degrees, so the direction range of the object moving direction is 30 degrees left of the positive direction of the Y axis to 30 degrees right of the positive direction of the Y axis, that is, as long as the object moving direction of the controlled virtual object is within the direction range, it can be considered that the controlled virtual object is moving towards the goal area. Therefore, the control region for controlling the controlled virtual object to move within the direction range is the aforementioned specified sub-region.

[0066] If the moving joystick is located in the specified sub-region, the shooting control region is displayed when the first trigger operation of the shooting control is performed; if the moving joystick is not located in the specified sub-region, it indicates that the controlled virtual object is not moving towards the goal area, and the shooting control region is displayed when the first trigger operation of the shooting control is performed.

[0067] Figure 4 As an example, when the mobile joystick is located in the specified sub-region, the controlled virtual object moves towards the right goal area, at this time, if the player performs the first trigger operation for the shooting control, the shooting control area is displayed. It can be understood that if the goal area is located on the left side, the specified sub-region is also located in the left half of the movement control area.

[0068] In other possible manners, whether to display the shooting control area can also be determined according to the object state of the controlled virtual object. Specifically, in response to the first trigger operation for the shooting control, the object state of the controlled virtual object in the game scene is determined; wherein the object state includes the object position and / or the object moving direction; if the object state satisfies the preset state condition, the mobile joystick control is switched to display the shooting control area. It can be understood that the object state can be one of the object position or the object moving direction, or can include both the object position and the object moving direction. The preset state condition can be determined based on the object position only, for example, if the object position is located within a preset position range, after the first trigger operation for the shooting control is performed, the shooting control area is displayed; the preset state condition can also be determined based on the object moving direction only, for example, if the object moving direction belongs to a preset direction range, after the first trigger operation for the shooting control is performed, the shooting control area is displayed; or the preset state condition can also be determined based on both the object position and the object moving direction, when the object position and the object moving direction of the controlled virtual object both satisfy the preset state condition, after the first trigger operation for the shooting control is performed, the shooting control area is displayed.

[0069] In a specific example, the game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; if the object position of the controlled virtual object is located in the away half, and the object moving direction of the controlled virtual object satisfies the preset direction condition, the mobile joystick control is switched to display the shooting control area; wherein the preset direction condition includes that the direction difference between the object moving direction of the controlled virtual object and the reference direction is located within a preset direction difference range; the reference direction includes the direction of the line connecting the controlled virtual object and the region center of the goal area of the away half.

[0070] First, with respect to the controlled virtual object, the above-mentioned line direction, i.e., the reference direction, is the direction of the goal area, and the direction difference between the object moving direction and the reference direction is located within the direction difference range, which can be understood as that the object moving direction is close to the reference direction, or in other words, the object moving direction of the controlled virtual object is the direction of the goal area.

[0071] In this mode, when the controlled virtual object is located in the opponent's half court and the object moving direction is similar to the relative direction of the goal area relative to the controlled virtual object, it indicates that the player has the intention to shoot and will perform an effective shooting operation. At this time, after the first trigger operation of the shooting control is performed, the shooting control area is displayed. The above direction difference range can be pre-set. During the game session, the object moving direction and the relative direction of the goal area relative to the controlled virtual object are obtained in real time, and then the direction difference between the two is calculated. If the direction difference is within the direction difference range, it indicates that the controlled virtual object is moving towards the goal area.

[0072] The following embodiments continue to describe the operation mode of the shooting control area and the implementation manner of determining the shooting result based on the operation touch point in the shooting control area.

[0073] In response to the sliding operation on the shooting control area, the operation touch point of the sliding operation is determined as the first operation touch point. Generally, since the shooting control area is displayed by switching the mobile joystick control, the shooting control area is mostly displayed in the left region of the graphical user interface and is controlled by the left hand finger of the player. The mobile joystick control is usually controlled by the sliding operation of the left hand finger of the player. After the mobile joystick control is switched to display the shooting control area, the sliding operation in the shooting control area can also be performed by the left hand finger. When the sliding operation is performed, multiple operation touch points generated in the execution process of the sliding operation can be recorded as the first operation touch point, or the operation touch point at the end of the sliding operation can be recorded as the first operation touch point. Alternatively, when the second trigger operation of the shooting control is performed, the operation touch point of the sliding operation at this time is determined as the first operation touch point.

[0074] The above first operation touch point will affect the shooting result of the virtual ball. The specific implementation manner is described below.

[0075] In one manner, in response to the second trigger operation of the shooting control, the controlled virtual object performs a shooting action; based on the touch point position of the first operation touch point in the shooting control area, a target shooting position on the plane where the goal area is located is determined; and based on the target shooting position, the flight direction of the virtual ball is determined.

[0076] The second trigger operation of the shooting control can be specifically a finger lifting operation on the shooting control. In the foregoing embodiment, the first trigger operation of the shooting control can be a finger pressing operation on the shooting control. After the right hand finger of the player presses the shooting control, the mobile joystick control is switched to display the movement control area, and the left hand finger can perform a sliding operation in the movement control area. After the right hand finger lifts from the shooting control, the shooting operation is started.

[0077] As can be seen from the foregoing embodiments, the shooting control region matches the goal region, and thus each position in the shooting control region has a one-to-one corresponding relationship with each position in the goal region. Based on this, the target shooting position of the virtual sphere moving to the goal region can be uniquely determined according to the touch position of the first operation touch point in the shooting control region. For example, if the current touch position is located at the upper left corner of the shooting control region, the target shooting position is the upper left corner of the goal region; for another example, if the current touch position is located at the lower right corner of the shooting control region, the target shooting position is the lower right corner of the goal region. Then, the direction of the target shooting position relative to the controlled virtual object can be determined as the flight direction of the virtual sphere, or a virtual movement trajectory can be generated between the controlled virtual object and the target shooting position, which can be a straight line or a curve, and then the tangent direction of the virtual movement trajectory at the position of the controlled virtual object is taken as the initial flight direction of the virtual sphere.

[0078] In a specific implementation, the relative position of the first operation touch point to the shooting control region is the same as the relative position of the target shooting position to the goal region. As an example, a UV coordinate system A can be established on the shooting control region, and a UV coordinate system B can also be established on the goal region. The relative position of the first operation touch point to the shooting control region can be expressed by the coordinates a of the first operation touch point in the UV coordinate system A, and the relative position of the target shooting position to the goal region can be expressed by the coordinates b of the target shooting position in the UV coordinate system B. When the coordinates a are the same as the coordinates b, the relative position of the first operation touch point to the shooting control region is the same as the relative position of the target shooting position to the goal region.

[0079] In determining the flight direction of the virtual sphere, a specific implementation is that a first movement component of the virtual sphere on the plane where the goal region is located is determined based on the target shooting position and the object position of the controlled virtual object; a second movement component of the virtual sphere in the normal direction of the plane is determined based on a preset specified operation parameter; the movement trajectory of the virtual sphere in the game scene is determined based on the first movement component and the second movement component, and the flight direction of the virtual sphere is determined based on the movement trajectory.

[0080] In determining the first movement component, the object position of the controlled virtual object can be projected onto the plane where the goal region is located to obtain an object projection position. At this time, the object projection position and the target shooting position are both on the plane where the goal region is located, and a two-dimensional movement trajectory, i.e., the first movement component, is generated between the object projection position and the target shooting position on the plane. The two-dimensional movement trajectory can be a straight line or a curve.

[0081] In determining the second motion component, the shooting strength parameter, the shooting action of the controlled virtual object, and the like can be referred to. The second motion component is a component in the normal direction of the plane on which the goal area is located in the three-dimensional space of the game scene.

[0082] Specifically, the specified operation parameter includes: a strength parameter for controlling the shooting strength of the virtual sphere; and / or an attribute parameter related to the shooting action of the controlled virtual object.

[0083] The specified operation parameter can include both the strength parameter and the attribute parameter, or only one of the strength parameter or the attribute parameter. The strength parameter can be used to control the shooting strength of the controlled virtual object when shooting. When the shooting strength is different, the second motion component is also different. In one example, the strength parameter can be controlled by the operation time length of the first operation contact in the shooting control area. The longer the operation time length, the greater the strength parameter, and the greater the shooting strength of the virtual sphere. Of course, the strength parameter can also be realized by other operation controls.

[0084] The attribute parameter related to the shooting action of the controlled virtual object can be set by the player in advance. The attribute parameter related to the shooting control can be used to control the dominant foot of the controlled virtual object when shooting. For example, the attribute value of the left foot of the controlled virtual object is 3, and the attribute value of the right foot is 7. At this time, the dominant foot of the controlled virtual object is the right foot.

[0085] The first motion component and the second motion component control different dimension motion components in the three-dimensional space. By combining the first motion component and the second motion component, the motion trajectory of the virtual sphere can be uniquely determined in the game scene. It should be noted that if the virtual sphere is not intercepted during shooting, the virtual sphere will move along the motion trajectory to the target shooting position. If it is intercepted, it will not usually reach the target shooting position. After the motion trajectory of the virtual sphere is determined, the tangent direction of the motion trajectory at the position of the controlled virtual object is the initial flight direction of the virtual sphere.

[0086] Figure 5 As an example, the first operation contact moves from the middle position of the shooting control area to the upper left of the shooting control area. At this time, the first operation contact is located at the upper left of the shooting control area, and the target shooting position is also located at the upper left of the goal area. It can be understood that the target shooting position is located on the plane on which the goal area is located. However, during the movement of the virtual sphere, after the virtual sphere reaches the target shooting position, it will continue to move, for example, continue to move towards the inside of the goal, and then be interacted by the goal net and stop moving.

[0087] Figure 6As another example, the first operating contact point moves from the middle of the shooting control area to the lower right of the shooting control area. At this time, the first operating contact point is located in the lower right of the shooting control area, and therefore the target shooting position is also located in the lower right of the goal area. It can be understood that the target shooting position is located on the plane of the goal area, but during the movement of the virtual ball, after the virtual ball reaches the target shooting position, it will usually continue to move, for example, continue to move into the goal, and may be interacted with by the goal net and stop moving.

[0088] In addition, if no sliding operation is triggered in the shooting control area before the second trigger operation for the shooting control is executed, or if the contact position of the first operation contact point changes only slightly, it can be assumed that the player's left hand has not performed any shooting-related auxiliary operation. In this case, if the player executes the second trigger operation for the shooting control, the shooting operation will be controlled in accordance with the relevant technology.

[0089] Furthermore, in response to the second trigger operation for the shooting control, the shooting control area is switched to display as a movement joystick control, and the trigger state of the movement joystick is set based on the touch point position in the display area of ​​the movement joystick control.

[0090] The second trigger operation for the shooting control can be a finger-lifting action, where the player releases the shooting control. At this point, the shooting action is complete, and the shooting control area switches to displaying the joystick control. If the player's left-hand finger remains on the touchscreen, the joystick's position is determined based on the finger's touch point; for example, the joystick is displayed at or near the finger's touch point. If the player's left-hand finger is not on the touchscreen, the joystick remains untriggered.

[0091] like Figure 7 In the game, after the player releases the shooting control with their right hand, the left side of the screen switches the shooting control area to display a movement joystick control, and the position of the movement joystick is displayed according to the position of the left hand's touch point.

[0092] It should also be noted that if the first trigger operation for the shooting control is executed, and the shooting control area is displayed in the graphical user interface, but the second trigger operation for the shooting control is not executed, but the shooting operation is cancelled, the shooting control area will switch back to the movement joystick control.

[0093] like Figure 8 and Figure 9 In the game, when the player presses the shoot control with their right finger, the joystick control on the left side of the graphical user interface switches to the shoot control area; then, when the right finger slides from the shoot control to other controls, the shoot control area switches back to the joystick control.

[0094] In this way, when the player performs the shooting operation, the left and right hands can cooperate to complete the shooting, improving the balance of the left and right hands during shooting, allowing the left hand to have more play space during the shooting operation, and greatly improving the shooting accuracy of the player during shooting.

[0095] Corresponding to the method embodiment, referring to Figure 10 The terminal device provides a graphical user interface, and the graphical user interface includes a scene picture of a game scene, and the game scene includes a controlled virtual object; the controlled virtual object is controlled through the terminal device; the graphical user interface further includes a movement joystick control and a shooting control; the device includes:

[0096] The movement control module 1002 is configured to control the movement of the controlled virtual object and control the virtual ball to move with the controlled virtual object in response to a trigger operation on the movement joystick control.

[0097] The switching display module 1004 is configured to switch the display of the movement joystick control to a shooting control area in response to a first trigger operation on the shooting control; the shooting control area is matched with a goal area in the game scene; and the shooting control area is configured to collect a first operation touch point of a specified operation on the shooting control area.

[0098] The shooting control module 1006 is configured to control the controlled virtual object to perform a shooting action in response to a second trigger operation on the shooting control, and determine a flight direction of the virtual ball based on a touch point position of the first operation touch point in the shooting control area; the touch point position includes a current position or a historical movement position of the first operation touch point when the second trigger operation is performed.

[0099] The operation control device of the game provides a graphical user interface through the terminal device, the graphical user interface includes a scene picture of a game scene, and the game scene includes a controlled virtual object; the controlled virtual object is controlled through the terminal device; the graphical user interface further includes a moving joystick control and a shooting control; in response to a triggering operation on the moving joystick control, the controlled virtual object is controlled to move, and a virtual ball is controlled to move along with the controlled virtual object; in response to a first triggering operation on the shooting control, the moving joystick control is switched to display a shooting control area; the shooting control area matches a goal area in the game scene; the shooting control area is used to collect a first operation touch point of a specified operation on the shooting control area; in response to a second triggering operation on the shooting control, the controlled virtual object is controlled to perform a shooting action, and a flight direction of the virtual ball is determined based on a touch point position of the first operation touch point in the shooting control area; the touch point position includes a current position or a historical moving position of the first operation touch point when the second triggering operation is performed. In this way, after the shooting control is triggered, the moving joystick control is switched to the shooting control area, and the player can adjust the shooting result by operating the shooting control area; the player's hands can be used to control the shooting operation together, the accuracy of the shooting operation is improved, and the game experience of the player is improved.

[0100] The switching display module is further configured to: in response to the first triggering operation on the shooting control, determine a second operation touch point on the moving joystick control; stop displaying the moving joystick control, and display the shooting control area at a touch point position of the second operation touch point.

[0101] The area shape of the shooting control area matches the area shape of the goal area, and the touch point position of the second operation touch point is located at the area center of the shooting control area.

[0102] The device further includes a size adjusting module configured to: in response to a size adjusting operation on the shooting control area, adjust the area size of the shooting control area; the area shape of the shooting control area and the goal area is rectangular; the aspect ratio of the shooting control area and the goal area is the same; and the aspect ratio of the shooting control area remains unchanged during the adjustment of the area size of the shooting control area.

[0103] The switching display module is further configured to: in response to the first triggering operation on the shooting control, determine a control display position of the moving joystick control when the moving joystick control is not triggered; stop displaying the moving joystick control, and display the shooting control area at the control display position.

[0104] The switching display module is further configured to: in response to a first trigger operation on the shooting control, determine whether a preset display condition is met; the preset display condition is determined based on an object position of the controlled virtual object and / or a trigger state of the movement joystick control; and if the preset display condition is met, switch the movement joystick control to be displayed as a shooting control area.

[0105] The game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; the movement joystick control includes a movement joystick and a movement control area; and the preset display condition includes that the object position of the controlled virtual object is located in the away half and the movement joystick is located in a specified sub-area in the movement control area, and the specified sub-area is used to control the controlled virtual object to move to a goal area of the away half.

[0106] The switching display module is further configured to: in response to a first trigger operation on the shooting control, determine an object state of the controlled virtual object in the game scene; the object state includes an object position and / or an object movement direction; and if the object state meets a preset state condition, switch the movement joystick control to be displayed as a shooting control area.

[0107] The game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; and the switching display module is further configured to: if the object position of the controlled virtual object is located in the away half and the object movement direction of the controlled virtual object meets a preset direction condition, switch the movement joystick control to be displayed as a shooting control area; the preset direction condition includes that a direction difference between the object movement direction of the controlled virtual object and a reference direction is located in a preset direction difference range; and the reference direction includes a direction of a line connecting the controlled virtual object and a region center of a goal area of the away half.

[0108] The device further includes a sliding operation module configured to: in response to a sliding operation on the shooting control area, determine an operation touch point of the sliding operation as a first operation touch point.

[0109] The shooting control module is further configured to: in response to a second trigger operation on the shooting control, control the controlled virtual object to perform a shooting action; determine a target shooting position on a plane on which the goal area is located based on a touch point position of the first operation touch point in the shooting control area; and determine a flight direction of the virtual ball based on the target shooting position.

[0110] The relative position between the first operation touch point and the shooting control area is the same as a relative position between the target shooting position and the goal area.

[0111] The shot control module is further configured to: determine a first movement component of the virtual ball on a plane where the goal area is located based on the target shot location and the object location of the controlled virtual object; determine a second movement component of the virtual ball in a normal direction of the plane based on a preset specified operation parameter; determine a movement trajectory of the virtual ball in the game scene based on the first movement component and the second movement component, and determine a flight direction of the virtual ball based on the movement trajectory.

[0112] The specified operation parameter includes: a strength parameter for controlling the strength of the shot of the virtual ball; and / or an attribute parameter related to the execution of the shot action of the controlled virtual object.

[0113] The device further includes a control display module configured to: in response to a second trigger operation on the shot control, switch the shot control region to display as a movement joystick control, and set a trigger state of the movement joystick control based on a touch position in a display region of the movement joystick control.

[0114] The embodiment also provides an electronic device including a processor and a memory, the memory storing machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the operation control method of the game. The electronic device can be a server or a terminal device.

[0115] Referring to Figure 11 The electronic device includes a processor 100 and a memory 101, the memory 101 storing machine executable instructions capable of being executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the operation control method of the game.

[0116] Further, Figure 11 The electronic device shown also includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103 and the memory 101 are connected through the bus 102.

[0117] The memory 101 can include a high-speed random access memory (RAM) and can also include a non-volatile memory such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless), and the Internet, a wide area network, a local area network, a metropolitan area network, etc. can be used. The bus 102 can be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 11 Only one bidirectional arrow is used in the figure to represent only one bus or one type of bus.

[0118] The processor 100 can be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor 100 or the instruction in the form of software. The processor 100 described above can be a general processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Each method, step and logic block disclosed in the embodiments of the present disclosure can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in combination with the embodiments of the present disclosure can be directly embodied as a hardware code processor for execution, or a combination of hardware and software modules in the code processor for execution. The software module can be located in a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register or other mature storage medium in the art. The storage medium is located in the storage 101, and the processor 100 reads the information in the storage 101, and combines the hardware to complete the steps of the method of the above embodiments.

[0119] The processor in the above electronic device can implement the following operations in the game operation control method by executing machine executable instructions:

[0120] A graphical user interface is provided by a terminal device, the graphical user interface including a scene picture of a game scene, the game scene including a controlled virtual object; the controlled virtual object is controlled by the terminal device; the graphical user interface further includes a movement joystick control and a shooting control; in response to a triggering operation on the movement joystick control, the controlled virtual object is controlled to move, and a virtual ball is controlled to move following the controlled virtual object; in response to a first triggering operation on the shooting control, the movement joystick control is switched to display a shooting control area; the shooting control area matches a goal area in the game scene; the shooting control area is used to collect a first operation touch point of a specified operation on the shooting control area; in response to a second triggering operation on the shooting control, the controlled virtual object is controlled to perform a shooting action, and a flight direction of the virtual ball is determined based on a touch point position of the first operation touch point in the shooting control area; the touch point position includes a current position or a historical movement position of the first operation touch point when the second triggering operation is performed.

[0121] In response to the first triggering operation on the shooting control, a second operation touch point on the movement joystick control is determined; the movement joystick control is cancelled, and the shooting control area is displayed at a touch point position of the second operation touch point.

[0122] The area shape of the shooting control area matches the area shape of the goal area; the touch point position of the second operation touch point is located at the area center of the shooting control area.

[0123] In response to a size adjustment operation on the shooting control area, the area size of the shooting control area is adjusted; the area shape of the shooting control area and the goal area is rectangular; the aspect ratio of the shooting control area and the goal area is the same; during the adjustment of the area size of the shooting control area, the aspect ratio of the shooting control area remains unchanged.

[0124] In response to the first triggering operation on the shooting control, in a case where the movement joystick control is not triggered, a control display position of the movement joystick control is determined; the movement joystick control is cancelled, and the shooting control area is displayed at the control display position.

[0125] In response to the first triggering operation on the shooting control, it is determined whether a preset display condition is met; the preset display condition is determined based on an object position of the controlled virtual object and / or a triggering state of the movement joystick control; if the preset display condition is met, the movement joystick control is switched to display the shooting control area.

[0126] The game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; the moving joystick control includes a moving joystick and a moving control area; the preset display condition includes that an object position of the controlled virtual object is located in the away half, and the moving joystick is located in a specified sub-area in the moving control area, and the specified sub-area is used to control the controlled virtual object to move to a goal area of the away half.

[0127] In response to a first trigger operation on the shooting control, an object state of the controlled virtual object in the game scene is determined; the object state includes an object position and / or an object moving direction; if the object state satisfies a preset state condition, the moving joystick control is switched to display as a shooting control area.

[0128] The game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; if an object position of the controlled virtual object is located in the away half, and an object moving direction of the controlled virtual object satisfies a preset direction condition, the moving joystick control is switched to display as a shooting control area; the preset direction condition includes that a direction difference between the object moving direction of the controlled virtual object and a reference direction is located in a preset direction difference range; the reference direction includes a direction of a line connecting the controlled virtual object and a region center of a goal area of the away half.

[0129] In response to a sliding operation on the shooting control area, an operation touch point of the sliding operation is determined as a first operation touch point.

[0130] In response to a second trigger operation on the shooting control, the controlled virtual object is controlled to perform a shooting action; based on a touch point position of the first operation touch point in the shooting control area, a target shooting position is determined on a plane where the goal area is located; based on the target shooting position, a flight direction of a virtual ball is determined.

[0131] A relative position of the first operation touch point and the shooting control area is the same as a relative position of the target shooting position and the goal area.

[0132] Based on the target shooting position and an object position of the controlled virtual object, a first motion component of the virtual ball on the plane where the goal area is located is determined; based on a preset specified operation parameter, a second motion component of the virtual ball in a normal direction of the plane is determined; based on the first motion component and the second motion component, a motion trajectory of the virtual ball in the game scene is determined, and based on the motion trajectory, the flight direction of the virtual ball is determined.

[0133] The above specified operation parameter includes a strength parameter used to control a shooting strength of the virtual ball; and / or, an attribute parameter related to the controlled virtual object and the shooting action.

[0134] In response to a second triggering operation on the shooting control, the shooting control region is switched to display as a moving joystick control, and a triggering state of the moving joystick control is set based on a touch point position in a display region of the moving joystick control.

[0135] In the above manner, after the shooting control is triggered, the moving joystick control is switched to the shooting control region, and the player can adjust the shooting result by operating the shooting control region; this manner can realize the player's double-hand control of the shooting operation, improve the accuracy of the shooting operation, and improve the player's game experience.

[0136] The embodiment also provides a machine-readable storage medium storing machine-executable instructions, and the machine-executable instructions cause a processor to implement the operation control method of the game when the machine-executable instructions are invoked and executed by the processor.

[0137] The machine-executable instructions stored in the above machine-readable storage medium can implement the following operation in the operation control method of the game by executing the machine-executable instructions:

[0138] A graphical user interface is provided by a terminal device, the graphical user interface includes a scene picture of a game scene, and the game scene includes a controlled virtual object; the controlled virtual object is controlled by the terminal device; the graphical user interface also includes a moving joystick control and a shooting control; in response to a triggering operation on the moving joystick control, the controlled virtual object is controlled to move, and a virtual ball is controlled to move along with the controlled virtual object; in response to a first triggering operation on the shooting control, the moving joystick control is switched to display as a shooting control region; the shooting control region matches a goal region in the game scene; the shooting control region is used to: collect a first operation touch point of a specified operation on the shooting control region; in response to a second triggering operation on the shooting control, the controlled virtual object is controlled to perform a shooting action, and a flight direction of the virtual ball is determined based on a touch point position of the first operation touch point in the shooting control region; the touch point position includes: a current position or a historical movement position of the first operation touch point when the second triggering operation is performed.

[0139] In response to the first triggering operation on the shooting control, a second operation touch point on the moving joystick control is determined; the moving joystick control is canceled from display, and the shooting control region is displayed at the touch point position of the second operation touch point.

[0140] The region shape of the shooting control region matches the region shape of the goal region; and the touch point position of the second operation touch point is located at the region center of the shooting control region.

[0141] In response to a size adjustment operation for the shooting control region, the size of the shooting control region is adjusted; wherein the shooting control region and the goal region have a rectangular shape; the shooting control region and the goal region have the same aspect ratio; during the adjustment of the size of the shooting control region, the aspect ratio of the shooting control region remains unchanged.

[0142] In response to a first trigger operation for the shooting control, in the case where the mobile joystick control is not triggered, the display position of the mobile joystick control is determined; the mobile joystick control is hidden, and the shooting control region is displayed at the display position.

[0143] In response to a first trigger operation for the shooting control, it is determined whether a preset display condition is met; wherein the preset display condition is determined based on the object position of the controlled virtual object and / or the trigger state of the mobile joystick control; if the preset display condition is met, the mobile joystick control is switched to display as a shooting control region.

[0144] The game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; the mobile joystick control includes a mobile joystick and a mobile control region; the preset display condition includes: the object position of the controlled virtual object is located in the away half, and the mobile joystick is located in a specified sub-region in the mobile control region, and the specified sub-region is used to control the controlled virtual object to move to the goal region of the away half.

[0145] In response to a first trigger operation for the shooting control, the object state of the controlled virtual object in the game scene is determined; wherein the object state includes the object position and / or the object moving direction; if the object state meets the preset state condition, the mobile joystick control is switched to display as a shooting control region.

[0146] The game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; if the object position of the controlled virtual object is located in the away half, and the object moving direction of the controlled virtual object meets the preset direction condition, the mobile joystick control is switched to display as a shooting control region; wherein the preset direction condition includes: the direction difference between the object moving direction of the controlled virtual object and the reference direction is within the preset direction difference range; the reference direction includes: the direction of the line connecting the controlled virtual object and the region center of the goal region of the away half.

[0147] In response to a sliding operation on the shooting control region, the operation touch point of the sliding operation is determined as a first operation touch point.

[0148] In response to a second trigger operation for the shooting control, the controlled virtual object is controlled to perform a shooting action; based on the touch point position of the first operation touch point in the shooting control region, a target shooting position is determined on the plane where the goal region is located; based on the target shooting position, the flight direction of the virtual ball is determined.

[0149] The relative position of the first operation contact and the shooting control region is the same as the relative position of the target shooting position and the goal region.

[0150] Based on the target shooting position and the object position of the controlled virtual object, a first motion component of the virtual sphere in a plane where the goal region is located is determined; based on a preset specified operation parameter, a second motion component of the virtual sphere in a normal direction of the plane is determined; based on the first motion component and the second motion component, a motion trajectory of the virtual sphere in the game scene is determined, and a flight direction of the virtual sphere is determined based on the motion trajectory.

[0151] The specified operation parameter includes: a strength parameter for controlling the shooting strength of the virtual sphere; and / or, an attribute parameter related to the execution of the shooting action of the controlled virtual object.

[0152] In response to the second trigger operation on the shooting control, the shooting control region is switched to display as a moving joystick control, and a trigger state of the moving joystick control is set based on a contact position in a display region of the moving joystick control.

[0153] In the above manner, after the shooting control is triggered, the moving joystick control is switched to the shooting control region, and the player can adjust the shooting result by operating the shooting control region; this manner can realize the common control of the shooting operation by the two hands of the player, improve the accuracy of the shooting operation, and improve the game experience of the player.

[0154] The game operation control method and device and the computer program product of the electronic device provided in the embodiments of the present disclosure include a machine-readable storage medium storing program codes, the program codes include instructions for executing the method described in the foregoing method embodiments, and the specific implementation can be referred to the method embodiments, which will not be described herein.

[0155] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the foregoing method embodiments, which will not be described herein.

[0156] In addition, in the description of the embodiments of the present disclosure, unless explicitly specified and limited, the terms "mounting", "connection", "connecting" should be understood in a broad sense, for example, can be fixed connection, can also be detachable connection, or integral connection; can be mechanical connection, can also be electrical connection; can be direct connection, can also be indirect connection through an intermediate medium, can be the communication inside two elements. For those skilled in the art, the specific meaning of the above terms in the present disclosure can be understood according to the specific circumstances.

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

[0158] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer" and the like indicate the orientation or positional relationship shown in the drawings, and are only for the purpose of facilitating the description of the present disclosure and simplifying the description, and do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present disclosure. In addition, the terms "first", "second", "third" are only for the purpose of description, and cannot be understood as indicating or implying relative importance.

[0159] Finally, it should be noted that: the above embodiments are only specific embodiments of the present disclosure, used to illustrate the technical solutions of the present disclosure, and not to limit them, the protection scope of the present disclosure is not limited thereto, although the present disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand: any person skilled in the art within the technical range disclosed by the present disclosure, they can still modify or easily think of changes to the technical solutions recorded in the foregoing embodiments, 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 disclosure, and all should be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.

Claims

1. A method of operating control of a game, characterized by, A terminal device provides a graphical user interface, the graphical user interface includes a scene picture of a game scene, the game scene includes a controlled virtual object, the controlled virtual object is controlled by the terminal device, the graphical user interface further includes a movement joystick control and a shooting control, and the method includes: In response to a triggering operation on the movement joystick control, the controlled virtual object is controlled to move, and a virtual ball is controlled to move following the controlled virtual object; In response to a first triggering operation on the shooting control, the movement joystick control is switched to be displayed as a shooting control area, the shooting control area matches a goal area in the game scene, and the shooting control area is used to collect a first operation touch point of a specified operation on the shooting control area; The step of switching the movement joystick control to be displayed as the shooting control area in response to the first triggering operation on the shooting control includes: in response to the first triggering operation on the shooting control, determining whether a preset display condition is met, the preset display condition is determined based on an object position of the controlled virtual object and / or a triggering state of the movement joystick control, and if the preset display condition is met, the movement joystick control is switched to be displayed as the shooting control area; In response to a second triggering operation on the shooting control, the controlled virtual object is controlled to perform a shooting action, and a flight direction of the virtual ball is determined based on a touch point position of the first operation touch point in the shooting control area, the touch point position includes a current position or a historical movement position of the first operation touch point when the second triggering operation is performed.

2. The method of claim 1, wherein, The step of switching the movement joystick control to be displayed as the shooting control area in response to the first triggering operation on the shooting control includes: In response to the first triggering operation on the shooting control, a second operation touch point on the movement joystick control is determined; The movement joystick control is hidden, and the shooting control area is displayed at the touch point position of the second operation touch point.

3. The method of claim 2, wherein, An area shape of the shooting control area matches an area shape of the goal area. A touch point position of the second operation touch point is located at an area center of the shooting control area.

4. The method of claim 3, wherein, The method further includes: In response to a size adjustment operation on the shooting control area, an area size of the shooting control area is adjusted, the area shapes of the shooting control area and the goal area are rectangles, and the aspect ratios of the shooting control area and the goal area are the same; During the adjustment of the area size of the shooting control area, the aspect ratio of the shooting control area is unchanged.

5. The method of claim 1, wherein, The step of switching the movement joystick control to be displayed as the shooting control area in response to the first triggering operation on the shooting control includes: In response to the first triggering operation on the shooting control, a control display position of the movement joystick control is determined when the movement joystick control is not triggered; The movement joystick control is hidden, and the shooting control area is displayed at the control display position.

6. The method of claim 1, wherein, The game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; the mobile joystick control includes a mobile joystick and a mobile control area; The preset display condition includes: the object position of the controlled virtual object is located in the away half, and the mobile joystick is located in a specified sub-area in the mobile control area, the specified sub-area is used to control the controlled virtual object to move to the goal area of the away half.

7. The method of claim 1, wherein, In response to a first trigger operation on the shooting control, the step of switching the mobile joystick control to display as a shooting control area includes: In response to a first trigger operation on the shooting control, determining an object state of the controlled virtual object in the game scene; wherein the object state includes an object position and / or an object movement direction; If the object state meets a preset state condition, the mobile joystick control is switched to display as a shooting control area.

8. The method of claim 7, wherein, The game scene includes a virtual soccer field; the virtual soccer field includes a home half and an away half; The step of switching the mobile joystick control to display as a shooting control area if the object state meets a preset state condition includes: If the object position of the controlled virtual object is located in the away half, and the object movement direction of the controlled virtual object meets a preset direction condition, the mobile joystick control is switched to display as a shooting control area; Wherein, the preset direction condition includes: the direction difference between the object movement direction of the controlled virtual object and the reference direction is within a preset direction difference range; the reference direction includes: the direction of the line connecting the controlled virtual object and the region center of the goal area of the away half.

9. The method of claim 1, wherein, In response to a second trigger operation on the shooting control, controlling the controlled virtual object to perform a shooting action, before the step of determining the flight direction of the virtual ball based on the touch point position of the first operation touch point in the shooting control area, the method further includes: In response to a sliding operation on the shooting control area, determining the operation touch point of the sliding operation as the first operation touch point.

10. The method of claim 1, wherein, In response to a second trigger operation on the shooting control, controlling the controlled virtual object to perform a shooting action, before the step of determining the flight direction of the virtual ball based on the touch point position of the first operation touch point in the shooting control area, the method further includes: In response to a second trigger operation on the shooting control, controlling the controlled virtual object to perform a shooting action; Based on the touch point position of the first operation touch point in the shooting control area, determining a target shooting position on the plane where the goal area is located; Based on the target shooting position, determining the flight direction of the virtual ball.

11. The method of claim 10, wherein: The relative position of the first operation touch point and the shooting control area is the same as the relative position of the target shooting position and the goal area.

12. The method of claim 10, wherein, Based on the target shooting position, determining the flight direction of the virtual ball includes: determine, based on the target shooting position and the object position of the controlled virtual object, a first motion component of the virtual ball in a plane where the goal area is located; determine, based on a preset specified operation parameter, a second motion component of the virtual ball in a normal direction of the plane; determine, based on the first motion component and the second motion component, a motion trajectory of the virtual ball in the game scene, and determine a flight direction of the virtual ball based on the motion trajectory.

13. The method of claim 12, wherein, The specified operation parameter includes a strength parameter for controlling the shooting strength of the virtual ball, and / or an attribute parameter related to the execution of the shooting action of the controlled virtual object.

14. The method of claim 1, wherein, The method further includes: in response to a second trigger operation on the shooting control, switch the shooting control region to display as the movement joystick control, and set a trigger state of the movement joystick control based on a touch position in a display region of the movement joystick control.

15. An operation control device for a game, characterized by comprising: A terminal device provides a graphical user interface, which includes a scene picture of a game scene, and the game scene includes a controlled virtual object; the controlled virtual object is controlled by the terminal device; the graphical user interface further includes a movement joystick control and a shooting control; the device includes: a movement control module, configured to control the movement of the controlled virtual object and control the virtual ball to follow the movement of the controlled virtual object in response to a trigger operation on the movement joystick control; a switching display module, configured to switch the movement joystick control to display as a shooting control region in response to a first trigger operation on the shooting control; the shooting control region matches a goal area in the game scene; the shooting control region is used to collect a first operation touch point of a specified operation on the shooting control region; the switching display module is specifically configured to determine whether a preset display condition is met in response to the first trigger operation on the shooting control; the preset display condition is determined based on the object position of the controlled virtual object and / or the trigger state of the movement joystick control; if the preset display condition is met, the movement joystick control is switched to display as the shooting control region; a shooting control module, configured to control the controlled virtual object to perform a shooting action in response to a second trigger operation on the shooting control, and determine a flight direction of the virtual ball based on a touch position of the first operation touch point in the shooting control region; the touch position includes a current position or a historical movement position of the first operation touch point when the second trigger operation is performed.

16. An electronic device, comprising: A device includes a processor and a memory, the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the game operation control method in any one of claims 1-14.

17. A machine-readable storage medium, characterized in that, The machine readable storage medium stores machine executable instructions that, when called and executed by the processor, cause the processor to implement the operation control method of the game according to any one of claims 1-14.

Citation Information

Patent Citations

  • Game control method and device

    CN105688409A

  • Shooting control method, device, computer equipment and storage medium in soccer game

    CN109758760A

  • Projection game control method and device, electronic equipment and storage medium

    CN113713377A