CN108434733A - The method for control speed and device of game object - Google Patents
The method for control speed and device of game object Download PDFInfo
- Publication number
- CN108434733A CN108434733A CN201810266889.6A CN201810266889A CN108434733A CN 108434733 A CN108434733 A CN 108434733A CN 201810266889 A CN201810266889 A CN 201810266889A CN 108434733 A CN108434733 A CN 108434733A
- Authority
- CN
- China
- Prior art keywords
- speed
- control
- game object
- touch control
- virtual carrier
- 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
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/803—Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features 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/30—Features 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/308—Details of the user interface
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features 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/60—Methods for processing data by generating or executing the game program
- A63F2300/6045—Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features 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/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8017—Driving on land or water; Flying
Abstract
The invention discloses a kind of method for control speed of game object and devices.This method includes:Receive the slip signals to the speed control mark in operation interface;Determine the glide direction of slip signals;In the case where the glide direction of slip signals is the first preset direction, judgement receives speed lockup's trigger signal, wherein speed lockup's trigger signal is for locking the speed of game object;The speed lockup's trigger signal received is responded, the target velocity of game object is determined according to the present speed of game object, and the movement speed for controlling game object is locked as target velocity.Through the invention, achieved the effect that facilitate manipulation in game process.
Description
Technical field
The present invention relates to field of human-computer interaction, in particular to the method for control speed and device of a kind of game object.
Background technology
Difficult point of the racing class hand trip in interactive process be how one side control direction and speed, while can carry out again
The operation task of other buttons, there are many control modes in the related technology, for example, by mobile phone gyroscope, into line direction
Vehicle controls, and racing car is automatically speeded up, but the manipulation sense of this mode of operation is weak, and screen rocks influence and brings sense and feeling of immersion into;Again
For example, by steering wheel operation, racing car is automatically speeded up, hand-operated brake, but this mode of operation can not still restore palm machine completely
Or the manipulation experience in host;Further for example, the mode of operation of similar cool run game, manipulation track, but this are slided by finger
The manipulation sense of mode of operation is minimum, and game manipulation is inconvenient, and game experiencing is bad.
For the problem that the manipulation that game control mode is brought in the related technology is inconvenient, effective solution is not yet proposed at present
Certainly scheme.
Invention content
The main purpose of the present invention is to provide a kind of method for control speed of game object and devices, to solve related skill
The problem for the manipulation inconvenience that control mode of playing in art is brought.
To achieve the goals above, according to an aspect of the invention, there is provided a kind of speed control side of game object
Method, this method include:Receive the slip signals to the speed control mark in operation interface;Determine the sliding of the slip signals
Direction;In the case where the glide direction of the slip signals is the first preset direction, judgement receives speed lockup and triggers letter
Number, wherein speed lockup's trigger signal is for locking the speed of the game object;Response receives described
Speed lockup's trigger signal, the target velocity of the game object is determined according to the present speed of the game object, and is controlled
The movement speed of the game object is locked as the target velocity.
Further, after the glide direction for determining the slip signals, the method further includes:Believe in the sliding
Number glide direction be the second preset direction in the case of, the speed of the game object is controlled according to the trigger signal received
Degree.
Further, the speed of the game object is controlled according to the trigger signal received, including:According to what is received
Trigger signal controls the shifting that the speed control mark is moved along second preset direction, and identified according to the speed control
The speed of game object described in dynamic distance controlling.
Further, first preset direction include it is horizontal to the left or it is horizontal to the right, second preset direction includes
Vertically upward or vertically downward.
Further, tactile according to receiving in the case where the glide direction of the slip signals is the second preset direction
The speed for signaling to control the game object includes:The positional distance equilbrium position slided is identified according to the speed control
Distance determine the speed of the game object, wherein the position that the speed control mark is slided is located at the balance position
When on setting, remoter apart from the equilbrium position, speed is faster.
Further, in the case where the glide direction of the slip signals is the second preset direction, the sliding is responded
The end of signal controls the speed control mark and is moved to the equilbrium position.
Further, in the case where the glide direction of the slip signals is the first preset direction, the sliding is responded
The end of signal locks the current location of the speed control mark.
To achieve the goals above, according to an aspect of the invention, there is provided virtual carrier in a kind of touch control terminal
Control method, this method include:One direction controller and a speed control are provided in the operation interface of the touch control terminal
Device;Detection acts on the first touch control operation of the direction controller, and described virtual according to first touch control operation control
The moving direction of carrier;Detection acts on the second touch control operation of the speed control, and according to second touch control operation
Control the movement speed of the virtual carrier;Wherein, the shifting that the virtual carrier is controlled according to second touch control operation
Dynamic speed, including:When detecting that second touch control operation is slided along third preset direction, according to working as the virtual carrier
Preceding speed determines a target velocity, and the movement speed for controlling the virtual carrier is locked as the target velocity.
Further, a technical ability control is provided in the operation interface of the touch control terminal;Response acts on the technical ability
The technical ability release operation of control, the control virtual carrier execute corresponding virtual athletic movement;Wherein, technical ability control position
In in the preset range of the speed control, the direction controller and the speed control are located at operation circle
The both sides in face.
Further, the movement speed that the virtual carrier is controlled according to second touch control operation, including:Work as inspection
When measuring second touch control operation and being slided along the 4th preset direction, according to the movement of the touch point of second touch control operation away from
From the movement speed for controlling the virtual carrier.
To achieve the goals above, according to another aspect of the present invention, a kind of speed control of game object is additionally provided
Device, the device include:Receiving unit, for receiving the slip signals to the speed control mark in operation interface;It determines single
Member, the glide direction for determining the slip signals;Judging unit, for being first in the glide direction of the slip signals
In the case of preset direction, judgement receives speed lockup's trigger signal, wherein speed lockup's trigger signal is used for institute
The speed for stating game object is locked;Control unit, for responding the speed lockup's trigger signal received, according to institute
The present speed for stating game object determines the target velocity of the game object, and controls the movement speed lock of the game object
It is set to the target velocity.
To achieve the goals above, according to another aspect of the present invention, virtual carrier in a kind of touch control terminal is additionally provided
Control device, which includes:Unit is provided, for providing a direction controller in the operation interface of the touch control terminal
An and speed control;First detection unit, for detecting the first touch control operation for acting on the direction controller, and root
The moving direction of the virtual carrier is controlled according to first touch control operation;Second detection unit acts on described for detection
Second touch control operation of speed control, and control according to second touch control operation movement speed of the virtual carrier;Its
In, the movement speed that the virtual carrier is controlled according to second touch control operation, including:When detect described second touch
When control operation is slided along third preset direction, a target velocity is determined according to the present speed of the virtual carrier, and control institute
The movement speed for stating virtual carrier is locked as the target velocity.
To achieve the goals above, according to another aspect of the present invention, a kind of storage medium is additionally provided, including storage
Program, wherein equipment where controlling the storage medium when described program is run executes speed control side of the present invention
The control method of virtual carrier in method or touch control terminal.
To achieve the goals above, according to another aspect of the present invention, a kind of processor is additionally provided, for running journey
Sequence, wherein described program executes the control of virtual carrier in method for control speed or touch control terminal of the present invention when running
Method.
The present invention is by receiving the slip signals to the speed control mark in operation interface;Determine the sliding of slip signals
Direction;In the case where the glide direction of slip signals is the first preset direction, judgement receives speed lockup's trigger signal,
In, speed lockup's trigger signal is for locking the speed of game object;The speed lockup's trigger signal received is responded,
The target velocity of game object is determined according to the present speed of game object, and the movement speed for controlling game object is locked as mesh
Speed is marked, solves the problems, such as that the manipulation that game control mode is brought in the related technology is inconvenient, and then reached and played
Facilitate the effect of manipulation in journey.
Description of the drawings
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method for control speed of game object according to the ... of the embodiment of the present invention;
Fig. 2 is the flow chart of the control method of virtual carrier in touch control terminal according to the ... of the embodiment of the present invention;
Fig. 3 is the schematic diagram at speed control interface according to a first embodiment of the present invention;
Fig. 4 is the schematic diagram at speed control interface according to a second embodiment of the present invention;
Fig. 5 is the schematic diagram at speed control interface according to a third embodiment of the present invention;
Fig. 6 is the schematic diagram at speed control interface according to a fourth embodiment of the present invention;
Fig. 7 is the schematic diagram at speed control interface according to a fifth embodiment of the present invention;
Fig. 8 is the schematic diagram at speed control interface according to a sixth embodiment of the present invention;
Fig. 9 is the schematic diagram of the speed control unit of game object according to the ... of the embodiment of the present invention;And
Figure 10 is the schematic diagram of the control device of virtual carrier in touch control terminal according to the ... of the embodiment of the present invention.
Specific implementation mode
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only
The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
The every other embodiment that member is obtained without making creative work should all belong to the model of the application protection
It encloses.
It should be noted that term " first " in the description and claims of this application 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 embodiments herein described herein.In addition, term " comprising " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit
Process, method, system, product or equipment those of are not necessarily limited to clearly to list step or unit, but may include without clear
It is listing to Chu or for these processes, method, product or equipment intrinsic other steps or unit.
An embodiment of the present invention provides a kind of method for control speed of game object.
Fig. 1 is the flow chart of the method for control speed of game object according to the ... of the embodiment of the present invention, as shown in Figure 1, the party
Method includes the following steps:
Step S102:Receive the slip signals to the speed control mark in operation interface.
Step S104:Determine the glide direction of slip signals.
Step S106:In the case where the glide direction of slip signals is the first preset direction, judgement receives speed lock
Determine trigger signal, wherein speed lockup's trigger signal is for locking the speed of game object.
Step S108:The speed lockup's trigger signal received is responded, is determined and is played according to the present speed of game object
The target velocity of object, and the movement speed for controlling game object is locked as target velocity.
The embodiment is by receiving the slip signals to the speed control mark in operation interface;Determine the cunning of slip signals
Dynamic direction;In the case where the glide direction of slip signals is the first preset direction, judgement receives speed lockup's trigger signal,
Wherein, speed lockup's trigger signal is for locking the speed of game object;It responds the speed lockup received and triggers letter
Number, the target velocity of game object is determined according to the present speed of game object, and control the movement speed locking of game object
For target velocity, solve the problems, such as that the manipulation that game control mode is brought in the related technology is inconvenient, and then reached and swum
Facilitate the effect of manipulation during play.
In embodiments of the present invention, operation interface can be game operation interface, and slip signals can be that user passes through hand
Refer to and touch the slip signals that screen generates, the speed for locking game object according to the glide direction of slip signals is target speed
Degree can keep present speed and lock, if game object if the current speed of game object has been target velocity
Present speed be not target velocity, then can first control game object speed be target velocity after relock speed, play
Can be the game of racing class, such as racing car etc., in car race game, user can be by touching screen or other input equipments
Speed lockup is carried out, after receiving speed lockup's trigger signal, is kept according to the speed control racing car that racing car is currently set
The speed continues to travel, in this way, can be not necessarily to user controls speed with hand always, but can free hand to carry out other behaviour
Make, such as control direction or other technical ability etc., in this way, manipulation of the user in game process can be facilitated.Speed lockup touches
It signals to send out by carrying out operation to original control mark, can also be that mark is triggered to the speed lockup individually set
Knowledge carries out operation and sends out.
The technical solution of the embodiment of the present invention can be applied in the game of mobile terminal, for example, mobile phone games, Yong Huke
Locking trigger signal is sent out to control mark by sliding speed on the screen, carries out sliding it by speed control mark
Afterwards, judge whether glide direction meets the condition of speed lockup, if eligible, judgement receives speed lockup and triggers letter
Number.Speed lockup's trigger signal is sent out by the sliding of the first preset direction identified to speed control, it can be by speed lockup
The function key adjusted with speed is integrated in one, reduces interface buttons excessive interference visual effect.
Determine that the target velocity of game object can be according to the present speed of game object:It determines that target velocity is equal to work as
Preceding speed;Alternatively, target velocity is calculated according to present speed, for example, adding a constant on the basis of present speed
Obtain target velocity.
After determining the glide direction of slip signals, the case where the glide direction of slip signals is the second preset direction
Under, the speed of game object is controlled according to the trigger signal received.
In embodiments of the present invention, the first preset direction and the second preset direction can be mutually orthogonal directions, for example,
First preset direction include it is horizontal to the left or it is horizontal to the right, the second preset direction include vertically upward or vertically downward, can be with
First direction is as speed lockup direction, the direction increased or decreased as speed using second direction.It can also second direction conduct
Speed lockup direction, the direction increased or decreased as speed using first direction.
Optionally, can be according to the speed of the trigger signal control game object received:According to the triggering received
Signal control speed control mark is moved along the second preset direction, and according to the displacement distance control game pair of speed control mark
The speed of elephant.When user touches screen dragging speed operation button with finger and slides up and down, sliding button is with user's finger
Operation slides up and down, and is added deduct to the increasing of the speed of game object according to the displacement distance determination of the position of speed control mark
On a small quantity.
Optionally, in the case where the glide direction of slip signals is the second preset direction, according to receiving trigger signal
Control game object speed include:The distance for the positional distance equilbrium position slided according to speed control mark determines game
The speed of object, wherein it is remoter apart from equilbrium position when the position that speed control mark is slided is located on equilbrium position,
Speed is faster.When speed control mark is slided, sliding to the left or to the right can lock the speed of game object, to
Upper or slide downward can be adjusted speed, for example, upward sliding accelerates, slide downward is slowed down, and more upward velocity is faster,
More downward deceleration is faster.
Optionally, in the case where the glide direction of slip signals is the second preset direction, the end of slip signals is responded,
Control speed control mark is moved to equilbrium position.Optionally, in the feelings that the glide direction of slip signals is the first preset direction
Under condition, the end of slip signals, the current location of lock speed control mark are responded.
If user slides up and down speed control mark, after loosing one's grip, speed control identification recovery equilbrium position, if with
After family is slided to locking direction by speed lockup after sliding into target velocity position, then loose one's grip, the speed of game object
It is constant to be maintained at target velocity.
As an alternative embodiment, speed control mark can be located at the lower right corner of display interface, the left side at interface
Inferior horn shows the button in user's control direction.In application scenes, direction and speed control mark can also replace direction,
For example, user can voluntarily change direction according to right-hand man's use habit.
As an alternative embodiment, after the speed lockup to game object, if received again to this
The slide of second preset direction of object, then unlock, according to the slide control object in the second preset direction
Speed.
An embodiment of the present invention provides a kind of control methods of virtual carrier in touch control terminal.
Fig. 2 is the flow chart of the control method of virtual carrier in touch control terminal according to the ... of the embodiment of the present invention, such as Fig. 2 institutes
Show, this approach includes the following steps:
Step S202:One direction controller and a speed control are provided in the operation interface of touch control terminal;
Step S204:Detection acts on the first touch control operation of direction controller, and controls void according to the first touch control operation
The moving direction of quasi- carrier;
Step S206:Detection acts on the second touch control operation of speed control, and controls void according to the second touch control operation
The movement speed of quasi- carrier, wherein the movement speed of virtual carrier is controlled according to the second touch control operation, including:When detecting
When two touch control operations are slided along third preset direction, a target velocity is determined according to the present speed of virtual carrier, and control void
The movement speed of quasi- carrier is locked as target velocity.
In embodiments of the present invention, a speed control chassis and a speed control are shown in the operation interface of touch control terminal
Control processed (such as is played after detecting the control operation to direction controller according to the first control operation and control virtual carrier
In racing car etc.) moving direction, for example, turning etc., controls virtual carrier after detecting to the operation of speed control
Movement speed will be carried virtually when it is along third preset direction (such as leftward or rightward) sliding to detect the second touch control operation
The speed lockup of tool is in target velocity.
When detecting that the second touch control operation for acting on speed control control is slided along third preset direction, according to speed
Location determination one target velocity of the control in speed control chassis is controlled, and the movement speed for controlling virtual carrier is locked as mesh
Mark speed.Position of the speed control control in speed control chassis determines the target velocity of virtual carrier.Third preset direction
Can be leftward or rightward.
Optionally, a technical ability control is provided in the operation interface of touch control terminal;Response acts on the technical ability of technical ability control
Release operation controls virtual carrier and executes corresponding virtual athletic movement;Wherein, technical ability control is located at the default of speed control
In range, direction controller and speed control are located at the both sides of operation interface.
Technical ability control can be a plurality of types of technical ability, for example, technical ability, the technical ability control such as attack are located at speed control
Side, speed control includes speed control control and speed control chassis, after speed lockup, user may not need followed by
It is continuous to pin speed control to control speed, you can to free hand to use technical ability, other skills user-friendly to the locking of speed
Energy.
Optionally, the movement speed for virtual carrier being controlled according to the second touch control operation can be:When detecting the second touch-control
When operation is slided along the 4th preset direction, the movement of virtual carrier is controlled according to the displacement distance of the touch point of the second touch control operation
Speed.4th preset direction can upward or downward, can control movement speed according to the displacement distance of touch control operation.
The technical solution of the embodiment of the present invention helps player to realize the interim positioning of throttle by a throttle card slot, with
Ensure when carrying out other skill operations, not interfering with original travel speed, keep best competitive state.
The embodiment of the present invention additionally provides a kind of preferred embodiment, with reference to the preferred embodiment to of the invention real
The method for control speed for applying example illustrates.
Fig. 3 is the schematic diagram at speed control interface according to a first embodiment of the present invention, as shown in figure 3, with racing class hand
For swimming racing car, lower-left and bottom right are provided with functional areas on display interface, and lower-left can be direction controlling rudder, and bottom right can be
Speed control rudder.Direction controlling rudder:Left steering is pushed to the left, pushes right turn to the right, and actuating length is remoter, turns to more anxious, pine
Hand rear push-rod automatic rebounding resets.
Fig. 4 is the schematic diagram at speed control interface according to a second embodiment of the present invention, and Fig. 5 is according to third of the present invention reality
The schematic diagram at the speed control interface of example is applied, user can be pushed away the center of speed control button by hand touch terminal screen
Bar slides upward or downward carrys out acceleration or deceleration, and push upwards accelerates, and actuating length is remoter, and throttle is bigger, and acceleration is faster, downwards
It pushes and slows down, actuating length is remoter, and severity of braking is stronger, and rear push-rod automatic rebounding of loosing one's grip resets, and simulates the plus-minus in true drive
Fast mode.
Fig. 6 is the schematic diagram at speed control interface according to a fourth embodiment of the present invention, as shown in fig. 6, the present invention is implemented
Example by be arranged throttle card slot can carry out throttle constant speed operation, it is desirable to when carrying out throttle constant speed, player can by operating lever to
Left or sliding to the right makes card slot lock, to keep speed, user loose one's grip rear push-rod will not automatic rebounding reset, can vacate in this way
Hand carries out other operations, for example, simulation palm machine and host racing car multithreading task are completed, as shown in fig. 7, Fig. 7 is according to this hair
The schematic diagram at the speed control interface of bright 5th embodiment.Know whether locked in time in order to facilitate user, can lock
User is prompted after fixed, whether is locked for example, can be distinguished by different colours, for example, green indicates that locking, white indicate unlocked
It is fixed, prompt message prompt locking can also be individually popped up on the screen and releases locking.
Fig. 8 is the schematic diagram at speed control interface according to a sixth embodiment of the present invention, and after accelerator locking, user is again
It pushes push rod that can unlock up and down, does not influence the operation ease of user.
The technical solution of the embodiment of the present invention helps the interim positioning of player's realization throttle by a throttle card slot, to protect
Card does not interfere with original travel speed, keeps best competitive state, reduce the palm when carrying out other skill operations
Core operation in machine and host race games, manipulation experience sense is strong, also improves racing car control activity and technical ability releasing activity
Between efficient smoothness action linking.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions
It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not
The sequence being same as herein executes shown or described step.
An embodiment of the present invention provides a kind of speed control unit of game object, which can be used for executing the present invention
The method for control speed of embodiment.
Fig. 9 is the schematic diagram of the speed control unit of game object according to the ... of the embodiment of the present invention, as shown in figure 9, the dress
Set including:
Receiving unit 10, for receiving the slip signals to the speed control mark in operation interface;
Determination unit 20, the glide direction for determining slip signals;
Judging unit 30, in the case where the glide direction of slip signals is the first preset direction, judging to receive
Speed lockup's trigger signal, wherein speed lockup's trigger signal is for locking the speed of game object;
Control unit 40, it is true according to the present speed of game object for responding the speed lockup's trigger signal received
Determine the target velocity of game object, and the movement speed for controlling game object is locked as target velocity.
The embodiment uses receiving unit 10, for receiving the slip signals to the speed control mark in operation interface;
Determination unit 20, the glide direction for determining slip signals;Judging unit 30, for being the in the glide direction of slip signals
In the case of one preset direction, judgement receives speed lockup's trigger signal, wherein speed lockup's trigger signal is used for game
The speed of object is locked;Control unit 40, for responding the speed lockup's trigger signal received, according to game object
Present speed determines the target velocity of game object, and the movement speed for controlling game object is locked as target velocity, to solve
What game control mode in the related technology of having determined was brought manipulates inconvenient problem, and then has reached and facilitated behaviour in game process
The effect of control.
An embodiment of the present invention provides a kind of control device of virtual carrier in touch control terminal, which can be used for executing
The control method of virtual carrier in the touch control terminal of the embodiment of the present invention.
Figure 10 is the schematic diagram of the control device of virtual carrier in touch control terminal according to the ... of the embodiment of the present invention, such as Figure 10 institutes
Show, which includes:
Unit 50 is provided, for providing a direction controller and a speed control in the operation interface of touch control terminal
Device;
First detection unit 60, for detecting the first touch control operation for acting on direction controller, and according to the first touch-control
The moving direction of the virtual carrier of operation and control;
Second detection unit 70, for detecting the second touch control operation for acting on speed control, and according to the second touch-control
The movement speed of the virtual carrier of operation and control;Wherein, the movement speed of virtual carrier is controlled according to the second touch control operation, including:
When detecting that the second touch control operation is slided along third preset direction, target speed is determined according to the present speed of virtual carrier
Degree, and the movement speed for controlling virtual carrier is locked as target velocity
The embodiment using provide unit 50, for provided in the operation interface of touch control terminal a direction controller and
One speed control;First detection unit 60, for detecting the first touch control operation for acting on direction controller, and according to first
Touch control operation controls the moving direction of virtual carrier;Second detection unit 70 acts on the second of speed control for detecting
Touch control operation, and control according to the second touch control operation the movement speed of virtual carrier;Wherein, it is controlled according to the second touch control operation empty
The movement speed of quasi- carrier, including:When detecting that the second touch control operation is slided along third preset direction, according to virtual carrier
Present speed determines a target velocity, and the movement speed for controlling virtual carrier is locked as target velocity, to solve correlation
The problem for the manipulation inconvenience that control mode of playing in technology is brought, and then reached the effect for facilitating manipulation in game process
Fruit.
The speed control unit includes processor and memory, and above-mentioned judging unit, determination unit, lock cell etc. are equal
In memory as program unit storage, above procedure unit stored in memory is executed by processor to realize accordingly
Function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be arranged one
Or more, facilitate the manipulation in game process by adjusting kernel parameter.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include at least one deposit
Store up chip.
An embodiment of the present invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor
The control method of virtual carrier in the method for control speed or touch control terminal of the existing game object.
An embodiment of the present invention provides a kind of processor, the processor is for running program, wherein described program is run
The control method of virtual carrier in the method for control speed or touch control terminal of game object described in Shi Zhihang.
An embodiment of the present invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can
The program run on a processor, processor realize following steps when executing program:It receives to the speed control in operation interface
The slip signals of mark;Determine the glide direction of slip signals;In the feelings that the glide direction of slip signals is the first preset direction
Under condition, judgement receives speed lockup's trigger signal, wherein speed lockup's trigger signal is used to carry out the speed of game object
Locking;The speed lockup's trigger signal received is responded, the target speed of game object is determined according to the present speed of game object
Degree, and the movement speed for controlling game object is locked as target velocity.Equipment herein can be server, PC, PAD, hand
Machine etc..
Present invention also provides a kind of computer program products, when being executed on data processing equipment, are adapted for carrying out just
The program of beginningization there are as below methods step:Receive the slip signals to the speed control mark in operation interface;Determine sliding letter
Number glide direction;In the case where the glide direction of slip signals is the first preset direction, judgement receives speed lockup and touches
It signals, wherein speed lockup's trigger signal is for locking the speed of game object;Respond the speed lockup received
Trigger signal, the target velocity of game object is determined according to the present speed of game object, and controls the mobile speed of game object
Degree is locked as target velocity.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus
Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
It these are only embodiments herein, be not intended to limit this application.To those skilled in the art,
The application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of claims hereof.
Claims (14)
1. a kind of method for control speed of game object, which is characterized in that including:
Receive the slip signals to the speed control mark in operation interface;
Determine the glide direction of the slip signals;
In the case where the glide direction of the slip signals is the first preset direction, judgement receives speed lockup and triggers letter
Number, wherein speed lockup's trigger signal is for locking the speed of the game object;
The speed lockup's trigger signal received is responded, the game pair is determined according to the present speed of the game object
The target velocity of elephant, and the movement speed for controlling the game object is locked as the target velocity.
2. according to the method described in claim 1, it is characterized in that, after the glide direction for determining the slip signals, institute
The method of stating further includes:
In the case where the glide direction of the slip signals is the second preset direction, institute is controlled according to the trigger signal received
State the speed of game object.
3. according to the method described in claim 2, it is characterized in that, controlling the game object according to the trigger signal received
Speed, including:
The speed control mark is controlled according to the trigger signal received to move along second preset direction, and according to described
The displacement distance of speed control mark controls the speed of the game object.
4. according to the method described in claim 3, it is characterized in that, first preset direction include it is horizontal to the left or horizontal direction
The right side, second preset direction is including vertically upward or vertically downward.
5. according to the method described in claim 4, it is characterized in that, the glide direction in the slip signals is the second default side
In the case of, include according to the speed for receiving trigger signal and controlling the game object:
The distance for the positional distance equilbrium position slided according to speed control mark determines the speed of the game object,
It is wherein, remoter apart from the equilbrium position when position that the speed control mark is slided is located on the equilbrium position,
Speed is faster.
6. according to the method described in claim 5, it is characterized in that, the glide direction in the slip signals is the second default side
In the case of, the end of the slip signals is responded, the speed control mark is controlled and is moved to the equilbrium position.
7. according to the method described in claim 2, it is characterized in that, the glide direction in the slip signals is the first default side
In the case of, the end of the slip signals is responded, locks the current location of the speed control mark.
8. the control method of virtual carrier in a kind of touch control terminal, which is characterized in that including:
One direction controller and a speed control are provided in the operation interface of the touch control terminal;
Detection acts on the first touch control operation of the direction controller, and described virtual according to first touch control operation control
The moving direction of carrier;
Detection acts on the second touch control operation of the speed control, and described virtual according to second touch control operation control
The movement speed of carrier;
Wherein, the movement speed that the virtual carrier is controlled according to second touch control operation, including:
When detecting that second touch control operation is slided along third preset direction, the present speed according to the virtual carrier is true
A fixed target velocity, and the movement speed for controlling the virtual carrier is locked as the target velocity.
9. according to the method described in claim 8, it is characterized in that, providing a technical ability in the operation interface of the touch control terminal
Control;
Response acts on the technical ability release operation of the technical ability control, and it is dynamic that the control virtual carrier executes corresponding virtual technical ability
Make;
Wherein, the technical ability control is located in the preset range of the speed control, the direction controller and the speed
Controller is located at the both sides of the operation interface.
10. according to the method described in claim 8, it is characterized in that, described control the void according to second touch control operation
The movement speed of quasi- carrier, including:
When detecting that second touch control operation is slided along the 4th preset direction, according to the touch point of second touch control operation
Displacement distance control the movement speed of the virtual carrier.
11. a kind of speed control unit of game object, which is characterized in that including:
Receiving unit, for receiving the slip signals to the speed control mark in operation interface;
Determination unit, the glide direction for determining the slip signals;
Judging unit, in the case where the glide direction of the slip signals is the first preset direction, judgement to receive speed
Degree locking trigger signal, wherein speed lockup's trigger signal is for locking the speed of the game object;
Control unit, for responding the speed lockup's trigger signal received, according to the present speed of the game object
The movement speed for determining the target velocity of the game object, and controlling the game object is locked as the target velocity.
12. the control device of virtual carrier in a kind of touch control terminal, which is characterized in that including:
Unit is provided, for providing a direction controller and a speed control in the operation interface of the touch control terminal;
First detection unit is touched for detecting the first touch control operation for acting on the direction controller, and according to described first
Control the moving direction of virtual carrier described in operation and control;
Second detection unit is touched for detecting the second touch control operation for acting on the speed control, and according to described second
Control the movement speed of virtual carrier described in operation and control;
Wherein, the movement speed that the virtual carrier is controlled according to second touch control operation, including:
When detecting that second touch control operation is slided along third preset direction, the present speed according to the virtual carrier is true
A fixed target velocity, and the movement speed for controlling the virtual carrier is locked as the target velocity.
13. 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 the speed control of the game object described in any one of 1 to 7
The control method of virtual carrier in touch control terminal described in method or claim 8 to 10.
14. 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 for control speed of the game object described in any one of 1 to 10 or the touch-control end described in claim 8 to 10
The control method of virtual carrier in end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810266889.6A CN108434733B (en) | 2018-03-28 | 2018-03-28 | Speed control method and device for game object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810266889.6A CN108434733B (en) | 2018-03-28 | 2018-03-28 | Speed control method and device for game object |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108434733A true CN108434733A (en) | 2018-08-24 |
CN108434733B CN108434733B (en) | 2020-12-01 |
Family
ID=63197299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810266889.6A Active CN108434733B (en) | 2018-03-28 | 2018-03-28 | Speed control method and device for game object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108434733B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109224438A (en) * | 2018-10-26 | 2019-01-18 | 网易(杭州)网络有限公司 | The control method and device of virtual role in game |
CN109316745A (en) * | 2018-10-12 | 2019-02-12 | 网易(杭州)网络有限公司 | Virtual objects motion control method and device, electronic equipment, storage medium |
WO2020043016A1 (en) * | 2018-08-30 | 2020-03-05 | 腾讯科技(深圳)有限公司 | Virtual carrier control method in virtual scene, computer device and storage medium |
CN111338487A (en) * | 2020-02-13 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Feature switching method and device in virtual environment, terminal and readable storage medium |
CN113769372A (en) * | 2021-09-15 | 2021-12-10 | 网易(杭州)网络有限公司 | Control method and device of virtual vehicle and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100144424A1 (en) * | 2008-09-02 | 2010-06-10 | Tetris Holding Llc | Video game systems and methods for providing software-based skill adjustment mechanisms for video game systems |
JP2014100198A (en) * | 2012-11-16 | 2014-06-05 | Universal Entertainment Corp | Game machine |
CN105912162A (en) * | 2016-04-08 | 2016-08-31 | 网易(杭州)网络有限公司 | Method and apparatus for controlling virtual object, and touch control device |
CN106155553A (en) * | 2016-07-05 | 2016-11-23 | 网易(杭州)网络有限公司 | Virtual objects motion control method and device |
CN107004344A (en) * | 2016-11-23 | 2017-08-01 | 深圳市大疆创新科技有限公司 | Unmanned vehicle control method, server and remote control |
-
2018
- 2018-03-28 CN CN201810266889.6A patent/CN108434733B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100144424A1 (en) * | 2008-09-02 | 2010-06-10 | Tetris Holding Llc | Video game systems and methods for providing software-based skill adjustment mechanisms for video game systems |
JP2014100198A (en) * | 2012-11-16 | 2014-06-05 | Universal Entertainment Corp | Game machine |
CN105912162A (en) * | 2016-04-08 | 2016-08-31 | 网易(杭州)网络有限公司 | Method and apparatus for controlling virtual object, and touch control device |
CN106155553A (en) * | 2016-07-05 | 2016-11-23 | 网易(杭州)网络有限公司 | Virtual objects motion control method and device |
CN107004344A (en) * | 2016-11-23 | 2017-08-01 | 深圳市大疆创新科技有限公司 | Unmanned vehicle control method, server and remote control |
Non-Patent Citations (1)
Title |
---|
TOPSHOPPING频道: "《优酷网》", 10 February 2018 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020043016A1 (en) * | 2018-08-30 | 2020-03-05 | 腾讯科技(深圳)有限公司 | Virtual carrier control method in virtual scene, computer device and storage medium |
US11185773B2 (en) | 2018-08-30 | 2021-11-30 | Tencent Technology (Shenzhen) Company Limited | Virtual vehicle control method in virtual scene, computer device, and storage medium |
US11691079B2 (en) | 2018-08-30 | 2023-07-04 | Tencent Technology (Shenzhen) Company Limited | Virtual vehicle control method in virtual scene, computer device, and storage medium |
CN109316745A (en) * | 2018-10-12 | 2019-02-12 | 网易(杭州)网络有限公司 | Virtual objects motion control method and device, electronic equipment, storage medium |
CN109316745B (en) * | 2018-10-12 | 2022-05-31 | 网易(杭州)网络有限公司 | Virtual object motion control method and device, electronic equipment and storage medium |
CN109224438A (en) * | 2018-10-26 | 2019-01-18 | 网易(杭州)网络有限公司 | The control method and device of virtual role in game |
CN109224438B (en) * | 2018-10-26 | 2022-06-24 | 网易(杭州)网络有限公司 | Method and device for controlling virtual character in game |
CN111338487A (en) * | 2020-02-13 | 2020-06-26 | 腾讯科技(深圳)有限公司 | Feature switching method and device in virtual environment, terminal and readable storage medium |
CN113769372A (en) * | 2021-09-15 | 2021-12-10 | 网易(杭州)网络有限公司 | Control method and device of virtual vehicle and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108434733B (en) | 2020-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108434733A (en) | The method for control speed and device of game object | |
CN109865286B (en) | Information processing method and device in game and storage medium | |
CN105339884B (en) | The classification of user's input | |
KR101580210B1 (en) | Game method and system for providing smart control for touch type | |
US20110215998A1 (en) | Physical action languages for distributed tangible user interface systems | |
CN108595022A (en) | Virtual role direction of travel method of adjustment and device, electronic equipment, storage medium | |
US20210342061A1 (en) | Game program, computer control method, and information processing apparatus | |
US11650721B2 (en) | Apparatus, method, and computer-readable storage medium for manipulating a user interface element | |
KR20210045388A (en) | Methods of mapping inputs to software applications, systems and computer program products | |
CN110448904A (en) | The control method and device at game visual angle, storage medium, electronic device | |
CN108733288B (en) | Information processing method, information processing device, electronic equipment and storage medium | |
CN101384317A (en) | Trace information processing device, trace information processing method, information recording method, and program | |
CN106621331A (en) | Game object execution target switching method and device | |
CN110448895A (en) | Information processing method and device in game | |
US11617953B2 (en) | Virtual object interaction scripts | |
JP5354441B2 (en) | game machine | |
CN108635841B (en) | Method and device for controlling carrier in racing game | |
Klapaukh | An empirical evaluation of force-directed graph layout | |
KR101329618B1 (en) | Method, game apparatus, and recording medium for providing touch game | |
Stemkoski et al. | Maze Runman | |
JP5819558B2 (en) | Game processing program, game processing computer, and game processing method | |
JP7062033B2 (en) | Information processing programs, information processing devices, information processing systems, and information processing methods | |
JP5777775B1 (en) | GAME PROGRAM, COMPUTER CONTROL METHOD, AND COMPUTER | |
JP7062034B2 (en) | Information processing programs, information processing devices, information processing systems, and information processing methods | |
JP5844431B1 (en) | GAME PROGRAM, COMPUTER CONTROL METHOD, AND COMPUTER |
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 |