CN104606890A - Control method and system for game machine control device and game machine - Google Patents
Control method and system for game machine control device and game machine Download PDFInfo
- Publication number
- CN104606890A CN104606890A CN201410830384.XA CN201410830384A CN104606890A CN 104606890 A CN104606890 A CN 104606890A CN 201410830384 A CN201410830384 A CN 201410830384A CN 104606890 A CN104606890 A CN 104606890A
- Authority
- CN
- China
- Prior art keywords
- virtual traffic
- traffic instrument
- control device
- direction input
- obstacle
- 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.)
- Granted
Links
Landscapes
- Processing Or Creating Images (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention discloses a control method and system for a game machine control device and a game machine. The control device is used for controlling the driving of a virtual transportation mean. The method comprises the steps that the control direction of the control device which is input by a user is received; the control direction is controlled by a direction input device of the control device; the relative positions of an obstruction touched by the virtual transportation mean in a driving path and the virtual transportation mean are obtained; the direction input device, in the direction corresponding to direction of the relative positions, of the control device is set to be non-input. According to the control method and system for the game machine control device and the game machine, when the fact that the virtual transportation mean touches the obstruction in the driving path is obtained, through obtaining the relative positions of the virtual transportation mean and the obstruction touched by the virtual transportation mean and setting the direction input device, in the direction corresponding to direction of the relative positions, of the control device to be non-input, a user can feel the fact that the virtual transportation mean touches the obstruction through the non-inputting of the direction input device, in the corresponding direction, of the control device, and accordingly, the degree of participation of the user can be improved.
Description
Technical field
The present invention relates to electronic game field, particularly relate to a kind of control method of control device of game machine, system and game machine.
Background technology
Electronic game has been not merely a kind of amusement, has become a kind of cultural phenomenon.Electronic game is considered as a kind of art by someone, and also someone thinks that it creates harmful effect to society, is especially harmful to teen-age physical and mental health.But electronic game at present has become a kind of entertainment way conventional in people's life.
Game car is a kind of electronic game of classics, but the control method of game car in the market, it is general when the virtual traffic instrument of game car touches obstacle, be only that the virtual traffic instrument of game car can not continue to travel at original direction, and user can not experience game car and touched obstacle.The control method user participation of the game car of this mode is lower.
Summary of the invention
Based on this, be necessary to provide a kind of control method, system and the game machine that improve the control device of the game machine of user's participation.
A control method for the control device of game machine, described control device is for controlling the traveling of virtual traffic instrument; Comprise the following steps:
Receive user input described control device controlling party to; Described controlling party is to the travel direction for controlling virtual traffic instrument, and described controlling party controls to the direction input device by control device; The direction input device of described control device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device; Described left direction input unit is for controlling the traveling left of described virtual traffic instrument; Described right direction input unit for control described virtual traffic instrument to right travel; Described front direction input device is for controlling moving forward of described virtual traffic instrument; Described rear direction input device is for controlling the traveling backward of described virtual traffic instrument;
Judge whether the pixel of described virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path or whether contact;
If coincidence or contact, then judge that described virtual traffic instrument touches obstacle in enforcement path;
If judge, described virtual traffic instrument touches obstacle in driving path, then obtain the relative position of obstacle and the described virtual traffic instrument touched;
If the obstacle that the described virtual traffic instrument got touches is positioned at the left side of described virtual traffic instrument, then the left direction input unit of described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the right side of described virtual traffic instrument, then the right direction input unit of described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the front of described virtual traffic instrument, then direction input device before described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the rear of described virtual traffic instrument, then the rear direction input device of described control device is set to input.
The control method of the control device of another kind of game machine, described control device, for controlling the traveling of virtual traffic instrument, comprises the following steps:
Receive user input described control device controlling party to; Described controlling party is to the travel direction for controlling virtual traffic instrument, and described controlling party controls to the direction input device by control device;
Obtain the relative position of obstacle that described virtual traffic instrument touches in driving path and described virtual traffic instrument;
Control device is set to input with the direction input device of described relative position correspondence direction.
Wherein in a kind of embodiment, the concrete steps of the relative position of the obstacle that described acquisition described virtual traffic instrument touches in driving path and described virtual traffic instrument comprise:
Judge whether described virtual traffic instrument touches obstacle in enforcement path;
If judge, described virtual traffic instrument touches obstacle in driving path, then obtain the relative position of obstacle and the described virtual traffic instrument touched.
Wherein in a kind of embodiment, describedly judge that described virtual traffic instrument exercising in path the concrete steps of whether touching obstacle is: judge whether the pixel of described virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path or whether contact; If coincidence or contact, then judge that described virtual traffic instrument touches obstacle in enforcement path.
Wherein in a kind of embodiment, the direction input device of described control device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device;
Described left direction input unit is for controlling the traveling left of described virtual traffic instrument;
Described right direction input unit for control described virtual traffic instrument to right travel;
Described front direction input device is for controlling moving forward of described virtual traffic instrument;
Described rear direction input device is for controlling the traveling backward of described virtual traffic instrument.
A control system for the control device of game machine, described control device, for controlling the traveling of virtual traffic instrument, comprising:
Receiver module, for receive user input described control device controlling party to; Described controlling party is to the travel direction for controlling virtual traffic instrument, and described controlling party controls to the direction input device by control device;
Acquisition module, for obtaining the relative position of obstacle that described virtual traffic instrument touches in driving path and described virtual traffic instrument;
Executive Module, for being set to input with the direction input device of described relative position correspondence direction by control device.
Wherein in a kind of embodiment, described acquisition module comprises:
Judging unit, for judging whether described virtual traffic instrument touches obstacle in enforcement path;
Acquiring unit, if for judging that described virtual traffic instrument touches obstacle in driving path, then obtains the relative position of obstacle and the described virtual traffic instrument touched.
Wherein in a kind of embodiment, described judging unit, whether whether the pixel specifically for the pixel with the edge of obstacle in driving path that judge described virtual traffic tool edge overlap or contact, if coincidence or contact, then judge that described virtual traffic instrument touches obstacle in enforcement path.
Wherein in a kind of embodiment, the direction input device of described control device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device;
Described left direction input unit is for controlling the traveling left of described virtual traffic instrument;
Described right direction input unit for control described virtual traffic instrument to right travel;
Described front direction input device is for controlling moving forward of described virtual traffic instrument;
Described rear direction input device is for controlling the traveling backward of described virtual traffic instrument.
Described Executive Module, specifically for,
If the obstacle that the described virtual traffic instrument got touches is positioned at the left side of described virtual traffic instrument, then the left direction input unit of described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the right side of described virtual traffic instrument, then the right direction input unit of described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the front of described virtual traffic instrument, then direction input device before described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the rear of described virtual traffic instrument, then the rear direction input device of described control device is set to input.
A kind of game machine, comprises the control system of the control device of above-mentioned game machine.
The control method of the control device of above-mentioned game machine, system and game machine, when getting virtual traffic instrument and touch obstacle in driving path, by the relative position of acquisition virtual traffic instrument with the obstacle touched, and control device is set to input with the direction input device of this relative position correspondence direction, make user experience virtual traffic instrument touched obstacle by can not inputting of the direction input device of the respective direction of control device, thus improve the participation of user.
Accompanying drawing explanation
Fig. 1 is a kind of flow chart of control method of control device of game machine of embodiment;
Fig. 2 is the particular flow sheet of a step in the control method of the control device of the game machine of another kind of embodiment;
Fig. 3 is a kind of structure chart of control system of control device of game machine of embodiment;
Fig. 4 is the concrete structure figure of a module in the control system of the control device of the game machine of another kind of embodiment.
Detailed description of the invention
For the ease of understanding the present invention, below with reference to relevant drawings, the present invention is described more fully.Preferred embodiment of the present invention is given in accompanying drawing.But the present invention can realize in many different forms, is not limited to embodiment described herein.On the contrary, provide the object of these embodiments be make the understanding of disclosure of the present invention more comprehensively thorough.
It should be noted that, when element is called as " being fixed on " another element, directly can there is element placed in the middle in it on another element or also.When an element is considered to " connection " another element, it can be directly connected to another element or may there is centering elements simultaneously.Term as used herein " vertical ", " level ", "left", "right" and similar statement are just for illustrative purposes.
Unless otherwise defined, all technology used herein and scientific terminology are identical with belonging to the implication that those skilled in the art of the present invention understand usually.The object of term used in the description of the invention herein just in order to describe specific embodiment, is not intended to be restriction the present invention.Term as used herein " and/or " comprise arbitrary and all combinations of one or more relevant Listed Items.
A control method for the control device of game machine, control device is for controlling the traveling of virtual traffic instrument; Comprise the following steps:
Receive user input control device controlling party to; Controlling party is to the travel direction for controlling virtual traffic instrument, and controlling party controls to the direction input device by control device; The direction input device of control device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device; Left direction input unit is for controlling the traveling left of virtual traffic instrument; Right direction input unit for control virtual traffic instrument to right travel; Front direction input device is for controlling moving forward of virtual traffic instrument; Rear direction input device is for controlling the traveling backward of virtual traffic instrument;
Judge whether the pixel of virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path or whether contact;
If coincidence or contact, then judge that virtual traffic instrument touches obstacle in enforcement path;
If judge, virtual traffic instrument touches obstacle in driving path, then obtain the relative position of obstacle and the virtual traffic instrument touched;
If the obstacle that the virtual traffic instrument got touches is positioned at the left side of virtual traffic instrument, then the left direction input unit of control device is set to input;
If the obstacle that the virtual traffic instrument got touches is positioned at the right side of virtual traffic instrument, then the right direction input unit of control device is set to input;
If the obstacle that the virtual traffic instrument got touches is positioned at the front of virtual traffic instrument, then direction input device before control device is set to input;
If the obstacle that the virtual traffic instrument got touches is positioned at the rear of virtual traffic instrument, then the rear direction input device of control device is set to input.
By judging whether the pixel of virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path or whether contact, the control method of the control device of above-mentioned game machine, can judge virtual traffic instrument is exercising in path whether touch obstacle; Direction input device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device, that control device is conveniently set with direction input device that is relative position correspondence direction for inputting; If the obstacle that the virtual traffic instrument got touches is positioned at the left side of virtual traffic instrument, then the left direction input unit of control device is set to input, and similar rate-determining steps makes can not inputting of the direction input device of control device specific.
As shown in Figure 1, a kind of control method of control device of game machine, this control device, for controlling the traveling of virtual traffic instrument, comprises the following steps:
S110: receive user input control device controlling party to.This control device is for controlling the traveling of virtual traffic instrument, and the controlling party of this control device is to the travel direction for controlling virtual traffic instrument, and this controlling party controls to the direction input device by control device.
Control device refers to for controlling the device that in game, virtual traffic instrument travels.Such as, in virtual video bicycle, control device can comprise the transfer such as steering wheel and pedal or driving and reversing mechanism.Virtual traffic instrument is then the display vehicles on the display apparatus, and such as, be shown as electric bike on the display apparatus, operate control device, the virtual traffic instrument in display unit then can do corresponding action, such as, advance or retreat.By control device is inputted different controlling parties to, control the travel direction of virtual traffic instrument, thus control the traveling of virtual traffic instrument.
S130: the relative position of the obstacle that acquisition virtual traffic instrument touches in driving path and virtual traffic instrument.
When virtual traffic instrument touches obstacle in driving path, the relative position of the obstacle that acquisition virtual traffic instrument touches in driving path and virtual traffic instrument.
S150: control device is set to input with the direction input device of relative position correspondence direction.
The direction corresponding with the relative position of virtual traffic instrument with the obstacle touched of the direction input device of control device is set to input.Concrete, can not input and or can transmit control signal to the direction input device of the respective direction of control device for the input signal of the direction input device of the respective direction of cutting control device, the direction input device of the respective direction of control device is blocked, can not input.
The control method of the control device of above-mentioned game machine, when getting virtual traffic instrument and touch obstacle in driving path, by the relative position of acquisition virtual traffic instrument with the obstacle touched, and control device is set to input with the direction input device of this relative position correspondence direction, make user experience virtual traffic instrument touched obstacle by can not inputting of the direction input device of the respective direction of control device, thus improve the participation of user.
In another embodiment, the direction input device of the control device in step S110 comprises left direction input unit, right direction input unit, front direction input device and rear direction input device.Wherein, left direction input unit is for controlling the traveling left of virtual traffic instrument, right direction input unit for control virtual traffic instrument to right travel, front direction input device is for controlling moving forward of virtual traffic instrument, and rear direction input device is for controlling the traveling backward of virtual traffic instrument.
In the present embodiment, control device comprises transfer and driving and reversing mechanism.Left direction input unit and right direction input unit are integrated in transfer, transfer is specially one can the steering wheel of left-right rotation, and this transfer can according to user's steering wheel rotation and control the rotation to the left or to the right of virtual traffic instrument to the left or to the right.Front direction input device and rear direction input device are integrated in driving and reversing mechanism, driving and reversing mechanism comprises two pedals stepped on for user, and this driving and reversing mechanism can be stepped on pedal forward or backward according to user and control the traveling forward or backward of virtual traffic instrument.
As shown in Figure 2, the step of the relative position of the obstacle that acquisition virtual traffic instrument touches in driving path and virtual traffic instrument, namely step S130 concrete steps comprise:
S131: judge whether virtual traffic instrument touches obstacle in enforcement path.
Judge whether virtual traffic instrument touches obstacle and be specially and judge whether the pixel of virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path in enforcement path.
If the pixel of virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path, then judge that virtual traffic instrument touches obstacle in enforcement path; Otherwise, judge that virtual traffic instrument does not touch obstacle in enforcement path.
Understandably, whether virtual traffic instrument touches obstacle and can also judge by judging whether the pixel of virtual traffic tool edge contacts with the pixel at the edge of obstacle in driving path in enforcement path.
If the pixel of virtual traffic tool edge contacts with the pixel at the edge of obstacle in driving path, then judge that virtual traffic instrument touches obstacle in enforcement path.Otherwise, judge that virtual traffic instrument does not touch obstacle in enforcement path.
S133: virtual traffic instrument touches obstacle in driving path if judge, then obtain the relative position of obstacle and the virtual traffic instrument touched.
If judge, virtual traffic instrument does not touch obstacle in driving path, namely the pixel of virtual traffic tool edge does not overlap with the pixel at the edge of obstacle in driving path or does not contact, then continue to judge whether virtual traffic instrument touches obstacle in enforcement path, namely repeats step S131.
The relative position of the obstacle touched and virtual traffic instrument comprises: the obstacle touched is in the front of virtual traffic instrument; The obstacle touched is at the rear of virtual traffic instrument; The obstacle touched is in the left side of virtual traffic instrument; And the obstacle touched is on the right side of virtual traffic instrument.
In another embodiment, control device is set to the step that can not input with the direction input device of relative position correspondence direction, namely step S150 is specially:
If the obstacle that the virtual traffic instrument got touches is positioned at the left side of virtual traffic instrument, then the left direction input unit of control device is set to input.It is presented as, user can not turn left transfer, and Ke Yiwei, steering wheel can not turn left.But now, user can select the transfer that turns right, virtual traffic instrument is turned right, to break away from the state that can not turn left.
If the obstacle that the virtual traffic instrument got touches is positioned at the right side of virtual traffic instrument, then the right direction input unit of control device is set to input.
It is presented as, user can not turn right transfer.But now, user can select the transfer that turns left, virtual traffic instrument is turned left, to break away from the state that can not turn right.
If the obstacle that the virtual traffic instrument got touches is positioned at the front of virtual traffic instrument, then direction input device before control device is set to input.
It is presented as, user can not step on forward pedal makes driving and reversing mechanism rotate forward.But now, user can select to step on pedal backward, makes driving and reversing mechanism rotate backward, control virtual traffic instrument and travel backward, to break away from the state that can not advance.
If the obstacle that the virtual traffic instrument got touches is positioned at the rear of virtual traffic instrument, then the rear direction input device of control device is set to input.
It is presented as, user can not step on pedal backward makes driving and reversing mechanism rotate backward.But now, user can select to step on pedal forward, makes driving and reversing mechanism rotate forward, control virtual traffic instrument and move forward, to break away from the state that can not retreat.
By judging whether the pixel of virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path or whether contact, the control method of the control device of above-mentioned game machine, judges virtual traffic instrument is exercising in path whether touch obstacle; Direction input device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device, that control device is conveniently set with direction input device that is relative position correspondence direction for inputting; If the obstacle that the virtual traffic instrument got touches is positioned at the left side of virtual traffic instrument, then the left direction input unit of control device is set to input, and similar rate-determining steps makes can not inputting of the direction input device of control device specific.
As shown in Figure 3, a kind of control system of control device of game machine, this control device, for controlling the traveling of virtual traffic instrument, comprises with lower module:
Receiver module 110, for receive user input control device controlling party to.This control device is for controlling the traveling of virtual traffic instrument, and the controlling party of this control device is to the travel direction for controlling virtual traffic instrument, and this controlling party controls to the direction input device by control device.
Control device refers to for controlling the device that in game, virtual traffic instrument travels.Such as, in virtual video bicycle, control device can comprise the transfer such as steering wheel and pedal or driving and reversing mechanism.Virtual traffic instrument is then the display vehicles on the display apparatus, and such as, be shown as electric bike on the display apparatus, operate control device, the virtual traffic instrument in display unit then can do corresponding action, such as, advance or retreat.By control device is inputted different controlling parties to, control the travel direction of virtual traffic instrument, thus control the traveling of virtual traffic instrument.
Acquisition module 130, for obtaining the relative position of obstacle that virtual traffic instrument touches in driving path and virtual traffic instrument.
When virtual traffic instrument touches obstacle in driving path, the relative position of the obstacle that acquisition virtual traffic instrument touches in driving path and virtual traffic instrument.
Executive Module 150, for being set to input with the direction input device of relative position correspondence direction by control device.
The direction corresponding with the relative position of virtual traffic instrument with the obstacle touched of the direction input device of control device is set to input.Concrete, can not input and or can transmit control signal to the direction input device of the respective direction of control device for the input signal of the direction input device of the respective direction of cutting control device, the direction input device of the respective direction of control device is blocked, can not input.
The control system of the control device of above-mentioned game machine, when getting virtual traffic instrument and touch obstacle in driving path, virtual traffic instrument and the relative position of obstacle touched is obtained by acquisition module 130, and control device is set to input with the direction input device of this relative position correspondence direction by Executive Module 150, make user experience virtual traffic instrument touched obstacle by can not inputting of the direction input device of the respective direction of control device, thus improve the participation of user.
In another embodiment, the direction input device of the control device in receiver module 110 comprises left direction input unit, right direction input unit, front direction input device and rear direction input device.Wherein, left direction input unit is for controlling the traveling left of virtual traffic instrument, right direction input unit for control virtual traffic instrument to right travel, front direction input device is for controlling moving forward of virtual traffic instrument, and rear direction input device is for controlling the traveling backward of virtual traffic instrument.
In the present embodiment, control device comprises transfer and driving and reversing mechanism.Left direction input unit and right direction input unit are integrated in transfer, transfer is specially one can the steering wheel of left-right rotation, and this transfer can according to user's steering wheel rotation and control the rotation to the left or to the right of virtual traffic instrument to the left or to the right.Front direction input device and rear direction input device are integrated in driving and reversing mechanism, driving and reversing mechanism comprises two pedals stepped on for user, and this driving and reversing mechanism can be stepped on pedal forward or backward according to user and control the traveling forward or backward of virtual traffic instrument.
As shown in Figure 4, acquisition module 130 specifically comprises:
Judging unit 131, for judging whether virtual traffic instrument touches obstacle in enforcement path.
Judging unit 131, specifically for judging whether the pixel of virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path.
If the pixel of virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path, judge that virtual traffic instrument touches obstacle in enforcement path; Otherwise, judge that virtual traffic instrument does not touch obstacle in enforcement path.
Understandably, judging unit 131, also can specifically for judging whether the pixel of virtual traffic tool edge contacts with the pixel at the edge of obstacle in driving path.
If the pixel of virtual traffic tool edge contacts with the pixel at the edge of obstacle in driving path, then judge that virtual traffic instrument touches obstacle in enforcement path; Otherwise, judge that virtual traffic instrument does not touch obstacle in enforcement path.
Acquiring unit 133, if for judging that virtual traffic instrument touches obstacle in driving path, then obtains the relative position of obstacle and the virtual traffic instrument touched.
If judge, virtual traffic instrument does not touch obstacle in driving path, namely the pixel of virtual traffic tool edge does not contact with the pixel at the edge of obstacle in driving path or does not overlap, then continue to judge whether virtual traffic instrument touches obstacle in enforcement path, namely repeats judging unit 131.
The relative position of the obstacle touched and virtual traffic instrument comprises: the obstacle touched is in the front of virtual traffic instrument; The obstacle touched is at the rear of virtual traffic instrument; The obstacle touched is in the left side of virtual traffic instrument; And the obstacle touched is on the right side of virtual traffic instrument.
In another embodiment, Executive Module 150, specifically for:
If the obstacle that the virtual traffic instrument got touches is positioned at the left side of virtual traffic instrument, then the left direction input unit of control device is set to input.
It is presented as, user can not turn left transfer, and Ke Yiwei, steering wheel can not turn left.But now, user can select the transfer that turns right, virtual traffic instrument is turned right, to break away from the state that can not turn left.
If the obstacle that the virtual traffic instrument got touches is positioned at the right side of virtual traffic instrument, then the right direction input unit of control device is set to input.
It is presented as, user can not turn right transfer.But now, user can select the transfer that turns left, virtual traffic instrument is turned left, to break away from the state that can not turn right.
If the obstacle that the virtual traffic instrument got touches is positioned at the front of virtual traffic instrument, then direction input device before control device is set to input.
It is presented as, user can not step on forward pedal makes driving and reversing mechanism rotate forward.But now, user can select to step on pedal backward, makes driving and reversing mechanism rotate backward, control virtual traffic instrument and travel backward, to break away from the state that can not advance.
If the obstacle that the virtual traffic instrument got touches is positioned at the rear of virtual traffic instrument, then the rear direction input device of control device is set to input.
It is presented as, user can not step on pedal backward makes driving and reversing mechanism rotate backward.But now, user can select to step on pedal forward, makes driving and reversing mechanism rotate forward, control virtual traffic instrument and move forward, to break away from the state that can not retreat.
The control system of the control device of above-mentioned game machine, by judging whether the pixel of virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path or whether contact, judging unit 131 can judge virtual traffic instrument is exercising in path whether touch obstacle; Direction input device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device, that facilitate Executive Module 150 that control device is set with direction input device that is relative position correspondence direction for inputting; If the obstacle that the virtual traffic instrument got touches is positioned at the left side of virtual traffic instrument, then the left direction input unit of control device is set to input, and similar control makes Executive Module 150 specialize.
The present invention also provides a kind of game machine, and it comprises the control system of the control device of above-mentioned game machine.
Above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make multiple distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (10)
1. a control method for the control device of game machine, described control device is for controlling the traveling of virtual traffic instrument; It is characterized in that, comprise the following steps:
Receive user input described control device controlling party to; Described controlling party is to the travel direction for controlling virtual traffic instrument, and described controlling party controls to the direction input device by control device; The direction input device of described control device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device; Described left direction input unit is for controlling the traveling left of described virtual traffic instrument; Described right direction input unit for control described virtual traffic instrument to right travel; Described front direction input device is for controlling moving forward of described virtual traffic instrument; Described rear direction input device is for controlling the traveling backward of described virtual traffic instrument;
Judge whether the pixel of described virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path or whether contact;
If coincidence or contact, then judge that described virtual traffic instrument touches obstacle in enforcement path;
If judge, described virtual traffic instrument touches obstacle in driving path, then obtain the relative position of obstacle and the described virtual traffic instrument touched;
If the obstacle that the described virtual traffic instrument got touches is positioned at the left side of described virtual traffic instrument, then the left direction input unit of described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the right side of described virtual traffic instrument, then the right direction input unit of described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the front of described virtual traffic instrument, then direction input device before described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the rear of described virtual traffic instrument, then the rear direction input device of described control device is set to input.
2. a control method for the control device of game machine, described control device is for controlling the traveling of virtual traffic instrument; It is characterized in that, comprise the following steps:
Receive user input described control device controlling party to; Described controlling party is to the travel direction for controlling virtual traffic instrument, and described controlling party controls to the direction input device by control device;
Obtain the relative position of obstacle that described virtual traffic instrument touches in driving path and described virtual traffic instrument;
Control device is set to input with the direction input device of described relative position correspondence direction.
3. the control method of the control device of game machine according to claim 2, is characterized in that, the concrete steps of the relative position of the obstacle that described acquisition described virtual traffic instrument touches in driving path and described virtual traffic instrument comprise:
Judge whether described virtual traffic instrument touches obstacle in enforcement path;
If judge, described virtual traffic instrument touches obstacle in driving path, then obtain the relative position of obstacle and the described virtual traffic instrument touched.
4. the control method of the control device of game machine according to claim 3, it is characterized in that, describedly judge that described virtual traffic instrument exercising in path the concrete steps of whether touching obstacle is: judge whether the pixel of described virtual traffic tool edge overlaps with the pixel at the edge of obstacle in driving path or whether contact; If coincidence or contact, then judge that described virtual traffic instrument touches obstacle in enforcement path.
5. the control method of the control device of game machine according to claim 2, is characterized in that, the direction input device of described control device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device;
Described left direction input unit is for controlling the traveling left of described virtual traffic instrument;
Described right direction input unit for control described virtual traffic instrument to right travel;
Described front direction input device is for controlling moving forward of described virtual traffic instrument;
Described rear direction input device is for controlling the traveling backward of described virtual traffic instrument.
6. a control system for the control device of game machine, described control device is for controlling the traveling of virtual traffic instrument; It is characterized in that, comprising:
Receiver module, for receive user input described control device controlling party to; Described controlling party is to the travel direction for controlling virtual traffic instrument, and described controlling party controls to the direction input device by control device;
Acquisition module, for obtaining the relative position of obstacle that described virtual traffic instrument touches in driving path and described virtual traffic instrument;
Executive Module, for being set to input with the direction input device of described relative position correspondence direction by control device.
7. the control system of the control device of game machine according to claim 6, is characterized in that, described acquisition module comprises:
Judging unit, for judging whether described virtual traffic instrument touches obstacle in enforcement path;
Acquiring unit, if for judging that described virtual traffic instrument touches obstacle in driving path, then obtains the relative position of obstacle and the described virtual traffic instrument touched.
8. the control system of the control device of game machine according to claim 7, it is characterized in that, described judging unit, whether whether the pixel specifically for the pixel with the edge of obstacle in driving path that judge described virtual traffic tool edge overlap or contact, if coincidence or contact, then judge that described virtual traffic instrument touches obstacle in enforcement path.
9. the control system of the control device of game machine according to claim 6, is characterized in that, the direction input device of described control device comprises left direction input unit, right direction input unit, front direction input device and rear direction input device;
Described left direction input unit is for controlling the traveling left of described virtual traffic instrument;
Described right direction input unit for control described virtual traffic instrument to right travel;
Described front direction input device is for controlling moving forward of described virtual traffic instrument;
Described rear direction input device is for controlling the traveling backward of described virtual traffic instrument.
Described Executive Module, specifically for,
If the obstacle that the described virtual traffic instrument got touches is positioned at the left side of described virtual traffic instrument, then the left direction input unit of described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the right side of described virtual traffic instrument, then the right direction input unit of described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the front of described virtual traffic instrument, then direction input device before described control device is set to input;
If the obstacle that the described virtual traffic instrument got touches is positioned at the rear of described virtual traffic instrument, then the rear direction input device of described control device is set to input.
10. a game machine, is characterized in that, comprises the control system of the control device of the game machine in claim 6-9 described in any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410830384.XA CN104606890B (en) | 2014-12-26 | 2014-12-26 | Control method, system and the game machine of the control device of game machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410830384.XA CN104606890B (en) | 2014-12-26 | 2014-12-26 | Control method, system and the game machine of the control device of game machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104606890A true CN104606890A (en) | 2015-05-13 |
CN104606890B CN104606890B (en) | 2017-11-24 |
Family
ID=53141698
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410830384.XA Active CN104606890B (en) | 2014-12-26 | 2014-12-26 | Control method, system and the game machine of the control device of game machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104606890B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109925713A (en) * | 2019-02-28 | 2019-06-25 | 腾讯科技(深圳)有限公司 | Object control method and apparatus, storage medium and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1370614A (en) * | 2001-02-07 | 2002-09-25 | 麦特尔公司 | Electrically controlled competitive game system with information and control center |
CN101411944A (en) * | 2007-10-19 | 2009-04-22 | 鈊象电子股份有限公司 | Racing bicycle game system and executive method executed by racing bicycle game system |
JP2010004963A (en) * | 2008-06-24 | 2010-01-14 | Sega Corp | Video game apparatus, video game control method, video game control program, and recording medium |
JP2014140571A (en) * | 2013-01-25 | 2014-08-07 | Konami Digital Entertainment Co Ltd | Game managing device, game system, method of managing game, and program |
JP2014150848A (en) * | 2013-02-05 | 2014-08-25 | Namco Bandai Games Inc | Game system and program |
-
2014
- 2014-12-26 CN CN201410830384.XA patent/CN104606890B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1370614A (en) * | 2001-02-07 | 2002-09-25 | 麦特尔公司 | Electrically controlled competitive game system with information and control center |
CN101411944A (en) * | 2007-10-19 | 2009-04-22 | 鈊象电子股份有限公司 | Racing bicycle game system and executive method executed by racing bicycle game system |
JP2010004963A (en) * | 2008-06-24 | 2010-01-14 | Sega Corp | Video game apparatus, video game control method, video game control program, and recording medium |
JP2014140571A (en) * | 2013-01-25 | 2014-08-07 | Konami Digital Entertainment Co Ltd | Game managing device, game system, method of managing game, and program |
JP2014150848A (en) * | 2013-02-05 | 2014-08-25 | Namco Bandai Games Inc | Game system and program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109925713A (en) * | 2019-02-28 | 2019-06-25 | 腾讯科技(深圳)有限公司 | Object control method and apparatus, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN104606890B (en) | 2017-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10732760B2 (en) | Vehicle and method for controlling the vehicle | |
CN104516642B (en) | Handle switch device | |
CN105683021B (en) | Method for a driver assistance system of a vehicle | |
KR102311551B1 (en) | Method for using a communication terminal in a motor vehicle while autopilot is activated and motor vehicle | |
US20180208212A1 (en) | User Interface Device for Selecting an Operating Mode for an Automated Drive | |
MX2018008257A (en) | Automotive control system and method for operating the same. | |
US10234868B2 (en) | Mobile device initiation of vehicle remote-parking | |
US7402964B1 (en) | Race car system | |
CN105446172B (en) | A kind of vehicle-mounted control method, vehicle control syetem and automobile | |
JP2013129352A (en) | In-vehicle display system | |
WO2017133890A1 (en) | Operating device amd method for receiving a character sequence from a user in a motor vehicle | |
JP6258513B2 (en) | Tactile sensation control system and tactile sensation control method | |
CN104553806A (en) | Automobile multimedia steering wheel touch system | |
US20200257284A1 (en) | Anomalous input detection | |
US20140180541A1 (en) | Steering device having tilting and telescopic function | |
CN106662948A (en) | Method for operating an operator control device of a motor vehicle | |
US20130328391A1 (en) | Device for operating a motor vehicle | |
CN104606890A (en) | Control method and system for game machine control device and game machine | |
CN105035093A (en) | Driver interactive interface in at least partial autonomous driving system | |
KR102275761B1 (en) | Apparatus for controlling electronic function module in the vehicle using steering wheel with dual ubiquitous haptic sensor | |
US11003274B2 (en) | Method and apparatus for automotive variable impedance touch sensor array | |
CN112569581B (en) | Steering wheel control method, device, storage medium and vehicle | |
CN107107762A (en) | Method for driving the operation device of motor vehicles by providing two operator schemes for operating element, operation device and motor vehicles | |
JP2018073257A (en) | Obstacle detection system | |
JP2018070029A (en) | Driving support device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200914 Address after: Room 301, No. 2, Lane 3088, Gonghe new road, Jing'an District, Shanghai Patentee after: SHANGHAI FINEKITE EXHIBITION ENGINEERING Co.,Ltd. Address before: Lugu high tech Zone International Industrial Park in Hunan province 410205 city Changsha Patentee before: HUNAN HUAKAI CULTURE CREATIVE Co.,Ltd. |