CN111840994A - Game control method, system, game handle, game end and readable storage medium - Google Patents

Game control method, system, game handle, game end and readable storage medium Download PDF

Info

Publication number
CN111840994A
CN111840994A CN202010696619.6A CN202010696619A CN111840994A CN 111840994 A CN111840994 A CN 111840994A CN 202010696619 A CN202010696619 A CN 202010696619A CN 111840994 A CN111840994 A CN 111840994A
Authority
CN
China
Prior art keywords
game
game control
movement
moving distance
trigger key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010696619.6A
Other languages
Chinese (zh)
Inventor
杜文彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202010696619.6A priority Critical patent/CN111840994A/en
Publication of CN111840994A publication Critical patent/CN111840994A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1043Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being characterized by constructional details

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a game control method, a game control system, a game handle, a game end and a readable storage medium. The game control method is applied to a gamepad and comprises the following steps: acquiring movement data of a game handle, and determining a first movement track of the game handle according to the movement data; acquiring the moving distance and a second moving track of a Trigger key on a game handle; and comparing the directions of the first moving track and the second moving track to obtain a comparison result so that the game terminal can obtain the adjusted moving distance, and executing corresponding game control operation based on the adjusted moving distance, wherein the adjusted moving distance is obtained after the moving distance is adjusted according to the comparison result. The invention correspondingly adjusts the moving distance of the Trigger key by combining the control of the game handle by the player, further executes the corresponding game control operation, can improve the service performance of the Trigger key, and simultaneously improves the use experience of the player.

Description

Game control method, system, game handle, game end and readable storage medium
Technical Field
The invention relates to the technical field of electronics, in particular to a game control method, a game control system, a game handle, a game end and a readable storage medium.
Background
Nowadays, games are more and more diversified, and many players like to operate through a game handle when playing the games so as to realize the control of game virtual characters. The standard configuration of gamepads generally includes: three control keys, namely a cross key (a direction key), an ABXY key (an action key, although different hardware manufacturers can use different methods for marking), a selection key and a pause key (a menu key), are added to the modern gamepad, and with the upgrading and updating of the hardware of the game equipment, Trigger keys, HOME menu keys and the like are added to the modern gamepad.
The user can operate the Trigger key to enable the Trigger key to generate a moving distance, and the game terminal can execute corresponding game control operation based on the moving distance. In the experience process of the game pad, some players often like to use the game pad to make corresponding actions along with the change of the game scene, at this time, the pressing operation of the Trigger key may be influenced, and the execution of the game control operation only depends on the acquired moving distance of the Trigger key, so that the usability of the Trigger key is poor, and the use experience of the users is also influenced.
Disclosure of Invention
The invention mainly aims to provide a game control method, a game control system, a gamepad, a game terminal and a readable storage medium, aiming at correspondingly adjusting the moving distance of a Trigger key by combining the control of a player on the gamepad so as to execute corresponding game control operation, thereby realizing the improvement of the use performance of the Trigger key and simultaneously improving the use experience of the player.
In order to achieve the above object, the present invention provides a game control method applied to a gamepad, the game control method including the steps of:
obtaining movement data of a game handle, and determining a first movement track of the game handle according to the movement data;
acquiring a moving distance of a Trigger key on a game handle and a second moving track of the Trigger key;
comparing the directions of the first moving track and the second moving track to obtain a comparison result so that the game terminal can obtain the adjusted moving distance and execute corresponding game control operation based on the adjusted moving distance; and the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result.
Optionally, after the step of obtaining the alignment 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 end; alternatively, the first and second electrodes may be,
and sending the comparison result and the moving distance to the game end so that the game end can adjust the moving distance according to the comparison result to obtain the adjusted moving distance.
Optionally, before the step of obtaining the moving distance of the Trigger key on the gamepad and the second moving trajectory of the Trigger key, the method further includes:
and determining that the game handle is in a motion state according to the first movement track.
Optionally, the method further comprises:
determining that the game handle is not in a motion state according to the first movement track;
and acquiring the moving distance of a Trigger key on a gamepad, and sending the moving distance to the game end so that the game end can execute corresponding game control operation based on the moving distance.
Optionally, the step of obtaining movement data of the gamepad, and determining a first movement trajectory of the gamepad according to the movement data includes:
Acquiring acceleration data and angular velocity data of a gamepad through an inertia measurement unit;
converting the acceleration data and the angular velocity data to obtain relative space coordinate data of the gamepad;
and performing curve fitting on the relative space coordinate data to obtain a movement track of the game handle, and recording the movement track as a first movement track.
Optionally, the step of obtaining a movement distance of a Trigger key on the gamepad and a second movement trajectory of the Trigger key includes:
acquiring voltage value change data of a Trigger key on a game handle through a Hall sensor;
calculating the movement distance of the Trigger key according to the voltage value change data, determining the movement track of the Trigger key, and recording the movement track as a second movement track; or the like, or, alternatively,
acquiring resistance value change data of the slide rheostat in the moving process of the Trigger key on the game handle;
calculating the movement distance of the Trigger key according to the resistance value change data, determining the movement track of the Trigger key, and recording the movement track as a second movement track; or the like, or, alternatively,
acquiring displacement change data of a Trigger key on a gamepad through a proximity sensor;
And calculating the movement distance of the Trigger key according to the displacement change data, determining the movement track of the Trigger key, and recording as a second movement track.
In addition, in order to achieve the above object, the present invention further provides a game control method applied to a game terminal, the game control method including the steps of:
the game end receives the moving distance of the keys sent by the game handle and the comparison result of the first moving track of the game handle and the second moving track of the keys;
and adjusting the moving distance according to the comparison result, and executing corresponding game control operation based on the adjusted moving distance.
Optionally, the step of adjusting the moving distance according to the comparison result, and executing a corresponding game control operation based on the adjusted moving distance includes:
if the first movement track is consistent with the second movement track in direction, increasing and adjusting the movement distance according to a first preset rule, and executing corresponding game control operation based on the adjusted movement distance;
if the direction of the second moving track is inconsistent with that of the second moving track, the moving distance is reduced and adjusted according to a second preset rule, and corresponding game control operation is executed based on the adjusted moving distance.
Optionally, the step of adjusting the moving distance according to the comparison result, and executing a corresponding game control operation based on the adjusted moving distance includes:
acquiring a current game;
and adjusting the moving distance according to the current game and the comparison result, and executing corresponding game control operation based on the adjusted moving distance.
Further, to achieve the above object, the present invention also provides a game pad comprising: a memory, a processor and a game control program stored on the memory and executable on the processor, the game control program when executed by the processor implementing the steps of the first game control method as described above.
In addition, to achieve the above object, the present invention also provides a game terminal, including: a memory, a processor and a game control program stored on the memory and executable on the processor, the game control program when executed by the processor implementing the steps of the second game control method as described above.
In addition, in order to achieve the above object, the present invention further provides a game control system, which includes a game pad and a game end; wherein the gamepad is the gamepad as described above; the game end is the game end described above.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a game control program that, when executed by a processor, implements the steps of the first or second game control method as described above.
The invention provides a game control method, a game control system, a game handle, a game end and a readable storage medium, wherein the game control method is applied to the game handle, firstly, the movement data of the game handle is obtained, and a first movement track of the game handle is determined according to the movement data; acquiring the moving distance and a second moving track of a Trigger key on a game handle; comparing the first moving track with the second moving track to obtain a comparison result so that the game terminal can obtain the adjusted moving distance and execute corresponding game control operation based on the adjusted moving distance; and the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result. According to the method, the using performance of the Trigger key can be improved, meanwhile, a player can make corresponding operation along with a game scene to assist in adjusting the game control operation, the player can feel the current game scene more truly in the experience process, and the experience effect of the player can be enhanced.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a first embodiment of a game control method applied to a game pad according to the present invention;
fig. 3 is a schematic diagram illustrating the working principle of Trigger in the gamepad according to the first embodiment of the present invention;
FIG. 4 is a flowchart illustrating a game control method applied to a game end according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a game handle, and Trigger keys are arranged on the game handle. The game pad may be a general game pad, or may be a VR (Virtual Reality) game pad to which a VR technology is applied. The terminal in the embodiment of the present invention may also be a game terminal, such as a PC (Personal Computer), a smart phone, a tablet Computer, and the like.
As shown in fig. 1, 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. Wherein a communication bus 1002 is used to enable connective 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, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wi-Fi interface, Wireless-Fidelity, Wi-Fi interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, and a game control program.
If the terminal shown in fig. 1 is a game pad, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a game terminal and performing data communication with the game terminal; and the processor 1001 may be configured to call the game control program stored in the memory 1005 and perform the following operations:
obtaining movement data of a game handle, and determining a first movement track of the game handle according to the movement data;
acquiring a moving distance of a Trigger key on a game handle and a second moving track of the Trigger key;
comparing the directions of the first moving track and the second moving track to obtain a comparison result so that the game terminal can obtain the adjusted moving distance and execute corresponding game control operation based on the adjusted moving distance; and the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result.
Further, the processor 1001 may call the game control program stored in the memory 1005, and also perform the following operations:
adjusting the moving distance based on the comparison result to obtain the adjusted moving distance;
Sending the adjusted moving distance to the game end; alternatively, the first and second electrodes may be,
and sending the comparison result and the moving distance to the game end so that the game end can adjust the moving distance according to the comparison result to obtain the adjusted moving distance.
Further, the processor 1001 may call the game control program stored in the memory 1005, and also perform the following operations:
and determining that the game handle is in a motion state according to the first movement track.
Further, the processor 1001 may call the game control program stored in the memory 1005, and also perform the following operations:
determining that the game handle is not in a motion state according to the first movement track;
and acquiring the moving distance of a Trigger key on a gamepad, and sending the moving distance to the game end so that the game end can execute corresponding game control operation based on the moving distance.
Further, the processor 1001 may call the game control program stored in the memory 1005, and also perform the following operations:
acquiring acceleration data and angular velocity data of a gamepad through an inertia measurement unit;
converting the acceleration data and the angular velocity data to obtain relative space coordinate data of the gamepad;
And performing curve fitting on the relative space coordinate data to obtain a movement track of the game handle, and recording the movement track as a first movement track.
Further, the processor 1001 may call the game control program stored in the memory 1005, and also perform the following operations:
acquiring voltage value change data of a Trigger key on a game handle through a Hall sensor;
calculating the movement distance of the Trigger key according to the voltage value change data, determining the movement track of the Trigger key, and recording the movement track as a second movement track; or the like, or, alternatively,
acquiring resistance value change data of the slide rheostat in the moving process of the Trigger key on the game handle;
calculating the movement distance of the Trigger key according to the resistance value change data, determining the movement track of the Trigger key, and recording the movement track as a second movement track; or the like, or, alternatively,
acquiring displacement change data of a Trigger key on a gamepad through a proximity sensor;
and calculating the movement distance of the Trigger key according to the displacement change data, determining the movement track of the Trigger key, and recording as a second movement track.
If the terminal shown in fig. 1 is a game terminal, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a gamepad and performing data communication with the gamepad; and the processor 1001 may be configured to call the game control program stored in the memory 1005 and perform the following operations:
Receiving a moving distance of a Trigger key sent by a game handle and a comparison result of a first moving track of the game handle and a second moving track of the Trigger key;
and adjusting the moving distance according to the comparison result, and executing corresponding game control operation based on the adjusted moving distance.
Further, the processor 1001 may call the game control program stored in the memory 1005, and also perform the following operations:
if the first movement track is consistent with the second movement track in direction, increasing and adjusting the movement distance according to a first preset rule, and executing corresponding game control operation based on the adjusted movement distance;
if the direction of the second moving track is inconsistent with that of the second moving track, the moving distance is reduced and adjusted according to a second preset rule, and corresponding game control operation is executed based on the adjusted moving distance.
Further, the processor 1001 may call the game control program stored in the memory 1005, and also perform the following operations:
acquiring a current game;
and adjusting the moving distance according to the current game and the comparison result, and executing corresponding game control operation based on the adjusted moving distance.
Based on the above hardware structure, various embodiments of the game control method of the present invention are proposed.
The invention provides a game control method.
Referring to fig. 2, fig. 2 is a schematic flow chart of a game control method applied to a gamepad according to a first embodiment of the present invention.
In this embodiment, the game control method is applied to a game pad, and includes:
step S10, obtaining the movement data of the game handle, and determining the first movement track of the game handle according to the movement data;
in this embodiment, the game control method is applied to a joystick, and a Trigger key is set on the joystick. The game pad may be a general game pad, or may be a VR (Virtual Reality) game pad to which a VR technology is applied. The execution main body of the game control method is a game handle.
In this embodiment, the joystick acquires movement data of the joystick, and determines a first movement trajectory of the joystick according to the movement data. The mobile data of the game handle is a series of data in the mobile process, and the acquisition time of the mobile data of the game handle can be acquired in real time or at regular time when the connection with the game end is established; or the Trigger key can be obtained in real time or at regular time when the Trigger key on the game handle is detected to be operated. In this embodiment, a scenario in which movement data of a joystick is obtained in real time or at regular time when it is detected that a Trigger key on the joystick is operated is described as an example.
Specifically, step S10 includes:
step a11, acquiring acceleration data and angular velocity data of the gamepad through an inertia measurement unit;
step a12, converting the acceleration data and the angular velocity data to obtain relative space coordinate data of the gamepad;
step a13, performing curve fitting on the relative space coordinate data to obtain the movement track of the gamepad, and recording the movement track as a first movement track.
The process of acquiring the first movement track of the game handle is as follows:
acceleration data and angular velocity data of a gamepad are obtained through an Inertial Measurement Unit (IMU). Then, the acceleration data and the angular velocity data are converted to obtain the relative space coordinate data of the gamepad, and the specific conversion mode can refer to the prior art and is not described herein. And finally, performing curve fitting on the relative space coordinate data to obtain the movement track of the game handle, and recording the movement track as a first movement track. When curve fitting is carried out, fitting functions can be adopted to fit all coordinate points in relative space coordinate data, the quality of the fitting functions is further evaluated, the best fitting function is selected to obtain a curve through fitting, the curve is the moving track of the game handle, and the curve can be recorded as a first moving track so as to be conveniently distinguished from the moving track of the Trigger key. It should be noted that the first movement track is directional.
Step S20, obtaining the moving distance of Trigger key on the game handle and the second moving track of Trigger key;
then, the movement distance and the second movement trajectory of Trigger keys on the joystick are obtained. It should be noted that the second movement track is directional.
Specifically, step S20 includes:
a21, acquiring voltage value change data of Trigger keys on a game handle through a Hall sensor;
a22, calculating the movement distance of the Trigger key according to the voltage value change data, determining the movement track of the Trigger key, and recording the movement track as a second movement track;
in this embodiment, as one of the obtaining manners of the movement distance and the second movement trajectory of the Trigger key, as shown in fig. 3(a), a magnet is disposed in the Trigger, and a hall sensor is disposed at a handle position opposite to the Trigger.
Specifically, voltage value change data of the Trigger key on the gamepad is obtained through the Hall sensor, and then the moving distance of the Trigger key is obtained through calculation according to the voltage value change data. The voltage value change data is a series of voltage values acquired in real time in the process that the Trigger key is operated, when the moving distance is calculated, A/D (analog/digital) conversion can be firstly carried out on each voltage value in the voltage value change data to obtain a corresponding AD value, and then the moving distance can be calculated according to a calibration parameter, the AD value and a preset distance calculation formula. Meanwhile, the movement track of the Trigger key is determined and obtained according to the voltage value change data, and is marked as a second movement track for facilitating the distinction from the movement track of the game handle. When the moving track of the Trigger key is determined, the moving track can be determined according to the change trend of the voltage value.
Further, step S20 may further include:
a23, acquiring resistance value change data of the slide rheostat in the moving process of the Trigger key on the game handle;
step a24, calculating the movement distance of the Trigger key according to the resistance value change data, determining the movement track of the Trigger key, and recording the movement track as a second movement track;
in this embodiment, as another way to obtain the moving distance and the second moving trajectory of the Trigger key, as shown in fig. 3(B), a sliding rheostat is disposed at the intersection of the upper plate and the lower plate of the Trigger, and when the Trigger is operated, the resistance value of the sliding rheostat changes accordingly, and then the corresponding moving distance can be calculated based on the resistance value.
Specifically, resistance value change data of the sliding rheostat is obtained in the movement process of the Trigger key on the game handle, then the movement distance of the Trigger key is obtained through calculation according to the resistance value change data, wherein the resistance value change data are a series of resistance values of the sliding rheostat acquired in real time in the operation process of the Trigger key, when the movement distance is calculated, the resistance can be substituted into a first preset calculation formula, the movement distance of the Trigger key is obtained through calculation, and the specific calculation mode can refer to the prior art. Meanwhile, the movement track of the Trigger key is determined and obtained according to the resistance value change data, and is marked as a second movement track for facilitating the distinguishing from the movement track of the game handle. When the moving track of the Trigger key is determined, the moving track can be determined according to the variation trend of the resistance pressure value.
Further, step S20 may further include:
a25, acquiring displacement change data of Trigger keys on a game handle through a proximity sensor;
step a26, calculating the movement distance of the Trigger key according to the displacement change data, and determining the movement track of the Trigger key, and recording the movement track as a second movement track.
In this embodiment, as another way to obtain the moving distance and the second moving trajectory of the Trigger key, as shown in fig. 3(C), a proximity sensor is disposed in a lower plate of the Trigger, when the Trigger is operated, the upper plate moves, the displacement data collected by the proximity sensor changes correspondingly, and then the corresponding moving distance can be calculated based on the displacement data.
Specifically, displacement change data of the Trigger key on the gamepad is obtained through the proximity sensor, then the moving distance of the Trigger key is obtained through calculation according to the displacement change data, wherein the displacement change data are a series of displacements acquired by the proximity sensor in real time in the process that the Trigger key is operated, when the moving distance is calculated, the displacements can be substituted into a second preset calculation formula to calculate the moving distance of the Trigger key, and the specific calculation mode can refer to the prior art. Meanwhile, the movement track of the Trigger key is determined and obtained according to the displacement change data, and is marked as a second movement track for facilitating the distinguishing from the movement track of the game handle. When the movement track of the Trigger key is determined, the movement track can be determined according to the variation trend of the displacement.
Step S30, comparing the directions of the first moving track and the second moving track to obtain a comparison result, so that the game terminal can obtain the adjusted moving distance and execute 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;
then, comparing the directions of the first moving track and the second moving track to obtain a comparison result so that the game terminal can obtain the adjusted moving distance and execute corresponding game control operation based on the adjusted moving distance; and the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result. When the directions of the first movement track and the second movement track are compared, whether the directions of the first movement track and the second movement track are consistent or not is detected.
Further, after the step of comparing the directions of the first moving trajectory and the second moving trajectory to obtain a comparison result, the game control method further includes:
step a1, adjusting the moving distance based on the comparison result to obtain the adjusted moving distance;
Step B, the adjusted moving distance is sent to the game end; alternatively, the first and second electrodes may be,
step A2, sending the comparison result and the moving distance to the game end, so that the game end can adjust the moving distance according to the comparison result to obtain the adjusted moving distance.
After the comparison result is obtained, the moving distance can be adjusted based on the comparison result to obtain the adjusted moving distance, and then the adjusted moving distance is sent to the game terminal. That is, the adjustment of the movement distance is performed in the game pad.
Of course, the comparison result and the movement distance may also be sent to the game end, so that the game end adjusts the movement distance based on the comparison result to obtain the adjusted movement distance, and executes the corresponding game control operation based on the adjusted movement distance. The specific adjustment rule may be specifically set according to actual needs, and meanwhile, the specific game control operation may be determined based on the target moving distance and a preset game control operation, which is not specifically described herein.
It should be noted that, in specific implementation, after the gamepad obtains the first movement track of the gamepad, the movement distance of the Trigger key, and the second movement track, the gamepad may also directly send the first movement track, the movement distance, and the second movement track to the game end, and the game end automatically compares the first movement track and the second movement track, and then adjusts the movement distance according to the comparison result, and executes a corresponding game control operation based on the adjusted movement distance.
The embodiment of the invention provides a game control method, which is applied to a gamepad, and comprises the steps of firstly obtaining movement data of the gamepad, and determining a first movement track of the gamepad according to the movement data; acquiring the moving distance and a second moving track of a Trigger key on a game handle; comparing the first moving track with the second moving track to obtain a comparison result so that the game terminal can obtain the adjusted moving distance and execute corresponding game control operation based on the adjusted moving distance; and the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result. In the embodiment of the invention, the first moving track of the game handle is compared with the second moving track of the Trigger key to obtain a comparison result, the comparison result is the control result of the game handle by the player, and then the moving distance of the Trigger key is obtained by adjusting based on the comparison result so that the game end can execute the corresponding game control operation based on the adjusted moving distance.
Further, based on the above-described first embodiment, a second embodiment of the game control method of the present invention is proposed.
In this embodiment, before the step S20, the game control method further includes:
and step C, determining that the game handle is in a motion state according to the first movement track.
In this embodiment, after determining that the first movement track of the game pad is obtained, it may be determined whether the game pad is in a motion state according to the first movement track. The method for judging whether the game handle is in the motion state can be that whether the distance between the head space coordinate point and the tail space coordinate point of the first moving track is in a preset range is detected, and if the distance is in the preset range, the game handle is judged not to be in the motion state; if the current is not within the preset range, the motor is judged to be in a motion state.
If the gamepad is in a motion state according to the first movement track, the movement distance and the second movement track of the Trigger key on the gamepad are obtained, and then subsequent steps are executed.
Further, after step S10, the game control method further includes:
step D, determining that the game handle is not in a motion state according to the first movement track;
And F, acquiring the moving distance of the Trigger key on the gamepad, and sending the moving distance to the game end so that the game end can execute corresponding game control operation based on the moving distance.
If the game paddle is not in a motion state, at the moment, it is indicated that the player does not control the movement of the game paddle along with the game scene, and at the moment, the movement distance of the Trigger key on the game paddle is only needed to be obtained and sent to the game end, so that the game end can execute corresponding game control operation based on the movement distance.
In this embodiment, whether the joystick is in the motion state is determined according to the first movement track, and if the joystick is in the motion state, the first movement track of the joystick needs to be further compared with the second movement track of the Trigger key, so that the movement distance of the Trigger key can be correspondingly adjusted by combining a comparison result (i.e., control of a player on the joystick), and a corresponding game control operation is executed. If the game handle is not in a motion state, the game control operation can be executed according to the original Trigger condition without adjusting the moving distance of Trigger keys.
The invention also provides a game control method.
Referring to fig. 4, fig. 4 is a flowchart illustrating a game control method applied to a game terminal according to a first embodiment of the present invention.
In this embodiment, the game control method is applied to a game terminal, and the game control method includes:
step S100, the game end receives a moving distance of the Trigger key sent by the game handle and a comparison result of a first moving track of the game handle and a second moving track of the Trigger key;
in this embodiment, the game control method is applied to a game side, and the game side may be a terminal device such as a PC (personal computer), a smart phone, and a tablet computer.
And the game end receives the moving distance of the Trigger key sent by the game handle and the comparison result of the first moving track of the game handle and the second moving track of the Trigger key.
Of course, it can be understood that, in the actual game control process, the game end may also receive other control parameters sent by the game pad, such as a direction key control command, to execute the corresponding control operation.
And S200, adjusting the moving distance according to the comparison result, and executing corresponding game control operation based on the adjusted moving distance.
Then, the moving distance is adjusted according to the comparison result, and corresponding game control operation is executed based on the adjusted moving distance.
Specifically, step S200 includes:
step a201, if the direction of the first movement track is consistent with that of the second movement track, performing increasing adjustment on the movement distance according to a first preset rule, and executing corresponding game control operation based on the adjusted movement distance;
step a202, if the direction of the second movement track is not consistent with that of the second movement track, performing reduction adjustment on the movement distance according to a second preset rule, and executing corresponding game control operation based on the adjusted movement distance.
If the first movement track is consistent with the second movement track in direction, as one of the adjustment modes, the movement distance may be increased and adjusted according to a first preset rule, and a corresponding game control operation may be executed based on the adjusted movement distance. Wherein, the first preset rule may include but is not limited to: increasing the moving distance by a preset proportion; and increasing in proportion according to the preset mapping relation according to the range of the moving distance. For example, if the moving distance is a, the game device may be directly increased by a preset ratio, and if the preset ratio is 30%, the adjusted moving distance is 1.3a, and at this time, the corresponding game control operation is executed based on the moving distance of 1.3 a.
If the second movement track is not consistent with the second movement track in direction, as one of the adjustment modes, the movement distance may be reduced and adjusted according to a second preset rule, and a corresponding game control operation may be executed based on the adjusted movement distance. Wherein, the second preset rule may include but is not limited to: reducing the moving distance by a preset proportion; and reducing according to the range of the moving distance and the preset mapping relation in proportion. For example, if the moving distance is b, the game device can be directly reduced by a preset ratio, if the preset ratio is 20%, the adjusted moving distance is 0.8b, and at this time, the corresponding game control operation is executed based on the moving distance of 0.8 b.
In this embodiment, the game end receives the moving distance of the Trigger key sent by the game handle and the comparison result between the first moving trajectory of the game handle and the second moving trajectory of the Trigger key, adjusts the moving distance according to the comparison result, and executes a corresponding game control operation based on the adjusted moving distance. In this embodiment, the moving distance of the Trigger key is correspondingly adjusted by combining the control of the gamepad by the gamepad, and then the corresponding game control operation is executed, so that the usability of the Trigger key can be improved, and meanwhile, the gamepad can make corresponding operation along with the game scene to assist in adjusting the game control operation in the game process, so that the gamepad can feel the current game scene more truly in the experience process, and the experience effect of the gamepad can be enhanced.
Further, based on the above-described first embodiment, a second embodiment of the game control method applied to the game side of the present invention is proposed.
In this embodiment, step S200 may include:
step a210, obtaining a current game;
step a210, adjusting the moving distance according to the current game and the comparison result, and executing a corresponding game control operation based on the adjusted moving distance.
In this embodiment, after receiving the moving distance of the Trigger key sent by the gamepad and the comparison result between the first moving trajectory of the gamepad and the second moving trajectory of the Trigger key, the game terminal may first obtain the current game, then adjust the moving distance according to the current game and the comparison result, and execute the corresponding game control operation based on the adjusted moving distance.
When the moving distance is adjusted, mapping relations between different game types and the comparison result and the adjustment rule can be preset, a corresponding target adjustment rule is further determined according to the preset mapping relation, and the moving distance is adjusted based on the target adjustment rule.
In this embodiment, the moving distance of the Trigger key is correspondingly adjusted by combining the control of the gamepad and the game type by the player, so as to execute the corresponding game control operation, thereby further improving the usability of the Trigger key. Meanwhile, the game control operation can be adjusted by different operations of the player along with different game scenes in the playing process of different games, so that the player can feel the current game scene more truly in the experience process, and the experience effect of the player can be enhanced.
The invention also provides a game control system which comprises a gamepad and a game end.
The game handle is the game handle described above and is used for executing the steps in the first game control method embodiment, and specific functions and implementation processes may refer to the above embodiment, which is not described herein again.
The game terminal is the game terminal described above and is configured to execute the steps in the second game control method embodiment, and specific functions and implementation processes may refer to the above embodiment, which is not described herein again.
The embodiment provides a game control system, which comprises a game handle and a game end, wherein the game handle firstly acquires movement data of the game handle and determines a first movement track of the game handle; acquiring the moving distance and a second moving track of a Trigger key on a game handle; and then, comparing the first moving track with the second moving track to obtain a comparison pair, further sending a comparison result and the moving distance to the game end, adjusting the moving distance according to the comparison result by the game end, and executing corresponding game control operation based on the adjusted moving distance. By constructing the game control system, the moving distance of the Trigger key is correspondingly adjusted by combining the control of a player on the gamepad, and then the corresponding game control operation is executed, so that the use performance of the Trigger key can be improved, meanwhile, the player can make corresponding operation along with a game scene to assist in adjusting the game control operation in the game process, the player can feel the current game scene more really in the experience process, and the experience effect of the player can be enhanced.
The present invention also provides a computer-readable storage medium having stored thereon a game control program which, when executed by a processor, implements the steps of the game control method as described in any one of the above first or second game control methods.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the first and second game control methods, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (13)

1. A game control method is applied to a gamepad, and the game control method comprises the following steps:
Obtaining movement data of a game handle, and determining a first movement track of the game handle according to the movement data;
acquiring a moving distance of a Trigger key on a game handle and a second moving track of the Trigger key;
comparing the directions of the first moving track and the second moving track to obtain a comparison result so that the game terminal can obtain the adjusted moving distance and execute corresponding game control operation based on the adjusted moving distance; and the adjusted moving distance is obtained by adjusting the moving distance according to the comparison result.
2. The game control method of claim 1, wherein 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 end; alternatively, the first and second electrodes may be,
and sending the comparison result and the moving distance to the game end so that the game end can adjust the moving distance according to the comparison result to obtain the adjusted moving distance.
3. The game control method of claim 2, wherein the step of obtaining the movement distance of the Trigger key on the joystick and the second movement trajectory of the Trigger key is preceded by the step of:
and determining that the game handle is in a motion state according to the first movement track.
4. The game control method of claim 2, wherein the method further comprises:
determining that the game handle is not in a motion state according to the first movement track;
and acquiring the moving distance of a Trigger key on a gamepad, and sending the moving distance to the game end so that the game end can execute corresponding game control operation based on the moving distance.
5. The game control method according to any one of claims 1 to 4, wherein the step of acquiring movement data of the game pad, and determining the first movement locus of the game pad based on the movement data includes:
acquiring acceleration data and angular velocity data of a gamepad through an inertia measurement unit;
converting the acceleration data and the angular velocity data to obtain relative space coordinate data of the gamepad;
And performing curve fitting on the relative space coordinate data to obtain a movement track of the game handle, and recording the movement track as a first movement track.
6. The game control method according to any one of claims 1 to 4, wherein the step of obtaining a movement distance of the Trigger key on the joystick and a second movement trajectory of the Trigger key comprises:
acquiring voltage value change data of a Trigger key on a game handle through a Hall sensor;
calculating the movement distance of the Trigger key according to the voltage value change data, determining the movement track of the Trigger key, and recording the movement track as a second movement track; or the like, or, alternatively,
acquiring resistance value change data of the slide rheostat in the moving process of the Trigger key on the game handle;
calculating the movement distance of the Trigger key according to the resistance value change data, determining the movement track of the Trigger key, and recording the movement track as a second movement track; or the like, or, alternatively,
acquiring displacement change data of a Trigger key on a gamepad through a proximity sensor;
and calculating the movement distance of the Trigger key according to the displacement change data, determining the movement track of the Trigger key, and recording as a second movement track.
7. A game control method is applied to a game terminal, and is characterized by comprising the following steps:
the game end receives a moving distance of the Trigger key sent by the game handle and a comparison result of a first moving track of the game handle and a second moving track of the Trigger key;
and adjusting the moving distance according to the comparison result, and executing corresponding game control operation based on the adjusted moving distance.
8. The game control method according to claim 7, wherein the step of adjusting the movement distance according to the comparison result and executing the corresponding game control operation based on the adjusted movement distance comprises:
if the first movement track is consistent with the second movement track in direction, increasing and adjusting the movement distance according to a first preset rule, and executing corresponding game control operation based on the adjusted movement distance;
if the direction of the second moving track is inconsistent with that of the second moving track, the moving distance is reduced and adjusted according to a second preset rule, and corresponding game control operation is executed based on the adjusted moving distance.
9. The game control method according to claim 7, wherein the step of adjusting the movement distance according to the comparison result and executing the corresponding game control operation based on the adjusted movement distance comprises:
acquiring a current game;
and adjusting the moving distance according to the current game and the comparison result, and executing corresponding game control operation based on the adjusted moving distance.
10. A gamepad, said gamepad comprising: memory, a processor and a game control program stored on the memory and executable on the processor, the game control program when executed by the processor implementing the steps of the game control method of any one of claims 1 to 6.
11. A game end, comprising: memory, a processor and a game control program stored on the memory and executable on the processor, the game control program when executed by the processor implementing the steps of the game control method of any one of claims 7 to 9.
12. A game control system is characterized by comprising a game handle and a game end; wherein the content of the first and second substances,
The gamepad being the gamepad of claim 10;
the game end is according to claim 11.
13. A computer-readable storage medium, characterized in that a game control program is stored thereon, which when executed by a processor implements the steps of the game control method according to any one of claims 1 to 6 or 7 to 9.
CN202010696619.6A 2020-07-17 2020-07-17 Game control method, system, game handle, game end and readable storage medium Pending CN111840994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010696619.6A CN111840994A (en) 2020-07-17 2020-07-17 Game control method, system, game handle, game end and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010696619.6A CN111840994A (en) 2020-07-17 2020-07-17 Game control method, system, game handle, game end and readable storage medium

Publications (1)

Publication Number Publication Date
CN111840994A true CN111840994A (en) 2020-10-30

Family

ID=73000954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010696619.6A Pending CN111840994A (en) 2020-07-17 2020-07-17 Game control method, system, game handle, game end and readable storage medium

Country Status (1)

Country Link
CN (1) CN111840994A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113842634A (en) * 2021-09-27 2021-12-28 歌尔科技有限公司 Force feedback control method and device for trigger button, electronic product and medium
CN114489154A (en) * 2021-12-28 2022-05-13 歌尔科技有限公司 Control method, control device, handle and medium
CN115253281A (en) * 2022-07-29 2022-11-01 歌尔股份有限公司 Trigger key control method and device of handle, handle and storage medium
CN115738233A (en) * 2022-11-11 2023-03-07 广州小鸡快跑网络科技有限公司 Rocker calibration test method and system for gamepad

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200621339A (en) * 2004-12-17 2006-07-01 Inventec Appliances Corp Direction control device for game software of handheld equipment and control method thereof
CN1936928A (en) * 2005-09-23 2007-03-28 英华达(上海)电子有限公司 Direction control device of handheld apparatus game software and controlling method
US20080076566A1 (en) * 2006-08-25 2008-03-27 Nintendo Co., Ltd. Storage medium having game program stored thereon and game apparatus
JP2009279050A (en) * 2008-05-20 2009-12-03 Namco Bandai Games Inc Program, information storage medium, and game apparatus
CN201594225U (en) * 2010-02-03 2010-09-29 姜开淦 Joystick with gesture recognition function
CN102274635A (en) * 2011-07-30 2011-12-14 周海涛 Game controller
CN105080137A (en) * 2015-08-28 2015-11-25 青岛歌尔声学科技有限公司 Press key, gamepad and action signal output method
CN204973023U (en) * 2015-08-28 2016-01-20 青岛歌尔声学科技有限公司 Button and game paddle
CN105727552A (en) * 2016-02-01 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Control device, key control method, key control system and terminal
CN107168554A (en) * 2017-04-26 2017-09-15 歌尔股份有限公司 Trigger button scaling method, device and equipment
CN107376341A (en) * 2017-06-22 2017-11-24 歌尔科技有限公司 It is a kind of for the data processing method of game paddle, device and game paddle
JP2018143784A (en) * 2018-05-11 2018-09-20 株式会社コナミデジタルエンタテインメント Game control device, game system, and program
JP2019080928A (en) * 2017-03-27 2019-05-30 株式会社コナミデジタルエンタテインメント Game system, game control device, and program
CN110152288A (en) * 2019-06-27 2019-08-23 歌尔科技有限公司 Game console, game system and the method for identifying game operation direction
CN110545889A (en) * 2017-03-27 2019-12-06 科乐美数码娱乐株式会社 Game system, game control device, and program

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200621339A (en) * 2004-12-17 2006-07-01 Inventec Appliances Corp Direction control device for game software of handheld equipment and control method thereof
CN1936928A (en) * 2005-09-23 2007-03-28 英华达(上海)电子有限公司 Direction control device of handheld apparatus game software and controlling method
US20080076566A1 (en) * 2006-08-25 2008-03-27 Nintendo Co., Ltd. Storage medium having game program stored thereon and game apparatus
JP2009279050A (en) * 2008-05-20 2009-12-03 Namco Bandai Games Inc Program, information storage medium, and game apparatus
CN201594225U (en) * 2010-02-03 2010-09-29 姜开淦 Joystick with gesture recognition function
CN102274635A (en) * 2011-07-30 2011-12-14 周海涛 Game controller
CN105080137A (en) * 2015-08-28 2015-11-25 青岛歌尔声学科技有限公司 Press key, gamepad and action signal output method
CN204973023U (en) * 2015-08-28 2016-01-20 青岛歌尔声学科技有限公司 Button and game paddle
CN105727552A (en) * 2016-02-01 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Control device, key control method, key control system and terminal
JP2019080928A (en) * 2017-03-27 2019-05-30 株式会社コナミデジタルエンタテインメント Game system, game control device, and program
CN110545889A (en) * 2017-03-27 2019-12-06 科乐美数码娱乐株式会社 Game system, game control device, and program
CN107168554A (en) * 2017-04-26 2017-09-15 歌尔股份有限公司 Trigger button scaling method, device and equipment
CN107376341A (en) * 2017-06-22 2017-11-24 歌尔科技有限公司 It is a kind of for the data processing method of game paddle, device and game paddle
JP2018143784A (en) * 2018-05-11 2018-09-20 株式会社コナミデジタルエンタテインメント Game control device, game system, and program
CN110152288A (en) * 2019-06-27 2019-08-23 歌尔科技有限公司 Game console, game system and the method for identifying game operation direction

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113842634A (en) * 2021-09-27 2021-12-28 歌尔科技有限公司 Force feedback control method and device for trigger button, electronic product and medium
CN113842634B (en) * 2021-09-27 2024-02-27 歌尔科技有限公司 Force feedback control method and device for trigger button, electronic product and medium
CN114489154A (en) * 2021-12-28 2022-05-13 歌尔科技有限公司 Control method, control device, handle and medium
CN115253281A (en) * 2022-07-29 2022-11-01 歌尔股份有限公司 Trigger key control method and device of handle, handle and storage medium
CN115738233A (en) * 2022-11-11 2023-03-07 广州小鸡快跑网络科技有限公司 Rocker calibration test method and system for gamepad
CN115738233B (en) * 2022-11-11 2024-02-06 广州小鸡快跑网络科技有限公司 Joystick calibration test method and system for game handle

Similar Documents

Publication Publication Date Title
CN111840994A (en) Game control method, system, game handle, game end and readable storage medium
US9996153B1 (en) Haptic interaction method, tool and system
US8050891B2 (en) Sensor mapping
US9227144B2 (en) Communication game system
US7922588B2 (en) Storage medium having game program stored thereon and game apparatus
KR101582296B1 (en) Automatic aiming system and method for mobile game
US20060044268A1 (en) Device orientation based input signal generation
US10137370B2 (en) Information processing device, information processing system, correction method, control method, correction program, control program and recording medium
CN111870934B (en) Vibration adjusting method of handle, game handle and computer readable storage medium
CN107607743B (en) Acceleration correction method, terminal and related medium product
US20150338875A1 (en) Graspable mobile control element simulating a joystick or the like with at least one control element with physical end stop, and associated method of simulation
CN110221683B (en) Motion detection system, motion detection method, and computer-readable recording medium thereof
CN109491579A (en) The method and apparatus that virtual objects are manipulated
CN111603760A (en) Game pad, method for acquiring control data of game pad, and computer-readable storage medium
CN110152288B (en) Game controller, game system and method for identifying game operation direction
EP3792774B1 (en) Information processing system
CN111151000A (en) Operation rod adjusting method, device, equipment and storage medium
US7245288B2 (en) Method of setting up pointing device on portable terminal
JP4450569B2 (en) Pointer cursor control device and electronic apparatus equipped with the device
CN113163247A (en) Device control method, remote controller, and computer-readable storage medium
CN107315481B (en) Control method and control system for interactive behaviors in virtual environment
KR20170001539A (en) Automatic aiming system and method for mobile game
CN110604919A (en) Motion sensing game implementation method and system, flexible terminal and storage medium
WO2022079851A1 (en) Game machine controller
CN113769384A (en) In-game visual field control method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination