Game control method, device, electronic device and readable storage medium

By collecting and converting non-idiotically control data, the control flexibility of mobile terminal games is improved, the problem of poor game control during non-idiotally control is solved, and a higher quality gaming experience is achieved.

CN115738231BActive Publication Date: 2025-08-15MIGU INTERACTIVE ENTERTAINMENT CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210709830.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-21
Publication Date
2025-08-15
Estimated Expiration
2042-06-21

AI Technical Summary

Technical Problem

When users use non-idiopathic hands to operate mobile terminal games, their flexibility is not high, resulting in poor game control.

Method used

During the game, the first control data of the non-idiotically hand over the non-game control is collected and converted into the second control data for the game control to improve control flexibility.

Benefits of technology

By converting control data, the quality of game control is improved, and the problem of poor game control during non-idiopathic operation is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115738231B_ABST
    Figure CN115738231B_ABST
Patent Text Reader

Abstract

This application discloses a game control method, device, electronic device, and readable storage medium, belonging to the field of gaming. The method comprises: during a game, collecting first control data of a non-dominant hand on a non-game control; wherein the non-dominant hand has greater control flexibility over the non-game control than over the game control; converting the first control data into second control data for the game control; and controlling the game based on the second control data. In this application, the quality of game control is improved to meet the user's game control needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to a method, device, electronic device, and readable storage medium for game control. Background Art

[0002] Currently, when users use their non-dominant hand to operate mobile terminal games, due to the user's hand habits, the flexibility of the non-dominant hand is lower than that of the dominant hand. Since the flexibility of the non-dominant hand is not high, the game control is poor.

[0003] The above content is only used to assist in understanding the technical solution of this application and does not constitute an admission that the above content is prior art. Summary of the Invention

[0004] The main purpose of this application is to provide a game control method, which aims to improve the flexibility of operating games with the non-dominant hand and solve the problem of poor game control when operating games with the non-dominant hand.

[0005] To achieve the above objectives, the present application provides a game control method, the method comprising:

[0006] During the game, first control data of the non-dominant hand on the non-game controls is collected; wherein the non-dominant hand has greater control flexibility on the non-game controls than on the game controls;

[0007] converting the first control data into second control data for a game control;

[0008] The game is controlled based on the second control data.

[0009] Optionally, before the step of collecting first control data of the non-dominant hand on the non-game control, the method includes:

[0010] Determine the non-dominant hand based on the position and occlusion of the light sensor;

[0011] It is determined that the game is currently being played with the non-dominant hand.

[0012] Optionally, the non-game control includes a fingerprint collector, and the first control data includes fingerprint control data;

[0013] The step of collecting first control data of the non-dominant hand on the non-game control comprises:

[0014] Determining a pressing start area and a pressing end area of the non-dominant hand on the fingerprint collector based on a level change of the fingerprint collector;

[0015] Fingerprint control data is determined according to the center point of the pressing start area and the center point of the pressing end area.

[0016] Optionally, the first control data includes a flip direction and a flip amplitude;

[0017] The step of converting the first control data into second control data for a game control comprises:

[0018] Converting the flip direction into a control direction for a game control;

[0019] Converting the flipping amplitude into a control amplitude for the game control;

[0020] Second control data is determined according to the control direction and the control amplitude.

[0021] Optionally, the first control data includes a pressure point and a pressure value;

[0022] The step of converting the first control data into second control data for a game control comprises:

[0023] determining a target function for a game control based on the pressure points;

[0024] determining the control sensitivity of the target function according to the pressure value;

[0025] Based on the target function and the control sensitivity, second control data is determined.

[0026] Optionally, the step of determining that the non-dominant hand is currently used to operate the game includes:

[0027] Determine the habitual area of your dominant hand;

[0028] If a touch pressure is detected, determining the position and duration of the touch pressure;

[0029] If the position does not fall within the habitual area and the duration is greater than a time threshold, it is determined that the non-dominant hand is currently used to operate the game.

[0030] Optionally, the method further includes:

[0031] Collecting third-party control data of the dominant hand on the game controls;

[0032] The game is controlled based on the third control data.

[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a game control device, comprising:

[0034] A first acquisition module is configured to acquire first control data of a non-dominant hand on a non-game control during a game, wherein the non-dominant hand has greater control flexibility over the non-game control than over the game control;

[0035] a conversion module, configured to convert the first control data into second control data for a game control;

[0036] A control module is configured to control the game based on the second control data.

[0037] In addition, to achieve the above-mentioned purpose, the present application further provides an electronic device, wherein the electronic device is a physical node device, and the electronic device includes:

[0038] A readable storage medium, a processor, and a program of the game control method stored on the readable storage medium and capable of running on the processor. When the program of the game control method is executed by the processor, the steps of the game control method described above can be implemented.

[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a readable storage medium, on which a program for implementing the game control method is stored. When the game control program is executed by a processor, the steps of the above-mentioned game control method are implemented.

[0040] The present application provides a game control method, device, electronic device, and readable storage medium. Compared with the prior art, when a user uses a non-dominant hand to operate a mobile terminal game, the user's flexibility is not high, resulting in poor game control. In the present application, during the game process, first control data of the non-dominant hand on non-game controls is collected; wherein, the non-dominant hand has greater control flexibility on the non-game controls than on the game controls; the first control data is converted into second control data for the game controls; and the game is controlled based on the second control data. In the present application, since the non-dominant hand has greater control flexibility on the non-game controls than on the game controls, after converting the first control data into the second control data for the game controls, the inflexible control is converted into flexible control. Therefore, controlling the game based on the second control data can improve the quality of game control and solve the problem of poor game control when the non-dominant hand operates the game. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a flowchart of the game control method of this application;

[0042] Figure 2 This is a schematic diagram of the first scenario involved in the game control method of this application;

[0043] Figure 3This is a schematic diagram of the second scenario involved in the game control method of this application;

[0044] Figure 4 This is a schematic diagram of a fingerprint collector involved in the game control method of this application;

[0045] Figure 5 This is a schematic diagram of the third scenario involved in the game control method of this application;

[0046] Figure 6 This is a schematic diagram of the fourth scenario involved in the game control method of this application;

[0047] Figure 7 This is a schematic diagram of the fifth scenario involved in the game control method of this application;

[0048] Figure 8 This is a schematic diagram of the device structure of the hardware operating environment involved in the game control method of this application.

[0049] The objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0050] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.

[0051] The present application embodiment provides a game control method. In the embodiment of the game control method of the present application, referring to Figure 1 , the game control method includes:

[0052] Step S10: During the game, first control data of the non-dominant hand on the non-game controls is collected; wherein the non-dominant hand has greater control flexibility on the non-game controls than on the game controls;

[0053] Step S20, converting the first control data into second control data for game controls;

[0054] Step S30: controlling the game based on the second control data.

[0055] This application aims to solve the problem of poor game control when the non-dominant hand is used to play the game.

[0056] In this embodiment, game control is applied to a terminal, particularly, a mobile terminal.

[0057] The specific steps are as follows:

[0058] Step S10: During the game, first control data of the non-dominant hand on the non-game controls is collected; wherein the non-dominant hand has greater control flexibility on the non-game controls than on the game controls;

[0059] In this embodiment, it is necessary to first determine whether the user uses the non-dominant hand to operate the game.

[0060] Specifically, the methods for determining whether the user uses the non-dominant hand to operate the game include:

[0061] Method 1: Read the non-dominant hand information set by the user in the mobile terminal, determine the user's non-dominant hand, and then determine whether the user uses the non-dominant hand to operate the game.

[0062] Method 2: Before the step of collecting the first control data of the non-dominant hand on the non-game control, the method includes:

[0063] Step S11, determining the non-dominant hand based on the position and occlusion of the light sensor;

[0064] Step S12: determining whether the non-dominant hand is currently used to operate the game.

[0065] Specifically, a variety of sensors are pre-installed in the mobile terminal, and a light sensor (light source sensor) is one of them.

[0066] There are more than one light sensors, which are distributed in multiple locations of the mobile terminal. Figure 2 As shown, there can be four light sensors, located at Figure 2 Area A, Area B, Area C, and Area D in it.

[0067] In this embodiment, the position of the light sensor is also determined. Specifically, the mobile terminal pre-stores the position of the light sensor, or in this embodiment, the mobile terminal directly reads the position of the light sensor, such as directly reading the position of the light sensor as the coordinate position of area A.

[0068] In this embodiment, the occlusion condition of the light sensor is determined;

[0069] In this embodiment, the light sensor detects light intensity within a preset range, and determines the current shielding condition of the light sensor according to the detected light intensity.

[0070] Among them, there are two types of occlusion of the light sensor:

[0071] The first type: being blocked;

[0072] The second type: not blocked.

[0073] Specifically, if the light sensor detects that the light intensity is 0, it is determined that the current light sensor is blocked; if the light sensor detects that the light intensity is not 0, it is determined that the current light sensor is not blocked.

[0074] In particular, when the light intensity is not zero, the current light sensor may be blocked. That is, defining the current light sensor blocked by 0 is not entirely accurate. Therefore, in this embodiment, a light intensity threshold is preset. If the light intensity detected by the light sensor is not greater than the preset light intensity threshold, the current light sensor is determined to be blocked. If the light intensity detected by the light sensor is greater than the preset light intensity threshold, the current light sensor is determined to be unblocked.

[0075] Specifically, if Figure 2 As shown, the light sensor in area A is blocked, and the light sensor in area B is not blocked.

[0076] The non-dominant hand is determined according to the position and the occlusion condition.

[0077] In this embodiment, the mobile terminal determines a preset first area, a preset second area, a preset third area, and a preset fourth area. The preset first area, the preset second area, the preset third area, and the preset fourth area are respectively the areas where the light sensor is located. The preset first area and the preset second area are used in combination to determine whether the user is operating the mobile terminal with their left hand. The preset third area and the preset fourth area are used in combination to determine whether the user is operating the mobile terminal with their right hand.

[0078] According to the position of the light sensor, it is determined that the light sensor is located in the first area, the second area, the third area or the fourth area.

[0079] In this embodiment, if the light sensor located in the first area is blocked, and if the light sensor located in the second area is not blocked, it is determined that the user is currently operating the mobile terminal with the left hand, that is, the user's dominant hand is determined to be the left hand and the non-dominant hand is the right hand;

[0080] In this embodiment, if the occlusion condition of the light sensor located in the third area is blocked, and if the occlusion condition of the light sensor located in the fourth area is not blocked, it is determined that the user is currently operating the mobile terminal with the right hand, that is, it is determined that the user's dominant hand is the right hand and the non-dominant hand is the left hand.

[0081] In particular, errors may occur in the process of determining a user's non-dominant hand. For example, if a mobile terminal is placed on a table and area A of the mobile terminal is blocked by a book, but area B is not blocked, the mobile terminal may determine that the user's dominant hand is right and the non-dominant hand is left. However, if the user's dominant hand is actually left and the non-dominant hand is right, the above determination of the user's dominant and non-dominant hands is obviously inaccurate. Since errors may occur in the process of determining a user's non-dominant hand, the problem of potential errors in determining the user's non-dominant hand is solved by taking the user's click action into account.

[0082] In this embodiment, during the process of determining the user's non-dominant hand, it is also determined whether operation information such as touch or click is detected. That is, the user's non-dominant hand is determined based on the detected operation information of the user, the position information, and the occlusion condition.

[0083] Specifically, if the mobile terminal detects the user's click action, and determines that the light sensor located in the first area is blocked, and determines that the light sensor located in the second area is not blocked, then it is determined that the user's dominant hand is the left hand, and the non-dominant hand is the right hand; if the mobile terminal detects the user's click action, and determines that the light sensor located in the third area is blocked, and determines that the light sensor located in the fourth area is not blocked, then it is determined that the user's dominant hand is the right hand, and the non-dominant hand is the left hand.

[0084] The number of times of the process of determining the dominant hand is a single time, that is, the method of determining the dominant hand is a single judgment method.

[0085] In the above-mentioned single judgment method, it is possible that the non-dominant hand will be misjudged as the left hand when the non-dominant hand is the right hand, and it is also possible that the non-dominant hand will be misjudged as the right hand when the non-dominant hand is the left hand. That is, the single judgment method is random. Therefore, the user's non-dominant hand is determined by a multiple judgment method, that is, the user's dominant hand is determined by combining the results of multiple single judgments.

[0086] Specifically, the multiple determination method is as follows: the number of multiple determinations is set to 2n times. If the non-dominant hand is determined to be the right hand for more than n times out of the 2n times, the user's non-dominant hand is determined to be the right hand. If the non-dominant hand is determined to be the left hand for more than n times out of the 2n times, the user's non-dominant hand is determined to be the left hand. In particular, if the left hand is determined to be the non-dominant hand for n times and the right hand is determined to be the non-dominant hand for n times, the user's non-dominant hand is determined to be the left hand again through the multiple determination method.

[0087] Specifically, if Figure 2 As shown, there are 4 light sensors on the mobile terminal, located at Figure 2 Areas A, B, C, and D in the figure. The location information of the four light sensors are the coordinates of Area A, Area B, Area C, and Area D. Area A is located in the third area, Area B is located in the fourth area, Area C is located in the first area, and Area D is located in the second area.

[0088] When the user Figure 2In the illustrated method, when a mobile terminal is operated with the left hand, area C is blocked, while area D is not. Based on detecting the user's click action, the light sensor in area C is located in the first area, the light sensor in area D is located in the second area, and the light sensor in area C is blocked while the light sensor in area D is not blocked, the user's dominant hand is determined to be the left hand, and the non-dominant hand is the right hand. If the dominant hand is the left hand and the non-dominant hand is the right hand for more than 5 out of 10 times, the user's dominant hand is determined to be the left hand, and the non-dominant hand is the right hand.

[0089] In this embodiment, if it is determined that the user's dominant hand is the right hand, the non-dominant hand is the left hand. When it is determined that the user is currently using the left hand to operate the game, the first control data of the non-dominant hand on the non-game controls is collected; if it is determined that the user's dominant hand is the left hand, the non-dominant hand is the right hand. When it is determined that the user is currently using the right hand to operate the game, the first control data of the non-dominant hand on the non-game controls is collected.

[0090] The step of determining that the non-dominant hand is currently used to operate the game comprises:

[0091] Step S121, determining the habitual area of the dominant hand;

[0092] Step S122, if touch pressure is detected, determining the position and duration of the touch pressure;

[0093] Step S123: If the position does not fall within the habitual area and the duration is greater than the time threshold, it is determined that the non-dominant hand is currently used to operate the game.

[0094] In this embodiment, the habitual area may be preset in the mobile terminal, wherein the dominant hand may have multiple habitual areas on the mobile terminal.

[0095] Specifically, the mobile terminal may preset a first habit area and a second habit area, the first habit area being used to determine whether the user operates the game with the left hand, and the second habit area being used to determine whether the user operates the game with the right hand.

[0096] If the dominant hand is the left hand, the habitual area is the first habitual area; if the dominant hand is the right hand, the habitual area is the second habitual area.

[0097] In this embodiment, specifically, Figure 3 As shown, the area indicated by the arrow on the left is the first habit area, and the area indicated by the arrow on the right is the second habit area. If the dominant hand is the left hand, the habit area of the dominant hand is the area indicated by the arrow on the left. If the dominant hand is the right hand, the habit area of the dominant hand is the area indicated by the arrow on the right.

[0098] If a touch pressure is detected, determining the position and duration of the touch pressure;

[0099] In this embodiment, the mobile terminal determines whether a touch pressure is detected according to an internal pressure sensor.

[0100] If a touch pressure is detected, the touch position of the touch pressure can be detected by a pressure sensor.

[0101] In this embodiment, if Figure 3 As shown, take the left hand holding the mobile terminal as an example, and the non-dominant hand touches Figure 3 The arrow on the left indicates the area. Figure 3 The pressure sensor in the area indicated by the arrow on the left side detects the user's touch pressure and determines the touch position of the touch pressure.

[0102] If the position does not fall within the habitual area and the duration is greater than the time threshold, it is determined that the non-dominant hand is currently used to operate the game;

[0103] In this embodiment, if the touch position does not fall within the customary area, the touch pressure starts to be counted.

[0104] If the pressure sensor detects that the touch pressure disappears, the timing of the touch pressure ends.

[0105] The touch duration of the touch pressure is obtained according to the start time and the end time of the timing.

[0106] Specifically, taking the right hand as an example, if the touch position does not fall on Figure 3 The arrow on the right indicates an area where the touch duration of the touch pressure is obtained.

[0107] If the position does not fall within the habitual area and the touch duration is greater than a time threshold, it is determined that the non-dominant hand is currently used to operate the game.

[0108] In this embodiment, a time threshold T1 is preset. If the touch duration is greater than the preset time threshold T1, it is determined that the non-dominant hand is currently used to operate the game.

[0109] Specifically, taking the right hand as the dominant hand as an example, if the touch duration is 5 seconds, the preset time threshold T1 is 3 seconds, and the touch duration is greater than the preset time threshold, it is determined that the non-dominant hand is currently used to operate the game.

[0110] If it is determined that the non-dominant hand is currently used to operate the game, first control data of the non-dominant hand on the non-game controls is collected; wherein the non-dominant hand has greater control flexibility on the non-game controls than on the game controls.

[0111] In this embodiment, the non-gaming control includes one or more of a fingerprint collector, a gyroscope, and a pressure sensor, and the first control data of the non-dominant hand includes at least any one of M1-M3:

[0112] M1, fingerprint control data collected by a preset fingerprint collector;

[0113] M2, flip motion data collected by a preset gyroscope;

[0114] M3, pressure data collected by the preset pressure sensor.

[0115] The first control data of the non-dominant hand may further include multiple items from M1 to M3.

[0116] In this embodiment, the game controls may be screen buttons, virtual buttons, virtual joysticks, and the like.

[0117] In this embodiment, the non-dominant hand has greater control flexibility over the non-gaming controls (fingerprint collector, gyroscope, and pressure sensor, etc.) than over the gaming controls (screen buttons, virtual buttons, and virtual joystick, etc.).

[0118] Step S20, converting the first control data into second control data for game controls;

[0119] Step S30: controlling the game based on the second control data.

[0120] In this embodiment, the first control data is converted into second control data for game controls, that is, in this embodiment, the first control data with high control flexibility is mapped to the second control data with low control flexibility, so that the user can achieve the same control effect as the control method with low control flexibility through the control method with high control flexibility. Specifically, for example, for the user, the inflexible sliding control (corresponding to the second control data) is changed to the flexible flip control (corresponding to the first control data), and the game can be controlled. However, because it is easier for the user to operate when flipping the mobile terminal, the control quality of the user's control of the game is improved.

[0121] In this embodiment, the first control data of the non-dominant hand is converted into second control data for the game controls.

[0122] Specifically, after M1 and M2 are combined, they are converted into second control data for game controls, and the game is controlled based on the second control data.

[0123] Alternatively, M1-M3 are combined and converted into second control data for game controls, and the game is controlled based on the second control data.

[0124] In this embodiment, since the first control data is converted into second control data for game controls, and the game is controlled based on the second control data, user experience is improved.

[0125] Specifically, in this embodiment, the non-game control includes a fingerprint collector, and the first control data includes fingerprint control data;

[0126] The step of collecting first control data of the non-dominant hand on the non-game control comprises:

[0127] Step S13, determining a pressing start area and a pressing end area of the non-dominant hand on the fingerprint collector based on the level change of the fingerprint collector;

[0128] Step S14: determining fingerprint control data according to the center point of the pressing start area and the center point of the pressing end area.

[0129] In this embodiment, when the non-dominant hand slides on the fingerprint collector, the fingerprint collector collects fingerprints at intervals of a preset time period T2.

[0130] When the user presses the fingerprint collector with his / her non-dominant hand, the level of the mobile terminal where the fingerprint is pressed is high level 1, and the level of the mobile terminal where the fingerprint is not pressed is low level 0.

[0131] The level information (high level information and low level information) collected by the preset fingerprint collector at the beginning and end of the sliding of the non-dominant hand is used to determine the level change of the fingerprint collector. Based on the level change of the fingerprint collector, the pressing start area and pressing end area of the non-dominant hand on the fingerprint collector at the beginning and end of the sliding are determined.

[0132] Determining fingerprint control data based on the center point of the pressing start area and the center point of the pressing end area, specifically, determining the fingerprint control data based on a first coordinate of the center point of the pressing start area and a second coordinate of the center point of the pressing end area, wherein the fingerprint control data includes the moving distance and the moving direction;

[0133] Specifically, a coordinate system may be set within the collection range of the fingerprint collector. For example, the center point of the fingerprint collector is used as the coordinate center point, and the collection range is divided into m coordinate areas, namely area 1 to area m.

[0134] In this embodiment, the center point of the fingerprint collector is used as the coordinate center point, and the range of the fingerprint collector is divided into four coordinate areas, namely area one, area two, area three, and area four.

[0135] In this embodiment, the preset fingerprint collector can be located on the back of the mobile terminal, and the shape of the fingerprint collector can be circular, such as Figure 4 As shown, the black area is the fingerprint collector.

[0136] In this embodiment, the fingerprint collector collects fingerprint information every 5 microseconds.

[0137] In this embodiment, Figure 5 (a) is the fingerprint information collected by the fingerprint collector, where the level at the fingerprint pressing position is high level 1, and the level at the position not pressed by the fingerprint is low level 0. Therefore, the fingerprint collector of the mobile terminal obtains the fingerprint information specifically Figure 5 (b) shows the level information.

[0138] Specifically, if Figure 6 As shown, Figure 6 (a) is the pressing start area when sliding starts, Figure 6 (b) is the pressing end area at the end of sliding, where the level information collected by the fingerprint collector at the beginning of sliding:

[0139] The level information of an area is: [0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1],

[0140] The level information of area 2 is: [1,1,1,1,1,1,1,1,1,1,1,1,1,1,0], and the others are [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].

[0141] After the fingerprint slide ends, the level information of the three areas changes from [0,1,1,1,0,1,1,1,0,1,1,1,0,1,1,1] to [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], and the level information of one area changes from [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] to [1,1,1,1,1,1,1,1,1,1,1,1,1,1,0].

[0142] According to the changes in the level information of different areas, p1 and p2 are calculated, and the coordinate information is calculated based on p1 and p2.

[0143] Specifically, determine the first coordinate p1 of the center point of the pressing start area in the coordinate axis, determine the second coordinate p2 of the center point of the pressing end area in the coordinate axis, and determine the coordinate information between the pressing start area and the pressing end area based on p1 and p2. Sure The direction is the moving direction.

[0144] According to the coordinate information between the pressing start area and the pressing end area Sure Direction and The model is determined The modulus is the moving distance.

[0145] After the moving distance and the moving direction are determined, the moving distance and the moving direction are converted into second control data for the game control, and the movement of the game is controlled according to the second control data.

[0146] Specifically, according to the moving distance and moving direction, the second control data converted into the game control may be:

[0147] According to the moving distance and moving direction, the second control data (moving direction and moving distance of the game character) for the screen case (game control) is converted.

[0148] In this embodiment, the non-game control includes a gyroscope, and the first control data includes a flip direction and a flip amplitude;

[0149] The step of converting the first control data into second control data for a game control comprises:

[0150] Step S21, converting the flipping direction into a control direction for a game control;

[0151] Step S22, converting the flipping amplitude into a control amplitude for the game control;

[0152] Step S23: determining second control data according to the control direction and the control amplitude.

[0153] In this embodiment, when the gyroscope detects a flipping action, flipping action data is collected. The flipping action data includes a flipping direction and a flipping amplitude. In this embodiment, the flipping direction is converted into a control direction for a game control, such as converting the flipping direction into a sliding direction and converting the flipping amplitude into a sliding distance.

[0154] Specifically, if Figure 7 As shown, hold the mobile terminal with your left hand and press Figure 7 The mobile terminal is flipped downward in the direction indicated by the arrow. The gyroscope detects the downward flipping action and obtains the downward flipping direction and flipping amplitude.

[0155] Second control data is determined according to the control direction and the control amplitude.

[0156] like Figure 7As shown, when the user holds the mobile terminal with one hand in his left hand, if the user Figure 7 The user flips the mobile terminal in the direction of the arrow. When the gyroscope in the mobile terminal detects a downward flip, it obtains the flip direction and flip amplitude of the flip action, which together constitute flip action data. The flip action data is converted into second control data (based on a preset conversion or mapping relationship). This second control data can control a game character, such as a hero, to move downward by 3 cm (the movement distance is proportional to the flip amplitude).

[0157] The present application provides a game control method, device, electronic device, and readable storage medium. Compared with the prior art, when a user uses a non-dominant hand to operate a mobile terminal game, the user's flexibility is not high, resulting in poor game control. In the present application, during the game process, first control data of the non-dominant hand on non-game controls is collected; wherein, the non-dominant hand has greater control flexibility on the non-game controls than on the game controls; the first control data is converted into second control data for the game controls; and the game is controlled based on the second control data. In the present application, since the non-dominant hand has greater control flexibility on the non-game controls than on the game controls, after converting the first control data into the second control data for the game controls, the inflexible control is converted into flexible control. Therefore, controlling the game based on the second control data can improve the quality of game control and solve the problem of poor game control when the non-dominant hand operates the game.

[0158] Furthermore, based on the first embodiment of the present application, another embodiment of the present application is provided. In this embodiment, the non-game control includes a pressure sensor, and the first control data includes a pressure point and a pressure value;

[0159] The step of converting the first control data into second control data for a game control comprises:

[0160] Step S24, determining a target function for the game control according to the pressure point;

[0161] Step S25, determining the control sensitivity of the target function according to the pressure value;

[0162] Step S26: determining second control data based on the target function and the control sensitivity.

[0163] In this embodiment, the number of pressure sensors is not limited to one, but may be multiple.

[0164] In this embodiment, pressure data is collected using a pressure sensor, wherein the pressure data includes pressure points and pressure values.

[0165] If Figure 7 As shown in the figure, when holding the phone, press the line (pressure point) with your index finger for 5 seconds with a pressure of 100N. The touch pressure value is 100N.

[0166] According to the pressure points, a target function for the game control is determined. Specifically, for example, according to the pressure points, the target function for the game control is determined to be assisting in controlling the release of skills of the game character.

[0167] In this embodiment, different pressure values result in different control sensitivities for the target function (i.e., the sensitivity parameter can be adjusted by the pressure value. Specifically, for example, the pressure value is proportional to the control sensitivity of the target function). The second control data is determined based on the target function (the skill release of the game character) and the control sensitivity.

[0168] In this embodiment, a target function for a game control is determined based on the pressure point; a control sensitivity for the target function is determined based on the pressure value; and second control data is determined based on the target function and the control sensitivity. In this embodiment, different sensors can be combined to assist in achieving the target function of the game control, and the game is controlled based on the second control data generated based on the target function and the control sensitivity, thereby improving the user's gaming experience.

[0169] Furthermore, based on the first embodiment of the present application, another embodiment of the present application is provided. In this embodiment, the method further includes:

[0170] Step S40, collecting third control data of the dominant hand on the game controls;

[0171] Step S50: controlling the game based on the third control data.

[0172] In this embodiment, since users may alternate between using their dominant and non-dominant hands to operate the game, if the user uses their non-dominant hand to operate the game during the game, first control data for the non-dominant hand on non-game controls is collected; wherein the non-dominant hand has greater control flexibility over the non-game controls than over the game controls; the first control data is converted into second control data for the game controls; and the game is controlled based on the second control data. When the user switches to using their dominant hand to operate the game, third control data for the dominant hand on the game controls is collected, and the game is controlled based on the third control data. In this embodiment, game control can be flexibly adjusted based on the user's actual gaming experience, thereby enhancing the user experience.

[0173] Reference Figure 8 , Figure 8It is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.

[0174] like Figure 8 As shown, the electronic device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to implement communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory, such as a disk storage device. The memory 1005 may also be a storage device independent of the processor 1001.

[0175] Optionally, the electronic device may also include a network interface, an audio circuit, a display, a connecting cable, a sensor, an input module, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface, a Bluetooth interface), and the input module may optionally include a keyboard, a system soft keyboard, voice input, wireless receiving input, etc.

[0176] Those skilled in the art will understand that the structure of an electronic device does not limit the electronic device, and may include more or fewer components than shown in the figures, or combine certain components, or arrange the components differently.

[0177] The memory, a computer-readable storage medium, may include an operating system, an information exchange module, and a game control program. The operating system manages and controls the hardware and software resources of an electronic device, supporting the operation of the game control program and other software and / or programs. The information exchange module facilitates communication between components within the memory, as well as with other hardware and software in the game control system.

[0178] In the electronic device, the processor is used to execute the game control program stored in the memory to implement the steps of the above-mentioned game control method.

[0179] The specific implementation of the electronic device of the present application is basically the same as the embodiments of the above-mentioned game control method, and will not be repeated here.

[0180] The present application also provides a game control device, comprising:

[0181] A first acquisition module is configured to acquire first control data of a non-dominant hand on a non-game control during a game, wherein the non-dominant hand has greater control flexibility over the non-game control than over the game control;

[0182] a conversion module, configured to convert the first control data into second control data for a game control;

[0183] A control module is configured to control the game based on the second control data.

[0184] Optionally, the device further comprises:

[0185] A first determination module is used to determine the non-dominant hand based on the position and occlusion of the light sensor;

[0186] The second determining module is configured to determine whether the non-dominant hand is currently used to operate the game.

[0187] Optionally, the non-game control includes a fingerprint collector, and the first control data includes fingerprint control data;

[0188] The first acquisition module includes:

[0189] a first determining unit, configured to determine a pressing start area and a pressing end area of the non-dominant hand on the fingerprint collector based on a level change of the fingerprint collector;

[0190] The second determining unit is configured to determine fingerprint control data according to the center point of the pressing start area and the center point of the pressing end area.

[0191] Optionally, the first control data includes a flip direction and a flip amplitude;

[0192] The conversion module includes:

[0193] A first conversion module, configured to convert the flipping direction into a control direction for a game control;

[0194] A second conversion module, configured to convert the flipping amplitude into a control amplitude for the game control;

[0195] The third determining unit is configured to determine second control data according to the control direction and the control amplitude.

[0196] Optionally, the first control data includes a pressure point and a pressure value;

[0197] The conversion module also includes:

[0198] a fourth determining unit, configured to determine a target function for the game control according to the pressure point;

[0199] a fifth determining unit, configured to determine a control sensitivity of the target function according to the pressure value;

[0200] A sixth determining unit is configured to determine second control data based on the target function and the control sensitivity.

[0201] Optionally, the second determining module includes:

[0202] a seventh determining unit, configured to determine a habitual area of the dominant hand;

[0203] an eighth determining unit, configured to determine a position and a duration of the touch pressure if a touch pressure is detected;

[0204] The ninth determining unit is configured to determine that the game is currently being operated with the non-dominant hand if the position does not fall within the habitual area and the duration is greater than a time threshold.

[0205] Optionally, the device further comprises:

[0206] A second acquisition module is used to collect third control data of the dominant hand on the game controls;

[0207] A control module is configured to control the game based on the third control data.

[0208] The specific implementation of the game control device of the present application is basically the same as the various embodiments of the above-mentioned game control method, and will not be repeated here.

[0209] Based on the same inventive concept as the above-mentioned method embodiment, an embodiment of the present application provides a readable storage medium, characterized in that a program for implementing a game control method is stored on the readable storage medium, and the program for implementing the game control method is executed by a processor to implement the game control method.

[0210] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0211] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0212] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM or RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0213] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A game control method, characterized in that: The method comprises: During the game, first control data of the non-dominant hand on the non-game controls is collected; wherein the non-dominant hand has greater control flexibility on the non-game controls than on the game controls; converting the first control data into second control data for a game control; controlling the game based on the second control data; Before the step of collecting first control data of the non-dominant hand on the non-game control, the method includes: Determine the non-dominant hand based on the position and occlusion of the light sensor; determining that the game is currently being played with the non-dominant hand; The step of determining that the non-dominant hand is currently used to operate the game comprises: Determine the habitual area of your dominant hand; If a touch pressure is detected, determining the position and duration of the touch pressure; If the position does not fall within the habitual area and the duration is greater than a time threshold, it is determined that the non-dominant hand is currently used to operate the game.

2. A game control method according to claim 1, characterized in that: The non-game control includes a fingerprint collector, and the first control data includes fingerprint control data; The step of collecting first control data of the non-dominant hand on the non-game control comprises: Determining a pressing start area and a pressing end area of the non-dominant hand on the fingerprint collector based on a level change of the fingerprint collector; Fingerprint control data is determined according to the center point of the pressing start area and the center point of the pressing end area.

3. A game control method according to claim 1, characterized in that: The first control data includes a flip direction and a flip amplitude; The step of converting the first control data into second control data for a game control comprises: Converting the flip direction into a control direction for a game control; Converting the flipping amplitude into a control amplitude for the game control; Second control data is determined according to the control direction and the control amplitude.

4. A game control method according to claim 1, characterized in that: The first control data includes a pressure point and a pressure value; The step of converting the first control data into second control data for a game control comprises: determining a target function for a game control based on the pressure points; determining the control sensitivity of the target function according to the pressure value; Based on the target function and the control sensitivity, second control data is determined.

5. A game control method according to claim 1, characterized in that: The method further comprises: Collecting third-party control data of the dominant hand on the game controls; The game is controlled based on the third control data.

6. A game control device, characterized in that: The device comprises: A first acquisition module is configured to acquire first control data of a non-dominant hand on a non-game control during a game, wherein the non-dominant hand has greater control flexibility over the non-game control than over the game control; a conversion module, configured to convert the first control data into second control data for a game control; a control module, configured to control the game based on the second control data; The game control device is also used to implement: Determine the non-dominant hand based on the position and occlusion of the light sensor; determining that the game is currently being played with the non-dominant hand; The game control device is also used to implement: Determine the habitual area of your dominant hand; If a touch pressure is detected, determining the position and duration of the touch pressure; If the position does not fall within the habitual area and the duration is greater than a time threshold, it is determined that the non-dominant hand is currently used to operate the game.

7. An electronic device, characterized in that: The game control program comprises a memory, a processor and a game control program stored in the memory and executable on the processor, wherein the processor executes the game control program to implement the steps of the game control program method according to any one of claims 1 to 5.

8. A readable storage medium, characterized in that: The readable storage medium stores a program for implementing the game control method, and the program for implementing the game control method is executed by a processor to implement the steps of the game control method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Control method of gamepad and equipment

    CN110124304A

  • Game control method, mobile terminal and computer readable storage medium

    CN112090075A