CN108635838A - Direction-controlling method and device, storage medium, processor and terminal - Google Patents

Direction-controlling method and device, storage medium, processor and terminal Download PDF

Info

Publication number
CN108635838A
CN108635838A CN201810421713.3A CN201810421713A CN108635838A CN 108635838 A CN108635838 A CN 108635838A CN 201810421713 A CN201810421713 A CN 201810421713A CN 108635838 A CN108635838 A CN 108635838A
Authority
CN
China
Prior art keywords
deflection angle
target object
control
angle
direction deflection
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
Application number
CN201810421713.3A
Other languages
Chinese (zh)
Other versions
CN108635838B (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810421713.3A priority Critical patent/CN108635838B/en
Publication of CN108635838A publication Critical patent/CN108635838A/en
Application granted granted Critical
Publication of CN108635838B publication Critical patent/CN108635838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/211Input arrangements for video game devices characterised by their sensors, purposes or types using inertial sensors, e.g. accelerometers or gyroscopes
    • 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/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • 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
    • A63F13/245Constructional details thereof, e.g. game controllers with detachable joystick handles specially adapted to a particular type of game, e.g. steering wheels
    • 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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • 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/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5375Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for graphically or textually suggesting an action, e.g. by displaying an arrow indicating a turn in a driving game
    • 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
    • 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/105Features 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 using inertial sensors, e.g. accelerometers, gyroscopes
    • 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/1062Features 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 specially adapted to a type of game, e.g. steering wheel
    • 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/1068Features 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 specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features 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 specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • 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/30Features 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 output arrangements for receiving control signals generated by the game device
    • A63F2300/303Features 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 output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display
    • A63F2300/305Features 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 output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display for providing a graphical or textual hint to the player

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of direction-controlling methods and device, storage medium, processor and terminal.This method includes:It obtains and the direction controlling that target object executes is operated, direction controlling operation includes that the first control operation and the second control operate, first control operation, which is used to indicate, to be deflected according to first method control targe object into line direction, and the second control operation, which is used to indicate, to be deflected according to second method control targe object into line direction;The target direction deflection angle that corresponding first direction deflection angle second direction deflection angle corresponding with the second control operation determines target object is operated according to the first control;Control targe object is deflected according to target direction deflection angle into line direction.The present invention solves that game player in the related technology needs to carry out cornering operation in advance could be the technical issues of sharp turn be smoothly turned.

Description

Direction-controlling method and device, storage medium, processor and terminal
Technical field
The present invention relates to computer realms, in particular to a kind of direction-controlling method and device, storage medium, place Manage device and terminal.
Background technology
Currently, mainly there is following two direction of traffic control methods in racing game:The first is to utilize gravity sensing Instrument controls the steering of vehicle by inclination movement equipment, and which cannot accurately control the steering of vehicle, operation difficulty compared with Height is usually collided because angle of inclination is excessive at turning;And there are certain requirement, Wan Jiaxu to the environment of player exercises It to be operated with breathless interest under tranquil environment, be not easy to operate in a mobile environment.Second is by operation interface Left and right key control Vehicular turn, which turn to camber it is constant, if necessary to turn a prodigious camber, player need carry Preceding anticipation starts to turn, and is otherwise easy to not enough cause to knock barrier due to the camber of turning;And operation is not prompt enough, plays Family needs advance operation that could smoothly turn in sharp turn in turning.
It needs to carry out cornering operation in advance for game player in the related technology to ask what sharp turn was smoothly turned Topic, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of direction-controlling methods and device, storage medium, processor and terminal, at least Solving that game player in the related technology needs to carry out cornering operation in advance could be the technical issues of sharp turn be smoothly turned.
One side according to the ... of the embodiment of the present invention provides a kind of direction-controlling method, including:It obtains to target object The direction controlling of execution operates, wherein and the direction controlling operation includes the first control operation and the second control operation, and described the One control operation is used to indicate controls the target object into line direction deflection according to first method, and the second control operation is used The target object is controlled in instruction according to second method to deflect into line direction;According to the first control operation corresponding first Deflection angle second direction deflection angle corresponding with the second control operation in direction determines the target side of the target object To deflection angle, wherein the first direction deflection angle is institute after executing the first control operation to the target object The direction deflection angle of target object is stated, the second direction deflection angle is to execute second control to the target object After operation, the direction deflection angle of the target object;Control the target object according to the target direction deflection angle into Line direction deflects.
Further, described that corresponding first direction deflection angle and second control are operated according to first control It operates corresponding second direction deflection angle and determines that the target direction deflection angle of the target object includes:Determine described first Control operation executes sequence with the second control operation;The mesh of the target object is determined according to execution sequence Mark direction deflection angle.
Further, the target direction deflection angle packet that the target object is determined according to execution sequence It includes:In the case where the first control operation is executed prior to the second control operation, first angle is determined as the mesh Mark direction deflection angle, wherein the first angle be the first direction deflection angle and the first result of product and be worth, institute The first result of product is stated to be obtained by the first proportionality coefficient and second direction deflection angle progress multiplying;Described first After control operation in the case that the second control operation executes, second angle is determined as the target direction deflection angle Degree, wherein the second angle be the second result of product and the second direction deflection angle and value, the second product knot Fruit carries out multiplying with the first direction deflection angle by first proportionality coefficient and obtains;In the first control operation In the case of being performed simultaneously with the second control operation, third angle is determined as the target direction deflection angle, wherein The third angle be first angle and the product with the second proportionality coefficient, the first angle and for the first direction deflect Angle and the second direction deflection angle and value.
Further, corresponding first direction deflection angle and second control are operated according to first control described After system operates the target direction deflection angle that corresponding second direction deflection angle determines the target object, the method is also Including:The deflection path of the target object is determined according to the target direction deflection angle;In virtual scene described in display Deflection path.
Further, described to show that the deflection path includes in virtual scene:In the deflection path and the void In the case of barrier intersection in quasi- scene, the display reminding deflection path in the virtual scene, wherein the prompt is inclined Turn path for prompt the adjustment target direction deflection angle.
Further, described to include into line direction deflection according to the first method control target object:Utilize side It is deflected to target object described in control key control into line direction;It is described to control the target object progress according to the second method Direction deflects:It is deflected into line direction using target object described in gravity sensing instrument control system.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of direction-control apparatus, including:Acquiring unit is used It is operated in obtaining the direction controlling executed to target object, wherein the direction controlling operation includes that the first control operates and the Two control operations, the first control operation, which is used to indicate, to be deflected according to the first method control target object into line direction, The second control operation is used to indicate controls the target object into line direction deflection according to second method;First determines list Member, for operating corresponding first direction deflection angle and the second control operation corresponding second according to first control Direction deflection angle determines the target direction deflection angle of the target object, wherein the first direction deflection angle is pair After the target object executes the first control operation, the direction deflection angle of the target object, the second direction is inclined Gyration is the direction deflection angle of the target object after executing the second control operation to the target object;Control Unit is deflected according to the target direction deflection angle into line direction for controlling the target object.
Further, first determination unit includes:First determining module, for determine it is described first control operation with The second control operation executes sequence;Second determining module, for determining the target object according to execution sequence The target direction deflection angle.
Further, second determining module includes:First determination sub-module, for first in the first control operation In the case that the second control operation executes, first angle is determined as the target direction deflection angle, wherein described First angle be the first direction deflection angle and the first result of product and be worth, first result of product is by the first ratio Coefficient carries out multiplying with the second direction deflection angle and obtains;Second determination sub-module, in first control After operation in the case that the second control operation executes, second angle is determined as the target direction deflection angle, In, the second angle be the second result of product and the second direction deflection angle and value, second result of product by First proportionality coefficient carries out multiplying with the first direction deflection angle and obtains;Third determination sub-module is used for In the case that the first control operation is performed simultaneously with the second control operation, third angle is determined as the target side To deflection angle, wherein the third angle is first angle and the product with the second proportionality coefficient, the first angle and is The first direction deflection angle and the second direction deflection angle and value.
Further, described device further includes:Second determination unit, for controlling operation pair according to described first described The first direction deflection angle answered second direction deflection angle corresponding with the second control operation determines the target object Target direction deflection angle after, the deflection path of the target object is determined according to the target direction deflection angle;It is aobvious Show unit, for showing the deflection path in virtual scene.
Further, the display unit includes:Display module, in the deflection path and the virtual scene Barrier intersection in the case of, the display reminding deflection path in the virtual scene, wherein prompt deflection path use The target direction deflection angle is adjusted in prompt.
Another aspect according to the ... of the embodiment of the present invention, additionally provides a kind of storage medium, and the storage medium includes storage Program, wherein described program run when execute direction-controlling method described in any one of the above embodiments.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of processor, and the processor is used to run program, Wherein, direction-controlling method described in any one of the above embodiments is executed when described program is run.
Another aspect according to the ... of the embodiment of the present invention additionally provides a kind of terminal, including memory and processor, wherein Computer program is stored in the memory, the processor is arranged to run the computer program to execute above-mentioned Direction-controlling method described in one.
In embodiments of the present invention, the direction controlling that target object executes is operated by obtaining, wherein direction controlling is grasped Work includes that the first control operation and the second control operate, and the first control operation is used to indicate according to first method control targe object It is deflected into line direction, the second control operation, which is used to indicate, to be deflected according to second method control targe object into line direction;According to One control operates corresponding first direction deflection angle second direction deflection angle corresponding with the second control operation and determines target The target direction deflection angle of object, wherein first direction deflection angle is mesh after executing the first control operation to target object The direction deflection angle of object is marked, second direction deflection angle is target object after executing the second control operation to target object Direction deflection angle;Control targe object is deflected according to target direction deflection angle into line direction, has been reached and has been utilized two kinds of sides The direction deflection angle of formula while control targe object with the purpose of augment direction deflection angle in a short time, and then solves In the related technology game player need in advance to carry out cornering operation could the technical issues of sharp turn is smoothly turned, to It realizes and improves cornering operation efficiency, enhance the technique effect of cornering operation flexibility ratio.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and is constituted part of this application, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of direction-controlling method according to the ... of the embodiment of the present invention;And
Fig. 2 is the schematic diagram of direction-control apparatus according to the ... of the embodiment of the present invention.
Specific implementation mode
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover It includes to be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment to cover non-exclusive Those of clearly list step or unit, but may include not listing clearly or for these processes, method, product Or the other steps or unit that equipment is intrinsic.
According to embodiments of the present invention, a kind of embodiment of the method for direction-controlling method is provided, it should be noted that attached The step of flow of figure illustrates can execute in the computer system of such as a group of computer-executable instructions, though also, So logical order is shown in flow charts, but in some cases, it can be with different from shown by sequence execution herein Or the step of description.
Fig. 1 is the flow chart of direction-controlling method according to the ... of the embodiment of the present invention, as shown in Figure 1, this method includes as follows Step:
Step S102 is obtained and is operated to the direction controlling that target object executes, wherein direction controlling operation includes the first control System operation and the second control operate, and the first control operation is used to indicate inclined into line direction according to first method control targe object Turn, the second control operation, which is used to indicate, to be deflected according to second method control targe object into line direction;
Step S104 operates corresponding first direction deflection angle according to the first control and controls operation corresponding the with second Two direction deflection angles determine the target direction deflection angle of target object, wherein first direction deflection angle is to target pair After executing the first control operation, the direction deflection angle of target object, second direction deflection angle is executed to target object After second control operation, the direction deflection angle of target object;
Step S106, control targe object are deflected according to target direction deflection angle into line direction.
Through the above steps, get to target object execute first control operation and second control operation when, according to First control operates corresponding first direction deflection angle second direction deflection angle corresponding with the second control operation and determines mesh The target direction deflection angle of object is marked, and control targe object is deflected according to target direction deflection angle into line direction, is reached Using the direction deflection angle of two ways control targe object simultaneously, with the mesh of augment direction deflection angle in a short time , and then solving that game player in the related technology needs to carry out cornering operation in advance could be in the skill that sharp turn is smoothly turned Art problem improves cornering operation efficiency to realize, enhances the technique effect of cornering operation flexibility ratio.
In the scheme that step S102 is provided, the direction-controlling method of the embodiment of the present invention can by client executing, In, the embodiment of the present invention is not specifically limited the type of client, such as client can be game client.In client May include at least one target object, user can be moved with control targe object, and be controlled in target object moving process The direction deflection angle of target object.For example, in racing game, player can by control the direction deflection angle of racing car around A series of barriers are crossed to reach home.Client may be mounted in terminal, wherein terminal may include but be not limited to hand Machine, tablet computer etc..Optionally, gravity sensing instrument that client can be provided in the terminal, so where client eventually End can have gravity sensing function, and then the deflection direction using gravity sensing instrument control target object may be implemented.It is optional Ground, terminal where client may include touch screen, and user can be by the direction controlling key control target that is shown in touch screen The deflection direction of object.Optionally, terminal where client may include operation button, and user can be controlled by operation button The deflection direction of target object.
Optionally, direction controlling operation can be executed to target object in the client, direction control operation includes the One control operation and the second control operate, wherein the first control operation can serve to indicate that according to first method control targe pair As being deflected into line direction, the second control operation, which can serve to indicate that, to be deflected according to second method control targe object into line direction, Wherein, first method can be different from second method.It optionally, can into line direction deflection according to first method control targe object To include:It is deflected into line direction using the direction controlling key control target object in client;According to second method control targe Object is deflected into line direction:Using client gravity sensing instrument control target object in the terminal into line direction Deflection.
Herein it should be noted that the direction controlling key in client can be operation in terminal where client presses Key can also be the virtual key in client.It should be noted the embodiment of the present invention executes target object first The execution sequence of control operation and the second control operation is not specifically limited, and the first control operation can be prior to the second control operation Execute, first control operation can also after in second control operation execute, first control operation with second control operation can also It is performed simultaneously.
Optionally, it may include following several feelings to get the direction controlling operation executed to target object in the client Condition:The first situation first detects the first control operation executed to target object, is then detecting to mesh in the client After marking the second control operation that object executes, it may be determined that get the direction controlling operation executed to target object;Second Situation first detects the second control operation executed to target object, is then held to target object detecting in the client After the first capable control operation, it may be determined that get the direction controlling operation executed to target object;The third situation, in visitor The the first control operation and the second control operation executed to target object is detected simultaneously by the end of family, it may be determined that get to mesh Mark the direction controlling operation that object executes.That is, not only having executed the first control operation but also execution to target object detecting In the case of second control operation, it may be determined that get the direction controlling operation executed to target object.
In the scheme that step S104 is provided, detect in the client the first control operation had not only been executed to target object but also After executing the second control operation, the embodiment of the present invention can determine that the first control operates corresponding first direction deflection angle first Degree and the second control operate corresponding second direction deflection angle, wherein first direction deflection angle is held to target object After the control operation of row first, the direction deflection angle of target object, second direction deflection angle is to execute second to target object After control operation, the direction deflection angle of target object;Then corresponding first direction deflection angle is operated further according to the first control Spend the target direction deflection angle that second direction deflection angle corresponding with the second control operation determines target object.
Optionally, corresponding first direction deflection angle and the second control operation corresponding second are operated according to the first control Direction deflection angle determines that the target direction deflection angle of target object may comprise steps of:
Step S1042 determines that the first control operation executes sequence with what the second control operated;
Step S1044 determines the target direction deflection angle of target object according to execution sequence.
It should be noted that the execution sequence of the first control operation and the second control operation may include:First control behaviour Make can prior to second control operation execute, first control operation can also after in second control operation execute, first control behaviour Make to be performed simultaneously with the second control operation.For above-mentioned different situations, the target direction deflection angle of target object It determines method difference, can specifically include:
In the case where the first control operation is executed prior to the second control operation, it is inclined that first angle is determined as target direction Gyration, wherein first angle be first direction deflection angle and the first result of product and be worth, the first result of product is by first Proportionality coefficient carries out multiplying with second direction deflection angle and obtains.
After the first control operation in the case that the second control operation executes, it is inclined that second angle is determined as target direction Gyration, wherein second angle be the second result of product and second direction deflection angle and value, the second result of product is by first Proportionality coefficient carries out multiplying with first direction deflection angle and obtains.
In the case where the first control operation is performed simultaneously with the second control operation, third angle is determined as target direction Deflection angle, wherein third angle be first angle and the product with the second proportionality coefficient, first angle and for first direction it is inclined Gyration and second direction deflection angle and value.
It should be noted that the first proportionality coefficient and the second proportionality coefficient can set or adjust according to actual demand, this Place is not specifically limited.The embodiment of the present invention passes through when executing the first control operation and the second control operation to target object It is true that corresponding first direction deflection angle second direction deflection angle corresponding with the second control operation is operated according to the first control Set the goal the target direction deflection angle of object, and then can reach the target direction deflection for increasing target object in a short time The purpose of angle enhances cornering operation flexibility ratio in order to improve cornering operation efficiency.
As a kind of optional example, in racing game client, the embodiment of the present invention can support interface simultaneously On left and right control key and gravity sensing instrument tilt, angle of turn can be increased in a short time when the two is superimposed.It is optional Ground can click the left and right control key on interface when player attempts Ackermann steer angle, and when click comes into force, it is assumed herein that interface On the corresponding angle of turn of left and right control key be a.Player can also be tilted by gravity sensing instrument carries out Servo Control, It is assumed herein that gravity sensing instrument tilts, corresponding angle of turn is b.If player is simultaneously using the left and right control key on interface With gravity sensing instrument, the corresponding angle of turn of the two can be overlapped by the embodiment of the present invention when determining angle of turn, superposition When the corresponding angle of turn of the control operation that executes rearward need to be multiplied by parameter alpha, even first use interface or so control key, then make With gravity sensing instrument, finally determining angle of turn can be a+b* α;If first using gravity sensing instrument, interface or so is reused Control key, then finally determining angle of turn can be b+a* α.Optionally, if using interface or so control key and gravity simultaneously Inductance gauge, then finally determining angle of turn can be (a+b) * β.Wherein, α and β can set or adjust according to actual demand.
The optional example is not only supported using the left and right control key on interface, but also supports gravity sensing instrument, and it is more to provide player The selectivity of kind direction controlling.Meanwhile two ways is carried out at the same time control and player is allow to increase turning angle in a short time Degree, operating efficiency increase, the flexibility ratio enhancing of operation.
In the technical solution that step S106 is provided, after determining the target direction deflection angle of target object, this Inventive embodiments can be deflected according to the target direction deflection angle determined into line direction with control targe object, with realization pair Target object carries out direction controlling.
As a kind of optional embodiment, corresponding first direction deflection angle and the second control are being operated according to the first control After system operates the target direction deflection angle that corresponding second direction deflection angle determines target object, the embodiment of the present invention is also May include:The deflection path of target object is determined according to target direction deflection angle;It is shown in the virtual scene of client Deflection path.
It should be noted that after determining the target direction deflection angle of target object, the embodiment of the present invention can be with The current location of combining target object calculates the deflection path of target object, and shows this partially in the virtual scene of client Path is moved, intuitively determines current deflection path in order to which user can understand, and then target side can be adjusted flexibly in real time To deflection angle.
Optionally, show that deflection path may include in the virtual scene of client:In deflection path and virtual scene In barrier intersection in the case of, the display reminding deflection path in virtual scene, wherein prompt deflection path is for prompting Adjust target direction deflection angle.
Herein it should be noted that when the obstacle in the deflection path and virtual scene shown in the virtual scene of client When object intersects, illustrates that the target direction deflection angle of currently determined target object is also improper, needs to be adjusted it, May include increasing or reducing.In order to which user can be accurately adjusted to target direction deflection angle, the present invention is real Apply example can in virtual scene display reminding deflection path, allow user to understand intuitively to determine target direction deflection angle to reach The amplitude adjusted required for degree, and then achieve the effect that improve cornering operation efficiency and accuracy.
According to embodiments of the present invention, a kind of device embodiment of direction-control apparatus is additionally provided, it should be noted that should Direction-control apparatus can be used for executing the direction-controlling method in the embodiment of the present invention namely the direction in the embodiment of the present invention Control method can execute in direction control device.
Fig. 2 is the schematic diagram of direction-control apparatus according to the ... of the embodiment of the present invention, as shown in Fig. 2, the device may include:
Acquiring unit 22, for obtaining the direction controlling operation executed to target object, wherein direction controlling, which operates, includes First control operation and the second control operate, and the first control operation is used to indicate according to first method control targe object progress side To deflection, the second control operation, which is used to indicate, to be deflected according to second method control targe object into line direction;First determination unit 24, it is deflected for operating corresponding first direction deflection angle second direction corresponding with the second control operation according to the first control The target direction deflection angle of angle-determining target object, wherein first direction deflection angle is to execute first to target object After control operation, the direction deflection angle of target object, second direction deflection angle is to execute the second control behaviour to target object After work, the direction deflection angle of target object;Control unit 26, for control targe object according to target direction deflection angle into Line direction deflects.
It should be noted that the acquiring unit 22 in the embodiment can be used for executing the step in the embodiment of the present invention S102, the first determination unit 24 in the embodiment can be used for executing the step S104 in the embodiment of the present invention, the embodiment In control unit 26 can be used for execute the embodiment of the present invention in step S106.Above-mentioned module is realized with corresponding step Example it is identical with application scenarios, but be not limited to the above embodiments disclosure of that.
Optionally, the first determination unit 24 may include:First determining module, for determining the first control operation and second Control operation executes sequence;Second determining module, the target direction deflection angle for determining target object according to execution sequence Degree.
Optionally, the second determining module may include:First determination sub-module, for being operated prior to second in the first control In the case that control operation executes, first angle is determined as target direction deflection angle, wherein first angle is first direction Deflection angle and the first result of product and value, the first result of product carried out by the first proportionality coefficient and second direction deflection angle Multiplying obtains;Second determination sub-module is used for after the first control operation in the case of the second control operation execution, will Second angle is determined as target direction deflection angle, wherein second angle is the second result of product and second direction deflection angle And value, the second result of product by the first proportionality coefficient and first direction deflection angle progress multiplying obtain;Third determines Submodule, in the case where the first control operation is performed simultaneously with the second control operation, third angle to be determined as target Direction deflection angle, wherein third angle be first angle and the product with the second proportionality coefficient, first angle and be first party To deflection angle and second direction deflection angle and value.
Optionally, direction control device can also include:Second determination unit, for according to the first control operation pair The first direction deflection angle answered second direction deflection angle corresponding with the second control operation determines the target side of target object To after deflection angle, the deflection path of target object is determined according to target direction deflection angle;Display unit, for virtual Deflection path is shown in scene.
Optionally, the display unit may include:Display module, in the deflection path and the virtual scene In barrier intersection in the case of, the display reminding deflection path in the virtual scene, wherein the prompt deflection path For prompting to adjust the target direction deflection angle.
By said units and module, reach the direction deflection angle using two ways while control targe object, With the purpose of augment direction deflection angle in a short time, and then solves game player in the related technology and need to turn in advance Curved operation could improve cornering operation efficiency the technical issues of sharp turn is smoothly turned to realize, enhancing turning behaviour Make the technique effect of flexibility ratio.
To achieve the goals above, according to another aspect of the present invention, the embodiment of the present invention additionally provides a kind of storage Jie Matter, the storage medium include the program of storage, wherein equipment where controlling the storage medium when described program is run is held Row direction-controlling method described above.
To achieve the goals above, according to another aspect of the present invention, the embodiment of the present invention additionally provides a kind of processor, The processor is for running program, wherein described program executes direction-controlling method described above when running.
To achieve the goals above, according to another aspect of the present invention, the embodiment of the present invention additionally provides a kind of terminal, packet Include memory and processor, wherein computer program is stored in the memory, the processor is arranged to described in operation Computer program is to execute direction-controlling method described above.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, for example, the unit division, Ke Yiwei A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple On unit.Some or all of unit therein can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (14)

1. a kind of direction-controlling method, which is characterized in that including:
The direction controlling for executing target object is obtained to operate, wherein the direction controlling operation include the first control operate with Second control operation, the first control operation are used to indicate inclined into line direction according to the first method control target object Turn, the second control operation is used to indicate controls the target object into line direction deflection according to second method;
Corresponding first direction deflection angle second party corresponding with the second control operation is operated according to first control The target direction deflection angle of the target object is determined to deflection angle, wherein the first direction deflection angle is to institute After stating target object execution the first control operation, the direction deflection angle of the target object, the second direction deflection Angle is the direction deflection angle of the target object after executing the second control operation to the target object;
The target object is controlled to deflect into line direction according to the target direction deflection angle.
2. according to the method described in claim 1, it is characterized in that, described operate corresponding first party according to first control The target direction of the target object is determined to deflection angle second direction deflection angle corresponding with the second control operation Deflection angle includes:
Determine that the first control operation executes sequence with what second control operated;
The target direction deflection angle of the target object is determined according to execution sequence.
3. according to the method described in claim 2, it is characterized in that, described determine the target object according to execution sequence The target direction deflection angle include:
In the case where the first control operation is executed prior to the second control operation, first angle is determined as the mesh Mark direction deflection angle, wherein the first angle be the first direction deflection angle and the first result of product and be worth, institute The first result of product is stated to be obtained by the first proportionality coefficient and second direction deflection angle progress multiplying;
After the first control operation in the case that the second control operation executes, second angle is determined as the mesh Mark direction deflection angle, wherein the second angle be the second result of product and the second direction deflection angle and value, institute The second result of product is stated to be obtained by first proportionality coefficient and first direction deflection angle progress multiplying;
In the case where the first control operation is performed simultaneously with the second control operation, third angle is determined as described Target direction deflection angle, wherein the third angle be first angle and the product with the second proportionality coefficient, described first jiao Degree and for the first direction deflection angle and the second direction deflection angle and value.
4. according to the method described in claim 1, it is characterized in that, described according to the first control operation corresponding first Deflection angle second direction deflection angle corresponding with the second control operation in direction determines the target side of the target object To after deflection angle, the method further includes:
The deflection path of the target object is determined according to the target direction deflection angle;
The deflection path is shown in virtual scene.
5. according to the method described in claim 4, it is characterized in that, described show the deflection path packet in virtual scene It includes:
In the case where the deflection path intersects with the barrier in the virtual scene, shows and carry in the virtual scene Show deflection path, wherein the prompt deflection path adjusts the target direction deflection angle for prompting.
6. the method according to any one of claims 1 to 5, it is characterized in that,
It is described to include into line direction deflection according to the first method control target object:Utilization orientation controls key control institute Target object is stated to deflect into line direction;
It is described to include into line direction deflection according to the second method control target object:Utilize gravity sensing instrument control institute Target object is stated to deflect into line direction.
7. a kind of direction-control apparatus, which is characterized in that including:
Acquiring unit is operated for obtaining the direction controlling executed to target object, wherein it includes that the direction controlling, which operates, One control operation and the second control operate, and the first control operation is used to indicate controls the target object according to first method It is deflected into line direction, the second control operation is used to indicate inclined into line direction according to the second method control target object Turn;
First determination unit is controlled for operating corresponding first direction deflection angle according to first control with described second Operate the target direction deflection angle that corresponding second direction deflection angle determines the target object, wherein the first party It is the direction deflection angle of the target object after executing the first control operation to the target object to deflection angle, The second direction deflection angle is the direction of the target object after executing the second control operation to the target object Deflection angle;
Control unit is deflected according to the target direction deflection angle into line direction for controlling the target object.
8. device according to claim 7, which is characterized in that first determination unit includes:
First determining module, for determining that the first control operation executes sequence with what second control operated;
Second determining module, the target direction deflection angle for determining the target object according to execution sequence.
9. device according to claim 8, which is characterized in that second determining module includes:
First determination sub-module is used in the case where the first control operation is prior to the second control operation execution, will First angle is determined as the target direction deflection angle, wherein the first angle be the first direction deflection angle with First result of product and value, first result of product multiplied by the first proportionality coefficient and the second direction deflection angle Method operation obtains;
Second determination sub-module is used for after the first control operation in the case of the second control operation execution, will Second angle is determined as the target direction deflection angle, wherein the second angle is the second result of product and described second Direction deflection angle and value, second result of product by first proportionality coefficient and the first direction deflection angle into Row multiplying obtains;
Third determination sub-module, for being operated in the case of being performed simultaneously in the first control operation and second control, Third angle is determined as the target direction deflection angle, wherein the third angle be first angle and with the second ratio The product of coefficient, the first angle and for the first direction deflection angle and the second direction deflection angle and value.
10. device according to claim 7, which is characterized in that described device further includes:
Second determination unit, for operating corresponding first direction deflection angle and described the according to first control described After two controls operate the target direction deflection angle that corresponding second direction deflection angle determines the target object, according to institute State the deflection path that target direction deflection angle determines the target object;
Display unit, for showing the deflection path in virtual scene.
11. device according to claim 10, which is characterized in that the display unit includes:
Display module is used in the case where the deflection path intersects with the barrier in the virtual scene, in the void Display reminding deflection path in quasi- scene, wherein the prompt deflection path adjusts the target direction deflection angle for prompting Degree.
12. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require method described in any one of 1 to 6.
13. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Profit requires the method described in any one of 1 to 6.
14. a kind of terminal, including memory and processor, which is characterized in that be stored with computer program, institute in the memory Processor is stated to be arranged to run the computer program to execute the method according to any one of claims 1 to 6.
CN201810421713.3A 2018-05-04 2018-05-04 Direction control method and device, storage medium, processor and terminal Active CN108635838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810421713.3A CN108635838B (en) 2018-05-04 2018-05-04 Direction control method and device, storage medium, processor and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810421713.3A CN108635838B (en) 2018-05-04 2018-05-04 Direction control method and device, storage medium, processor and terminal

Publications (2)

Publication Number Publication Date
CN108635838A true CN108635838A (en) 2018-10-12
CN108635838B CN108635838B (en) 2021-07-27

Family

ID=63749409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810421713.3A Active CN108635838B (en) 2018-05-04 2018-05-04 Direction control method and device, storage medium, processor and terminal

Country Status (1)

Country Link
CN (1) CN108635838B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109731326A (en) * 2018-12-28 2019-05-10 北京金山安全软件有限公司 Aiming area display method and device of game weapon and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103480151A (en) * 2013-09-04 2014-01-01 张家港保税区润桐电子技术研发有限公司 Method and system of simulating car race game steering wheel by using smartphone
CN103505874A (en) * 2013-10-09 2014-01-15 北京奇虎科技有限公司 Method and device for operating electronic game by using wireless terminal
CN105641927A (en) * 2015-12-31 2016-06-08 网易(杭州)网络有限公司 Virtual object steering control method and device
US20180085664A1 (en) * 2005-10-05 2018-03-29 Nintendo Co., Ltd. Driving game steering wheel simulation method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180085664A1 (en) * 2005-10-05 2018-03-29 Nintendo Co., Ltd. Driving game steering wheel simulation method and apparatus
CN103480151A (en) * 2013-09-04 2014-01-01 张家港保税区润桐电子技术研发有限公司 Method and system of simulating car race game steering wheel by using smartphone
CN103505874A (en) * 2013-10-09 2014-01-15 北京奇虎科技有限公司 Method and device for operating electronic game by using wireless terminal
CN105641927A (en) * 2015-12-31 2016-06-08 网易(杭州)网络有限公司 Virtual object steering control method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109731326A (en) * 2018-12-28 2019-05-10 北京金山安全软件有限公司 Aiming area display method and device of game weapon and electronic equipment
WO2020133894A1 (en) * 2018-12-28 2020-07-02 北京金山安全软件有限公司 Method and apparatus for displaying aiming region of game weapon, and electronic device

Also Published As

Publication number Publication date
CN108635838B (en) 2021-07-27

Similar Documents

Publication Publication Date Title
US10152127B2 (en) Apparatus and method for controlling vibration transfer between vibration devices
CN109011559B (en) Method, device, equipment and storage medium for controlling virtual carrier in game
CN108654085B (en) Game virtual object control method and device, electronic equipment and storage medium
CN108543309A (en) The method, apparatus and terminal of the movement of virtual controlling object are controlled in augmented reality
CN102609185B (en) Comprise computing equipment and the input method thereof of Virtual Controller
US6409597B1 (en) Video game machine, screen display method for video game, and recording medium containing screen display program
US6231440B1 (en) Computer game apparatus
CN108434730A (en) Control method, device, storage medium, processor and the terminal of game object
US11806622B2 (en) Information display method and apparatus, electronic device, and computer storage medium
CN111569422B (en) Interaction method and device between game roles, electronic equipment and storage medium
CN108536350B (en) Virtual object control method and equipment
CN109908581A (en) Game operation method, device and equipment
EP2746897B1 (en) Volumetric image display device and method of providing user interface using visual indicator
CN108595022A (en) Virtual role direction of travel method of adjustment and device, electronic equipment, storage medium
CN104978563A (en) Lane mark recognition device
CN111494963A (en) Vehicle-mounted game method, system, device, computer equipment and storage medium
CN108635838A (en) Direction-controlling method and device, storage medium, processor and terminal
CN109806595A (en) Labeling method, device, storage medium, processor and the terminal in orientation
CN108837508B (en) Method and device for controlling carrier in game
CN110772784B (en) Carrier control method and device, storage medium and electronic device
CN106681506A (en) Interaction method of non-VR application in terminal equipment and terminal equipment
CN110465091B (en) Control method and device for virtual racing car object, storage medium and electronic device
CN111035928A (en) Method and device for displaying travel route, storage medium and electronic device
CN110163829B (en) Image generation method, device and computer readable storage medium
CN113769373A (en) Game operation sensitivity adjustment method and device, storage medium and electronic device

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
GR01 Patent grant
GR01 Patent grant