Game operation mode switching method and device, storage medium and electronic device

By monitoring the real-time position and sliding trajectory of touch operations in the game, real-time switching of game operation mode is achieved, and the problem of switching operation modes in the prior art requires pausing the game, improving game experience and operation flexibility.

CN113769370BActive Publication Date: 2024-11-08NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202111068857.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-13
Publication Date
2024-11-08
Estimated Expiration
2041-09-13

AI Technical Summary

Technical Problem

In the prior art, players need to pause the game or enter the setting interface when switching operation modes in the game, resulting in poor gaming experience and inability to switch operation modes according to the real-time situation of the game, affecting the player's experience.

Method used

The virtual objects of the game are displayed through the graphical user interface of the terminal device, the real-time position and sliding track of touch operations are monitored, and the target operation mode is determined in various operation modes based on this information, so as to realize the instant switching of operation mode during the game.

Benefits of technology

It improves players' operation flexibility and gaming experience, avoids the adverse effects of game pauses, allows quick switching of operation modes when the game cannot be paused, and enhances the player's operation limit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113769370B_ABST
    Figure CN113769370B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of game technology, and specifically to a method and device for switching game operation modes, a computer-readable storage medium, and an electronic device, wherein the method comprises: displaying a game virtual object through a graphical user interface of a terminal device, and controlling the game virtual object to perform a game action according to an operation mode; wherein the game virtual object corresponds to a plurality of operation modes; and during the game, responding to an operation mode switching instruction, determining a target operation mode from a plurality of operation modes. The technical solution of the embodiments of the present disclosure can solve the problem that it is inconvenient for players to switch operation modes.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of mobile smart terminals and the gaming industry, a large number of mobile games of different themes have emerged to meet the needs of players. In various game applications, it is usually necessary to control the game virtual objects to perform corresponding actions through game controls provided by a graphical user interface or other methods (such as voice, etc.).

[0003] In some mobile games, game developers provide players with multiple operation modes. Different operation modes correspond to different groups of game controls and control methods. Players can choose the operation mode that suits them according to their own habits. Specifically, when players need to switch operation modes, they can switch in the settings interface. The existing switching solutions include switching within the game and switching outside the game.

[0004] However, the scheme for switching operation modes in the prior art is for setting the interface outside the game, and the player cannot complete the switching of operation modes within the game, and cannot switch the operation mode according to the real-time situation of the game; for setting the interface within the game, the player is required to pause the game and then switch the operation mode, or, when the game cannot be paused within the game, the player entering the in-game setting interface to switch may have an adverse effect on the player, resulting in a poor gaming experience for the player, and further leading to player loss.

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

[0006] The purpose of the present disclosure is to provide a method and device for switching game operation modes, a computer-readable storage medium, and an electronic device, which can solve the problem that it is inconvenient for players to switch operation modes.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to a first aspect of the present disclosure, a method for switching a game operation mode is provided, which is characterized by comprising: displaying a game virtual object through a graphical user interface of a terminal device, and controlling the game virtual object to perform game actions according to an operation mode; wherein the game virtual object corresponds to a plurality of operation modes; and during the game, in response to an operation mode switching instruction, determining a target operation mode among the plurality of operation modes.

[0009] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the target operation mode is determined among the multiple operation modes in response to the operation mode switching instruction, including: receiving a touch operation acting on the graphical user interface, and monitoring the real-time position of the touch point corresponding to the current touch operation; determining the operation mode switching instruction according to the change of the real-time position of the touch point, and determining the target operation mode among the multiple operation modes according to the operation mode switching instruction.

[0010] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, determining the operation mode switching instruction according to the change of the real-time position of the touch point includes: monitoring the first area of ​​the graphical user interface and the second area of ​​the graphical user interface; when the touch point appears in the first area and the second area, determining the operation mode switching instruction according to the presence of the touch point in the first area and the second area.

[0011] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, determining the operation mode switching instruction according to the change of the real-time position of the touch point includes: monitoring the sliding trajectory of the touch point; when the sliding trajectory of the touch point meets the preset sliding trajectory, determining the operation mode switching instruction according to the preset sliding trajectory.

[0012] In an exemplary embodiment of the present disclosure, based on the above-mentioned solution, two ends of the preset sliding track are located at the border of the graphical user interface.

[0013] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the target operation mode is determined among the multiple operation modes in response to the operation mode switching instruction, including: obtaining the position of the current operation mode in the order of the multiple operation modes; and in response to the operation mode switching instruction, switching the current operation mode to the target operation mode of the previous or next order.

[0014] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, in response to the operation mode switching instruction, the current operation mode is switched to a target operation mode of the previous or next order, including: obtaining a sliding trajectory of the touch point corresponding to the operation mode switching instruction, and obtaining a sliding direction of the sliding trajectory; when the sliding direction is a first sliding direction, the current operation mode is switched to a target operation mode of the previous or next order; when the sliding direction is a second sliding direction, the current operation mode is switched to a target operation mode of the opposite direction to the order corresponding to the first sliding direction; wherein the first sliding direction is opposite to the second sliding direction.

[0015] In an exemplary embodiment of the present disclosure, based on the aforementioned solution, the game is a racing game, and the operation modes include a button operation mode, a joystick operation mode, and a gyroscope operation mode.

[0016] According to a second aspect of the present disclosure, a virtual game operation mode switching device is provided, characterized in that the device includes: a virtual object control module, used to display a game virtual object through a graphical user interface of a terminal device, and control the game virtual object to perform game actions according to an operation mode; wherein the game virtual object corresponds to a plurality of operation modes; an operation mode switching module, used to determine a target operation mode among the plurality of operation modes in response to an operation mode switching instruction during the game.

[0017] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the game operation mode switching method described in the first aspect of the above embodiment is implemented.

[0018] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:

[0019] Processor; and

[0020] A memory is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the game operation mode switching method as described in the first aspect of the above embodiment.

[0021] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0022] In the game operation mode switching method provided in an embodiment of the present disclosure, the operation mode switching instruction can be operated to determine the target operation mode among multiple operation modes. On the one hand, the operation mode can be switched in time according to the real-time situation in the game, so that the switched operation mode is more in line with the real-time situation, thereby increasing the player's operation limit and thus improving the player's game experience; on the other hand, the player does not need to pause the game, avoiding the poor player experience caused by the game pause, and because the player does not need to open the setting interface to switch the operation mode, when the game cannot be paused, the operation mode can be quickly switched, avoiding the problem of adverse effects on the player due to switching the operation mode, thereby improving the player's game experience.

[0023] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0025] Figure 1 A flowchart schematically illustrates a method for switching a game operation mode in an exemplary embodiment of the present disclosure;

[0026] Figure 2 A schematic diagram schematically illustrates a graphical user interface of a racing game in an exemplary embodiment of the present disclosure;

[0027] Figure 3 A schematic diagram schematically illustrates an operation mode (joystick mode) in an exemplary embodiment of the present disclosure;

[0028] Figure 4 A flowchart schematically illustrates determining an operation mode switching instruction according to a change in the real-time position of a touch point and determining a target operation mode among multiple operation modes in an exemplary embodiment of the present disclosure;

[0029] Figure 5 Schematically showing a flow chart of determining an operation mode switching instruction according to the presence of a touch point in a first area and a second area in an exemplary embodiment of the present disclosure;

[0030] Figure 6 A schematic diagram schematically illustrates determining an operation mode switching instruction when a sliding touch operation from a first area directly to a second area is received in an exemplary embodiment of the present disclosure;

[0031] Figure 7 A flowchart schematically illustrates a method of determining an operation mode switching instruction according to a preset sliding trajectory in an exemplary embodiment of the present disclosure;

[0032] Figure 8 A schematic diagram schematically showing that the sliding trajectory of a touch point in an exemplary embodiment of the present disclosure conforms to a preset sliding trajectory;

[0033] Fig. 9 A schematic diagram schematically shows that a starting point of a preset sliding track is located at a border of a graphical user interface, and an end point of the preset sliding track is also located at a border of the graphical user interface in an exemplary embodiment of the present disclosure;

[0034] Fig.10 A flowchart schematically illustrates how to switch a current operation mode to a target operation mode of a previous or next order in response to an operation mode switching instruction in an exemplary embodiment of the present disclosure;

[0035] Fig.11 A schematic diagram schematically illustrates determining a target operation mode according to a sliding direction of a sliding track in an exemplary embodiment of the present disclosure;

[0036] Fig.12 A schematic diagram schematically shows the composition of a game operation mode switching device in an exemplary embodiment of the present disclosure;

[0037] Fig.13 The structure diagram of a computer system suitable for implementing the electronic device of the exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0038] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In addition, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid blurring various aspects of the present disclosure.

[0039] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or these functional entities or parts of functional entities may be implemented in one or more software hardened modules, or these functional entities may be implemented in different networks and / or processor devices and / or microcontroller devices.

[0040] With the development of the Internet industry, the gaming industry has also developed rapidly. In order to cater to the needs of players, game merchants have designed various games that can be configured on terminal devices.

[0041] This exemplary embodiment provides a game operation mode switching solution, which can obtain a graphical user interface by executing application software on a processor of a terminal device and rendering it on a display of the terminal device. The terminal device can be an electronic device with a display screen, such as a computer, a tablet computer, a smart phone, etc., or a terminal device such as a game console, a VR device, etc., including a memory for storing data and a processor for data processing, and the game application software is installed through the memory, and the processor executes the corresponding game program to realize the operation of the game on the terminal device.

[0042] The game operation mode switching scheme in this exemplary embodiment can be applied to various game scenarios that require switching operation modes, such as TPS (third-person shooting), FPS (first-person shooting), RPG (role-playing game), ACT (action game), SLG (strategy game), FTG (fighting game), SPG (sports competitive game), RCG (racing game), AVG (adventure game), etc. As long as it involves the scene of switching operation modes, the game operation mode switching scheme disclosed in this disclosure can be applied.

[0043] In the present disclosure, the present solution will be explained with a racing game. In the related art, due to the different operating habits of different players, game developers provide players with a variety of operating modes, and different operating modes correspond to different groups of game controls and control methods. For example, in a racing game, the game developer provides players with a triple operating mode, a button mode, a joystick mode, and a gyroscope mode. Players can switch among these three modes according to their own operating habits. When switching the operating mode, the player can switch outside the game, for example, the target operating mode can be selected in the setting interface, or the player can also switch the operating mode in the game, for example, the player can pause the current game and open the setting interface to switch the operating mode, or, when the game does not support the pause operation, the player can only stop the current operation and open the setting interface to switch the operating mode, so that it may have an adverse effect on the player, for example, the vehicle controlled by other players may exceed the vehicle controlled by the player, the player's lap time will increase, etc., making the player's game experience poor, thereby causing the loss of players.

[0044] refer to Figure 1 As shown, a flow chart of the method for switching the game operation mode in this exemplary embodiment is shown, which may include the following steps:

[0045] Step S110: displaying a game virtual object through a graphical user interface of a terminal device, and controlling the game virtual object to perform game actions according to an operation mode; wherein the game virtual object corresponds to a plurality of operation modes;

[0046] Step S120: During the game, in response to an operation mode switching instruction, a target operation mode is determined among multiple operation modes.

[0047] According to the game operation mode switching method provided in this exemplary embodiment, the operation mode switching instruction can be operated to determine the target operation mode in multiple operation modes. On the one hand, the operation mode can be switched in time according to the real-time situation in the game, so that the switched operation mode is more in line with the real-time situation, thereby increasing the player's operation limit and thus improving the player's game experience; on the other hand, the player does not need to pause the game, avoiding the poor player experience caused by the game pause, and because the player does not need to open the setting interface to switch the operation mode, when the game cannot be paused, the operation mode can be quickly switched, avoiding the problem of adverse effects on the player due to switching the operation mode, thereby improving the player's game experience.

[0048] Next, we will combine Figure 1 The steps S110 to S120 of the game operation mode switching method in the exemplary embodiment are described in more detail.

[0049] Step S110, displaying a game virtual object through a graphical user interface of a terminal device, and controlling the game virtual object to perform a game action according to an operation mode; wherein the game virtual object corresponds to a plurality of operation modes;

[0050] In an exemplary embodiment of the present disclosure, the solution of the present disclosure can be applied to a mobile terminal that displays a graphical user interface. The graphical user interface can be used to display a game interface, and the graphical user interface can be presented in whole or in part in a display area of ​​a terminal device. Specifically, game scenes and game virtual objects can be displayed through the graphical user interface.

[0051] In an exemplary embodiment of the present disclosure, the operation modes correspond to different groups of game controls, and the game controls can be used to control the game virtual objects to perform corresponding game actions. Specifically, after the player selects the operation mode, multiple game controls can be displayed in the graphical user interface. For example, Figure 2 As shown, the graphical user interface 200 includes a map 201 and a direction control control 202, and the direction of the game virtual object 203 can be controlled by the direction control control 202. The graphical user interface also displays a nitrogen accumulation progress bar 205, and nitrogen can be accumulated by the brake control 204. When the nitrogen accumulation progress bar 205 reaches 100%, the acceleration control 206 is in a clickable state, and the player can control the game virtual object to accelerate forward by clicking the acceleration control.

[0052] In an exemplary embodiment of the present disclosure, a game virtual object corresponds to a plurality of operation modes. Specifically, a plurality of operation modes can be used to control the game virtual object to perform game actions. Different operation modes have different operation logics. For example, in a racing game, a key operation mode (such as Figure 2 ), joystick operation mode, gyroscope operation mode, etc. That is, the game virtual object can be controlled to perform game actions through the above-mentioned multiple operation modes. Figure 3 The joystick operation mode is shown, and the game virtual object can be controlled to change the forward direction through the joystick control 300. It should be noted that the present disclosure does not specifically limit the specific form of the operation mode corresponding to the game virtual object.

[0053] Step S120, during the game, in response to an operation mode switching instruction, determining a target operation mode among multiple operation modes.

[0054] In an exemplary embodiment of the present disclosure, the solution of the present disclosure can be implemented during the game process. Specifically, the game process refers to the state where the player enters the game game, game competition, game plot, etc. after the game application is started. For example, for a racing game, players can match other players in the game lobby and compete. After the match is successful, multiple players enter the competition scene, and the players control their respective cars to compete. The state at this time is the state of the game process.

[0055] In an exemplary embodiment of the present disclosure, a target operation mode can be determined in a plurality of operation modes in response to an operation mode switching instruction during the course of a game. Specifically, the operation mode switching instruction can be used to determine the target operation mode in a plurality of operation modes, and the operation mode switching instruction can include key operation, touch operation, voice, gravity sensing, system generation, and the like. For example, after receiving a sliding touch operation for a graphical user interface, the current operation mode can be switched to a target operation mode corresponding to the sliding touch operation; or, when the player says "switch XX operation mode", the current operation mode is switched to XX operation mode. It should be noted that the present disclosure does not specifically limit the source and form of the operation mode switching instruction.

[0056] In an exemplary embodiment of the present disclosure, the operation mode corresponding to the operation mode switching instruction can be determined through the operation mode switching instruction, or the operation mode can be rotated through the operation mode switching instruction, that is, switching from the current operation mode to the next operation mode.

[0057] In an exemplary embodiment of the present disclosure, an operation mode switching instruction may be generated by a system-generated method. Specifically, when a specific event occurs, an operation mode switching instruction corresponding to the event is automatically generated. For example, the tilt angle of the mobile phone may be detected by a gyroscope in the mobile phone, and when the tilt angle of the mobile phone reaches a preset angle, the gyroscope operation mode may be switched.

[0058] In an exemplary embodiment of the present disclosure, a touch operation acting on a graphical user interface may be received, and the real-time position of a touch point corresponding to the current touch operation may be monitored, and an operation mode switching instruction may be determined according to a change in the real-time position of the touch point, and a target operation mode may be determined from multiple operation modes. Figure 4 As shown, determining the operation mode switching instruction according to the change of the real-time position of the touch point and determining the target operation mode among multiple operation modes may include the following steps S410-S420:

[0059] Step S410, receiving a touch operation on the graphical user interface, and monitoring the real-time position of the touch point corresponding to the current touch operation;

[0060] In an exemplary embodiment of the present disclosure, a touch operation acting on a graphical user interface may be received. Specifically, the touch operation may include a sliding touch operation, a pressing touch operation, a gesture touch operation, a long press touch operation, a click touch operation, a drag touch operation, etc. It should be noted that the present disclosure does not specifically limit the form of the touch operation.

[0061] In an exemplary embodiment of the present disclosure, the real-time position of the touch point corresponding to the current touch operation can be detected. Specifically, each touch operation has a corresponding touch point in the graphical user interface, that is, the real-time position of the current touch operation.

[0062] Step S420 , determining an operation mode switching instruction according to the change in the real-time position of the touch point, and determining a target operation mode among the multiple operation modes according to the operation mode switching instruction.

[0063] In an exemplary embodiment of the present disclosure, the change in the real-time position of the touch point corresponding to the touch operation can be obtained, and the operation mode switching instruction can be determined according to the change in the real-time position of the touch point corresponding to the touch operation, and the target operation mode can be determined in multiple operation modes according to the operation mode switching instruction. Specifically, the change in the real-time position of the touch point corresponding to the touch operation indicates that the touch operation acting on the graphical user interface has been received, and the operation mode switching instruction can be determined according to the real-time position of the touch point. For example, when the touch point corresponding to the touch operation moves from the leftmost side of the graphical user interface to the rightmost side of the graphical user interface, the operation mode switching instruction can be determined according to the movement of the above touch point; or, when the touch point corresponding to the touch operation moves in a specific shape in the graphical user interface, the operation mode switching instruction can be determined according to the movement of the above touch point. It should be noted that the present disclosure does not specifically limit the specific form of determining the operation mode switching instruction according to the change in the real-time position of the touch point.

[0064] Through the above steps S410 to S420, touch operations acting on the graphical user interface can be received, and the real-time position of the touch point corresponding to the current touch operation can be monitored, and the operation mode switching instruction can be determined according to the change of the real-time position of the touch point, and the target operation mode can be determined among multiple operation modes.

[0065] In an exemplary embodiment of the present disclosure, a first area of ​​a graphical user interface and a second area of ​​the graphical user interface may be monitored, and when a touch point appears in the first area and the second area, an operation mode switching instruction is determined according to the presence of the touch point in the first area and the second area. Figure 5 As shown, determining the operation mode switching instruction according to the presence of the touch point in the first area and the second area may include the following steps S510-S520:

[0066] Step S510, monitoring a first area of ​​the graphical user interface and a second area of ​​the graphical user interface;

[0067] In an exemplary embodiment of the present disclosure, a first area of ​​a graphical user interface and a second area of ​​a graphical user interface can be monitored. Specifically, the first area of ​​the graphical user interface and the second area of ​​the graphical user interface can be set at any position in the graphical user interface, and the first area of ​​the graphical user interface and the second area of ​​the graphical user interface can also be set to any size. The first area of ​​the graphical user interface and the second area of ​​the graphical user interface can be any shape, such as a circle, a square, an ellipse, a triangle, etc. In the game client, the position and size of the first area of ​​the graphical user interface and the second area of ​​the graphical user interface can be provided by the game producer, and a customized solution can also be provided to the player, so that the user can adjust the position and size of the first area of ​​the graphical user interface and the second area of ​​the graphical user interface according to his own habits. It should be noted that the present disclosure does not specifically limit the specific shape, position, and size of the first area of ​​the graphical user interface and the second area of ​​the graphical user interface.

[0068] Step S520 , when the touch point appears in the first area and the second area, determining an operation mode switching instruction according to the presence of the touch point in the first area and the second area.

[0069] In an exemplary embodiment of the present disclosure, when it is detected that the touch point corresponding to the touch operation appears in the first area and the second area, the operation mode switching instruction is determined according to the presence of the touch point in the first area and the second area. Specifically, if the touch point corresponding to the touch operation appears in the first area and the second area, it can be indicated that the touch operation has reached these two areas respectively, indicating that the player needs to switch the operation mode. Specifically, the touch point appears in the first area or the second area, which can include a click touch operation, a sliding touch operation, a press touch operation, etc. It should be noted that the present disclosure does not specifically limit the presence of the touch point in the first area or the second area.

[0070] Furthermore, different existence forms may correspond to different operation mode switching instructions. For example, if a long press touch operation is received in the first area and a click touch operation is received in the second area, then the A operation mode switching instruction may be determined based on the existence of the touch points in the two areas; if a sliding touch operation is received in the first area and a long press touch operation is received in the second area, then the B operation mode switching instruction may be determined based on the existence of the touch points in the two areas.

[0071] Furthermore, different operation mode switching instructions can be determined according to the order in which the touch points appear in the first area and the second area. For example, if a click touch operation is received in the first area first and then in the second area, then the operation mode switching instruction C can be determined according to the presence of the touch points in the two areas; and if a click touch operation is received in the second area first and then in the first area, then the operation mode switching instruction D can be determined according to the presence of the touch points in the two areas.

[0072] Furthermore, the touch point appears in the first area or the second area, which can be achieved by one touch operation or by multiple touch operations. Figure 6 As shown, when a sliding touch operation 603 of sliding directly from the first area 601 to the second area 602 is received, an operation mode switching instruction may be determined.

[0073] Further, when the time interval between the touch point appearing in the first area and the second area is less than the preset time interval, the operation mode switching instruction is determined. For example, a click touch operation is received in the first area, and after an interval of 0.5 seconds, a click touch operation is received in the second area, and the preset time interval is 1.5 seconds, then the operation mode switching instruction can be determined based on the presence of the touch point in the first area and the second area.

[0074] Through the above steps S510 to S520, the first area of ​​the graphical user interface and the second area of ​​the graphical user interface can be monitored. When the touch point appears in the first area and the second area, the operation mode switching instruction is determined according to the presence of the touch point in the first area and the second area.

[0075] In an exemplary embodiment of the present disclosure, the sliding track of the touch point can be monitored, and when the sliding track of the touch point meets the preset sliding track, the operation mode switching instruction is determined according to the preset sliding track. Figure 7 As shown, determining the operation mode switching instruction according to the preset sliding track may include the following steps S710-S720:

[0076] Step S710, monitoring the sliding trajectory of the touch point;

[0077] In an exemplary embodiment of the present disclosure, the sliding track of the touch point corresponding to the touch operation can be monitored. Specifically, the sliding track of the touch point on the entire graphical user interface can be monitored, and the sliding track in a specific area can also be detected. It should be noted that the present disclosure does not specifically limit the area corresponding to the sliding track.

[0078] Step S720: When the sliding track of the touch point matches the preset sliding track, an operation mode switching instruction is determined according to the preset sliding track.

[0079] In an exemplary embodiment of the present disclosure, when the sliding trajectory of the touch point conforms to the preset sliding trajectory, the operation mode switching instruction can be determined according to the preset sliding trajectory. Specifically, the sliding trajectory of the touch point conforms to the preset sliding trajectory, which may include the shape of the sliding trajectory being consistent with the shape of the preset sliding trajectory. For example, when the preset sliding trajectory is a "V" shape, and the sliding trajectory of the touch point is detected to be a "V" shape, then it means that the sliding trajectory of the touch point conforms to the preset sliding trajectory; or, it may also include that the position and shape of the sliding trajectory are the same as the preset sliding trajectory. For example, if Figure 8 As shown, when the position and shape of the sliding track are the same as the preset sliding track 800, it means that the sliding track of the touch point meets the preset sliding track.

[0080] Furthermore, when it is determined that the sliding trajectory of the touch point conforms to the preset sliding trajectory, the operation mode switching instruction is switched to the operation mode switching instruction corresponding to the preset sliding mode. Different preset sliding trajectories may correspond to different operation mode switching instructions. For example, when the preset sliding trajectory is a "V" type, the corresponding operation mode switching instruction is A, and when the preset sliding trajectory is an "L" type, the corresponding operation mode switching instruction is B. It should be noted that the present disclosure does not make any special limitation on the correspondence between the operation mode switching instructions corresponding to the preset sliding trajectories.

[0081] Furthermore, both ends of the preset sliding track may also be located at the border of the graphical user interface. That is, the starting point of the preset sliding track is located at the border of the graphical user interface, and the end point of the preset sliding track is also located at the border of the graphical user interface. Fig. 9 As shown, one end of the preset sliding track 901 is located at the right frame 902 of the graphical user interface 900, and the other end of the preset sliding track is located at the bottom frame 903 of the graphical user interface 900. For example, when the starting point of the preset sliding track is located at the right frame 902 and the end point is located at the bottom frame 903, it corresponds to the A operation mode switching instruction; when the starting point of the preset sliding track is located at the bottom frame 903 and the end point is located at the right frame 902, it corresponds to the B operation mode switching instruction. Of course, in order to save computing resources, the detection areas of the two end points of the preset sliding track can be limited to the four corners of the graphical user interface (for example Fig. 9 The lower right corner of the graphical user interface in the figure only detects whether the part of the right frame near the bottom and the part of the lower frame near the right have the end point of the sliding track). It should be noted that the present disclosure does not make any special limitation on the corresponding relationship between the operation mode switching instructions corresponding to the preset sliding track.

[0082] Furthermore, the preset sliding track may have different sliding directions, and the preset sliding tracks with different sliding directions may correspond to different operation mode switching instructions.

[0083] Through the above steps S710 to S720, the sliding trajectory of the touch point can be monitored, and when the sliding trajectory of the touch point meets the preset sliding trajectory, the operation mode switching instruction is determined according to the preset sliding trajectory.

[0084] In an exemplary embodiment of the present disclosure, the position of the current operation mode in the order of multiple operation modes can be obtained, and in response to an operation mode switching instruction, the current operation mode is switched to a target operation mode of the previous or next order. Fig.10 As shown, in response to the operation mode switching instruction, switching the current operation mode to the target operation mode of the previous or next order may include the following steps S1010-S1020:

[0085] Step S1010, obtaining the position of the current operation mode in the order of multiple operation modes;

[0086] In an exemplary embodiment of the present disclosure, the position of the current operation mode in multiple operation modes can be obtained. Specifically, the game virtual object corresponds to multiple operation modes, and the multiple operation modes have a certain order.

[0087] Step S1020 , in response to the operation mode switching instruction, the current operation mode is switched to a target operation mode of the previous or next priority.

[0088] In an exemplary embodiment of the present disclosure, after receiving an operation mode switching instruction, the current operation mode can be switched to a target operation mode of the previous or next order. Specifically, when receiving an operation mode switching instruction, it indicates that the player needs to switch the current operation mode. At this time, the current operation mode can be switched according to the operation mode order and the position of the current operation mode in the operation mode order, and can be switched to an operation mode of the previous or next order in the operation mode order. For example, the order of multiple operation modes is A operation mode, B operation mode, C operation mode. During the game, the operation mode being used is B operation mode. At this time, B operation mode can be switched to A operation mode or C operation mode.

[0089] Furthermore, the operation mode sequence may include a closed sequence and a cyclic sequence. For example, the sequence of the multiple operation modes is operation mode A, operation mode B, and operation mode C, and the current operation mode is operation mode C. When the operation mode sequence is a closed sequence, there is no operation mode of the next order, that is, it is impossible to switch to the operation mode of the next order; when the operation mode sequence is a cyclic sequence, it is possible to cyclically switch among the multiple operation mode sequences, that is, switch to operation mode A.

[0090] Through the above steps S1010 to S1020, the position of the current operation mode in the order of multiple operation modes can be obtained, and in response to the operation mode switching instruction, the current operation mode is switched to the target operation mode of the previous or next order.

[0091] In an exemplary embodiment of the present disclosure, the sliding track of the touch point corresponding to the operation mode switching instruction can be obtained, and the sliding direction of the sliding track can be obtained. When the sliding direction is a first sliding direction, the current operation mode is switched to a target operation mode of the previous or next sequence. When the sliding direction is a second sliding direction, the current operation mode is switched to a target operation mode of the sequence opposite to the sequence corresponding to the first sliding direction. Fig.11 As shown, determining the target operation mode according to the sliding direction of the sliding track may include the following steps S1110 to S1130:

[0092] Step S1110, obtaining a sliding track of the touch point corresponding to the operation mode switching instruction, and obtaining a sliding direction of the sliding track;

[0093] In an exemplary embodiment of the present disclosure, the sliding track of the touch point corresponding to the operation mode switching instruction can be obtained, and the sliding direction of the sliding track can be obtained. Specifically, the operation mode switching instruction can be determined according to the sliding track of the touch point corresponding to the sliding operation, and at this time, the sliding direction corresponding to the sliding track can be obtained. The sliding direction of the sliding track includes a first sliding direction and a second sliding direction, and the first sliding direction and the second sliding direction are opposite.

[0094] Step S1120, when the sliding direction is the first sliding direction, switching the current operation mode to a target operation mode of the previous or next priority;

[0095] Step S1130: When the sliding direction is the second sliding direction, the current operation mode is switched to a target operation mode of a sequence opposite to the sequence corresponding to the first sliding direction.

[0096] In an exemplary embodiment of the present disclosure, after the sliding direction of the sliding track is acquired, it can be determined whether the sliding direction of the sliding track is the first sliding direction or the second sliding direction. Specifically, when the sliding direction is the first sliding direction, the current operation mode is switched to the target operation mode of the previous or next sequence. When the sliding direction is the second sliding direction, the current operation mode is switched to the target operation mode of the sequence in the opposite direction of the sequence corresponding to the first sliding direction. That is, when the sliding direction is the first sliding direction, the current operation mode is switched to the target operation mode of the previous / next sequence, and when the sliding direction is the second sliding direction, the current operation mode is switched to the target operation mode of the next / previous sequence.

[0097] Through the above steps S1110 to S1130, the sliding trajectory of the touch point corresponding to the operation mode switching instruction can be obtained, and the sliding direction of the sliding trajectory can be obtained. When the sliding direction is the first sliding direction, the current operation mode is switched to the target operation mode of the previous or next sequence. When the sliding direction is the second sliding direction, the current operation mode is switched to the target operation mode of the opposite direction to the sequence corresponding to the first sliding direction.

[0098] In an exemplary embodiment of the present disclosure, Fig. 9 As shown, when the starting point of the acquired sliding track is located at the right frame 902 and the end point is located at the lower frame 903, the sliding direction is the first sliding mode, which corresponds to switching the current operation mode to the target operation mode of the previous or next sequence; when the starting point of the sliding track is located at the lower frame 903 and the end point is located at the right frame 902, the sliding direction is the second sliding mode, which corresponds to switching the current operation mode to the target operation mode of the next or previous sequence. In order to save computing resources, the detection areas of the two end points of the sliding track can be limited to the four corners of the graphical user interface (for example, Fig. 9 The lower right corner of the graphical user interface in the figure only detects whether the part of the right frame near the bottom and the part of the lower frame near the right have the end point of the sliding track). It should be noted that the present disclosure does not make any special limitation on the corresponding relationship between the operation mode switching instructions corresponding to the sliding track.

[0099] In an exemplary embodiment of the present disclosure, after detecting an operation mode switching instruction (which may be any of the operation mode switching instructions mentioned in the above embodiments, such as a sliding operation in which the starting point of the sliding track is located at the right border of the graphical user interface and the end point is located at the lower border of the graphical user interface, or a sliding operation in which the starting point of the sliding track is located at the lower border of the graphical user interface and the end point is located at the right border of the graphical user interface), an operation mode switching control may be displayed in the graphical user interface, and the operation mode may be switched in response to a touch operation on the operation mode switching control. For example, swiping up the operation mode switching control switches the current operation mode to the target operation mode of the previous or next order; swiping down the operation mode switching control switches the current operation mode to the target operation mode of the next or previous order. Of course, it may also be possible to switch by swiping the operation mode switching control left and right, or by clicking on the sub-controls corresponding to switching the previous operation mode and switching the next operation mode, respectively, and the present disclosure does not make any special limitation on this.

[0100] In an exemplary embodiment of the present disclosure, a mode switching instruction can be operated to determine a target operation mode among multiple operation modes. On the one hand, the operation mode can be switched in time according to the real-time situation in the game, so that the switched operation mode is more in line with the real-time situation, thereby increasing the player's operation limit and thus improving the player's gaming experience; on the other hand, the player does not need to pause the game, avoiding a poor player experience due to the game pause, and because the operation mode can be switched without the player opening the setting interface, the operation mode can be quickly switched when the game cannot be paused, avoiding the problem of adverse effects on the player due to the switching of the operation mode, thereby improving the player's gaming experience.

[0101] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0102] In addition, in an exemplary embodiment of the present disclosure, a game operation mode switching device is also provided. Fig.12 As shown, a game operation mode switching device 1200 includes: a virtual object control module 1210 and an operation mode switching module 1220 .

[0103] Among them, the virtual object control module is used to display the game virtual object through the graphical user interface of the terminal device, and control the game virtual object to perform game actions according to the operation mode; wherein the game virtual object corresponds to multiple operation modes; the operation mode switching module is used to determine the target operation mode among multiple operation modes in response to the operation mode switching instruction during the game.

[0104] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, in response to an operation mode switching instruction, a target operation mode is determined among multiple operation modes, and the device also includes: a real-time position monitoring unit, which is used to receive a touch operation acting on a graphical user interface and monitor the real-time position of a touch point corresponding to the current touch operation; a target operation mode determination unit, which is used to determine the operation mode switching instruction according to a change in the real-time position of the touch point, and determine the target operation mode among multiple operation modes according to the operation mode switching instruction.

[0105] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the operation mode switching instruction is determined according to the change of the real-time position of the touch point, and the device also includes: an area monitoring unit, used to monitor the first area of ​​the graphical user interface and the second area of ​​the graphical user interface; a first switching instruction determination unit, when the touch point appears in the first area and the second area, determines the operation mode switching instruction according to the presence of the touch point in the first area and the second area.

[0106] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the operation mode switching instruction is determined according to the change of the real-time position of the touch point, and the device also includes: a sliding trajectory monitoring unit, used to monitor the sliding trajectory of the touch point; a second switching instruction determination unit, used to determine the operation mode switching instruction according to the preset sliding trajectory when the sliding trajectory of the touch point meets the preset sliding trajectory.

[0107] In an exemplary embodiment of the present disclosure, based on the above-mentioned solution, two ends of the preset sliding track are located at the border of the graphical user interface.

[0108] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, in response to an operation mode switching instruction, a target operation mode is determined among multiple operation modes, and the device also includes: a sequence position acquisition unit, used to obtain the position of the current operation mode in the sequence of multiple operation modes; and a first operation mode switching unit, used to switch the current operation mode to a target operation mode of the previous or next sequence in response to the operation mode switching instruction.

[0109] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, in response to an operation mode switching instruction, the current operation mode is switched to a target operation mode of the previous or next order, and the device also includes: a sliding direction acquisition unit, used to acquire the sliding trajectory of the touch point corresponding to the operation mode switching instruction, and acquire the sliding direction of the sliding trajectory; a first direction switching unit, used to switch the current operation mode to a target operation mode of the previous or next order when the sliding direction is a first sliding direction; a second direction switching unit, used to switch the current operation mode to a target operation mode of the opposite direction of the order corresponding to the first sliding direction when the sliding direction is a second sliding direction; wherein the first sliding direction is opposite to the second sliding direction.

[0110] In an exemplary embodiment of the present disclosure, based on the aforementioned solution, the game is a racing game, and the operation modes include a button operation mode, a joystick operation mode, and a gyroscope operation mode.

[0111] Since the various functional modules of the game operation mode switching device of the example embodiment of the present disclosure correspond to the steps of the example embodiment of the game operation mode switching method described above, for details not disclosed in the embodiment of the device of the present disclosure, please refer to the embodiment of the game operation mode switching method described above in the present disclosure.

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

[0113] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the virtual lighting control method of the virtual studio is also provided.

[0114] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware embodiments, complete software embodiments (including firmware, microcode, etc.), or embodiments combining hardware and software aspects, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0115] Refer to the following Fig.13 1300 according to this embodiment of the present disclosure is described. Fig.13 The electronic device 1300 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0116] like Fig.13 As shown, the electronic device 1300 is in the form of a general computing device. The components of the electronic device 1300 may include, but are not limited to: at least one processing unit 1310, at least one storage unit 1320, a bus 1330 connecting different system components (including the storage unit 1320 and the processing unit 1310), and a display unit 1340.

[0117] The storage unit stores program codes, which can be executed by the processing unit 1310, so that the processing unit 1310 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 1310 can perform the following steps: Figure 1 Step S110 shown in: displaying a game virtual object through a graphical user interface of a terminal device, and controlling the game virtual object to perform game actions according to an operation mode; wherein the game virtual object corresponds to a plurality of operation modes; step S120: during the game, responding to an operation mode switching instruction, determining a target operation mode among a plurality of operation modes.

[0118] For example, electronic devices can achieve Figure 1 The steps shown.

[0119] The storage unit 1320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 1321 and / or a cache memory unit 1322 , and may further include a read-only memory unit (ROM) 1323 .

[0120] The storage unit 1320 may also include a program / utility 1324 having a set (at least one) of program modules 1325, such program modules 1325 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0121] Bus 1330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0122] The electronic device 1300 may also communicate with one or more external devices 1370 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1300, and / or communicate with any device that enables the electronic device 1300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1350. Furthermore, the electronic device 1300 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1360. As shown, the network adapter 1360 communicates with other modules of the electronic device 1300 via a bus 1330. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0123] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0124] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present disclosure can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0125] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0126] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0127] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0128] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0129] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A method for switching game operation modes, characterized in that: include: Displaying a game virtual object through a graphical user interface of a terminal device, and controlling the game virtual object to perform game actions according to an operation mode; wherein the game virtual object corresponds to a plurality of operation modes, and each operation mode has a different operation logic for controlling the movement direction of the virtual object; During the game, in response to an operation mode switching instruction, determining a target operation mode among the plurality of operation modes; The operation mode switching instruction includes: a sliding operation in which the starting point of the sliding track is located at the part near the bottom of the right border of the graphical user interface, and the end point is located at the part near the right side of the lower border of the graphical user interface; or a sliding operation in which the starting point of the sliding track is located at the part near the right side of the lower border of the graphical user interface, and the end point is located at the part near the bottom of the right border of the graphical user interface.

2. The method according to claim 1, characterized in that The step of determining a target operation mode from among the plurality of operation modes in response to the operation mode switching instruction comprises: Obtaining the position of the current operation mode in the sequence of the multiple operation modes; In response to the operation mode switching instruction, the current operation mode is switched to a target operation mode of a previous or next order.

3. The method according to claim 2, characterized in that The step of switching the current operation mode to a target operation mode of a previous or next order in response to the operation mode switching instruction comprises: Obtaining a sliding track of the touch point corresponding to the operation mode switching instruction, and obtaining a sliding direction of the sliding track; When the sliding direction is the first sliding direction, switching the current operation mode to a target operation mode of the previous or next order; When the sliding direction is a second sliding direction, switching the current operation mode to a target operation mode of a sequence opposite to that corresponding to the first sliding direction; The first sliding direction is opposite to the second sliding direction.

4. The method according to claim 1, characterized in that: The game is a racing game, and the operation modes include a button operation mode, a joystick operation mode, and a gyroscope operation mode.

5. A game operation mode switching device, characterized in that: The device comprises: A virtual object control module, used to display a game virtual object through a graphical user interface of a terminal device, and control the game virtual object to perform game actions according to an operation mode; wherein the game virtual object corresponds to a plurality of operation modes, and each operation mode has a different operation logic for controlling the movement direction of the virtual object; An operation mode switching module, used to determine a target operation mode among the multiple operation modes in response to an operation mode switching instruction during the game; The operation mode switching instruction includes: a sliding operation in which the starting point of the sliding track is located at the part near the bottom of the right border of the graphical user interface, and the end point is located at the part near the right side of the lower border of the graphical user interface; or a sliding operation in which the starting point of the sliding track is located at the part near the right side of the lower border of the graphical user interface, and the end point is located at the part near the bottom of the right border of the graphical user interface.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

7. An electronic device, characterized in that: include: processor; as well as A memory, used for storing one or more programs, when the one or more programs are executed by one or more processors, enables the one or more processors to implement the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Virtual character control mode switching method and device

    CN105630374A

  • Display switching method of electronic equipment screen, electronic equipment and storage device

    CN107219987A

  • Touch game control method and apparatus capable of selecting control mode

    CN107491261A

  • Construction control method and device in game

    CN109663346A

  • Operation mode determination method, device, equipment and storage medium

    CN111035919A