Game operation control method, device and electronic equipment

CN117899443BActive Publication Date: 2026-10-16NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410014587.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-04
Publication Date
2026-10-16
Estimated Expiration
2044-01-04

AI Technical Summary

Technical Problem

这种控制方式易导致虚拟载具失控,玩家操作的容错率较低,影响游戏操作体验

Benefits of technology

[0010]The aforementioned game operation control method, device, and electronic device provide a graphical user interface through a terminal device; the graphical user interface displays a game scene and a joystick control area; wherein the game scene includes virtual vehicles; responding to touch operations applied to the joystick control area, based on the touch position of the touch operation in the joystick control area, the joystick control area is displayed in a first control state; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located in the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area; the control virtual vehicle... The virtual vehicle moves according to the orientation of the first vehicle; based on the relative position of the touch position and the first direction control sub-area, and the specified turning range, the first turning parameters of the virtual vehicle are determined, and the turning state of the virtual vehicle is controlled according to the first turning parameters; in response to the touch position being located in the first direction switching sub-area, the joystick control area is displayed in the second control state; wherein, in the second control state, the joystick control area includes the second direction control sub-area and the second direction switching sub-area; the virtual vehicle is controlled to move according to the orientation of the second vehicle; based on the relative position of the touch position and the second direction control sub-area, and the specified turning range, the second turning parameters of the virtual vehicle are determined, and the turning state of the virtual vehicle is controlled according to the second turning parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117899443B_ABST
    Figure CN117899443B_ABST
Patent Text Reader

Abstract

The application provides a game operation control method, device and electronic equipment, the method comprises the following steps: displaying a scene picture of a game scene and a joystick control area in a graphical user interface; in response to a touch operation acting on the joystick control area, displaying the joystick control area in a first control state based on the touch position of the touch operation in the joystick control area; controlling a virtual carrier to move according to a first carrier moving direction; determining a first turning parameter of the virtual carrier and controlling the turning state of the virtual carrier according to the first turning parameter; in response to the touch position being located in a first direction switching sub-area, displaying the joystick control area in a second control state; controlling the virtual carrier to move according to a second carrier moving direction; determining a second turning parameter of the virtual carrier and controlling the turning state of the virtual carrier according to the second turning parameter. This method expands the operation range of the virtual carrier in the first carrier moving direction, improves the operation precision and fault tolerance, and enhances the game operation experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of game technology, and in particular to a game operation control method, device, and electronic device. Background Technology

[0002] In mobile games, players control virtual vehicles in the game environment using joystick controls. For example, by touching the position of the virtual joystick within the control panel, the player can adjust the virtual vehicle's direction of movement within the game scene. In related technologies, the joystick control area is typically divided into multiple sub-areas, each corresponding to a different direction of movement. Because the range of possible movement directions is relatively large, and the joystick control area is relatively small, even a small change in the virtual joystick's position can result in a significant change in the virtual vehicle's direction of movement. This control method is prone to causing virtual vehicles to malfunction, has a low margin for error for player input, and negatively impacts the gaming experience. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a game operation control method, device and electronic device to expand the player's operation range, improve operation accuracy and operation error tolerance, and enhance the game operation experience.

[0004] In a first aspect, embodiments of the present invention provide a game operation control method, which provides a graphical user interface through a terminal device. The method includes: displaying a game scene and a joystick control area in the graphical user interface; wherein the game scene includes virtual vehicles; responding to a touch operation applied to the joystick control area, displaying the joystick control area in a first control state based on the touch position of the touch operation in the joystick control area; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located in the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area. The system controls a virtual vehicle to move in the direction of a first vehicle movement; determines a first steering parameter for the virtual vehicle based on the relative position of the touch position and the first direction control sub-region, and a specified steering range, and controls the steering state of the virtual vehicle according to the first steering parameter; in response to the touch position being located in the first direction switching sub-region, displays a joystick control area in a second control state; wherein, in the second control state, the joystick control area includes a second direction control sub-region and a second direction switching sub-region; controls the virtual vehicle to move in the direction of a second vehicle movement; determines a second steering parameter for the virtual vehicle based on the relative position of the touch position and the second direction control sub-region, and a specified steering range, and controls the steering state of the virtual vehicle according to the second steering parameter.

[0005] Secondly, embodiments of the present invention also provide a game operation control device, which provides a graphical user interface through a terminal device, the device comprising:

[0006] A first display module is used to display the game scene and joystick control area in a graphical user interface; wherein the game scene includes virtual vehicles; a second display module is used to respond to touch operations applied to the joystick control area, and display the joystick control area in a first control state based on the touch position of the touch operation in the joystick control area; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located in the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area; the first control module is used to control the virtual vehicle according to the first vehicle movement orientation. The system comprises: a movement module; a first steering parameter for the virtual vehicle based on the relative position of the touch position and the first direction control sub-area, and a specified steering range; and a third display module for displaying the joystick control area in a second control state in response to the touch position being located in the first direction switching sub-area; wherein, in the second control state, the joystick control area includes a second direction control sub-area and a second direction switching sub-area; and a second control module for controlling the virtual vehicle to move according to the second vehicle movement orientation; and a second steering parameter for the virtual vehicle based on the relative position of the touch position and the second direction control sub-area, and a specified steering range; and a second steering parameter for controlling the virtual vehicle to move according to the second steering parameter.

[0007] Thirdly, embodiments of the present invention provide an electronic device, including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-mentioned operation control method for the game.

[0008] Fourthly, embodiments of the present invention provide a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are invoked and executed by a processor, the machine-executable instructions cause the processor to implement the above-mentioned operation control method for the game.

[0009] The embodiments of the present invention bring the following beneficial effects:

[0010] The aforementioned game operation control method, device, and electronic device provide a graphical user interface through a terminal device; the graphical user interface displays a game scene and a joystick control area; wherein the game scene includes virtual vehicles; responding to touch operations applied to the joystick control area, based on the touch position of the touch operation in the joystick control area, the joystick control area is displayed in a first control state; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located in the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area; the control virtual vehicle... The virtual vehicle moves according to the orientation of the first vehicle; based on the relative position of the touch position and the first direction control sub-area, and the specified turning range, the first turning parameters of the virtual vehicle are determined, and the turning state of the virtual vehicle is controlled according to the first turning parameters; in response to the touch position being located in the first direction switching sub-area, the joystick control area is displayed in the second control state; wherein, in the second control state, the joystick control area includes the second direction control sub-area and the second direction switching sub-area; the virtual vehicle is controlled to move according to the orientation of the second vehicle; based on the relative position of the touch position and the second direction control sub-area, and the specified turning range, the second turning parameters of the virtual vehicle are determined, and the turning state of the virtual vehicle is controlled according to the second turning parameters.

[0011] In this method, the joystick control area includes a direction control sub-area and a direction switching sub-area. Based on the touch position of the touch operation within the joystick control area, the joystick control area is displayed in a first control state. The first direction control sub-area is larger than the first direction switching sub-area. The first direction control sub-area has a preset first vehicle movement orientation and a specified turning range. Based on the touch position of the touch operation within the joystick control area, its relative position to the first direction control sub-area, and the specified turning range, the virtual vehicle's turning state under the first vehicle movement orientation is controlled. When the touch position moves to the first direction switching sub-area, the joystick control area is displayed in a second control state. Based on the relative position of the touch position to the second direction control sub-area within the joystick control area, and the specified turning range, the virtual vehicle's turning state under the second vehicle movement orientation is controlled.

[0012] In this mode, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area, with the first direction control sub-area being larger than the first direction switching sub-area. The first direction control sub-area is only used to control the turning state of the virtual vehicle under the first vehicle movement direction corresponding to this control state, which expands the operation range for players to perform virtual vehicle turning control operations under the first vehicle movement direction, improves operation accuracy and error tolerance, and enhances the game operation experience.

[0013] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.

[0014] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0015] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0016] Figure 1 A flowchart of a game operation control method provided in an embodiment of the present invention;

[0017] Figure 2 A schematic diagram of a joystick control area displayed in a first control state, provided by an embodiment of the present invention;

[0018] Figure 3 A schematic diagram of a joystick control area displayed in a second control state, provided as an embodiment of the present invention;

[0019] Figure 4 This is a schematic diagram of two first-direction control sub-regions provided in embodiments of the present invention;

[0020] Figure 5 This is a schematic diagram of a joystick control area including a first transition sub-region, provided by an embodiment of the present invention;

[0021] Figure 6 A schematic diagram of the joystick control area comparing two control states is provided for an embodiment of the present invention;

[0022] Figure 7 A schematic diagram of the joystick control area under two control states provided in an embodiment of the present invention;

[0023] Figure 8 A schematic diagram of a joystick control area displaying a specified steering range is provided in an embodiment of the present invention;

[0024] Figure 9 A schematic diagram of another joystick control area displaying a specified steering range, provided in an embodiment of the present invention;

[0025] Figure 10 This is a schematic diagram of the joystick control area during the control of a vehicle's steering state, provided by an embodiment of the present invention.

[0026] Figure 11 This is a schematic diagram of the structure of a game operation control device provided in an embodiment of the present invention;

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

[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0029] Based on this, embodiments of the present invention provide a game operation control method, device, and electronic device, which can be applied to various virtual vehicle operation games such as racing cars, motorcycles, and speedboats.

[0030] In one embodiment of the present invention, the game operation control method can run on a local terminal device or a server. When the game operation control method runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

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

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

[0033] In one possible implementation, this invention provides a game operation control method that provides a graphical user interface (GUI) via a terminal device. The terminal device can be either a local terminal device (as mentioned above) or a client device within a cloud interaction system (as mentioned above). This terminal device provides a GUI that displays interface content, such as game scene images, communication interaction windows, etc., depending on the type of application being launched.

[0034] To facilitate understanding of this embodiment, a game operation control method disclosed in this embodiment of the invention will first be described in detail, such as... Figure 1 As shown, a graphical user interface is provided through a terminal device; the operation and control method of this game includes the following steps:

[0035] Step S102: Display the game scene and joystick control area in the graphical user interface; wherein, the game scene includes virtual vehicles;

[0036] The aforementioned joystick control area is a control used to control the movement direction of virtual vehicles in the virtual scene. The joystick control area is a graphic enclosed by an edge line. The shape of the joystick control area is not limited and can be a circle, rectangle, etc. The joystick control area can include multiple sub-areas, and the shape of the sub-areas is also not limited. They can be fan-shaped, triangles, or other irregular shapes. The sub-areas have specified area functions and area positions. Players can perform touch operations within the specified sub-areas to control the movement direction of the virtual vehicle in the game scene.

[0037] The graphical user interface displays the game scene and a joystick control area. The game scene includes virtual vehicles, which can be the virtual vehicle currently controlled by the user on the terminal device. For example, when the user's current controlled object is a virtual character, the virtual vehicle is the one that the virtual character is riding in. The virtual character controls the vehicle's movement based on the user's input to the joystick control area. Alternatively, the virtual vehicle can also be the user's current controlled object. The game scene view can be the view from the virtual vehicle's perspective, a third-party perspective, or the view can be adjusted under the control of the terminal device.

[0038] Step S104: In response to a touch operation applied to the joystick control area, based on the touch position of the touch operation in the joystick control area, display the joystick control area in a first control state; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located in the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area;

[0039] The aforementioned control states affect the display method of the joystick control area and the movement direction of the virtual vehicle; each control state has a corresponding display method for the joystick control area. In the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area, with the first direction control sub-area being larger than the first direction switching sub-area. The first control state corresponds to the first vehicle movement direction. In the first control state, the first direction control sub-area within the joystick control area is used to implement the steering control of the virtual vehicle under the first vehicle movement direction, which can be either forward or backward. The first direction switching sub-area is used to switch the control state. For example, Figure 2 This diagram illustrates a joystick control area corresponding to a first control state. The first direction control sub-area also presets a first vehicle movement orientation and a specified steering range. Here, the specified steering range includes the specified steering direction and steering angle range of the virtual vehicle, such as... Figure 2The first vehicle's direction of movement is forward, and the specified turning range is 0-30 degrees to the left and 0-30 degrees to the right. It can be understood that each area position within the first direction control sub-region is mapped to the virtual vehicle's turning angle and direction. Specifically, the angle formed by the line connecting the area position in the first direction control sub-region and the center point of the joystick control area with the vertical axis of the joystick control area is mapped to the virtual vehicle's turning angle; the larger this angle, the larger the virtual vehicle's turning angle. The area position in the first direction control sub-region is located on the vertical axis of the joystick control area, and this is mapped to the virtual vehicle's turning direction. For example, if the area position is to the left of the vertical axis, the virtual vehicle turns left; if the area position is to the right of the vertical axis, the virtual vehicle turns right. Therefore, after determining the area position of the touch position within the first direction control sub-region, the turning direction and turning angle of the virtual vehicle at that area position can be obtained according to the mapping relationship. The aforementioned touch operations refer to clicks, drags, and presses on the joystick control area.

[0040] Here, the player touches the joystick control area. The control state is determined by the touch position within the joystick control area. Multiple response areas can be preset within the joystick control area; for example, the upper half of the joystick control area could be the first response area, and the lower half the second response area. The control state is determined by identifying which response area the touch position falls within. In one implementation, the response area is associated with the control state; when the touch position falls in the first response area, it is determined to be the first control state, the joystick control area corresponding to the first control state is displayed, and the virtual vehicle's movement direction is determined as the first vehicle movement direction; when the touch position falls in the second response area, it is determined to be the second control state, the joystick control area corresponding to the second control state is displayed, and the virtual vehicle's second vehicle movement direction is determined. In another implementation, the response area is associated with the vehicle's movement direction, and the control state is determined by the vehicle's movement direction. For example, if the touch position falls in the first response area, the control state is determined to be the first control state based on the first vehicle movement direction corresponding to the first response area, and the joystick control area corresponding to the first control state is displayed.

[0041] In this step, the player touches the joystick control area. Based on the touch position in the joystick control area, the control state is determined to be the first control state, and the joystick control area is displayed in the first control state.

[0042] Step S106: Control the virtual vehicle to move according to the first vehicle's orientation; determine the first steering parameters of the virtual vehicle based on the relative position of the touch position and the first direction control sub-area, and the specified steering range, and control the steering state of the virtual vehicle according to the first steering parameters;

[0043] The aforementioned steering parameters include the steering angle and direction of the virtual vehicle, such as a 10-degree right turn. The relative position of the touch location to the first direction control sub-area refers to the area position of the touch location within the first direction control sub-area.

[0044] After determining the first control state, the virtual vehicle is controlled to move according to the first vehicle movement orientation corresponding to the first control state. Further, based on the relative position of the touch position and the first direction control sub-region, and the specified turning range, the first turning parameters of the virtual vehicle are determined, and the turning state of the virtual vehicle is controlled according to the first turning parameters. In actual implementation, the touch position is obtained as a first region position within the first direction control sub-region. Based on the corresponding first mapping relationship, the turning direction and turning angle of the vehicle corresponding to that first region position are determined, resulting in the first turning parameters. The turning state of the virtual vehicle is then controlled according to the first turning parameters. For example, if the first vehicle movement orientation is forward and the first turning parameter is a 10-degree right turn, then the virtual vehicle is controlled to move forward and turn right by 10 degrees.

[0045] In the first control state, the joystick control area can include only the first direction control sub-area and the first direction switching sub-area. The first direction control sub-area in the joystick control area is only used to control the turning state of the virtual vehicle under the first vehicle movement direction. The first direction control sub-area can be set to be much larger than the first direction switching sub-area, expanding the operation range for the player to perform virtual vehicle turning control operations under the first vehicle movement direction, improving operation accuracy and error tolerance, and enhancing the game operation experience.

[0046] Step S108: In response to the touch position being located in the first direction switching sub-region, the joystick control area is displayed in the second control state; wherein, in the second control state, the joystick control area includes the second direction control sub-region and the second direction switching sub-region;

[0047] In the aforementioned second control state, the joystick control area includes a second direction control sub-area and a second direction switching sub-area.

[0048] In one approach, in the second control state, the second direction control sub-region and the second direction switching sub-region within the joystick control area can be the same area. Performing a touch operation on this area allows for simultaneous control of the virtual vehicle's steering and direction of movement. For example, the second direction control sub-region and the second direction switching sub-region overlap and cover the entire joystick control area. By determining whether the touch position is located in the upper or lower half of the joystick control area, the second direction of movement of the virtual vehicle (forward or backward) can be determined. Then, through the mapping relationship between the touch position and the virtual vehicle's steering angle and direction, the steering direction and angle of the virtual vehicle at that touch position can be obtained, thus determining the steering direction and angle. For instance, when the touch position is located in the upper right of the joystick control area, the virtual vehicle can be controlled to move forward while simultaneously turning right by the corresponding steering angle; when the touch position is located in the lower right of the joystick control area, the virtual vehicle can be controlled to move backward while simultaneously turning right by the corresponding steering angle.

[0049] In another approach, in the second control state, the second direction control sub-region and the second direction switching sub-region within the joystick control area are two different regions. In this case, the second control state corresponds to the second vehicle's movement orientation. The second direction control sub-region is used to implement the steering control of the virtual vehicle under the second vehicle's movement orientation, and the second vehicle's movement orientation is different from the first vehicle's movement orientation. For example, if the first vehicle's movement orientation is forward, the second vehicle's movement orientation is backward; or if the first vehicle's movement orientation is backward, the second vehicle's movement orientation is both forward and backward. The second direction switching sub-region is used to switch the control state, for example, switching from the second control state back to the first control state. In this approach, in the second control state, the second direction control sub-region within the joystick control area is only used to control the steering state of the virtual vehicle under the second vehicle's movement orientation, and the regional positions of the second direction control sub-region and the second direction switching sub-region within the joystick control area are different from the regional positions of the aforementioned first direction control sub-region and first direction switching region within the joystick control area. For example, as shown... Figure 3 The joystick control area is in the second control state. The second direction control sub-area is preset with the second vehicle movement direction and the specified turning range. The second vehicle movement direction is different from the first vehicle movement direction mentioned above. The second vehicle movement direction is the backward direction. The specified turning range is left turn 0 to 30 degrees and right turn 0 to 30 degrees.

[0050] In this step, when the terminal detects that the touch position has moved to the first direction switching sub-area, it triggers a switch to the second control state, displaying the joystick control area in the second control state. In the second control state, the joystick control area includes a second direction control sub-area and a second direction switching sub-area. The second direction control sub-area and the second direction switching sub-area can be the same area or two different areas within the joystick control area. When the joystick control area is displayed in the second control state, the virtual vehicle can be controlled to move according to the second vehicle movement orientation.

[0051] Additionally, the joystick control area corresponding to the second control state can be displayed in the graphical user interface by overlaying the joystick control area corresponding to the first control state. The shape and size of the joystick control areas corresponding to the two control states can be the same or different.

[0052] Step S110: Control the virtual vehicle to move according to the second vehicle movement orientation; based on the relative position of the touch position and the second direction control sub-area, and the specified turning range, determine the second turning parameters of the virtual vehicle, and control the turning state of the virtual vehicle according to the second turning parameters.

[0053] The aforementioned steering parameters include the steering angle and direction of the virtual vehicle, for example, the vehicle turning left at a 5-degree angle. The relative position of the touch position to the second direction control sub-area refers to the area of ​​the touch position within the second direction control sub-area.

[0054] The second vehicle's direction of movement can be determined based on the touch position's location within the joystick control area displayed in the second control state, and the virtual vehicle can be controlled to move according to this direction. Specifically, when the second direction control sub-area and the second direction switching sub-area within the joystick control area are the same area, the direction of movement of the virtual vehicle (forward or backward) can be determined by whether the touch position is located in the upper or lower half of the joystick control area. When the second direction control sub-area and the second direction switching sub-area are two different areas, the second direction control sub-area can be used to control the virtual vehicle's steering under the second vehicle's direction of movement; when the touch position falls within the second direction control sub-area, the corresponding second vehicle's direction of movement is automatically determined.

[0055] Furthermore, based on the relative position of the touch location and the second direction control sub-region, as well as the specified turning range, the second turning parameters of the virtual vehicle are determined, and the turning state of the virtual vehicle is controlled according to the second turning parameters. In actual implementation, the regional position of the touch location in the second direction control sub-region is obtained. Based on the mapping relationship, the turning direction and turning angle of the vehicle corresponding to that regional position are determined, thus obtaining the second turning parameters. The turning state of the virtual vehicle is controlled according to the second turning parameters. For example, if the second vehicle's movement direction is backward and the first turning parameter is a 5-degree left turn, then the turning state of the virtual vehicle is backward and left turn by 5 degrees.

[0056] The aforementioned game operation control method, device, and electronic device provide a graphical user interface through a terminal device; the graphical user interface displays a game scene and a joystick control area; wherein the game scene includes virtual vehicles; responding to touch operations applied to the joystick control area, based on the touch position of the touch operation in the joystick control area, the joystick control area is displayed in a first control state; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located in the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area; the control virtual vehicle... The virtual vehicle moves according to the orientation of the first vehicle; based on the relative position of the touch position and the first direction control sub-area, and the specified turning range, the first turning parameters of the virtual vehicle are determined, and the turning state of the virtual vehicle is controlled according to the first turning parameters; in response to the touch position being located in the first direction switching sub-area, the joystick control area is displayed in the second control state; wherein, in the second control state, the joystick control area includes the second direction control sub-area and the second direction switching sub-area; the virtual vehicle is controlled to move according to the orientation of the second vehicle; based on the relative position of the touch position and the second direction control sub-area, and the specified turning range, the second turning parameters of the virtual vehicle are determined, and the turning state of the virtual vehicle is controlled according to the second turning parameters.

[0057] In this method, the joystick control area includes a direction control sub-area and a direction switching sub-area. Based on the touch position of the touch operation within the joystick control area, the joystick control area is displayed in a first control state. The first direction control sub-area is larger than the first direction switching sub-area. The first direction control sub-area has a preset first vehicle movement orientation and a specified turning range. Based on the touch position of the touch operation within the joystick control area, its relative position to the first direction control sub-area, and the specified turning range, the virtual vehicle's turning state under the first vehicle movement orientation is controlled. When the touch position moves to the first direction switching sub-area, the joystick control area is displayed in a second control state. Based on the relative position of the touch position to the second direction control sub-area within the joystick control area, and the specified turning range, the virtual vehicle's turning state under the second vehicle movement orientation is controlled.

[0058] In this mode, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area, with the first direction control sub-area being larger than the first direction switching sub-area. The first direction control sub-area is only used to control the turning state of the virtual vehicle under the first vehicle movement direction corresponding to this control state, which expands the operation range for players to perform virtual vehicle turning control operations under the first vehicle movement direction, improves operation accuracy and error tolerance, and enhances the game operation experience.

[0059] In one embodiment, the first direction control sub-region includes a first edge line and a second edge line; the first edge line and the second edge line are straight lines; the first edge line and the second edge line are directly or indirectly connected; the included angle between the first edge line and the second edge line is greater than 180 degrees and less than 360 degrees.

[0060] The first and second edge lines mentioned above are straight lines. The first and second edge lines can be the edge lines of the straight lines passing through the center point of the joystick control area. The first and second edge lines are directly or indirectly connected, and the included angle between the first and second edge lines is greater than 180 degrees and less than 360 degrees. For example... Figure 4 As shown in (a) and (b), Figure 4 In (a), the joystick control area is rectangular, and the first edge line and the second edge line of the first direction control sub-area are directly connected, with an included angle of 315 degrees between the first edge line and the second edge line. Figure 4 In (a), the joystick control area is circular, and the first edge line and the second edge line of the first direction control sub-area are indirectly connected, with an included angle of 270 degrees between the first edge line and the second edge line.

[0061] In existing technologies, the direction of movement of a virtual vehicle is often determined by whether the touch position is located in the upper or lower half of the joystick control area. Once the direction of movement is determined, the joystick is moved within the upper or lower half of the joystick control area. By controlling the offset angle between the joystick and the vertical axis of the joystick control area, the turning angle of the virtual vehicle in that direction of movement is controlled. This results in the user only being able to perform all turning operations of the virtual vehicle in that direction of movement within a 180-degree angle operation range. In this way, even a small angle of joystick movement can have a significant impact on the turning angle of the virtual vehicle. The excessive influence of the joystick movement angle on the turning angle of the virtual vehicle leads to low operation accuracy and low fault tolerance.

[0062] In this embodiment, the angle between the first edge line and the second edge line of the first direction control sub-region is greater than 180 degrees and less than 360 degrees, which means that when the vehicle's direction of movement is determined, the range of angles that the user can operate is much greater than 180 degrees, thus expanding the user's operating range. Under the same conditions, the player's operating precision is higher.

[0063] In one embodiment, after the touch position is located in the first direction switching sub-region, the joystick control area is displayed in the second control state. Specifically, the touch position is located in the second direction control sub-region; the second direction control sub-region has a preset second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; and the second direction control sub-region is larger than the second direction switching sub-region.

[0064] In this second control state, the second direction control sub-region and the second direction switching sub-region within the joystick control area are two different regions. The second control state corresponds to the second vehicle's movement orientation. The second direction control sub-region is used to control the steering of the virtual vehicle under the second vehicle's movement orientation, and the second vehicle's movement orientation is different from the first vehicle's movement orientation. For example, if the first vehicle's movement orientation is forward, the second vehicle's movement orientation is backward; or if the first vehicle's movement orientation is backward, the second vehicle's movement orientation is both forward and backward. The second direction switching sub-region is used to switch the control state, for example, switching back from the second control state to the first control state. In this method, in the second control state, the second direction control sub-region within the joystick control area is only used to control the steering state of the virtual vehicle under the second vehicle's movement orientation, and the second direction control sub-region is larger than the second direction switching sub-region. For example, the angle between the first edge line and the second edge line corresponding to the second direction control sub-region can also be greater than 180 degrees and less than 360 degrees.

[0065] Meanwhile, in the joystick control area displayed in this second control state, the location of the second direction control sub-area overlaps with the location of the first direction switching sub-area in the joystick control area during the first control state. For example, the second direction control sub-area covers the first direction switching sub-area and partially overlaps with it; conversely, the first direction control sub-area covers the second direction switching sub-area and partially overlaps with it. Figure 2 and Figure 3 As shown, when the touch position is in the first direction switching sub-area and the joystick control area is displayed in the second control state, the touch position automatically falls from the first direction switching sub-area to the second direction control sub-area, and the virtual vehicle is controlled to move automatically according to the second vehicle movement orientation.

[0066] In one embodiment, in the first control state, the joystick control area further includes a first transition sub-area; the first transition sub-area is located between the first direction switching sub-area and the first direction control sub-area; before the touch position enters the first direction switching sub-area, it also needs to pass through the first transition sub-area.

[0067] Specifically, in response to the touch position being located in the first transition sub-region, the sending of control commands to the virtual vehicle is stopped, the control commands being configured with instructions to control the virtual vehicle to perform game behaviors.

[0068] The aforementioned control commands are configured to control the virtual vehicle to perform game actions. Here, game actions include game events caused by the player's active control over the virtual vehicle's steering state, such as left turns, right turns, and sharp turns of the virtual vehicle operated by the user. During the game, the terminal device can send control commands to control the virtual vehicle's steering state, thus enabling the player to actively control the virtual vehicle's steering state. The aforementioned first transition sub-region is located between the first direction switching sub-region and the first direction control sub-region. When the touch position is in the first transition sub-region, control commands are stopped being sent to the virtual vehicle. At this time, the control of the virtual vehicle's steering state is not with the player; that is, in the first transition sub-region, regardless of how the touch position is moved, the virtual vehicle's movement is not controlled by the player. In this situation, the virtual vehicle may be in a stall state. A stall state is a motion state of the virtual vehicle, which can be understood as the virtual vehicle being uncontrolled by touch operations in the joystick control area. The virtual vehicle will continue its inertial motion based on its previous movement state before the stall state and the scene state of the game scene. For example, as... Figure 5 As shown in (a), the player controls a virtual vehicle traveling at a high speed of 100 mph in a straight line. The touch position moves to... Figure 5In the first transition sub-region shown in (b), the virtual vehicle will enter a stall state after making a sharp left turn. The virtual vehicle in the stall state may continue to move until it stops in the road environment with high friction, such as farmland or sandy land; of course, it may also accelerate in the road environment on a downhill slope.

[0069] In this method, players can slide within the joystick control area. Before sliding from the first direction switching sub-area to the first direction switching sub-area, the touch position can first enter the first transition sub-area. This allows the virtual vehicle to undergo a period of inertial movement before switching to the vehicle's movement direction corresponding to the next control state, thereby reducing the vehicle's speed and preventing a rollover accident caused by a sudden change in the vehicle's movement direction while the virtual vehicle is traveling at high speed.

[0070] In one approach, as the touch position moves from the first direction control sub-area to the first direction switching sub-area, the display format of the joystick control area will change.

[0071] Specifically, in response to the touch position being located in the first direction control sub-region, the first transition sub-region and the first direction switching sub-region are displayed in a first display format; in response to the touch position being located in the first transition sub-region, the first transition sub-region and the first direction switching sub-region are displayed in a second display format; wherein the second display format is different from the first display format.

[0072] The aforementioned display format includes area color, area size, and area pattern. In other words, the display format of the first transition sub-area differs depending on whether the touch position is located in the first direction control sub-area or the first direction switching sub-area.

[0073] For example, when the terminal device detects that the touch position is located in the first direction control sub-area, the first transition sub-area in the joystick control area is displayed as white, and the first direction switching sub-area is displayed as gray; when the terminal device detects that the touch position has moved to the first transition sub-area, the display format of the first transition sub-area in the joystick control area changes to a color that is a superposition of white and pink, and the first direction switching sub-area is displayed as a color that is a superposition of gray and pink.

[0074] In one embodiment, if in the second control state, the second direction control sub-area is preset with a second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; the second direction control sub-area is larger than the second direction switching sub-area; in response to the touch position being located in the second direction switching sub-area, the joystick control area is displayed in the first control state.

[0075] In other words, in this second control state, the second direction control sub-area and the second direction switching sub-area in the joystick control area are two different areas. The second direction control sub-area is used to realize the steering control of the virtual vehicle moving downwards. The second direction switching sub-area is used to realize the switching of control states. When the touch position is located in the second direction switching sub-area, the control state is triggered to switch to the second control state, and the joystick control area is displayed as the joystick control area corresponding to the first control state.

[0076] In one embodiment, in the second control state, the joystick control area further includes a second transition sub-area; the second transition sub-area is located between the second direction switching sub-area and the second direction control sub-area; before the touch position moves into the second direction switching sub-area, it also needs to pass through the second transition sub-area.

[0077] Specifically, in response to the touch position being located in the second transition sub-region, control commands to the virtual vehicle are stopped being sent. The control commands are configured with instructions to control the virtual vehicle to perform game behaviors.

[0078] The aforementioned control commands are configured to control the virtual vehicle to perform game actions. Here, game actions include game events caused by the player's active control over the virtual vehicle's steering state, such as left turns, right turns, and sharp turns for the user-operated virtual vehicle. During gameplay, the terminal device can control the virtual vehicle's steering state by sending control commands, enabling the player to actively control the virtual vehicle's steering. The aforementioned second transition sub-region is located between the second direction switching sub-region and the second direction control sub-region. When the touch position is in the second transition sub-region, control commands to the virtual vehicle cease to be sent. At this time, the player no longer has control over the virtual vehicle's steering state, and the virtual vehicle may be in a stalled state. In a stalled state, the virtual vehicle moves inertially based on its previous movement state and the game scene's state, and is not controlled by touch operations in the joystick control area.

[0079] In this method, players can slide within the joystick control area. Before sliding from the second direction switching sub-area to the second direction switching sub-area, they can first enter the second transition sub-area. This allows the virtual vehicle to undergo a period of inertial movement before switching to the vehicle's direction of movement corresponding to the next control state, thereby reducing the vehicle's speed and preventing a rollover accident caused by a sudden change in the vehicle's direction of movement while the virtual vehicle is traveling at high speed.

[0080] Similarly, when the touch position moves from the second direction control sub-area to the second direction switching sub-area, the display format of the joystick control area will change.

[0081] Specifically, in response to the touch position being located in the second direction control sub-region, the second transition sub-region and the second direction switching sub-region are displayed in a second display format; in response to the touch position being located in the second transition sub-region, the second transition sub-region and the second direction switching sub-region are displayed in a second display format; wherein, the second display format is different from the second display format.

[0082] The aforementioned display format includes area color, area size, and area pattern. In other words, the display format of the second transition sub-area and the second direction switching sub-area differs when the touch position is located in the second direction control sub-area and when the touch position is located in the second transition sub-area.

[0083] For example, when the terminal device detects that the touch position is located in the second direction control sub-area, the second transition sub-area in the joystick control area is displayed in white, and the second direction switching sub-area is displayed in gray; when the terminal device detects that the touch position has moved into the second transition sub-area, the color of the joystick control area changes. The display format of the second transition sub-area in the joystick control area changes to a color that is a superposition of white and blue, and the second direction switching sub-area is displayed as a color that is a superposition of gray and blue.

[0084] In one embodiment, the second direction control sub-region covers the first direction switching sub-region and partially overlaps with the first direction control sub-region; the first direction control sub-region covers the second direction switching sub-region and partially overlaps with the second direction control sub-region.

[0085] The joystick control areas corresponding to the two control states are displayed alternately by overlapping each other. Specifically, the second direction control sub-area covers the first direction switching sub-area and partially overlaps with it; conversely, the first direction control sub-area covers the second direction switching sub-area and partially overlaps with it. For example, assuming the joystick control area is circular and each sub-area is a sector, in the first control state, the first direction control sub-area is a 270-degree sector area centered on the circle's center, and the first direction switching sub-area is a 90-degree sector area centered on the circle's center. Figure 6 As shown in (a); in the first control state, the second direction control sub-region is a 270-degree fan-shaped area centered on the center of the circle, and the second direction switching sub-region is a 90-degree fan-shaped area centered on the center of the circle, as shown in (a). Figure 6 As shown in (b).

[0086] In this mode, when the touch position enters the first direction switching sub-area, it will automatically switch to the second direction control sub-area, achieving a seamless switch from vehicle steering control in the first control state to vehicle steering control in the second control state.

[0087] When a transition sub-region exists, the second directional control sub-region also covers the first transition sub-region in the first control state; the first directional control sub-region also covers the second transition sub-region in the second control state.

[0088] For example, taking a circular joystick control area and fan-shaped sub-areas as an example, the joystick control area corresponding to the first control state is as follows: Figure 7 As shown in (a) above. The joystick control area corresponding to the second control state is as follows. Figure 7 As shown in (b), the second directional control sub-region covers the first transition sub-region in the first control state; the first directional control sub-region covers the second transition sub-region in the second control state.

[0089] In one embodiment, the first vehicle's movement orientation includes either a forward or backward orientation; the second vehicle's movement orientation includes either a forward or backward orientation; and the second vehicle's movement orientation is opposite to that of the first vehicle.

[0090] In other words, the vehicle's direction of movement differs between the first control state and the second control state. If the first vehicle's direction of movement is forward, then the second vehicle's direction of movement is backward; if the first vehicle's direction of movement is backward, then the second vehicle's direction of movement is forward.

[0091] The following embodiments provide an implementation for determining the first steering parameter.

[0092] Specifically, the region position in the first direction control sub-region has a first mapping relationship with the steering parameters in the specified steering range. The touch position is determined to be the first region position in the first direction control sub-region. Based on the first mapping relationship, the first steering parameters corresponding to the first region position are determined.

[0093] The aforementioned steering parameters include the steering direction and steering angle of the virtual vehicle. The aforementioned first mapping relationship includes the correspondence between the angle between the area position and the specified location point in the first direction control sub-region and the steering angle of the virtual vehicle, as well as the correspondence between the area position and the orientation of the specified location point and the steering direction of the virtual vehicle.

[0094] In other words, each area position within the first direction control sub-region has a first mapping relationship with the steering angle and steering direction of the virtual vehicle. Once the area position of the touch position within the first direction control sub-region is determined, the steering angle and steering direction of the virtual vehicle corresponding to that area position can be determined based on the first mapping relationship, thus obtaining the first steering parameters corresponding to that touch position. For example... Figure 8As shown, the first mapping relationship includes: the angle formed by the line connecting the region position in the first direction control sub-region and the center point p of the joystick control region with the vertical central axis of the joystick control region, and the mapping relationship between this angle and the steering angle of the virtual vehicle in the steering parameters. The larger this angle, the larger the steering angle of the virtual vehicle in the steering parameters. The first mapping relationship also includes: the mapping relationship between the region position located on the vertical central axis of the joystick control region and the steering direction of the virtual vehicle in the steering parameters. If the region position is to the left of the vertical central axis, the steering direction of the virtual vehicle is to the left; if the region position is to the right of the vertical central axis, the steering direction of the virtual vehicle is to the right.

[0095] Figure 8 In the middle, outside the first direction control sub-area, the specified turning range corresponding to the first direction control sub-area is displayed. The specified turning range includes 0 to 30 degrees to turn left and 0 to 30 degrees to turn right.

[0096] After determining the touch position within a first region of the first direction control sub-region, the steering angle and steering direction of the virtual vehicle corresponding to the first region position can be determined based on the first mapping relationship, thus obtaining the first steering parameters corresponding to that touch position. For example, Figure 8 In the first direction control sub-area, the steering control of the virtual vehicle moving forward and facing downward is realized. When the touch position is at point A, the corresponding first steering parameter is to move forward and turn left by 10 degrees; when the touch position is at point B, the corresponding first steering parameter is to move forward and turn right by 20 degrees.

[0097] The following embodiments provide an implementation for determining the second steering parameters.

[0098] The region position in the second direction control sub-region has a second mapping relationship with the steering parameters in the specified steering range; the touch position is determined in the second region position in the second direction control sub-region, and based on the second mapping relationship, the second steering parameters corresponding to the second region position are determined.

[0099] Similarly, the second mapping relationship mentioned above can be the correspondence between the angle between the area position and the specified location point in the second direction control sub-region and the turning angle of the virtual vehicle, as well as the correspondence between the area position and the orientation of the specified location point and the turning direction of the virtual vehicle.

[0100] Each area position within the second direction control sub-region has a second mapping relationship with the steering angle and steering direction of the virtual vehicle. Once the area position of the touch position within the second direction control sub-region is determined, the steering angle and steering direction of the virtual vehicle corresponding to that area position can be determined based on the second mapping relationship, thus obtaining the second steering parameters corresponding to that touch position. For example... Figure 9As shown, when the second vehicle is moving in a backward direction, the touch position is at point C, and the vehicle's turning state is backward and straight; when the touch position is at point D, the vehicle's turning state is backward and turning left at a 20-degree angle.

[0101] The following embodiments provide a specific implementation of displaying the joystick control area in a first control state.

[0102] In one approach, the joystick control area is pre-divided into a first response area and a second response area; the vehicle movement orientations corresponding to the first response area and the second response area are different; in response to a touch operation applied to the joystick control area, the touch position of the touch operation is determined to be located in the first response area, and a first control state is determined based on the vehicle movement orientation corresponding to the first response area, and the joystick control area is displayed in the first control state.

[0103] In other words, the joystick control area is pre-divided into a first response area and a second response area; each response area is associated with the vehicle's movement direction, and the vehicle's movement direction corresponding to the first response area and the second response area is different. When the touch position of the touch operation is located in the first response area, the first control state is determined according to the vehicle's movement direction corresponding to the first response area, and the joystick control area is displayed in the first control state.

[0104] In practice, the upper half of the joystick control area can be designated as the first response area, and the lower half as the second response area. The first response area corresponds to the first vehicle's movement direction, and the second response area corresponds to the second vehicle's movement direction. When the player touches the joystick control area, the touch position falls on the upper half, confirming the control state as the first control state corresponding to the first vehicle's movement direction, and displaying the joystick control area corresponding to the first control state. When the player touches the joystick control area, the touch position falls on the lower half, confirming the control state as the second control state corresponding to the second vehicle's movement direction, and displaying the joystick control area corresponding to the second control state.

[0105] The following embodiments detail the process of controlling the steering state of a virtual vehicle using a joystick control area. It should be noted that, in actual implementation, the shape of the joystick control area is not limited; it can be circular, rectangular, etc. The joystick control area can include multiple sub-areas, and the shapes of these sub-areas are also not limited; they can be fan-shaped, triangular, or other irregular shapes.

[0106] In a specific embodiment, taking a circular joystick control area and fan-shaped sub-areas as examples, the joystick control area in the two control states is as follows: Figure 10 As shown in (a) of the diagram. The joystick control area in the first control state is... Figure 10In the left image of (a) in the diagram, the first direction control sub-region of the joystick control area in the first control state is used to realize the steering control of the virtual vehicle moving forward and downward. The joystick control area in the second control state is... Figure 10 In Figure (a) on the right, the second direction control sub-region within the joystick control area in the second control state is used to implement steering control of the virtual vehicle moving backward towards the bottom. In each control state, the specified steering direction of the direction control sub-region includes left turn and right turn, with a steering angle range of 0-30 degrees.

[0107] When a player touches the joystick control area, the terminal device identifies whether the touch location is in the upper or lower half of the joystick control area. When the touch location is in the upper half of the joystick control area, the vehicle's movement direction is determined to be forward, and the joystick control area is displayed in a first control state; when the touch location is in the lower half of the joystick control area, the vehicle's movement direction is determined to be backward, and the joystick control area is displayed in a second control state.

[0108] The following describes a process for controlling the steering state of a vehicle in this embodiment. A schematic diagram of the joystick control area during the control process is shown below. Figure 10 As shown in (b) of the diagram.

[0109] 1) When the player does not touch the joystick control area, the joystick control area will be displayed in the normal way.

[0110] 2) When the player touches the joystick control area, the terminal device recognizes that the touch position is located in the upper half of the joystick control area and the touch position is point A. The vehicle's movement direction is determined to be forward, and the control state is the first control state. The joystick control area is displayed in the first control state in the graphical user interface, and the virtual vehicle is controlled to move forward in a straight line.

[0111] 3) When a player performs a swipe operation within the first directional control sub-area, the terminal device identifies the touch position in real time within the first directional control sub-area and obtains the corresponding turning direction and turning angle based on the first mapping relationship. For example, when the touch position is point B in the figure, the corresponding turning angle for controlling the vehicle to move forward and turn left is...

[0112] 4) When the player continues to slide to the left within the first direction control sub-area, the touch position in the figure is point C, which controls the vehicle to move forward and make a sharp left turn at the corresponding steering angle.

[0113] 5) The player continues to perform the swipe operation, the terminal device recognizes the touch position and enters the first transition sub-area, controls the virtual vehicle to enter the stall state, the virtual vehicle moves according to the movement state before the stall state and the scene state of the game scene, and is not controlled by the touch operation of the joystick control area;

[0114] If the touch position remains in the first transition sub-region for an extended period, the virtual vehicle may gradually stop moving due to inertia in high-friction environments such as farmland or sandy terrain.

[0115] 6) The player continues to perform the swipe operation. The terminal device recognizes the touch position and enters the first direction switching sub-area, triggering the control state switch. The joystick control area is automatically displayed in the second control state. The first direction switching sub-area seamlessly switches to the second direction control sub-area. At the same time, the virtual vehicle is controlled to move backward. According to the area position of touch position D in the second direction control sub-area and the second mapping relationship, the corresponding turning direction and turning angle are obtained. The vehicle turning state corresponding to point D in the figure is the backward straight-moving state.

[0116] 7) The player continues to perform the swipe operation. The terminal device identifies the touch position in real time within the second direction control sub-area and obtains the corresponding turning direction and angle based on the second mapping relationship. For example, when the touch position is point E in the figure, the corresponding turning angle for controlling the vehicle to move backward and turn right is...

[0117] 4) Players continue to perform sliding operations within the second direction control sub-area. When the touch position in the figure is point F, control the vehicle to reverse and turn right at the corresponding steering angle.

[0118] 5) The player continues to perform the swipe operation, and the terminal device recognizes the touch position and enters the second transition sub-area, controlling the virtual vehicle to enter the stall state. The virtual vehicle moves according to its movement state before the stall state and the scene state of the game scene, and is not controlled by the touch operation of the joystick control area.

[0119] 6) The player continues to perform the swipe operation. The terminal device recognizes the touch position and enters the second direction switching sub-area, triggering the switch of control state. The joystick control area is automatically displayed in the first control state. The second direction switching sub-area seamlessly switches to the first direction control sub-area. At the same time, the virtual vehicle is controlled to move forward. According to the area position of the touch position in the first direction control sub-area and the first mapping relationship, the corresponding turning direction and turning angle are obtained.

[0120] The above operation method utilizes the direction switching sub-area within the joystick control area to switch control states. Each control state has a corresponding display mode for the joystick control area and the virtual vehicle's movement orientation. Once a control state is determined, the direction control sub-area within the joystick control area is only used to control the virtual vehicle's turning state under the corresponding vehicle's movement orientation. This reduces the impact of each unit of operation angle on the vehicle's turning angle, improving operational precision, increasing the margin for error, and enhancing the overall gaming experience.

[0121] For the corresponding method embodiments described above, see [link to relevant documentation]. Figure 11 The diagram shows a game control device that provides a graphical user interface via a terminal device; the device includes:

[0122] The first display module 1102 is used to display the scene screen of the game scene and the joystick control area in the graphical user interface; wherein, the game scene includes virtual vehicles;

[0123] The second display module 1104 is used to respond to touch operations applied to the joystick control area, and to display the joystick control area in a first control state based on the touch position of the touch operation in the joystick control area; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located in the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area;

[0124] The first control module 1106 is used to control the virtual vehicle to move according to the first vehicle's moving direction; based on the relative position of the touch position and the first direction control sub-area, and the specified turning range, it determines the first turning parameters of the virtual vehicle, and controls the turning state of the virtual vehicle according to the first turning parameters;

[0125] The third display module 1108 is used to display the joystick control area in a second control state in response to the touch position being located in the first direction switching sub-area; wherein, in the second control state, the joystick control area includes a second direction control sub-area and a second direction switching sub-area;

[0126] The second control module 1110 is used to control the virtual vehicle to move according to the second vehicle movement direction; based on the relative position of the touch position and the second direction control sub-area, and the specified turning range, to determine the second turning parameters of the virtual vehicle, and to control the turning state of the virtual vehicle according to the second turning parameters.

[0127] The aforementioned game's operation and control device provides a graphical user interface (GUI) via a terminal device; the GUI displays a game scene and a joystick control area; the game scene includes virtual vehicles; responding to touch operations applied to the joystick control area, the joystick control area is displayed in a first control state based on the touch position of the touch operation within the joystick control area; in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located within the first direction control sub-area; the first direction control sub-area has preset first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area; the virtual vehicle is controlled according to... The virtual vehicle moves in the direction of the first vehicle; based on the relative position of the touch position and the first direction control sub-area, and the specified turning range, the first turning parameter of the virtual vehicle is determined, and the turning state of the virtual vehicle is controlled according to the first turning parameter; in response to the touch position being located in the first direction switching sub-area, the joystick control area is displayed in the second control state; wherein, in the second control state, the joystick control area includes the second direction control sub-area and the second direction switching sub-area; the virtual vehicle is controlled to move in the direction of the second vehicle; based on the relative position of the touch position and the second direction control sub-area, and the specified turning range, the second turning parameter of the virtual vehicle is determined, and the turning state of the virtual vehicle is controlled according to the second turning parameter.

[0128] In this method, the joystick control area includes a direction control sub-area and a direction switching sub-area. Based on the touch position of the touch operation within the joystick control area, the joystick control area is displayed in a first control state. The first direction control sub-area is larger than the first direction switching sub-area. The first direction control sub-area has a preset first vehicle movement orientation and a specified turning range. Based on the touch position of the touch operation within the joystick control area, its relative position to the first direction control sub-area, and the specified turning range, the virtual vehicle's turning state under the first vehicle movement orientation is controlled. When the touch position moves to the first direction switching sub-area, the joystick control area is displayed in a second control state. Based on the relative position of the touch position to the second direction control sub-area within the joystick control area, and the specified turning range, the virtual vehicle's turning state under the second vehicle movement orientation is controlled.

[0129] In this mode, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area, with the first direction control sub-area being larger than the first direction switching sub-area. The first direction control sub-area is only used to control the turning state of the virtual vehicle under the first vehicle movement direction corresponding to this control state, which expands the operation range for players to perform virtual vehicle turning control operations under the first vehicle movement direction, improves operation accuracy and error tolerance, and enhances the game operation experience.

[0130] The aforementioned first direction control sub-region includes a first edge line and a second edge line; the first edge line and the second edge line are straight lines; the first edge line and the second edge line are directly or indirectly connected; the included angle between the first edge line and the second edge line is greater than 180 degrees and less than 360 degrees.

[0131] The aforementioned third display module is also used to locate the touch position in the second direction control sub-region; the second direction control sub-region is preset with the second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; the second direction control sub-region is larger than the second direction switching sub-region.

[0132] In the first control state, the joystick control area further includes a first transition sub-area; the first transition sub-area is located between the first direction switching sub-area and the first direction control sub-area; the device further includes a third control module, used to stop sending control commands to the virtual vehicle in response to the touch position being located in the first transition sub-area, the control commands being configured with instructions to control the virtual vehicle to perform game behavior.

[0133] The aforementioned device further includes a fourth display module, configured to display a first transition sub-region and a first direction switching sub-region in a first display format in response to the touch position being located in the first direction control sub-region; and to display the first transition sub-region and the first direction switching sub-region in a second display format in response to the touch position being located in the first transition sub-region; wherein the second display format is different from the first display format.

[0134] In the second control state described above, the second direction control sub-area is preset with a second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; the second direction control sub-area is larger than the second direction switching sub-area; the device also includes a fifth display module, used to display the joystick control area in the first control state in response to the touch position being located in the second direction switching sub-area.

[0135] In the second control state, the joystick control area further includes a second transition sub-area; the second transition sub-area is located between the second direction switching sub-area and the second direction control sub-area; the device further includes a fourth control module, used to stop sending control commands to the virtual vehicle in response to the touch position being located in the second transition sub-area, the control commands being configured with instructions to control the virtual vehicle to perform game behavior.

[0136] The aforementioned device further includes a sixth display module, configured to display a second transition sub-region and a second direction switching sub-region in a second display format in response to the touch position being located in the second direction control sub-region; and to display a second transition sub-region and a second direction switching sub-region in a second display format in response to the touch position being located in the second transition sub-region; wherein the second display format is different from the second display format.

[0137] The aforementioned second direction control sub-region covers the first direction switching sub-region and partially overlaps with the first direction control sub-region; the first direction control sub-region covers the second direction switching sub-region and partially overlaps with the second direction control sub-region.

[0138] The aforementioned second directional control sub-region covers the first transition sub-region in the first control state; the first directional control sub-region covers the second transition sub-region in the second control state.

[0139] The first vehicle's direction of movement includes either forward or backward movement; the second vehicle's direction of movement includes either forward or backward movement; the second vehicle's direction of movement is opposite to that of the first vehicle.

[0140] The region position in the aforementioned first direction control sub-region has a first mapping relationship with the steering parameters in the specified steering range; the aforementioned first control module is also used to determine the first region position of the touch position in the first direction control sub-region, and based on the first mapping relationship, determine the first steering parameters corresponding to the first region position.

[0141] The region position in the aforementioned second direction control sub-region has a second mapping relationship with the steering parameters in the specified steering range; the aforementioned second control module is also used to determine the second region position of the touch position in the second direction control sub-region, and based on the second mapping relationship, determine the second steering parameters corresponding to the second region position.

[0142] The aforementioned joystick control area is pre-divided into a first response area and a second response area; the vehicle movement orientations corresponding to the first response area and the second response area are different; the aforementioned first display module is also used to respond to touch operations applied to the joystick control area, determine that the touch position of the touch operation is located in the first response area, determine a first control state based on the vehicle movement orientation corresponding to the first response area, and display the joystick control area in the first control state.

[0143] This embodiment also provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the operation control method of the aforementioned game. This electronic device can be a server or a terminal device.

[0144] See Figure 12 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100. The processor 100 executes the machine-executable instructions to implement the operation control method of the game described above.

[0145] Furthermore, Figure 12The illustrated electronic device also includes a bus 102 and a communication interface 103. The processor 100, communication interface 103, and memory 101 are connected via the bus 102. The memory 101 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk drive. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless). The interface can utilize the Internet, wide area network, local area network, metropolitan area network, etc. The bus 102 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, Figure 12 The diagram uses only a single bidirectional arrow, but this does not imply a single bus or a single type of bus. Processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 100 or by instructions in software form. Processor 100 can be a general-purpose 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, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 101, and the processor 100 reads the information from memory 101 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.

[0146] The processor in the aforementioned electronic device, by executing machine-executable instructions, can implement the following operations of the aforementioned game operation control method: providing a graphical user interface through a terminal device; the method includes: displaying a scene screen of the game scene and a joystick control area in the graphical user interface; wherein the game scene includes virtual vehicles; responding to a touch operation applied to the joystick control area, displaying the joystick control area in a first control state based on the touch position of the touch operation in the joystick control area; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located in the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area... The touch position is greater than the first direction switching sub-area; the virtual vehicle is controlled to move according to the first vehicle movement orientation; based on the relative position of the touch position and the first direction control sub-area, and a specified turning range, the first turning parameter of the virtual vehicle is determined, and the turning state of the virtual vehicle is controlled according to the first turning parameter; in response to the touch position being located in the first direction switching sub-area, the joystick control area is displayed in the second control state; wherein, in the second control state, the joystick control area includes the second direction control sub-area and the second direction switching sub-area; the virtual vehicle is controlled to move according to the second vehicle movement orientation; based on the relative position of the touch position and the second direction control sub-area, and a specified turning range, the second turning parameter of the virtual vehicle is determined, and the turning state of the virtual vehicle is controlled according to the second turning parameter.

[0147] In this method, the joystick control area includes a direction control sub-area and a direction switching sub-area. Based on the touch position of the touch operation within the joystick control area, the joystick control area is displayed in a first control state. The first direction control sub-area is larger than the first direction switching sub-area. The first direction control sub-area has a preset first vehicle movement orientation and a specified turning range. Based on the touch position of the touch operation within the joystick control area, its relative position to the first direction control sub-area, and the specified turning range, the virtual vehicle's turning state under the first vehicle movement orientation is controlled. When the touch position moves to the first direction switching sub-area, the joystick control area is displayed in a second control state. Based on the relative position of the touch position to the second direction control sub-area within the joystick control area, and the specified turning range, the virtual vehicle's turning state under the second vehicle movement orientation is controlled.

[0148] In this mode, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area, with the first direction control sub-area being larger than the first direction switching sub-area. The first direction control sub-area is only used to control the turning state of the virtual vehicle under the first vehicle movement direction corresponding to this control state, which expands the operation range for players to perform virtual vehicle turning control operations under the first vehicle movement direction, improves operation accuracy and error tolerance, and enhances the game operation experience.

[0149] The aforementioned first direction control sub-region includes a first edge line and a second edge line; the first edge line and the second edge line are straight lines; the first edge line and the second edge line are directly or indirectly connected; the included angle between the first edge line and the second edge line is greater than 180 degrees and less than 360 degrees.

[0150] The processor in the aforementioned electronic device can execute machine-executable instructions to achieve the following operations of the operation control method of the aforementioned game: the touch position is located in the second direction control sub-area; the second direction control sub-area is preset with a second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; the second direction control sub-area is larger than the second direction switching sub-area.

[0151] In the first control state, the joystick control area further includes a first transition sub-area; the first transition sub-area is located between the first direction switching sub-area and the first direction control sub-area; the processor in the above-mentioned electronic device can implement the following operation of the above-mentioned game operation control method by executing machine-executable instructions: in response to the touch position being located in the first transition sub-area, stop sending control instructions to the virtual vehicle, the control instructions being configured with instructions to control the virtual vehicle to perform game behavior.

[0152] The processor in the aforementioned electronic device, by executing machine-executable instructions, can implement the following operations of the operation control method of the aforementioned game: in response to the touch position being located in the first direction control sub-region, displaying the first transition sub-region and the first direction switching sub-region in a first display format; in response to the touch position being located in the first transition sub-region, displaying the first transition sub-region and the first direction switching sub-region in a second display format; wherein the second display format is different from the first display format.

[0153] In the aforementioned second control state, the second direction control sub-area is preset with a second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; the second direction control sub-area is larger than the second direction switching sub-area; the processor in the aforementioned electronic device can implement the following operation of the aforementioned game operation control method by executing machine-executable instructions: in response to the touch position being located in the second direction switching sub-area, the joystick control area is displayed in the first control state.

[0154] In the second control state, the joystick control area further includes a second transition sub-area; the second transition sub-area is located between the second direction switching sub-area and the second direction control sub-area; the processor in the above-mentioned electronic device can implement the following operation of the above-mentioned game operation control method by executing machine-executable instructions: in response to the touch position being located in the second transition sub-area, stop sending control instructions to the virtual vehicle, the control instructions being configured with instructions to control the virtual vehicle to perform game behavior.

[0155] The processor in the aforementioned electronic device, by executing machine-executable instructions, can implement the following operations of the aforementioned game operation control method: in response to the touch position being located in the second direction control sub-region, displaying the second transition sub-region and the second direction switching sub-region in a second display format; in response to the touch position being located in the second transition sub-region, displaying the second transition sub-region and the second direction switching sub-region in a second display format; wherein, the second display format is different from the second display format.

[0156] The aforementioned second direction control sub-region covers the first direction switching sub-region and partially overlaps with the first direction control sub-region; the first direction control sub-region covers the second direction switching sub-region and partially overlaps with the second direction control sub-region.

[0157] The aforementioned second directional control sub-region covers the first transition sub-region in the first control state; the first directional control sub-region covers the second transition sub-region in the second control state.

[0158] The first vehicle's direction of movement includes either forward or backward movement; the second vehicle's direction of movement includes either forward or backward movement; the second vehicle's direction of movement is opposite to that of the first vehicle.

[0159] The region position in the aforementioned first direction control sub-region has a first mapping relationship with the steering parameters in the specified steering range; the processor in the aforementioned electronic device can implement the following operations of the aforementioned game operation control method by executing machine-executable instructions: determining the first region position of the touch position in the first direction control sub-region, and determining the first steering parameters corresponding to the first region position based on the first mapping relationship.

[0160] The region position in the aforementioned second direction control sub-region has a second mapping relationship with the steering parameters in the specified steering range; the processor in the aforementioned electronic device can implement the following operation of the aforementioned game operation control method by executing machine-executable instructions: determining the second region position of the touch position in the second direction control sub-region, and determining the second steering parameters corresponding to the second region position based on the second mapping relationship.

[0161] The aforementioned joystick control area is pre-divided into a first response area and a second response area; the vehicle movement orientations corresponding to the first response area and the second response area are different; the processor in the aforementioned electronic device can implement the following operations of the aforementioned game operation control method by executing machine-executable instructions: responding to a touch operation applied to the joystick control area, determining that the touch position of the touch operation is located in the first response area, determining a first control state based on the vehicle movement orientation corresponding to the first response area, and displaying the joystick control area in the first control state.

[0162] This embodiment also provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are called and executed by the processor, the machine-executable instructions cause the processor to implement the above-mentioned operation control method of the game.

[0163] The machine-executable instructions stored in the aforementioned machine-readable storage medium, when executed, enable the following operations in the aforementioned game operation control method: providing a graphical user interface via a terminal device; displaying a game scene and a joystick control area in the graphical user interface; wherein the game scene includes virtual vehicles; responding to a touch operation applied to the joystick control area, displaying the joystick control area in a first control state based on the touch position of the touch operation in the joystick control area; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located in the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control... The sub-region is larger than the first direction switching sub-region; the virtual vehicle is controlled to move according to the first vehicle's movement orientation; based on the relative position of the touch position and the first direction control sub-region, and a specified turning range, the first turning parameter of the virtual vehicle is determined, and the turning state of the virtual vehicle is controlled according to the first turning parameter; in response to the touch position being located in the first direction switching sub-region, the joystick control area is displayed in the second control state; wherein, in the second control state, the joystick control area includes the second direction control sub-region and the second direction switching sub-region; the virtual vehicle is controlled to move according to the second vehicle's movement orientation; based on the relative position of the touch position and the second direction control sub-region, and a specified turning range, the second turning parameter of the virtual vehicle is determined, and the turning state of the virtual vehicle is controlled according to the second turning parameter.

[0164] In this method, the joystick control area includes a direction control sub-area and a direction switching sub-area. Based on the touch position of the touch operation within the joystick control area, the joystick control area is displayed in a first control state. The first direction control sub-area is larger than the first direction switching sub-area. The first direction control sub-area has a preset first vehicle movement orientation and a specified turning range. Based on the touch position of the touch operation within the joystick control area, its relative position to the first direction control sub-area, and the specified turning range, the virtual vehicle's turning state under the first vehicle movement orientation is controlled. When the touch position moves to the first direction switching sub-area, the joystick control area is displayed in a second control state. Based on the relative position of the touch position to the second direction control sub-area within the joystick control area, and the specified turning range, the virtual vehicle's turning state under the second vehicle movement orientation is controlled.

[0165] In this mode, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area, with the first direction control sub-area being larger than the first direction switching sub-area. The first direction control sub-area is only used to control the turning state of the virtual vehicle in the first vehicle movement direction corresponding to this control state, thereby expanding the player's operation range for the virtual vehicle in the first vehicle movement direction, improving operation accuracy and error tolerance, and enhancing the game operation experience.

[0166] The aforementioned first direction control sub-region includes a first edge line and a second edge line; the first edge line and the second edge line are straight lines; the first edge line and the second edge line are directly or indirectly connected; the included angle between the first edge line and the second edge line is greater than 180 degrees and less than 360 degrees.

[0167] The machine-executable instructions stored in the aforementioned machine-readable storage medium can be used to execute the following operations in the operation control method of the aforementioned game: the touch position is located in the second direction control sub-area; the second direction control sub-area has a preset second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; the second direction control sub-area is larger than the second direction switching sub-area.

[0168] In the first control state, the joystick control area further includes a first transition sub-area; the first transition sub-area is located between the first direction switching sub-area and the first direction control sub-area; the machine-executable instructions stored in the aforementioned machine-readable storage medium can achieve the following operation in the aforementioned game operation control method by executing the machine-executable instructions: in response to the touch position being located in the first transition sub-area, the sending of control instructions to the virtual vehicle is stopped, and the control instructions are configured with instructions to control the virtual vehicle to perform game behavior.

[0169] The machine-executable instructions stored in the aforementioned machine-readable storage medium can be executed to perform the following operations in the operation control method of the aforementioned game: in response to the touch position being located in the first direction control sub-region, a first transition sub-region and a first direction switching sub-region are displayed in a first display format; in response to the touch position being located in the first transition sub-region, the first transition sub-region and the first direction switching sub-region are displayed in a second display format; wherein the second display format is different from the first display format.

[0170] In the aforementioned second control state, the second direction control sub-area is preset with a second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; the second direction control sub-area is larger than the second direction switching sub-area; the machine-executable instructions stored in the aforementioned machine-readable storage medium can achieve the following operation in the aforementioned game operation control method by executing the machine-executable instructions: in response to the touch position being located in the second direction switching sub-area, the joystick control area is displayed in the first control state.

[0171] In the second control state, the joystick control area further includes a second transition sub-area; the second transition sub-area is located between the second direction switching sub-area and the second direction control sub-area; the machine-executable instructions stored in the aforementioned machine-readable storage medium can realize the following operation in the aforementioned game operation control method by executing the machine-executable instructions: in response to the touch position being located in the second transition sub-area, the sending of control instructions to the virtual vehicle is stopped, and the control instructions are configured with instructions to control the virtual vehicle to perform game behavior.

[0172] The machine-executable instructions stored in the aforementioned machine-readable storage medium can be executed to achieve the following operations in the operation control method of the aforementioned game: in response to the touch position being located in the second direction control sub-region, displaying the second transition sub-region and the second direction switching sub-region in a second display format; in response to the touch position being located in the second transition sub-region, displaying the second transition sub-region and the second direction switching sub-region in a second display format; wherein, the second display format is different from the second display format.

[0173] The aforementioned second direction control sub-region covers the first direction switching sub-region and partially overlaps with the first direction control sub-region; the first direction control sub-region covers the second direction switching sub-region and partially overlaps with the second direction control sub-region.

[0174] The aforementioned second directional control sub-region covers the first transition sub-region in the first control state; the first directional control sub-region covers the second transition sub-region in the second control state.

[0175] The first vehicle's direction of movement includes either forward or backward movement; the second vehicle's direction of movement includes either forward or backward movement; the second vehicle's direction of movement is opposite to that of the first vehicle.

[0176] The region position in the aforementioned first direction control sub-region has a first mapping relationship with the steering parameters in the specified steering range; the machine-executable instructions stored in the aforementioned machine-readable storage medium can realize the following operations in the aforementioned game operation control method by executing the machine-executable instructions: determining the first region position of the touch position in the first direction control sub-region, and determining the first steering parameters corresponding to the first region position based on the first mapping relationship.

[0177] The region position in the aforementioned second direction control sub-region has a second mapping relationship with the steering parameters in the specified steering range; the machine-executable instructions stored in the aforementioned machine-readable storage medium can realize the following operations in the aforementioned game operation control method by executing the machine-executable instructions: determining the second region position of the touch position in the second direction control sub-region, and determining the second steering parameters corresponding to the second region position based on the second mapping relationship.

[0178] The aforementioned joystick control area is pre-divided into a first response area and a second response area; the vehicle movement orientations corresponding to the first response area and the second response area are different; the machine-executable instructions stored in the aforementioned machine-readable storage medium can achieve the following operations in the aforementioned game operation control method by executing the machine-executable instructions: responding to a touch operation acting on the joystick control area, determining that the touch position of the touch operation is located in the first response area, determining a first control state based on the vehicle movement orientation corresponding to the first response area, and displaying the joystick control area in the first control state.

[0179] The computer program product of the game operation control method, device, electronic device and storage medium provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.

[0180] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0181] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.

[0182] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0183] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0184] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for controlling the operation of a game, characterized in that, The method of providing a graphical user interface via a terminal device includes: The graphical user interface displays the game scene and a joystick control area; wherein, the game scene includes virtual vehicles; In response to a touch operation applied to the joystick control area, the joystick control area is displayed in a first control state based on the touch position of the touch operation within the joystick control area; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located within the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area; Control the virtual vehicle to move in the direction of the first vehicle; determine the first steering parameter of the virtual vehicle based on the relative position of the touch position and the first direction control sub-area, and the specified steering range, and control the steering state of the virtual vehicle according to the first steering parameter; In response to the touch position being located in the first direction switching sub-region, the joystick control area is displayed in a second control state; wherein, in the second control state, the joystick control area includes a second direction control sub-region and a second direction switching sub-region; The virtual vehicle is controlled to move in the direction of the second vehicle movement; based on the relative position of the touch position and the second direction control sub-area, and the specified turning range, the second turning parameters of the virtual vehicle are determined, and the turning state of the virtual vehicle is controlled according to the second turning parameters.

2. The method according to claim 1, characterized in that, The first direction control sub-region includes a first edge line and a second edge line; the first edge line and the second edge line are straight lines; the first edge line and the second edge line are directly or indirectly connected; the included angle between the first edge line and the second edge line is greater than 180 degrees and less than 360 degrees.

3. The method according to claim 1, characterized in that, The step of displaying the joystick control area in the second control state includes: The touch position is located in the second direction control sub-region; the second direction control sub-region has a preset second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; the second direction control sub-region is larger than the second direction switching sub-region.

4. The method according to claim 1, characterized in that, In the first control state, the joystick control area further includes a first transition sub-region; the first transition sub-region is located between the first direction switching sub-region and the first direction control sub-region; Prior to the step of displaying the joystick control area in a second control state in response to the touch position being located in the first direction switching sub-region, the method further includes: In response to the touch position being located in the first transition sub-region, the sending of control commands to the virtual vehicle is stopped, the control commands being configured with instructions to control the virtual vehicle to perform game behaviors.

5. The method according to claim 4, characterized in that, Prior to the step of displaying the joystick control area in a second control state in response to the touch position being located in the first direction switching sub-region, the method further includes: In response to the touch position being located in the first direction control sub-region, the first transition sub-region and the first direction switching sub-region are displayed in a first display format; In response to the touch position being located in the first transition sub-region, the first transition sub-region and the first direction switching sub-region are displayed in a second display format; wherein the second display format is different from the first display format.

6. The method according to claim 1, characterized in that, In the second control state, the second direction control sub-area is preset with a second vehicle movement orientation and a specified turning range; the second vehicle movement orientation is different from the first vehicle movement orientation; The second direction control sub-region is larger than the second direction switching sub-region; the method further includes: In response to the touch position being located in the second direction switching sub-region, the joystick control area is displayed in the first control state.

7. The method according to claim 6, characterized in that, In the second control state, the joystick control area further includes a second transition sub-region; the second transition sub-region is located between the second direction switching sub-region and the second direction control sub-region; Prior to the step of displaying the joystick control area in the first control state in response to the touch position being located in the second direction switching sub-region, the method further includes: In response to the touch position being located in the second transition sub-region, the sending of control commands to the virtual vehicle is stopped, the control commands being configured with instructions to control the virtual vehicle to perform game behaviors.

8. The method according to claim 7, characterized in that, Prior to the step of displaying the joystick control area in a second control state in response to the touch position being located in the second direction switching sub-region, the method further includes: In response to the touch position being located in the second direction control sub-region, the second transition sub-region and the second direction switching sub-region are displayed in a second display format; In response to the touch position being located in the second transition sub-region, the second transition sub-region and the second direction switching sub-region are displayed in a second display format; wherein the second display format is different from the second display format.

9. The method according to claim 1, characterized in that, The second direction control sub-region covers the first direction switching sub-region and partially overlaps with the first direction control sub-region; The first direction control sub-region covers the second direction switching sub-region and partially overlaps with the second direction control sub-region.

10. The method according to claim 1, characterized in that, The second directional control sub-region covers the first transition sub-region in the first control state; the first directional control sub-region covers the second transition sub-region in the second control state.

11. The method according to claim 1, characterized in that, The first vehicle movement orientation includes a forward or backward orientation; the second vehicle movement orientation includes a forward or backward orientation; the second vehicle movement orientation is opposite to the first vehicle movement orientation.

12. The method according to claim 1, characterized in that, The regional position in the first direction control sub-region has a first mapping relationship with the steering parameters in the specified steering range; The step of determining the first steering parameters of the virtual vehicle based on the relative position of the touch position and the first direction control sub-region, and the specified steering range, includes: The touch position is determined to be a first region position within the first direction control sub-region, and based on the first mapping relationship, a first steering parameter corresponding to the first region position is determined.

13. The method according to claim 1, characterized in that, The regional position in the second direction control sub-region has a second mapping relationship with the steering parameters in the specified steering range; The step of determining the second steering parameters of the virtual vehicle based on the relative position of the touch position and the second direction control sub-region, and the specified steering range, includes: Determine the second region position of the touch position within the second direction control sub-region, and based on the second mapping relationship, determine the second steering parameter corresponding to the second region position.

14. The method according to claim 1, characterized in that, The joystick control area is pre-divided into a first response area and a second response area; the vehicle movement orientations corresponding to the first response area and the second response area are different. The step of responding to a touch operation applied to the joystick control area and displaying the joystick control area in a first control state based on the touch position of the touch operation in the joystick control area includes: In response to a touch operation applied to the joystick control area, the touch position of the touch operation is determined to be located in the first response area. Based on the vehicle movement orientation corresponding to the first response area, a first control state is determined, and the joystick control area is displayed in the first control state.

15. A game operation control device, characterized in that, The device provides a graphical user interface via a terminal device; the device includes: The first display module is used to display the scene screen of the game scene and the joystick control area in the graphical user interface; wherein, the game scene includes virtual vehicles; The second display module is configured to respond to a touch operation applied to the joystick control area, and display the joystick control area in a first control state based on the touch position of the touch operation within the joystick control area; wherein, in the first control state, the joystick control area includes a first direction control sub-area and a first direction switching sub-area; the touch position is located within the first direction control sub-area; the first direction control sub-area is preset with a first vehicle movement orientation and a specified turning range; the first direction control sub-area is larger than the first direction switching sub-area; The first control module is used to control the virtual vehicle to move according to the first vehicle's moving orientation; based on the relative position of the touch position and the first direction control sub-area, and the specified turning range, to determine the first turning parameters of the virtual vehicle, and to control the turning state of the virtual vehicle according to the first turning parameters; The third display module is configured to display the joystick control area in a second control state in response to the touch position being located in the first direction switching sub-area; wherein, in the second control state, the joystick control area includes a second direction control sub-area and a second direction switching sub-area; The second control module is used to control the virtual vehicle to move according to the second vehicle movement orientation; based on the relative position of the touch position and the second direction control sub-area, and the specified turning range, to determine the second turning parameters of the virtual vehicle, and to control the turning state of the virtual vehicle according to the second turning parameters.

16. An electronic device, characterized in that, It includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the game operation control method according to any one of claims 1-14.

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

Citation Information

Patent Citations

  • Game control method and device

    CN105597310A

  • Information processing method and device, electronic equipment and computer readable storage medium

    CN107008003A