CN108434733B - Speed control method and device for game object - Google Patents

Speed control method and device for game object Download PDF

Info

Publication number
CN108434733B
CN108434733B CN201810266889.6A CN201810266889A CN108434733B CN 108434733 B CN108434733 B CN 108434733B CN 201810266889 A CN201810266889 A CN 201810266889A CN 108434733 B CN108434733 B CN 108434733B
Authority
CN
China
Prior art keywords
speed
controlling
sliding
game object
signal
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.)
Active
Application number
CN201810266889.6A
Other languages
Chinese (zh)
Other versions
CN108434733A (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 CN201810266889.6A priority Critical patent/CN108434733B/en
Publication of CN108434733A publication Critical patent/CN108434733A/en
Application granted granted Critical
Publication of CN108434733B publication Critical patent/CN108434733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/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/55Controlling game characters or game objects based on the game progress
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/803Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks
    • 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/308Details of the user interface
    • 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/60Methods for processing data by generating or executing the game program
    • A63F2300/6045Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands
    • 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/80Features 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/8017Driving on land or water; Flying

Abstract

The invention discloses a speed control method and device for a game object. The method comprises the following steps: receiving a sliding signal of a speed control identifier in an operation interface; determining a sliding direction of the sliding signal; under the condition that the sliding direction of the sliding signal is a first preset direction, judging that a speed locking trigger signal is received, wherein the speed locking trigger signal is used for locking the speed of the game object; and responding to the received speed locking trigger signal, determining the target speed of the game object according to the current speed of the game object, and controlling the moving speed of the game object to be locked at the target speed. By the invention, the effect of convenient control in the game process is achieved.

Description

Speed control method and device for game object
Technical Field
The invention relates to the field of man-machine interaction, in particular to a speed control method and device for a game object.
Background
The difficulty of the race type hand-trip in the interaction process lies in how to control the direction and the speed, and simultaneously can perform operation tasks of other buttons, and related technologies have various control modes, for example, a mobile phone carries a gyroscope to perform direction car control, and a racing car automatically accelerates, but the operation mode has weak control feeling, and screen shaking influences the bringing-in feeling and the immersion feeling; for another example, through the operation of a steering wheel, the racing car automatically accelerates and the manual brake, but the operation mode still cannot completely restore the operation experience in a palm machine or a host machine; for example, the operation mode similar to a running game is that the lane is operated by sliding the fingers, but the operation mode has the lowest operation feeling, the game operation is inconvenient, and the game experience is poor.
Aiming at the problem of inconvenient operation and control caused by game operation and control modes in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The invention mainly aims to provide a speed control method and a speed control device for a game object, which are used for solving the problem of inconvenient operation caused by a game operation mode in the related art.
In order to achieve the above object, according to one aspect of the present invention, there is provided a speed control method of a game object, the method including: receiving a sliding signal of a speed control identifier in an operation interface; determining a sliding direction of the sliding signal; under the condition that the sliding direction of the sliding signal is a first preset direction, judging that a speed locking trigger signal is received, wherein the speed locking trigger signal is used for locking the speed of the game object; and responding to the received speed locking trigger signal, determining the target speed of the game object according to the current speed of the game object, and controlling the moving speed of the game object to be locked at the target speed.
Further, after determining the sliding direction of the sliding signal, the method further comprises: and under the condition that the sliding direction of the sliding signal is a second preset direction, controlling the speed of the game object according to the received trigger signal.
Further, controlling the speed of the game object according to the received trigger signal comprises: and controlling the speed control identifier to move along the second preset direction according to the received trigger signal, and controlling the speed of the game object according to the moving distance of the speed control identifier.
Further, the first preset direction comprises a horizontal left direction or a horizontal right direction, and the second preset direction comprises a vertical upward direction or a vertical downward direction.
Further, in a case that the sliding direction of the sliding signal is a second preset direction, controlling the speed of the game object according to the received trigger signal includes: and determining the speed of the game object according to the distance between the position where the speed control identifier is slid and an equilibrium position, wherein when the position where the speed control identifier is slid is positioned above the equilibrium position, the speed is faster the farther the position is from the equilibrium position.
Further, under the condition that the sliding direction of the sliding signal is a second preset direction, responding to the end of the sliding signal, and controlling the speed control mark to move to the balance position.
Further, under the condition that the sliding direction of the sliding signal is a first preset direction, the current position of the speed control mark is locked in response to the end of the sliding signal.
In order to achieve the above object, according to an aspect of the present invention, there is provided a method for controlling a virtual vehicle in a touch terminal, the method including: providing a direction controller and a speed controller in an operation interface of the touch terminal; detecting a first touch operation acting on the direction controller, and controlling the moving direction of the virtual carrier according to the first touch operation; detecting a second touch operation acting on the speed controller, and controlling the moving speed of the virtual vehicle according to the second touch operation; wherein the controlling the moving speed of the virtual vehicle according to the second touch operation includes: when the second touch operation is detected to slide along a third preset direction, determining a target speed according to the current speed of the virtual vehicle, and controlling the moving speed of the virtual vehicle to be locked at the target speed.
Further, a skill control is provided in an operation interface of the touch terminal; responding to skill release operation acting on the skill control, and controlling the virtual vehicle to execute corresponding virtual skill action; the skill control is located in a preset range of the speed controller, and the direction controller and the speed controller are respectively located on two sides of the operation interface.
Further, the controlling the moving speed of the virtual vehicle according to the second touch operation includes: and when the second touch operation is detected to slide along a fourth preset direction, controlling the moving speed of the virtual vehicle according to the moving distance of the touch point of the second touch operation.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a velocity control apparatus for a game object, the apparatus including: the receiving unit is used for receiving a sliding signal of the speed control identifier in the operation interface; a determination unit for determining a sliding direction of the sliding signal; the judging unit is used for judging that a speed locking trigger signal is received under the condition that the sliding direction of the sliding signal is a first preset direction, wherein the speed locking trigger signal is used for locking the speed of the game object; and the control unit is used for responding to the received speed locking trigger signal, determining the target speed of the game object according to the current speed of the game object, and controlling the moving speed of the game object to be locked at the target speed.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a control apparatus of a virtual vehicle in a touch terminal, the apparatus including: the touch control terminal comprises a providing unit, a processing unit and a control unit, wherein the providing unit is used for providing a direction controller and a speed controller in an operation interface of the touch control terminal; the first detection unit is used for detecting a first touch operation acting on the direction controller and controlling the moving direction of the virtual carrier according to the first touch operation; the second detection unit is used for detecting a second touch operation acting on the speed controller and controlling the moving speed of the virtual vehicle according to the second touch operation; wherein the controlling the moving speed of the virtual vehicle according to the second touch operation includes: when the second touch operation is detected to slide along a third preset direction, determining a target speed according to the current speed of the virtual vehicle, and controlling the moving speed of the virtual vehicle to be locked at the target speed.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a storage medium including a stored program, wherein when the program runs, an apparatus on which the storage medium is located is controlled to execute the speed control method or the control method of the virtual vehicle in the touch terminal according to the present invention.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a processor for executing a program, where the program executes the speed control method or the control method of the virtual vehicle in the touch terminal according to the present invention.
The invention receives the sliding signal of the speed control mark in the operation interface; determining a sliding direction of the sliding signal; under the condition that the sliding direction of the sliding signal is a first preset direction, judging that a speed locking trigger signal is received, wherein the speed locking trigger signal is used for locking the speed of the game object; the received speed locking trigger signal is responded, the target speed of the game object is determined according to the current speed of the game object, and the moving speed of the game object is controlled to be locked to the target speed, so that the problem of inconvenience in operation and control caused by a game operation and control mode in the related technology is solved, and the effect of convenience in operation and control in the game process is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a method of speed control of a game object according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for controlling a virtual vehicle in a touch terminal according to an embodiment of the present invention;
FIG. 3 is a schematic view of a speed control interface according to a first embodiment of the present invention;
FIG. 4 is a schematic view of a speed control interface according to a second embodiment of the present invention;
FIG. 5 is a schematic view of a speed control interface according to a third embodiment of the present invention;
FIG. 6 is a schematic view of a speed control interface according to a fourth embodiment of the present invention;
FIG. 7 is a schematic illustration of a speed control interface according to a fifth embodiment of the present invention;
FIG. 8 is a schematic illustration of a speed control interface according to a sixth embodiment of the present invention;
FIG. 9 is a schematic view of a velocity control apparatus for a game object according to an embodiment of the present invention; and
fig. 10 is a schematic diagram of a control device of a virtual vehicle in a touch terminal according to an embodiment of the invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention provides a speed control method of a game object.
Fig. 1 is a flowchart of a speed control method of a game object according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102: and receiving a sliding signal of a speed control identifier in the operation interface.
Step S104: the direction of the slip signal is determined.
Step S106: and under the condition that the sliding direction of the sliding signal is a first preset direction, judging that a speed locking trigger signal is received, wherein the speed locking trigger signal is used for locking the speed of the game object.
Step S108: and responding to the received speed locking trigger signal, determining the target speed of the game object according to the current speed of the game object, and controlling the moving speed of the game object to be locked at the target speed.
The embodiment receives a sliding signal of a speed control identifier in an operation interface; determining a sliding direction of the sliding signal; under the condition that the sliding direction of the sliding signal is a first preset direction, judging that a speed locking trigger signal is received, wherein the speed locking trigger signal is used for locking the speed of the game object; the received speed locking trigger signal is responded, the target speed of the game object is determined according to the current speed of the game object, and the moving speed of the game object is controlled to be locked to the target speed, so that the problem of inconvenience in operation and control caused by a game operation and control mode in the related technology is solved, and the effect of convenience in operation and control in the game process is achieved.
In the embodiment of the present invention, the operation interface may be a game operation interface, the sliding signal may be a sliding signal generated by a user touching a screen with a finger, the speed of the game object is locked to a target speed according to a sliding direction of the sliding signal, if the current speed of the game object is already the target speed, the current speed may be maintained and locked, if the current speed of the game object is not the target speed, the speed of the game object may be controlled to the target speed and then locked, the game may be a racing game such as a racing car, in the racing game, the user may perform speed locking by touching the screen or other input devices, and after receiving a speed locking trigger signal, the racing car is controlled to keep running at the speed according to the currently set speed of the racing car, so that the user may not need to control the speed by hand all the time, but may free hands for other operations, such as controlling direction or other skills, etc., so that the user's manipulation during the game may be facilitated. The speed locking trigger signal can be sent out by operating the original control identifier or by operating the individually set speed locking trigger identifier.
The technical scheme of the embodiment of the invention can be applied to games of mobile terminals, such as mobile phone games, a user can send out a locking trigger signal by sliding the speed control identifier on a screen, after the speed control identifier is slid, whether the sliding direction meets the condition of speed locking is judged, and if the sliding direction meets the condition, the speed locking trigger signal is judged to be received. The speed locking trigger signal is sent out by sliding the speed control identifier in the first preset direction, so that the function keys of speed locking and speed regulation can be integrated into one, and the visual effect of excessive interference of interface keys is reduced.
Determining the target speed of the game object from the current speed of the game object may be: determining that the target speed is equal to the current speed; alternatively, the target speed is calculated according to the current speed, for example, a constant is added on the basis of the current speed to obtain the target speed.
After the sliding direction of the sliding signal is determined, under the condition that the sliding direction of the sliding signal is a second preset direction, the speed of the game object is controlled according to the received trigger signal.
In the embodiment of the present invention, the first preset direction and the second preset direction may be directions perpendicular to each other, for example, the first preset direction includes horizontal left or horizontal right, the second preset direction includes vertical up or vertical down, the first direction may be used as a speed locking direction, and the second direction may be used as a speed increasing or decreasing direction. The second direction may also be used as a speed locking direction, and the first direction may be used as a speed increasing or decreasing direction.
Alternatively, controlling the speed of the game object according to the received trigger signal may be: and controlling the speed control identifier to move along a second preset direction according to the received trigger signal, and controlling the speed of the game object according to the moving distance of the speed control identifier. When the user touches the screen with a finger to drag the speed operation button to slide up and down, the sliding button slides up and down along with the operation of the finger of the user, and the increase or decrease of the speed of the game object is determined according to the moving distance of the position of the speed control identifier.
Optionally, in a case that the sliding direction of the sliding signal is a second preset direction, controlling the speed of the game object according to the received trigger signal includes: and determining the speed of the game object according to the distance between the position where the speed control identifier is slid and the balance position, wherein when the position where the speed control identifier is slid is positioned above the balance position, the speed is faster the farther the position is from the balance position. Sliding left or right may lock the speed of the game object when the speed control indicator is slid, and sliding up or down may adjust the speed, e.g., sliding up accelerates, sliding down decelerates, the faster the speed up, the faster the speed down.
Optionally, in a case that the sliding direction of the sliding signal is a second preset direction, the speed control indicator is controlled to move to the equilibrium position in response to the end of the sliding signal. Optionally, in a case that the sliding direction of the sliding signal is a first preset direction, the current position of the speed control indicator is locked in response to the end of the sliding signal.
If the user slides the speed control identification up and down, the speed control identification restores to the balance position after releasing the hand, if the user slides to the target speed position and then slides in the locking direction to lock the speed, the hand is released again, and the speed of the game object can be kept unchanged at the target speed.
As an alternative embodiment, the speed control indicator may be located in the lower right hand corner of the display interface, the lower left hand corner of the interface displaying the buttons for the user to control the direction. In some application scenarios, the direction and speed control indicator may also change direction, e.g., the user may change direction by himself or herself according to left or right hand usage habits.
As an alternative embodiment, after the speed of the game object is locked, if the sliding operation of the object in the second preset direction is received again, the locking is released, and the speed of the object is controlled according to the sliding operation in the second preset direction.
The embodiment of the invention provides a control method of a virtual carrier in a touch terminal.
Fig. 2 is a flowchart of a method for controlling a virtual vehicle in a touch terminal according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S202: providing a direction controller and a speed controller in an operation interface of the touch terminal;
step S204: detecting a first touch operation acting on the direction controller, and controlling the moving direction of the virtual carrier according to the first touch operation;
step S206: detecting a second touch operation acting on the speed controller, and controlling the moving speed of the virtual vehicle according to the second touch operation, wherein the controlling the moving speed of the virtual vehicle according to the second touch operation comprises: when the second touch operation is detected to slide along a third preset direction, determining a target speed according to the current speed of the virtual vehicle, and controlling the moving speed of the virtual vehicle to be locked at the target speed.
In the embodiment of the invention, a speed control chassis and a speed control are displayed on an operation interface of the touch terminal, after the control operation on the directional controller is detected, the moving direction, such as turning and the like, of the virtual vehicle (such as a racing car and the like in a game) is controlled according to the first control operation, the moving speed of the virtual vehicle is controlled after the operation on the speed controller is detected, and when the second touch operation is detected to slide in a third preset direction (such as leftward or rightward), the speed of the virtual vehicle is locked at the target speed.
When the second touch operation acting on the speed control is detected to slide along a third preset direction, determining a target speed according to the position of the speed control in the speed control chassis, and controlling the moving speed of the virtual vehicle to be locked at the target speed. The position of the speed control in the speed control chassis determines the target speed of the virtual vehicle. The third preset direction may be left or right.
Optionally, providing a skill control in an operation interface of the touch terminal; responding to skill release operation acting on the skill control, and controlling the virtual vehicle to execute corresponding virtual skill action; the skill control is located in a preset range of the speed controller, and the direction controller and the speed controller are located on two sides of the operation interface respectively.
The skill control can be of various types, such as attack and the like, the skill control is positioned beside a speed controller, the speed controller comprises a speed control and a speed control chassis, after the speed is locked, a user can free hands to use the skill without continuously pressing the speed control to control the speed, and the locking of the speed is convenient for the user to operate other skills.
Optionally, controlling the moving speed of the virtual vehicle according to the second touch operation may be: and when the second touch operation is detected to slide along the fourth preset direction, controlling the moving speed of the virtual vehicle according to the moving distance of the touch point of the second touch operation. The fourth preset direction may be upward or downward, and the moving speed may be controlled according to the moving distance of the touch operation.
The technical scheme of the embodiment of the invention helps the player realize the temporary positioning of the accelerator through the accelerator clamping groove so as to ensure that the original driving speed is not influenced and the optimal competitive state is kept when other skills are operated.
The embodiment of the present invention also provides a preferred implementation manner, and the speed control method according to the embodiment of the present invention is described below with reference to the preferred implementation manner.
Fig. 3 is a schematic diagram of a speed control interface according to a first embodiment of the present invention, and as shown in fig. 3, for example, a racing type hand-trip racing car, functional areas are provided on the display interface at the lower left and lower right, where the lower left may be a direction control rudder, and the lower right may be a speed control rudder. A direction control rudder: the left steering is pushed leftwards, the right steering is pushed rightwards, the farther the pushing distance is, the more rapid the steering is, and the automatic rebounding and resetting of the push rod after the hand is loosened are realized.
Fig. 4 is a schematic diagram of a speed control interface according to a second embodiment of the present invention, and fig. 5 is a schematic diagram of a speed control interface according to a third embodiment of the present invention, a user can touch a terminal screen by hand to slide a center push rod of a speed control key up or down to accelerate or decelerate, push up to accelerate, the farther the pushing distance is, the larger the throttle is, the faster the acceleration is, push down to decelerate, the farther the pushing distance is, the stronger the braking strength is, the push rod automatically rebounds to reset after releasing the hand, and an acceleration/deceleration mode in real driving is simulated.
Fig. 6 is a schematic diagram of a speed control interface according to a fourth embodiment of the present invention, as shown in fig. 6, the speed control interface according to the embodiment of the present invention can perform throttle speed fixing operation by setting a throttle slot, when a player wants to perform throttle speed fixing, the player can slide the operating lever to the left or right to lock the slot, so as to maintain the vehicle speed, and the push rod will not automatically rebound to reset after the user releases his hand, so that the user can vacate his hand to perform other operations, for example, to complete a multi-thread task of simulating a palm machine and a host racing car, as shown in fig. 7, and fig. 7 is a schematic diagram of the speed control interface according to the fifth embodiment of. In order to facilitate the user to know whether the lock is locked in time, the user can be prompted after the lock is locked, for example, whether the lock is locked can be distinguished through different colors, for example, green indicates that the lock is locked, white indicates that the lock is unlocked, or a prompt message can be popped up on a screen to prompt the lock and unlock separately.
Fig. 8 is a schematic view of a speed control interface according to a sixth embodiment of the present invention, after the throttle is locked, the user pushes the push rod up and down again to release the lock, without affecting the convenience of the user.
According to the technical scheme of the embodiment of the invention, the accelerator clamping groove helps a player to realize temporary positioning of the accelerator, so that the original running speed is not influenced when other skills are operated, the optimal competitive state is kept, the core operation in the competitive game of the palm machine and the host machine is restored, the operation experience is strong, and the high-efficiency smooth action connection between the control activity and the skill release activity of the racing car is improved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
Embodiments of the present invention provide a speed control device for a game object, which may be used to execute the speed control method according to the embodiments of the present invention.
Fig. 9 is a schematic view of a speed control apparatus of a game object according to an embodiment of the present invention, as shown in fig. 9, the apparatus including:
a receiving unit 10, configured to receive a sliding signal of a speed control identifier in an operation interface;
a determination unit 20 for determining a sliding direction of the sliding signal;
a judging unit 30, configured to judge that a speed locking trigger signal is received when a sliding direction of the sliding signal is a first preset direction, where the speed locking trigger signal is used to lock a speed of the game object;
and the control unit 40 is used for responding to the received speed locking trigger signal, determining the target speed of the game object according to the current speed of the game object, and controlling the moving speed of the game object to be locked at the target speed.
The embodiment adopts a receiving unit 10 for receiving a sliding signal of a speed control identifier in an operation interface; a determination unit 20 for determining a sliding direction of the sliding signal; a judging unit 30, configured to judge that a speed locking trigger signal is received when a sliding direction of the sliding signal is a first preset direction, where the speed locking trigger signal is used to lock a speed of the game object; the control unit 40 is configured to determine a target speed of the game object according to the current speed of the game object in response to the received speed locking trigger signal, and control the moving speed of the game object to be locked at the target speed, so that the problem of inconvenience in operation and control caused by a game operation and control manner in the related art is solved, and an effect of convenience in operation and control in a game process is achieved.
The embodiment of the invention provides a control device of a virtual vehicle in a touch terminal, which can be used for executing the control method of the virtual vehicle in the touch terminal.
Fig. 10 is a schematic diagram of a control apparatus of a virtual vehicle in a touch terminal according to an embodiment of the present invention, as shown in fig. 10, the apparatus includes:
the providing unit 50 is used for providing a direction controller and a speed controller in an operation interface of the touch terminal;
a first detecting unit 60, configured to detect a first touch operation applied to the direction controller, and control a moving direction of the virtual vehicle according to the first touch operation;
a second detecting unit 70, configured to detect a second touch operation applied to the speed controller, and control a moving speed of the virtual vehicle according to the second touch operation; wherein, controlling the moving speed of the virtual vehicle according to the second touch operation comprises: when the second touch operation is detected to slide along a third preset direction, determining a target speed according to the current speed of the virtual carrier, and controlling the moving speed of the virtual carrier to be locked at the target speed
The embodiment adopts a providing unit 50, which is used for providing a direction controller and a speed controller in an operation interface of the touch terminal; a first detecting unit 60, configured to detect a first touch operation applied to the direction controller, and control a moving direction of the virtual vehicle according to the first touch operation; a second detecting unit 70, configured to detect a second touch operation applied to the speed controller, and control a moving speed of the virtual vehicle according to the second touch operation; wherein, controlling the moving speed of the virtual vehicle according to the second touch operation comprises: when the second touch operation is detected to slide along the third preset direction, a target speed is determined according to the current speed of the virtual carrier, and the moving speed of the virtual carrier is controlled to be locked to the target speed, so that the problem of inconvenience in operation and control caused by a game operation and control mode in the related technology is solved, and the effect of convenience in operation and control in the game process is achieved.
The speed control device comprises a processor and a memory, wherein the judging unit, the determining unit, the locking unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the kernel can be conveniently controlled in the game process by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium, on which a program is stored, which, when executed by a processor, implements a method for controlling a speed of a game object or a method for controlling a virtual vehicle in a touch terminal.
The embodiment of the invention provides a processor, which is used for running a program, wherein the program executes a speed control method of a game object or a control method of a virtual carrier in a touch terminal when running.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: receiving a sliding signal of a speed control identifier in an operation interface; determining a sliding direction of the sliding signal; under the condition that the sliding direction of the sliding signal is a first preset direction, judging that a speed locking trigger signal is received, wherein the speed locking trigger signal is used for locking the speed of the game object; and responding to the received speed locking trigger signal, determining the target speed of the game object according to the current speed of the game object, and controlling the moving speed of the game object to be locked at the target speed. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: receiving a sliding signal of a speed control identifier in an operation interface; determining a sliding direction of the sliding signal; under the condition that the sliding direction of the sliding signal is a first preset direction, judging that a speed locking trigger signal is received, wherein the speed locking trigger signal is used for locking the speed of the game object; and responding to the received speed locking trigger signal, determining the target speed of the game object according to the current speed of the game object, and controlling the moving speed of the game object to be locked at the target speed.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (11)

1. A method of controlling the speed of a game object, comprising:
receiving a sliding signal of a speed control identifier in an operation interface;
determining a sliding direction of the sliding signal;
under the condition that the sliding direction of the sliding signal is a first preset direction, judging that a speed locking trigger signal is received, wherein the speed locking trigger signal is used for locking the speed of the game object;
responding to the received speed locking trigger signal, determining the target speed of the game object according to the current speed of the game object, and controlling the moving speed of the game object to be locked at the target speed;
after determining the sliding direction of the sliding signal, the method further comprises: under the condition that the sliding direction of the sliding signal is a second preset direction, controlling the speed of the game object according to the received trigger signal; the first preset direction comprises a horizontal left direction or a horizontal right direction, and the second preset direction comprises a vertical upward direction or a vertical downward direction.
2. The method of claim 1, wherein controlling the velocity of the game object based on the received trigger signal comprises:
and controlling the speed control identifier to move along the second preset direction according to the received trigger signal, and controlling the speed of the game object according to the moving distance of the speed control identifier.
3. The method according to claim 1, wherein in the case that the sliding direction of the sliding signal is a second preset direction, controlling the speed of the game object according to the received trigger signal comprises:
and determining the speed of the game object according to the distance between the position where the speed control identifier is slid and an equilibrium position, wherein when the position where the speed control identifier is slid is positioned above the equilibrium position, the speed is faster the farther the position is from the equilibrium position.
4. The method according to claim 3, wherein in the case that the sliding direction of the sliding signal is a second preset direction, the speed control flag is controlled to move to the equilibrium position in response to the end of the sliding signal.
5. The method according to claim 1, wherein in a case where the sliding direction of the sliding signal is a first preset direction, the current position of the speed control indicator is locked in response to an end of the sliding signal.
6. A method for controlling a virtual vehicle in a touch terminal is characterized by comprising the following steps:
providing a direction controller and a speed controller in an operation interface of the touch terminal;
detecting a first touch operation acting on the direction controller, and controlling the moving direction of the virtual carrier according to the first touch operation;
detecting a second touch operation acting on the speed controller, and controlling the moving speed of the virtual vehicle according to the second touch operation;
wherein the controlling the moving speed of the virtual vehicle according to the second touch operation includes:
when the second touch operation is detected to slide along a third preset direction, determining a target speed according to the current speed of the virtual vehicle, and controlling the moving speed of the virtual vehicle to be locked at the target speed;
and when the second touch operation is detected to slide along a fourth preset direction, controlling the moving speed of the virtual vehicle according to the moving distance of the touch point of the second touch operation.
7. The method according to claim 6, wherein a skill control is provided in an operation interface of the touch terminal;
responding to skill release operation acting on the skill control, and controlling the virtual vehicle to execute corresponding virtual skill action;
the skill control is located in a preset range of the speed controller, and the direction controller and the speed controller are respectively located on two sides of the operation interface.
8. A speed control apparatus for a game object, comprising:
the receiving unit is used for receiving a sliding signal of the speed control identifier in the operation interface;
a determination unit for determining a sliding direction of the sliding signal;
the judging unit is used for judging that a speed locking trigger signal is received under the condition that the sliding direction of the sliding signal is a first preset direction, wherein the speed locking trigger signal is used for locking the speed of the game object;
the control unit is used for responding to the received speed locking trigger signal, determining the target speed of the game object according to the current speed of the game object, and controlling the moving speed of the game object to be locked at the target speed;
the speed control device is further configured to: after the sliding direction of the sliding signal is determined, under the condition that the sliding direction of the sliding signal is a second preset direction, controlling the speed of the game object according to the received trigger signal; the first preset direction comprises a horizontal left direction or a horizontal right direction, and the second preset direction comprises a vertical upward direction or a vertical downward direction.
9. A control device for a virtual vehicle in a touch terminal is characterized by comprising:
the touch control terminal comprises a providing unit, a processing unit and a control unit, wherein the providing unit is used for providing a direction controller and a speed controller in an operation interface of the touch control terminal;
the first detection unit is used for detecting a first touch operation acting on the direction controller and controlling the moving direction of the virtual carrier according to the first touch operation;
the second detection unit is used for detecting a second touch operation acting on the speed controller and controlling the moving speed of the virtual vehicle according to the second touch operation;
wherein the controlling the moving speed of the virtual vehicle according to the second touch operation includes:
when the second touch operation is detected to slide along a third preset direction, determining a target speed according to the current speed of the virtual vehicle, and controlling the moving speed of the virtual vehicle to be locked at the target speed;
and when the second touch operation is detected to slide along a fourth preset direction, controlling the moving speed of the virtual vehicle according to the moving distance of the touch point of the second touch operation.
10. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, an apparatus on which the storage medium is located is controlled to execute the method for controlling the speed of the game object according to any one of claims 1 to 5 or the method for controlling the virtual carrier in the touch terminal according to claim 6 or 7.
11. A processor, characterized in that the processor is configured to execute a program, wherein the program executes the method for controlling the speed of the game object according to any one of claims 1 to 5 or the method for controlling the virtual vehicle in the touch terminal according to claim 6 or 7.
CN201810266889.6A 2018-03-28 2018-03-28 Speed control method and device for game object Active CN108434733B (en)

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 CN108434733A (en) 2018-08-24
CN108434733B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109260702A (en) 2018-08-30 2019-01-25 腾讯科技(深圳)有限公司 Virtual carrier control method, computer equipment and storage medium in virtual scene
CN109316745B (en) * 2018-10-12 2022-05-31 网易(杭州)网络有限公司 Virtual object motion control method and device, electronic equipment and storage medium
CN109224438B (en) * 2018-10-26 2022-06-24 网易(杭州)网络有限公司 Method and device for controlling virtual character in game
CN111338487B (en) * 2020-02-13 2021-09-14 腾讯科技(深圳)有限公司 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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8313370B2 (en) * 2008-09-02 2012-11-20 Tetris Holding Llc Video game systems and methods for providing software-based skill adjustment mechanisms for video game systems
JP5753150B2 (en) * 2012-11-16 2015-07-22 株式会社ユニバーサルエンターテインメント Game machine
CN105912162B (en) * 2016-04-08 2018-11-20 网易(杭州)网络有限公司 Control the method, apparatus and touch control device of virtual objects
CN106155553B (en) * 2016-07-05 2020-06-30 网易(杭州)网络有限公司 Virtual object motion control method and device
WO2018094628A1 (en) * 2016-11-23 2018-05-31 深圳市大疆创新科技有限公司 Method for controlling unmanned aerial vehicle, server and remote controller

Also Published As

Publication number Publication date
CN108434733A (en) 2018-08-24

Similar Documents

Publication Publication Date Title
CN108434733B (en) Speed control method and device for game object
CN109621411B (en) Information processing method, information processing device, electronic equipment and storage medium
US11883741B2 (en) Information processing method and apparatus, mobile terminal, and storage medium
KR102034367B1 (en) Information processing method and terminal, and computer storage media
CN107930122B (en) Information processing method, device and storage medium
KR102151136B1 (en) Intelligent wearable device and control method thereof
US11020665B2 (en) Information processing method and apparatus, storage medium, and electronic device for custom model editing
CN111760268B (en) Path finding control method and device in game
CN109718538B (en) Method and device for frame selection of virtual object in game, electronic equipment and storage medium
KR20180094053A (en) Programs and information processing methods
CN107899236B (en) Information processing method, information processing device, electronic equipment and storage medium
US11117048B2 (en) Video game with linked sequential touch inputs
JPWO2018216080A1 (en) Game program, information processing apparatus, information processing system, and game processing method
CN108733288B (en) Information processing method, information processing device, electronic equipment and storage medium
CN109550242B (en) Method and device for controlling virtual character in game
CN106621331B (en) A kind of game object performance objective switching method and apparatus
CN112190930B (en) Game role control method and device
US10983602B2 (en) Identifying an input device
CN112870701A (en) Control method and device of virtual role
CN108635841B (en) Method and device for controlling carrier in racing game
CN113842634B (en) Force feedback control method and device for trigger button, electronic product and medium
CN108469943A (en) It runs the triggering method and device of operation
CN115624742B (en) Control method, control terminal and computer program product
CN111330266A (en) Method and device for canceling and releasing game skills
CN110975278A (en) Method and device for simulating touch sense in game, electronic equipment and storage medium

Legal Events

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