[summary of the invention]
Therefore, the present invention appears at the problems referred to above of the prior art in order to solve, and the object of the present invention is to provide aforesaid a kind of method of using the handle recreation.
Another object of the present invention is a method of using the handle recreation in order to provide, and it prevents that player's psychology from brandishing the error on the opportunity of correctly brandishing of opportunity and game design.
Further purpose of the present invention is for a kind of method of using handle recreation is provided, and it can let the player judge correct the brandishing opportunity that game design needs accurately.
The present invention develops in order to address the above problem.When brandishing handle, the player measures handle translational speed and direction, when the indicia circle that expression and picture show is red mode of operation, and game device and the method for using gravity and acceleration induction and screen display to combine.
In order to realize above-mentioned target, the present invention provides a kind of method of using the indicia circle recreation that shows on the handle cooperation display screen, its
Comprise: the handle that can brandish, device acceleration and angular speed inductor can detect acceleration and rotation that handle is brandished, and be wired to data message receiving chip and main frame; Support the main frame of handle information processing and game running; Be used for game content and game identifier circle and show the high definition display device of drawing; Draw on the display device and be used for the player identification indicia circle on the correct opportunity of brandishing.
Preferably; The acceleration induction device of this handle apparatus and gyroscope (angular velocity detection); Detect the translational acceleration and the rotation of handle; When but the translational acceleration of handle reached the technology measured value, indication handle shift action was effective, and transmitted acceleration value and arrive handle data message receiving chip and main frame with the acceleration direction; When but the angular velocity of rotation of handle reached the technology measured value, indication handle shift action was effective, and transmitted angular velocity of rotation numerical value to handle data message receiving chip and main frame.
Preferably, the indicia circle of drawing on this display device is used the identification of vivid color, makes the player to check clearly, and judicious shake operation opportunity.
Preferably; The indicia circle of drawing on this display device; According to recreation need three kinds of different state, the pattern that three kinds of different state show on display device is all different with color, and control reception and do not receive the operating data information that handle is brandished during every kind of state.
Preferably; The indicia circle of drawing on this display device; According to the three kinds of different state that need of recreation, then decision operation is correct when correct state, to brandish handle, does not brandish handle or brandishes then decision operation error of handle at the state of mistake at correct state.
Further, in order to realize above-mentioned target, the present invention provides a kind of method of using the indicia circle recreation that shows on the handle cooperation display screen, comprising:
A) handle that can brandish; Device gyroscope and acceleration induction device; Can detect acceleration and rotation that handle is brandished, and be wired to data message receiving chip and main frame, the data message that handle is brandished sends to main frame and carries out the processing of recreation demand;
B) main frame of support handle information processing and game running;
C) be used for game content and game identifier circle and show the high definition display device of drawing;
D) indicia circle that shows on the display device, indicia circle have three kinds of different state: vanishing state, green SBR, red mode of operation;
E) the indicia circle switching displayed state that selectively circulates;
F) indicia circle handle data message receiving chip and main frame when vanishing state do not detect the action of handle, and indicia circle handle data message receiving chip and main frame when green mode of operation and red mode of operation detect the action of handle;
G) indicia circle is when green SBR, and handle is brandished action and is operation failure; Indicia circle is when red mode of operation, and handle is brandished action for operating correctly; Indicia circle is when red mode of operation, and it is operation failure that handle does not have shake operation.
For achieving the above object, the present invention is about the mensuration of gravity and acceleration induction, and on display device, drawing transformable indicia circle, to receive the mensuration result of gravity and acceleration induction following with the solution that uses method for gaming:
In handle, load the acceleration induction device (MMA726Q->MM7361LC ± 1.5G~± 6G) with gyroscope (angular speed inductor: angular velocity detection ENC-03R ± 300DEG/SEC), dispose CPU (H8/3694, RENESAS 1 single-chip microcomputer); CLOCK (20MHz); I/F (be connected to interface and the line unit of PC, serial i/F USB V1.1/V2.0, power supply is supplied with: DC5V ± 10%250mA ripple is less than 5% (being used for USB); DC5V ± 12%350mA ripple is less than 5% (motor, LED drive and use).
The acceleration induction device detects the input of X axle acceleration, the input of Y axle acceleration, the input of Z axle acceleration
Gyroscope (angular speed inductor) detects X axle angular velocity of rotation, Y axle angular velocity of rotation, Z axle angular velocity of rotation
Input is arranged when the numerical value change when detecting acceleration and angular speed, the acceleration induction device receives data and is converted into the I/F data type with gyroscope and sends to PC, and PC receives also processing specification information, matees Games Software process process.
[specific embodiment]
Followingly describe with reference to additional pattern
But following illustrated example is a common knowledge in the technical field under the present invention, so there is not the not shielded problem of invention.
For offering some clarification on the present invention, omit with the place that explanation is irrelevant.Through the similar similar symbol of local surcharge in the detailed book of integral body.
When which inscape which partly comprised in detail list and the whole request scope, this did not get rid of different inscapes of opposite especially equipment, and comprises the meaning of other inscape.
Fig. 1 is that the integrated information of handle of the present invention realizes schematic diagram with technology;
The CPU that uses in the handle as shown in Figure 1 controls data operation and transmission in the whole handle; The mode of operation of whole service is: when the player brandishes handle; Acceleration sensor X/Y/Z axle and the rotation of angular speed sensor X/Y axle detect; Reach the angular speed sensor Z axle rotation that connects the CN2 port and detect, and testing result is transferred to CPU through Analog Input input.
CPU computing testing result also uses the prearranged signal send mode that operation of player is sent to each requirement section.
Wherein Digital Output output output information is to Motor Driver and LED Driver.And B motor or S motor vibrations equipment that Motor Driver selects CN3 or CN4 port to connect according to the data of importing into.LED Driver selects corresponding LED lamp to carry out bright dark operation according to the data of importing into.
Serial I/O output output information is to USB Driver, USB Driver through USB I/F from CN1 port transmission data message to PC, receive and process information by PC again, and judge game process.
Fig. 2 is the acceleration induction and the angular speed sensing apparatus schematic diagram of handle of the present invention;
The middle 45mm of device as shown in the figure place device is locator slidably, and the device right ends is provided with the locating hole of 2mm respectively, and handle two end device electromagnetic inductors are to judge the locator current location.
On handle head (diagram left end) is thought, move, when handle afterbody (diagram right-hand member) moved downwards or, locator slided to the handle afterbody;
Under the handle head is thought, move, when the handle afterbody upwards or moved, locator slided to the handle head;
Mobile when the handle head, when the handle afterbody moved up, locator slided to the handle head;
Mobile when the handle head, when the handle tail down was moved, locator slided to the handle afterbody.
Locator and the conversion of handle translational acceleration get according to the computing formula of following [mathematical expression 1]:
[mathematical expression 1]
Handle translational acceleration=(((125-22)-electromagnetic conversion value mm)-(45-22)) * time²
Above-mentioned electromagnetic inductor is set initial value A, and when moving appearred in locator, the output valve of electromagnetic inductor was owing to the change of current circuit changes, and time is the time interval of each measurement.The distance decision handle translational acceleration that locator moves and the size of angular speed, when distance that locator moves was less than normal in the identical time, its translational acceleration was promptly less than normal, and angular speed is also less than normal; When distance that locator moves was bigger than normal in the identical time, its translational acceleration was also bigger than normal, and angular speed is also bigger than normal.
For acceleration and angular velocity data value and the PC communication that realizes handle, among Fig. 1 handle Control PCB partial devices the CN1 port, connect USB Driver and through DC5V, DC12V connects Power Supply through USB I/F.CN1 is 8 terminals, and its each terminal signals is set to:
CN1: compatible power supply USB I/F interface is fit to B8B-XH-JST connector Wiring port
Terminal |
Signal name |
Content |
1 |
DC12V |
The input of DC12V power supply |
2 |
M-GND |
The GND motor |
3 |
M-GND |
The GND motor |
4 |
DC5V |
The input of USB DC5V power supply |
5 |
DATA |
Usb signal data negative pole |
6 |
DATA |
The usb signal data are anodal |
7 |
GND |
USB ground connection |
Among Fig. 1 handle Control PCB partial devices the CN2 port, to insert angular speed Z axle wheel measuring value and LED RGB numerical value.The CN2 port is 7 for terminal, and the signal of its each terminal is set to:
The binding post LED that the CN2:B7B-XH-JST connector is suitable
Terminal |
Signal name |
Content |
1 |
GYPO-Z |
The input of Z axle angular velocity of rotation |
2 |
GND |
Ground connection |
3 |
DC3V |
The output of DC3V power supply |
4 |
LED-B |
The output of LED cyan signal |
5 |
LED-G |
The output of LED green |
6 |
LED-R |
The output of LED danger signal |
7 |
LED-COM |
Anodal LED output |
USB Driver uses Serial I/O interface and CPU communication among Fig. 1, uses USB I/F interface and CN1 and PC communication, in order to realize its normal communication, sets the communication protocol of appointment at this USB interface.
Interface type: USB serial i/F USB V1.1/V2.0, virtual COM port (chip id of FTDI) equipment is installed, from the application program of a COM port as processing.And (66000BPS), the 8bit data are provided with 1 start bit and a position of rest, do not have odd-even check for order inter-packet gap, 6MS at least to use this USB interface to carry out asynchronous serial data transmission.
The communication formation of USB Driver and PC end is designed to: a pair of request of data that begins from the PC master controller.
Mark |
Sign indicating number (hex) |
Performance |
STX |
?02 |
Beginning label refers to the starting position of packet |
BYT |
?01~FF |
The data of byte |
DAT0,DAT1 |
?00~FF |
8 bit data of 00H~FFH representative |
SUM |
?00~FF |
The test value of even parity check.The detection of correcting a mistake. |
STX recognizes the starting position through the packet that detects.
BYT reads data, to guarantee to read the quantity of data.
DAT admits the data of asking.
SUM is all summations of DAT binary number.
The communication format of USB Driver and PC end is designed to: carry out with the communication of controller with main PC, sent by computer and order.From the order of data communication through regularly sending that main PC detects, the data that execution can not be done like this are because from the communication request of the controller of main PC.
The ASCII character table
The detailed description of order is:
Be reset to the communications status of its original state controller.
Communication function about initialization controller is invalid.
The numbering of Read Controller unit.
Reply data returns the ASCII character string representation.
The version of Read Controller.Show BCD, decimal point with low four.
Read operation according to repetition period of data
Order Byete1=6~FF (the operation return period of 6~255msec)
Order Byete1=0 (operation ends)
Start or stop the output of vibration motor.The sensitivity of accelerometer is set.
Annotate 1) fan-out capability of vibration motor for newly-increased stop 60 seconds automatically after.
Notes 2) minimum of a value of vibrations output is 0001. since 0010 to 0011.
According to above port and communication data setting; In acceleration sensorX/Y/Z axle and the rotation of angular speed sensorX/Y axle, when the angular speed sensor Z axle rotation of CN2 port produced operand value, its numerical value imported CPU into; CPU output data are to the SerialI/O interface; And send to USB Driver, and being transferred to computer through CN1, the data type of its transmission does; With STX (02) is the data structure of beginning, according among 00~FF of the direction of acceleration and angular speed and size transmission DAT one is worth PC.
Wherein when the player upwards brandished handle, acceleration and angular speed inductor obtained shake operation, and sent proper data to CPU, after CPU receives and identifies data, sent corresponding code to PC through USB Driver, and information code is 00H.
PC judges the type of brandishing, the operating time of input etc. according to the shake operation data that receive.Design for indicia circle in the PC Games Software is:
The indicia circle state |
Type codes |
Duration control |
Vanishing state |
0 |
5S~10S |
Green SBR |
1 |
0.5S~2S |
Red mode of operation |
2 |
0.3S~1S |
PC is after receiving lever operated data, and matched data is to the type codes of Games Software.When type codes is 0, receive operating data from handle, then judge player's operate miss; When type codes is 1, receive operating data from handle, then judge player's operate miss; When type codes is 2, receive operating data from handle, judge that then the player operates correctly.
Below introduce an instantiation:
Term that uses in specification of the present invention and claims and word are not appreciated that and are subject on the dictionary they definition in general sense; And will be understood that it is the meaning and the notion that has with respect to technical spirit of the present invention; Based on this principle, its inventor can make this invention be described with best mode through the implication of selecting the properest term for use.
Below, instance of the present invention is with its content of detailed description.The present invention is a kind of method of using the indicia circle recreation that shows on the handle cooperation display screen, and this method for gaming can be applicable in the middle of polytype recreation.
With a first or the game of the tennis type of the third person describe; The handle that can brandish can be simulated the racket of tennis game; Handle itself can detect translational acceleration, moving direction, rotation mode; Can perfectly simulate the mobile and rotation mode that tennis racket needs, and under different translational accelerations, moving direction and the rotation mode, the different-effect to the tennis strike of generation.The direction that tennis racket hits tennis be 360 degree each to strike, the translational acceleration when hitting dynamics is racket contact tennis produces, and hits the angle decision of angle when also hitting tennis by racket rotation back; And the detected acceleration direction of the acceleration induction device of handle can corresponding tennis racket beating position, the hitting dynamics that acceleration magnitude can corresponding tennis racket, the strike angle that the rotation of handle can corresponding tennis racket.
First or the tennis game of the third person require the player tennis fly to own on one side in, can judge and brandish handle in the correct time, impact tennis.The time period that tennis racket impacts tennis can be divided into tennis and fly to that adversary, tennis fly to oneself, tennis can impact, tennis flies over oneself; If can the distance that directly adopts tennis and role just be easy to produce the psychological error of player as judging the condition that impact.Be employed in and draw the method that circle pair net ball racket impacts on the display device, can well cooperate handle to accomplish game operation.
In tennis game, the relative player's of tennis distance is distributed: indicia circle was a vanishing state when tennis flew to the adversary, and it is invalid to show that brandish handle this moment; Indicia circle was green SBR when tennis flew to oneself, showed to brandish the handle error this moment, brandished action too early; Indicia circle was red mode of operation when tennis can impact, and showed to brandish handle this moment, can correctly hit back tennis; Indicia circle was a vanishing state when tennis flew over the role, and it is invalid to show that brandish handle this moment, had spent the opportunity of shake operation, this cycling failure.According to the ball speed of tennis flight, the time of calculating each state, it is fast more that tennis flies, and the duration of each state is short more.
And the delivery of service of tennis also can be operated the expression on opportunity through the state variation of indicia circle.The service of tennis is generally plurality of processes: with tennis upwards throw, tennis slowly rises, tennis is impacted away near rising peak, tennis or tennis falls.Use this plurality of processes of indicia circle coupling to be: indicia circle was vanishing state when tennis was upwards thrown, and it is invalid to show that brandish handle this moment; Indicia circle was green SBR when tennis slowly rose, and showed to brandish the handle error this moment, brandished action too early, can't well impact tennis; Tennis during near the rising peak indicia circle be red mode of operation, show and brandish handle this moment, can correctly hit tennis; Indicia circle was a vanishing state when tennis was impacted away or tennis falls; It is invalid to show that brandish handle this moment; Successfully tennis is hit tennis and fly to the adversary, or do not brandish handle and impact tennis, crossed this cycling failure on opportunity of shake operation on correct opportunity.