Game control method, system, game controller, game terminal and readable storage medium
By comparing the movement trajectory of the game controller and the trajectory of the Trigger key, the movement distance is adjusted to improve the performance of the game controller, solving the problem of inconvenient use of the Trigger key and enhancing the gaming experience.
Patent Information
- Application Number
- CN202010696619.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-17
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-07-17
AI Technical Summary
The Trigger button of the game controller has poor performance during the game, which affects the user experience, and the control operation depends on the acquisition of movement distance, resulting in inconvenience.
By obtaining the movement data of the game controller, the first movement trajectory and the movement trajectory of the Trigger trigger key are determined, compared, the movement distance is adjusted to perform the game control operation, and the usability performance of the Trigger trigger key is improved.
It improves the usability of the Trigger key, enhances the player's experience during the game, allows the player to adjust control operations according to the game scene, and experience the game scene more realistically.
Smart Images

Figure CN111840994B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to a game control method, system, game controller, game terminal and readable storage medium. Background Art
[0002] Nowadays, there are more and more types of games, and many players like to use game controllers to control virtual characters in games. The standard configuration of game controllers generally includes: cross key (directional key), ABXY key (action key, of course, different hardware manufacturers will use different methods to mark), select and pause key (menu key), and with the upgrading of game device hardware, modern game controllers have added trigger keys and HOME menu keys.
[0003] The user can operate the Trigger key to make the Trigger key move a certain distance, and the game terminal can perform corresponding game control operations based on the moving distance. During the experience of the game controller, some gamers often like to use the game controller to make corresponding actions as the game scene changes. At this time, it may affect the pressing operation of the Trigger key, and the execution of the game control operation only depends on the obtained moving distance of the Trigger key, which makes the performance of the Trigger key poor and also affects the user experience. Summary of the invention
[0004] The main purpose of the present invention is to provide a game control method, system, game controller, game terminal and readable storage medium, which aims to adjust the movement distance of the Trigger key accordingly by combining the game player's control of the game controller, and then perform corresponding game control operations, thereby improving the performance of the Trigger key and enhancing the player's experience.
[0005] To achieve the above object, the present invention provides a game control method, which is applied to a game controller, and the game control method comprises the following steps:
[0006] Acquire movement data of the game controller, and determine a first movement trajectory of the game controller according to the movement data;
[0007] Obtaining the moving distance of the Trigger button on the game controller and the second moving trajectory of the Trigger button;
[0008] The directions of the first moving trajectory and the second moving trajectory are compared to obtain a comparison result, so that the game terminal can obtain an adjusted moving distance and perform corresponding game control operations based on the adjusted moving distance; wherein the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result.
[0009] Optionally, after the step of obtaining the comparison result, the method further comprises:
[0010] Adjusting the moving distance based on the comparison result to obtain the adjusted moving distance;
[0011] Sending the adjusted moving distance to the game terminal; or,
[0012] The comparison result and the moving distance are sent to the game terminal, so that the game terminal adjusts the moving distance according to the comparison result to obtain the adjusted moving distance.
[0013] Optionally, before the step of obtaining the moving distance of the trigger button on the game controller and the second moving trajectory of the trigger button, the step further includes:
[0014] It is determined that the game controller is in a moving state according to the first movement trajectory.
[0015] Optionally, the method further comprises:
[0016] Determining, according to the first movement trajectory, that the game controller is not in a moving state;
[0017] The moving distance of the trigger button on the game controller is obtained, and the moving distance is sent to the game terminal so that the game terminal performs corresponding game control operations based on the moving distance.
[0018] Optionally, the step of acquiring movement data of the game controller and determining a first movement trajectory of the game controller according to the movement data includes:
[0019] Obtain the acceleration data and angular velocity data of the game controller through the inertial measurement unit;
[0020] Convert the acceleration data and the angular velocity data to obtain relative space coordinate data of the game controller;
[0021] The relative space coordinate data is subjected to curve fitting to obtain a movement trajectory of the game controller, which is recorded as a first movement trajectory.
[0022] Optionally, the step of obtaining the moving distance of the trigger button on the game controller and the second moving trajectory of the trigger button includes:
[0023] The voltage change data of the trigger button on the game controller is obtained through the Hall sensor;
[0024] The moving distance of the trigger key is calculated according to the voltage value change data, and the moving trajectory of the trigger key is determined and recorded as the second moving trajectory; or,
[0025] When the trigger button on the game controller moves, the resistance change data of the sliding rheostat is obtained;
[0026] The moving distance of the trigger key is calculated according to the resistance change data, and the moving trajectory of the trigger key is determined and recorded as the second moving trajectory; or,
[0027] Obtain the displacement change data of the trigger button on the game controller through the proximity sensor;
[0028] The moving distance of the Trigger key is calculated according to the displacement change data, and the moving trajectory of the Trigger key is determined and recorded as the second moving trajectory.
[0029] In addition, to achieve the above-mentioned purpose, the present invention also provides a game control method, which is applied to a game terminal, and the game control method comprises the following steps:
[0030] The game terminal receives the moving distance of the button sent by the game controller and the comparison result of the first moving trajectory of the game controller and the second moving trajectory of the button;
[0031] The moving distance is adjusted according to the comparison result, and a corresponding game control operation is performed based on the adjusted moving distance.
[0032] Optionally, the step of adjusting the moving distance according to the comparison result and performing a corresponding game control operation based on the adjusted moving distance includes:
[0033] If the directions of the first moving trajectory and the second moving trajectory are consistent, the moving distance is increased and adjusted according to a first preset rule, and a corresponding game control operation is performed based on the adjusted moving distance;
[0034] If the directions of the first moving trajectory and the second moving trajectory are inconsistent, the moving distance is reduced and adjusted according to a second preset rule, and a corresponding game control operation is performed based on the adjusted moving distance.
[0035] Optionally, the step of adjusting the moving distance according to the comparison result and performing a corresponding game control operation based on the adjusted moving distance includes:
[0036] Get the current game;
[0037] The moving distance is adjusted according to the current game and the comparison result, and a corresponding game control operation is performed based on the adjusted moving distance.
[0038] In addition, to achieve the above-mentioned purpose, the present invention also provides a game controller, which includes: a memory, a processor, and a game control program stored in the memory and executable on the processor, and when the game control program is executed by the processor, the steps of the first game control method described above are implemented.
[0039] In addition, to achieve the above-mentioned purpose, the present invention also provides a game terminal, which includes: a memory, a processor, and a game control program stored in the memory and executable on the processor, and when the game control program is executed by the processor, the steps of the second game control method described above are implemented.
[0040] In addition, to achieve the above-mentioned purpose, the present invention also provides a game control system, which includes a game controller and a game terminal; wherein the game controller is the game controller as described above; and the game terminal is the game terminal as described above.
[0041] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium, on which a game control program is stored, and when the game control program is executed by a processor, the steps of the first or second game control method as described above are implemented.
[0042] The present invention provides a game control method, system, game controller, game terminal and readable storage medium. The game control method is applied to the game controller, firstly obtaining movement data of the game controller, and determining a first movement trajectory of the game controller according to the movement data; obtaining the movement distance and the second movement trajectory of a trigger key on the game controller; comparing the first movement trajectory with the second movement trajectory to obtain a comparison result, so that the game terminal can obtain an adjusted movement distance, and perform corresponding game control operations based on the adjusted movement distance; wherein the adjusted movement distance is obtained by adjusting the movement distance according to the comparison result. In the present invention, a comparison result is obtained by comparing the first moving track of the game controller with the second moving track of the Trigger key, and the comparison result is the control result of the game controller by the player. Then, the moving distance of the Trigger key is adjusted based on the comparison result, so that the game end can perform the corresponding game control operation based on the adjusted moving distance. Through the above method, the use performance of the Trigger key can be improved. At the same time, the player can make corresponding operations according to the game scene during the game to assist in adjusting the game control operation, so that the player can feel the current game scene more realistically during the experience process, which can enhance the player's experience effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention;
[0044] Figure 2 It is a flowchart of a first embodiment of a game control method applied to a game controller of the present invention;
[0045] Figure 3 It is a schematic diagram of the working principle of the Trigger in the game controller involved in the first embodiment of the present invention;
[0046] Figure 4 It is a flowchart of a first embodiment of a game control method applied to a game terminal according to the present invention.
[0047] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0049] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present invention.
[0050] The terminal of the embodiment of the present invention may be a game controller, on which a trigger key is set. The game controller may be an ordinary game controller, or a VR game controller using VR (Virtual Reality) technology. The terminal of the embodiment of the present invention may also be a game terminal, such as a PC (Personal Computer), a smart phone, a tablet computer, etc.
[0051] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity Wireless-Fidelity, Wi-Fi interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0052] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0053] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, and a game control program.
[0054] like Figure 1 The terminal shown is a game controller, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the game terminal and communicate data with the game terminal; and the processor 1001 can be used to call the game control program stored in the memory 1005 and perform the following operations:
[0055] Acquire movement data of the game controller, and determine a first movement trajectory of the game controller according to the movement data;
[0056] Obtaining the moving distance of the Trigger button on the game controller and the second moving trajectory of the Trigger button;
[0057] The directions of the first moving trajectory and the second moving trajectory are compared to obtain a comparison result, so that the game terminal can obtain an adjusted moving distance and perform corresponding game control operations based on the adjusted moving distance; wherein the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result.
[0058] Furthermore, the processor 1001 may call the game control program stored in the memory 1005, and further perform the following operations:
[0059] Adjusting the moving distance based on the comparison result to obtain the adjusted moving distance;
[0060] Sending the adjusted moving distance to the game terminal; or,
[0061] The comparison result and the moving distance are sent to the game terminal, so that the game terminal adjusts the moving distance according to the comparison result to obtain the adjusted moving distance.
[0062] Furthermore, the processor 1001 may call the game control program stored in the memory 1005, and further perform the following operations:
[0063] It is determined that the game controller is in a moving state according to the first movement trajectory.
[0064] Furthermore, the processor 1001 may call the game control program stored in the memory 1005, and further perform the following operations:
[0065] Determining, according to the first movement trajectory, that the game controller is not in a moving state;
[0066] The moving distance of the trigger button on the game controller is obtained, and the moving distance is sent to the game terminal so that the game terminal performs corresponding game control operations based on the moving distance.
[0067] Furthermore, the processor 1001 may call the game control program stored in the memory 1005, and further perform the following operations:
[0068] Obtain the acceleration data and angular velocity data of the game controller through the inertial measurement unit;
[0069] Convert the acceleration data and the angular velocity data to obtain relative space coordinate data of the game controller;
[0070] The relative space coordinate data is subjected to curve fitting to obtain a movement trajectory of the game controller, which is recorded as a first movement trajectory.
[0071] Furthermore, the processor 1001 may call the game control program stored in the memory 1005, and further perform the following operations:
[0072] The voltage change data of the trigger button on the game controller is obtained through the Hall sensor;
[0073] The moving distance of the trigger key is calculated according to the voltage value change data, and the moving trajectory of the trigger key is determined and recorded as the second moving trajectory; or,
[0074] When the trigger button on the game controller moves, the resistance change data of the sliding rheostat is obtained;
[0075] The moving distance of the trigger key is calculated according to the resistance change data, and the moving trajectory of the trigger key is determined and recorded as the second moving trajectory; or,
[0076] Obtain the displacement change data of the trigger button on the game controller through the proximity sensor;
[0077] The moving distance of the Trigger key is calculated according to the displacement change data, and the moving trajectory of the Trigger key is determined and recorded as the second moving trajectory.
[0078] like Figure 1 The terminal shown is a game terminal, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the game controller and communicate data with the game controller; and the processor 1001 can be used to call the game control program stored in the memory 1005 and perform the following operations:
[0079] Receive the moving distance of the trigger key sent by the game controller and the comparison result between the first moving trajectory of the game controller and the second moving trajectory of the trigger key;
[0080] The moving distance is adjusted according to the comparison result, and a corresponding game control operation is performed based on the adjusted moving distance.
[0081] Furthermore, the processor 1001 may call the game control program stored in the memory 1005, and further perform the following operations:
[0082] If the directions of the first moving trajectory and the second moving trajectory are consistent, the moving distance is increased and adjusted according to a first preset rule, and a corresponding game control operation is performed based on the adjusted moving distance;
[0083] If the directions of the first moving trajectory and the second moving trajectory are inconsistent, the moving distance is reduced and adjusted according to a second preset rule, and a corresponding game control operation is performed based on the adjusted moving distance.
[0084] Furthermore, the processor 1001 may call the game control program stored in the memory 1005, and further perform the following operations:
[0085] Get the current game;
[0086] The moving distance is adjusted according to the current game and the comparison result, and a corresponding game control operation is performed based on the adjusted moving distance.
[0087] Based on the above hardware structure, various embodiments of the game control method of the present invention are proposed.
[0088] The invention provides a game control method.
[0089] Reference Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of a game control method applied to a game controller of the present invention.
[0090] In this embodiment, the game control method is applied to a game controller, and the game control method includes:
[0091] Step S10, acquiring movement data of the game controller, and determining a first movement trajectory of the game controller according to the movement data;
[0092] In this embodiment, the game control method is applied to a game controller, and a trigger key is set on the game controller. The game controller can be an ordinary game controller or a VR game controller using VR (Virtual Reality) technology. The execution subject of the game control method is the game controller.
[0093] In this embodiment, the game controller obtains the movement data of the game controller, and determines the first movement trajectory of the game controller according to the movement data. The movement data of the game controller is a series of data during the movement process. The movement data of the game controller can be obtained in real time or at a scheduled time when the connection with the game terminal is established; or it can be obtained in real time or at a scheduled time when the trigger button on the game controller is detected to be operated. In this embodiment, the scenario of obtaining the movement data of the game controller in real time or at a scheduled time when the trigger button on the game controller is detected to be operated is used as an example for explanation.
[0094] Specifically, step S10 includes:
[0095] Step a11, obtaining acceleration data and angular velocity data of the game controller through an inertial measurement unit;
[0096] Step a12, converting the acceleration data and the angular velocity data to obtain relative space coordinate data of the game controller;
[0097] Step a13, performing curve fitting on the relative space coordinate data to obtain a movement trajectory of the game controller, which is recorded as a first movement trajectory.
[0098] The process of obtaining the first movement trajectory of the game controller is as follows:
[0099] First, the acceleration data and angular velocity data of the game controller are obtained through the inertial measurement unit (IMU). Then, the acceleration data and angular velocity data are converted to obtain the relative space coordinate data of the game controller. The specific conversion method can refer to the existing technology and will not be described here. Finally, the relative space coordinate data is curve fitted to obtain the movement trajectory of the game controller, which is recorded as the first movement trajectory. When performing curve fitting, a fitting function can be used to fit each coordinate point in the relative space coordinate data, and then the quality of these fitting functions can be evaluated, and the best fitting function can be selected to fit a curve, which is the movement trajectory of the game controller. In order to distinguish it from the movement trajectory of the Trigger button, it can be recorded as the first movement trajectory. It should be noted that the first movement trajectory is directional.
[0100] Step S20, obtaining the moving distance of the Trigger button on the game controller and the second moving trajectory of the Trigger button;
[0101] Then, the moving distance and the second moving trajectory of the trigger button on the game controller are obtained. It should be noted that the second moving trajectory has a direction.
[0102] Specifically, step S20 includes:
[0103] Step a21, obtaining voltage value change data of the trigger button on the game controller through the Hall sensor;
[0104] Step a22, calculating the moving distance of the Trigger key according to the voltage value change data, and determining the moving trajectory of the Trigger key, which is recorded as a second moving trajectory;
[0105] In this embodiment, as one of the ways to obtain the moving distance of the Trigger key and the second moving trajectory, such as Figure 3 As shown in (A), a magnet is set in the trigger, and a Hall sensor is set at the handle position opposite to the trigger. When the trigger key is operated by the game player, the trigger moves accordingly. At this time, the Hall sensor collects the magnetic force of the magnet and converts it into a voltage value, and then the corresponding moving distance can be calculated based on the voltage value.
[0106] Specifically, the voltage value change data of the Trigger button on the game controller is obtained through the Hall sensor, and then the moving distance of the Trigger button is calculated based on the voltage value change data. Among them, the voltage value change data is a series of voltage values collected in real time during the operation of the Trigger button. When calculating the moving distance, each voltage value in the voltage value change data can be A / D (analog / digital) converted to obtain the corresponding AD value, and then the moving distance can be calculated based on the calibration parameters, AD value and preset distance calculation formula. At the same time, the moving trajectory of the Trigger button is determined based on the voltage value change data, and in order to facilitate the distinction from the moving trajectory of the game controller, it is recorded as the second moving trajectory. When determining the moving trajectory of the Trigger button, it can be determined based on the changing trend of the voltage value.
[0107] Furthermore, step S20 may also include:
[0108] Step a23, obtaining resistance change data of the sliding rheostat during the movement of the trigger button on the game controller;
[0109] Step a24, calculating the moving distance of the Trigger key according to the resistance change data, and determining the moving trajectory of the Trigger key, which is recorded as a second moving trajectory;
[0110] In this embodiment, as another way to obtain the moving distance of the Trigger key and the second moving trajectory, Figure 3As shown in (B), a sliding rheostat is set at the intersection of the upper plate and the lower plate of the trigger. When the trigger is operated, the resistance of the sliding rheostat will change accordingly, and then the corresponding moving distance can be calculated based on the resistance.
[0111] Specifically, during the movement of the Trigger button on the game controller, the resistance change data of the sliding rheostat is obtained, and then the moving distance of the Trigger button is calculated based on the resistance change data, wherein the resistance change data is a series of resistance values of the sliding rheostat collected in real time during the operation of the Trigger button. When calculating the moving distance, the resistance can be substituted into the first preset calculation formula to calculate the moving distance of the Trigger button. The specific calculation method can refer to the prior art. At the same time, the moving trajectory of the Trigger button is determined based on the resistance change data, and is recorded as the second moving trajectory to facilitate distinction from the moving trajectory of the game controller. When determining the moving trajectory of the Trigger button, it can be determined based on the changing trend of the resistance value.
[0112] Furthermore, step S20 may also include:
[0113] Step a25, obtaining displacement change data of the trigger button on the game controller through the proximity sensor;
[0114] Step a26, calculating the moving distance of the Trigger key according to the displacement change data, and determining the moving trajectory of the Trigger key, which is recorded as the second moving trajectory.
[0115] In this embodiment, as another way to obtain the moving distance of the Trigger key and the second moving trajectory, Figure 3 As shown in (C), a proximity sensor is set in the lower plate of the trigger. When the trigger is operated, the upper plate will move, and the displacement data collected by the proximity sensor will change accordingly. Then, the corresponding moving distance can be calculated based on the displacement data.
[0116] Specifically, the displacement change data of the Trigger button on the game controller is obtained through the proximity sensor, and then the moving distance of the Trigger button is calculated based on the displacement change data, wherein the displacement change data is a series of displacements collected in real time by the proximity sensor during the operation of the Trigger button. When calculating the moving distance, the displacement can be substituted into the second preset calculation formula to calculate the moving distance of the Trigger button. The specific calculation method can refer to the prior art. At the same time, the moving trajectory of the Trigger button is determined based on the displacement change data, and is recorded as the second moving trajectory to facilitate distinction from the moving trajectory of the game controller. When determining the moving trajectory of the Trigger button, it can be determined based on the displacement change trend.
[0117] Step S30, comparing the directions of the first moving trajectory and the second moving trajectory to obtain a comparison result, so that the game terminal can obtain an adjusted moving distance, and perform a corresponding game control operation based on the adjusted moving distance; wherein the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result;
[0118] Then, the directions of the first moving track and the second moving track are compared to obtain a comparison result, so that the game terminal can obtain an adjusted moving distance and perform a corresponding game control operation based on the adjusted moving distance; wherein the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result. When comparing the directions of the first moving track and the second moving track, it is to detect whether the directions of the first moving track and the second moving track are consistent.
[0119] Furthermore, after the step of “comparing the directions of the first moving track and the second moving track to obtain a comparison result”, the game control method further includes:
[0120] Step A1, adjusting the moving distance based on the comparison result to obtain the adjusted moving distance;
[0121] Step B, sending the adjusted moving distance to the game terminal; or,
[0122] Step A2, sending the comparison result and the moving distance to the game terminal, so that the game terminal adjusts the moving distance according to the comparison result to obtain the adjusted moving distance.
[0123] After the comparison result is obtained, the moving distance can be adjusted based on the comparison result to obtain an adjusted moving distance, and then the adjusted moving distance is sent to the game terminal. That is, the adjustment of the moving distance is performed in the game controller.
[0124] Of course, the comparison result and the moving distance can also be sent to the game terminal, so that the game terminal can adjust the moving distance based on the comparison result, obtain the adjusted moving distance, and perform the corresponding game control operation based on the adjusted moving distance. The specific adjustment rules can be set according to actual needs. At the same time, the specific game control operation can be determined based on the target moving distance and the pre-set game control operation, which will not be described in detail here.
[0125] It should be noted that, in a specific implementation, after obtaining the first moving trajectory of the game controller, the moving distance of the Trigger button and the second moving trajectory, the game controller can also directly send the first moving trajectory, the moving distance and the second moving trajectory to the game end. The game end compares the first moving trajectory and the second moving trajectory by itself, and then adjusts the moving distance according to the comparison result, and performs corresponding game control operations based on the adjusted moving distance.
[0126] The embodiment of the present invention provides a game control method, which is applied to a game controller, firstly obtains the movement data of the game controller, determines the first movement trajectory of the game controller according to the movement data; obtains the movement distance and the second movement trajectory of the trigger Trigger key on the game controller; compares the first movement trajectory with the second movement trajectory to obtain a comparison result, so that the game terminal obtains the adjusted movement distance, and performs the corresponding game control operation based on the adjusted movement distance; wherein the adjusted movement distance is obtained after adjusting the movement distance according to the comparison result. In the embodiment of the present invention, by comparing the first movement trajectory of the game controller with the second movement trajectory of the Trigger key, a comparison result is obtained, and the comparison result is the control result of the game controller by the player, and then, based on the comparison result, the movement distance of the Trigger key is adjusted to obtain the corresponding game control operation based on the adjusted movement distance. Through the above method, the use performance of the Trigger key can be improved, and at the same time, the game player can make corresponding operations according to the game scene during the game to assist in adjusting the game control operation, so that the game player can feel the current game scene more realistically during the experience process, and the experience effect of the game player can be enhanced.
[0127] Furthermore, based on the above-mentioned first embodiment, a second embodiment of the game control method of the present invention is proposed.
[0128] In this embodiment, before the above step S20, the game control method further includes:
[0129] Step C: determining, based on the first movement trajectory, that the game controller is in motion.
[0130] In this embodiment, after determining to obtain the first movement trajectory of the game controller, it is possible to first determine whether the game controller is in motion according to the first movement trajectory. The method for determining whether the game controller is in motion may be to detect whether the distance between the first and last spatial coordinate points of the first movement trajectory is within a preset range, if within the preset range, it is determined that the game controller is not in motion; if not within the preset range, it is determined that the game controller is in motion.
[0131] If the game controller is in motion according to the first movement trajectory, the movement distance and the second movement trajectory of the trigger button on the game controller are obtained, and then subsequent steps are executed. The specific execution process can refer to the above-mentioned first embodiment and will not be repeated here.
[0132] Furthermore, after step S10, the game control method further includes:
[0133] Step D, determining that the game controller is not in motion according to the first movement trajectory;
[0134] Step F, obtaining the moving distance of the trigger button on the game controller, and sending the moving distance to the game terminal, so that the game terminal performs corresponding game control operations based on the moving distance.
[0135] If the game controller is not in motion, it means that the player does not control the movement of the game controller according to the game scene. At this time, it is only necessary to obtain the moving distance of the Trigger button on the game controller and send the moving distance to the game terminal so that the game terminal can perform corresponding game control operations based on the moving distance.
[0136] In this embodiment, whether the game controller is in motion is determined based on the first movement trajectory. If the game controller is in motion, the first movement trajectory of the game controller and the second movement trajectory of the trigger key need to be further compared, and then the movement distance of the trigger key can be adjusted accordingly based on the comparison result (i.e., the game player's control of the game controller), and then the corresponding game control operation is performed. If the game controller is not in motion, there is no need to adjust the movement distance of the trigger key, and the game control operation can be performed according to the original trigger condition.
[0137] The invention also provides a game control method.
[0138] Reference Figure 4 , Figure 4 It is a flowchart of a first embodiment of a game control method applied to a game terminal according to the present invention.
[0139] In this embodiment, the game control method is applied to the game terminal, and the game control method includes:
[0140] Step S100, the game terminal receives the moving distance of the trigger key sent by the game controller and the comparison result between the first moving trajectory of the game controller and the second moving trajectory of the trigger key;
[0141] In this embodiment, the game control method is applied to a game terminal, which may be a terminal device such as a PC (Personal Computer), a smart phone, or a tablet computer.
[0142] The game terminal receives the moving distance of the Trigger button sent by the game controller and the comparison result between the first moving trajectory of the game controller and the second moving trajectory of the Trigger button.
[0143] Of course, it is understandable that in the actual game control process, the game terminal will also receive other control parameters sent by the game controller, such as direction key control instructions, to perform corresponding control operations.
[0144] Step S200, adjusting the moving distance according to the comparison result, and performing a corresponding game control operation based on the adjusted moving distance.
[0145] Then, the moving distance is adjusted according to the comparison result, and the corresponding game control operation is performed based on the adjusted moving distance.
[0146] Specifically, step S200 includes:
[0147] Step a201, if the directions of the first moving trajectory and the second moving trajectory are consistent, the moving distance is increased and adjusted according to a first preset rule, and a corresponding game control operation is performed based on the adjusted moving distance;
[0148] Step a202: if the directions of the first moving trajectory and the second moving trajectory are inconsistent, the moving distance is reduced and adjusted according to a second preset rule, and a corresponding game control operation is performed based on the adjusted moving distance.
[0149] If the directions of the first moving track and the second moving track are consistent, as one of the adjustment methods, the moving distance can be increased according to the first preset rule, and the corresponding game control operation is performed based on the adjusted moving distance. The first preset rule may include but is not limited to: increasing the moving distance by a preset ratio; increasing the moving distance proportionally according to the range of the moving distance and the preset mapping relationship. For example, if the moving distance is a, it can be directly increased according to a preset ratio. If the preset ratio is 30%, the adjusted moving distance is 1.3a. At this time, the corresponding game control operation is performed based on the moving distance of 1.3a.
[0150] If the directions of the first moving track and the second moving track are inconsistent, as one of the adjustment methods, the moving distance can be reduced according to the second preset rule, and the corresponding game control operation is performed based on the adjusted moving distance. The second preset rule may include but is not limited to: reducing the moving distance by a preset ratio; reducing it proportionally according to the range of the moving distance and the preset mapping relationship. For example, if the moving distance is b, it can be directly reduced by a preset ratio. If the preset ratio is 20%, the adjusted moving distance is 0.8b. At this time, the corresponding game control operation is performed based on the moving distance of 0.8b.
[0151] In this embodiment, the game terminal receives the moving distance of the Trigger key sent by the game controller and the comparison result between the first moving trajectory of the game controller and the second moving trajectory of the Trigger key, and then adjusts the moving distance according to the comparison result, and performs the corresponding game control operation based on the adjusted moving distance. In this embodiment, the moving distance of the Trigger key is adjusted accordingly in combination with the player's control of the game controller, and then the corresponding game control operation is performed, which can improve the use performance of the Trigger key. At the same time, the player can make corresponding operations according to the game scene during the game to assist in adjusting the game control operation, so that the player can feel the current game scene more realistically during the experience process, which can enhance the player's experience effect.
[0152] Furthermore, based on the above-mentioned first embodiment, a second embodiment of the game control method of the present invention applied to a game terminal is proposed.
[0153] In this embodiment, step S200 may include:
[0154] Step a210, obtaining the current game;
[0155] Step a210, adjusting the moving distance according to the current game and the comparison result, and performing corresponding game control operations based on the adjusted moving distance.
[0156] In this embodiment, after receiving the moving distance of the Trigger key sent by the game controller and the comparison result of the first moving trajectory of the game controller and the second moving trajectory of the Trigger key, the game end can first obtain the current game, and then adjust the moving distance according to the current game and the comparison result, and perform corresponding game control operations based on the adjusted moving distance.
[0157] When adjusting the moving distance, the mapping relationship between different game types and comparison results and the adjustment rules can be preset, and then the corresponding target adjustment rule can be determined according to the preset mapping relationship, and the moving distance can be adjusted based on the target adjustment rule.
[0158] In this embodiment, the movement distance of the trigger key is adjusted accordingly in combination with the player's control of the game handle and the game type, and then the corresponding game control operation is performed, which can further improve the performance of the trigger key. At the same time, the player can make different operations in different game scenes during the play of different games to assist in adjusting the game control operation, so that the player can feel the current game scene more realistically during the experience process, which can enhance the player's experience effect.
[0159] The present invention also provides a game control system, which includes a game handle and a game terminal.
[0160] The game controller is the game controller as described above, and is used to execute the steps in the first game control method embodiment. The specific functions and implementation processes can refer to the above embodiments and will not be described in detail here.
[0161] The game terminal is the game terminal as described above, which is used to execute the steps in the above-mentioned second game control method embodiment. The specific functions and implementation processes can refer to the above-mentioned embodiments and will not be repeated here.
[0162] The present embodiment provides a game control system, which includes a game controller and a game terminal. The game controller first obtains the movement data of the game controller and determines the first movement trajectory of the game controller; obtains the movement distance and the second movement trajectory of the Trigger key on the game controller; then, the first movement trajectory is compared with the second movement trajectory to obtain the comparison result, and then the comparison result and the movement distance are sent to the game terminal. The game terminal adjusts the movement distance according to the comparison result, and performs the corresponding game control operation based on the adjusted movement distance. By constructing the above-mentioned game control system, the movement distance of the Trigger key is adjusted accordingly in combination with the player's control of the game controller, and then the corresponding game control operation is performed, the use performance of the Trigger key can be improved. At the same time, the player can make corresponding operations according to the game scene during the game to assist in adjusting the game control operation, so that the player can feel the current game scene more realistically during the experience process, which can enhance the player's experience effect.
[0163] The present invention also provides a computer-readable storage medium having a game control program stored thereon. When the game control program is executed by a processor, the game control program implements the steps of the game control method as described in any one of the first or second game control methods described above.
[0164] The specific embodiments of the computer-readable storage medium of the present invention are substantially the same as the first and second game control method embodiments described above, and are not described in detail herein.
[0165] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0166] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0167] 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 a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially 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 / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for 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 invention.
[0168] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A game control method, characterized in that: Applied to a game controller, the game control method comprises the following steps: Acquire movement data of the game controller, and determine a first movement trajectory of the game controller according to the movement data; Obtaining the moving distance of the trigger button on the game controller, and determining the moving trajectory of the trigger button, which is recorded as the second moving trajectory; The directions of the first moving trajectory and the second moving trajectory are compared to obtain a comparison result, so that the game terminal can obtain an adjusted moving distance and perform corresponding game control operations based on the adjusted moving distance; wherein the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result, if the directions of the first moving trajectory and the second moving trajectory are consistent, the moving distance is increased, and if the directions of the first moving trajectory and the second moving trajectory are inconsistent, the moving distance is decreased.
2. The game control method according to claim 1, characterized in that: After the step of obtaining the comparison result, the method further comprises: Adjusting the moving distance based on the comparison result to obtain the adjusted moving distance; Sending the adjusted moving distance to the game terminal; or, The comparison result and the moving distance are sent to the game terminal, so that the game terminal adjusts the moving distance according to the comparison result to obtain the adjusted moving distance.
3. The game control method according to claim 2, characterized in that: Before the step of obtaining the moving distance of the trigger button on the game controller and determining the moving trajectory of the trigger button as the second moving trajectory, the method further includes: It is determined that the game controller is in a moving state according to the first movement trajectory.
4. The game control method according to claim 2, characterized in that: The method further comprises: Determining, according to the first movement trajectory, that the game controller is not in a moving state; The moving distance of the trigger button on the game controller is obtained, and the moving distance is sent to the game terminal so that the game terminal performs corresponding game control operations based on the moving distance.
5. The game control method according to any one of claims 1 to 4, characterized in that: The step of obtaining movement data of the game controller and determining a first movement trajectory of the game controller according to the movement data comprises: Obtain the acceleration data and angular velocity data of the game controller through the inertial measurement unit; Convert the acceleration data and the angular velocity data to obtain relative space coordinate data of the game controller; The relative space coordinate data is subjected to curve fitting to obtain a movement trajectory of the game controller, which is recorded as a first movement trajectory.
6. The game control method according to any one of claims 1 to 4, characterized in that: The step of obtaining the moving distance of the trigger button on the game controller and determining the moving trajectory of the trigger button as the second moving trajectory includes: The voltage change data of the trigger button on the game controller is obtained through the Hall sensor; The moving distance of the trigger key is calculated according to the voltage value change data, and the moving trajectory of the trigger key is determined and recorded as the second moving trajectory; or, When the trigger button on the game controller moves, the resistance change data of the sliding rheostat is obtained; The moving distance of the trigger key is calculated according to the resistance change data, and the moving trajectory of the trigger key is determined and recorded as the second moving trajectory; or, Obtain the displacement change data of the trigger button on the game controller through the proximity sensor; The moving distance of the Trigger key is calculated according to the displacement change data, and the moving trajectory of the Trigger key is determined and recorded as the second moving trajectory.
7. A game control method, characterized in that: Applied to the game terminal, the game control method comprises the following steps: The game terminal receives the moving distance of the trigger key on the game controller and the comparison result of the first moving trajectory of the game controller and the second moving trajectory of the trigger key sent by the game controller; adjusting the moving distance according to the comparison result, and performing a corresponding game control operation based on the adjusted moving distance; The step of adjusting the moving distance according to the comparison result and performing a corresponding game control operation based on the adjusted moving distance includes: If the directions of the first moving trajectory and the second moving trajectory are consistent, the moving distance is increased and adjusted according to a first preset rule, and a corresponding game control operation is performed based on the adjusted moving distance; If the directions of the first moving trajectory and the second moving trajectory are inconsistent, the moving distance is reduced and adjusted according to a second preset rule, and a corresponding game control operation is performed based on the adjusted moving distance.
8. The game control method according to claim 7, characterized in that: The step of adjusting the moving distance according to the comparison result and performing a corresponding game control operation based on the adjusted moving distance includes: Get the current game; The moving distance is adjusted according to the current game and the comparison result, and a corresponding game control operation is performed based on the adjusted moving distance.
9. A game handle, characterized in that: The game controller comprises: a memory, a processor, and a game control program stored in the memory and executable on the processor. When the game control program is executed by the processor, the steps of the game control method according to any one of claims 1 to 6 are implemented.
10. A game terminal, characterized in that: The game terminal includes: a memory, a processor, and a game control program stored in the memory and executable on the processor. When the game control program is executed by the processor, the steps of the game control method as described in any one of claims 7 to 8 are implemented.
11. A game control system, characterized in that: The game control system includes a game handle and a game terminal; wherein, The game controller is the game controller as claimed in claim 9; The game terminal is the game terminal as described in claim 10.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a game control program, and when the game control program is executed by the processor, the steps of the game control method according to any one of claims 1 to 6 or 7 to 8 are implemented.
