CN108733288B - Information processing method, information processing device, electronic equipment and storage medium - Google Patents

Information processing method, information processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108733288B
CN108733288B CN201810487408.4A CN201810487408A CN108733288B CN 108733288 B CN108733288 B CN 108733288B CN 201810487408 A CN201810487408 A CN 201810487408A CN 108733288 B CN108733288 B CN 108733288B
Authority
CN
China
Prior art keywords
virtual object
drift
sliding operation
touch operation
controlling
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
CN201810487408.4A
Other languages
Chinese (zh)
Other versions
CN108733288A (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 CN201810487408.4A priority Critical patent/CN108733288B/en
Publication of CN108733288A publication Critical patent/CN108733288A/en
Application granted granted Critical
Publication of CN108733288B publication Critical patent/CN108733288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

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

Abstract

The invention provides an information processing method, an information processing device, an electronic device and a storage medium, wherein the information processing method comprises the following steps: controlling the virtual object to drift according to the first touch operation acting on the drift control area; detecting a sliding operation continuous with the first touch operation; and if the sliding operation is finished, controlling the virtual object to accelerate. The invention can improve the game control feeling and operability of the user and improve the game experience feeling of the user.

Description

Information processing method, information processing device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of control technologies, and in particular, to an information processing method and apparatus, an electronic device, and a storage medium.
Background
With the development of online games, the race games are more and more as a mainstream online game, and the functions of the race games are more and more abundant, so that the users can conveniently control the race games. The drifting and the acceleration are respectively one of the common operations in the racing game, and different operations are realized by having different control areas on the interface.
In the moving process of the virtual object, a curve appears on the current route, and a user can input a drifting operation gesture in the drifting control area so as to realize the drifting of the virtual object. In this case, if the user needs to accelerate the object, the user needs to release the finger first, end the drift, and input the acceleration operation gesture in the speed control region to accelerate the virtual object.
That is to say, in the existing technology, in order to accelerate the virtual object after the drift, the user needs to switch the gesture, the operability is poor, the user is prone to lose the control feeling and achievement feeling of the game, and the game experience feeling is reduced.
Disclosure of Invention
The invention provides an information processing method, an information processing device, electronic equipment and a storage medium, which are used for improving game control feeling and operability of a user and improving game experience feeling of the user.
In a first aspect, the present invention provides an information processing method, including:
controlling the virtual object to drift according to the first touch operation acting on the drift control area;
detecting a sliding operation continuous with the first touch operation;
and if the sliding operation is finished, controlling the virtual object to accelerate.
In a second aspect, the present invention provides an information processing apparatus comprising:
the first control module is used for controlling the virtual object to drift according to the first touch operation acting on the drift control area;
the detection module is used for detecting and detecting the sliding operation continuous to the first touch operation;
and the second control module is used for controlling the virtual object to accelerate if the sliding operation is finished.
In a third aspect, the present invention provides an electronic device comprising: input and output equipment, a memory and a processor; the input and output equipment and the memory are respectively connected with the processor;
the memory to store program instructions;
the processor is configured to implement the information processing method according to the first aspect when the program instructions are executed.
In a fourth aspect, the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the information processing method of the first aspect.
The invention provides an information processing method, an information processing device, an electronic device and a storage medium, which can control a virtual object to drift according to a first touch operation acting on a drift control area, detect a sliding operation continuous with the first touch operation, and control the virtual object to accelerate if the sliding operation is finished. Due to the method, the virtual object can be controlled to accelerate under the condition that the sliding operation which is continuous with the first touch operation and drifts with the virtual object is detected to be finished, and no additional acceleration operation gesture needs to be input, so that the drifting and acceleration operations are more coherent, a user can operate the virtual object more easily and can get the virtual object easily, the experience of complicated operation of drifting and acceleration is effectively improved, the palm control performance and operability of the user for games are improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first flowchart of an information processing method according to an embodiment of the present invention;
fig. 2 is a second flowchart of an information processing method according to an embodiment of the present invention;
fig. 3 is a third flowchart of an information processing method according to an embodiment of the present invention;
FIG. 4 is a fourth flowchart of an information processing method according to an embodiment of the present invention;
fig. 5 is a fifth flowchart of an information processing method according to an embodiment of the present invention;
fig. 6A is a first schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
FIG. 6B is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
fig. 6C is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
It should be noted that the terms "first", "second", third "and the like in the various parts of the embodiments and drawings are used for distinguishing similar objects and not necessarily for describing a particular order or sequence. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. 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 method flow diagrams of the embodiments of the invention described below are merely exemplary and do not necessarily include all of the contents and steps, nor do they necessarily have to be performed in the order described. For example, some steps may be broken down and some steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
The functional blocks in the block diagrams referred to in the embodiments of the present invention described below are only functional entities and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processors and/or microcontrollers.
The following describes an information processing method, an information processing apparatus, an electronic device, and a storage medium according to embodiments of the present invention with reference to a plurality of examples.
Fig. 1 is a first flowchart of an information processing method according to an embodiment of the present invention. The information processing method can be realized by executing corresponding software codes by a processing device of the terminal installed by the game software/client, such as a processor, or by executing corresponding software codes by the processing device of the terminal and combining other hardware entities. Examples of the terminal include a desktop computer, a notebook, a Personal Digital Assistant (PDA), a smart phone, a tablet computer, and a game machine. In this embodiment, a terminal is used as an execution main body for description, and the execution manner of the server is similar, which is not described herein again.
The processor of the terminal can generate a graphical interactive interface by executing the software application and rendering on the display equipment, and a virtual object can be generated by rendering on the graphical interactive interface in the process of generating the graphical interactive interface. The software application may be a game application and the virtual object may be referred to as a game object.
Specifically, a user may download a game-like application program or a web page program of a browser and install the game-like application program or the web page program on the terminal, if the game application runs on the terminal, a graphical interactive interface may be rendered and generated on the display device, and the user may operate the graphical interactive interface of the display device to control the virtual object, thereby playing the game, and the graphical interactive interface may also display a scene in the running game. The display device may be a display device of the terminal, or may be another device separated from the terminal, and is not limited herein.
The software application may be a race-type game application, and the virtual objects may move in a forward direction along a predetermined route within a predetermined area starting from the same start point line on the graphical interactive interface to reach the finish point line as quickly as possible to achieve a match between different virtual objects, or a match between one virtual object and a history, etc. The preset route may be a map route preset in a game scene, or may be a preset moving route of the virtual object, and the virtual object may move on the preset route based on control of a user.
The virtual object may be, for example, a virtual racing car such as a virtual bicycle, a virtual motorcycle, a virtual car, or a virtual motorboat, or a virtual object that can be steered at a high speed such as a virtual sled, a virtual aircraft, a virtual sphere, a virtual wheel, or even a virtual character. The preset area may be, for example, a road in a game scene where the virtual object is located, which is also called a channel, a track, or the like.
As shown in fig. 1, the information processing method shown in the present embodiment may include the following:
s101, controlling the virtual object to drift according to the first touch operation acting on the drift control area.
To achieve the drift of the virtual object, the graphical interactive interface may have a drift control region. When the first touch operation acting on the drift control area is detected, the virtual object can be controlled to drift.
In one example, a drift button may be displayed in the drift control region, and the first touch operation applied to the drift control region may be, for example, a touch operation applied to the drift button in the drift control region. The shape of the button can be any one of a circle, an ellipse, a rectangle and the like.
In another example, no button may be displayed in the drift control region as long as the first touch operation is performed in the drift control region.
The first touch operation may include: one or more combinations of clicking, touching, re-pressing and long-pressing.
S102, detecting the sliding operation continuous with the first touch operation.
While or after detecting the first touch operation acting on the drift control region, whether the first touch operation disappears can be detected, and if the first touch operation does not disappear, the sliding operation continuous with the first touch operation is detected. For example, if the first touch operation is a touch operation performed by a finger on the control area, in a specific implementation process, if a touch signal of the first touch operation is not detected, it may be determined that the finger leaves the interface; otherwise, if the touch signal of the first touch operation is detected, it is determined that the finger does not leave the interface. Whether the touch signal of the first touch operation is detected, that is, whether the first touch operation disappears, may be obtained by detecting a change in a capacitance value, a current value, or other parameters at a corresponding position on the display screen, for example.
The detection of the sliding operation continuous with the first touch operation can be performed by detecting the position change of the touch point of the sliding operation on the interface. The touch point of the sliding operation changes with the progress of the sliding operation. In one implementation, a sliding operation that is continuous with the first touch operation may be detected within the drift control region. That is, the touch point of the sliding operation is also in the drift control region, and the touch point of the sliding operation changes in the drift control region before the sliding operation is not completed.
In the method, the sliding operation continuous with the first touch operation can be detected according to a preset period while or after the virtual object is drifted, and real-time detection can be performed during the drifting process of the virtual object. Of course, detection may be performed in other scenarios as well.
And S103, controlling the virtual object to accelerate when the sliding operation is finished.
Whether the sliding operation is ended or not may be determined according to a change in the position of the touch point of the sliding operation. For example, when it is detected that the touch point of the sliding operation does not change within a preset time, it may be determined that the sliding operation is ended; when it is detected that the touch point of the sliding operation is continuously changed, it is determined that the sliding operation is not ended.
Once the sliding operation continuous with the first touch operation is detected to be finished, the virtual object can be controlled to accelerate without additionally inputting an acceleration operation gesture.
In one implementation, if the sliding operation is detected to be finished, controlling the virtual object to accelerate; in another implementation manner, if it is detected that the sliding operation is ended, it may be further detected whether the virtual object satisfies another acceleration condition, and if so, the virtual object is controlled to accelerate. If not, the process may return to the step S101. Other acceleration conditions may include, for example: whether the virtual nitrogen amount of the virtual object meets preset requirements or not.
The information processing method provided in this embodiment can control the virtual object to drift according to the first touch operation applied to the drift control region, detect the sliding operation continuous with the first touch operation, and control the virtual object to accelerate if the sliding operation is finished. Due to the method, the virtual object can be controlled to accelerate under the condition that the continuous sliding operation of the first touch operation acting on the drift control area is detected to be finished, no additional acceleration operation gesture needs to be input, so that the drift and acceleration operations are more coherent, a user can operate the virtual object more easily and easily, the experience of complex operation of drift and acceleration is effectively improved, the palm control performance and operability of the user for games are improved, and the user experience is improved.
In addition, in the method, no additional space needs to be added on the interface, and the virtual object can be controlled to accelerate as long as the continuous sliding operation of the first touch operation acting on the drift control area is detected to be finished, so that the function reuse of the drift control area is realized, and the space utilization rate on the interface is improved.
Optionally, fig. 2 is a second flowchart of the information processing method according to the embodiment of the present invention. As shown in fig. 2, the controlling the virtual object to drift according to the first touch operation applied to the drift control region in S101 in fig. 1 may include:
s201, controlling the virtual object to enter a drifting state according to the first touch operation.
That is, the first touch operation may be a trigger operation for drifting the virtual object. Once the first touch operation is detected, the virtual object can be controlled to enter a drifting state according to the first touch operation, namely, the virtual object starts to drift. In this embodiment, when the virtual object enters the drift state, for example, the virtual object may drift according to a preset drift strength. The drift strength may be a drift coefficient that may be used to indicate steering information such as steering angle, angular velocity of movement, etc. of the object at the time of drift.
S202, controlling a drift direction of the virtual object according to a second touch operation applied to the direction control area, wherein the first touch operation and the second touch operation are at least partially overlapped in time sequence.
To control the moving direction of the virtual object, the graphic interactive interface can also be provided with a direction control area. For example, the direction control area may have a direction control button therein, and the second touch operation applied to the direction control area may be a touch operation applied to the direction control button in the direction control area. The second touch operation may be, for example, one or a combination of multiple operations such as a click operation, a touch operation, and a long-press operation corresponding to the directional control button. The direction control buttons may be, for example, up, down, left, right, etc. control buttons.
In the method, the virtual object can be controlled to drift according to the first touch operation, and the drift direction of the virtual object is controlled according to the second touch operation acting on the direction control button, so that the drift control of the virtual object is more accurate.
Optionally, fig. 3 is a flowchart of a third information processing method according to an embodiment of the present invention. As shown in fig. 3, the controlling the virtual object to drift according to the first touch operation applied to the drift control region in S101 in fig. 1 may include:
s301, controlling the virtual object to enter a drifting state according to the first touch operation.
The specific implementation and related description of S301 may be similar to S201 described above, and refer to the above specifically, and are not described herein again.
S302, curve information of the virtual track is detected.
In this method, the curve information of the virtual course may be detected before the virtual object is in the drift state, or the curve information of the virtual course may be detected at the same time or after. That is, S301 may be executed sequentially or simultaneously with S302, i.e., the execution order is not limited.
And S303, controlling the drifting direction of the virtual object according to the curve information.
That is, in this embodiment, after the virtual object is controlled to perform the drifting state according to the first touch operation, the drifting direction of the virtual object can be controlled according to the detected curve information, so as to achieve the automatic control of the drifting direction.
Optionally, fig. 4 is a fourth flowchart of the information processing method according to the embodiment of the present invention. As shown in fig. 4, the step of detecting the sliding operation continued to the first touch operation in S102 may include the following steps:
s401, detecting whether the touch point of the sliding operation is in the drift control area.
In implementation, whether the touch point of the sliding operation exists on the display screen may be detected, if so, it may be determined that the touch point of the sliding operation is still in the drift control region by detecting whether the touch point of the sliding operation exceeds the boundary range of the drift control region, and if not, it may be determined that the touch point of the sliding operation is still in the drift control region. Otherwise, if the touch point of the sliding operation exceeds the boundary range of the drift control area, it is determined that the touch point of the sliding operation is not in the drift control area. Of course, if there is no touch point of the sliding operation on the display screen, it may also be determined that the touch point of the sliding operation is not in the drift control area, i.e. the finger leaves the interface.
S402, if the touch point of the sliding operation is in the drift control area, detecting the moving distance of the sliding operation within a preset time period.
It should be noted that, in fig. 4, S401 may not be executed, and the step of detecting the moving distance of the sliding operation within the preset time period in S402 is directly executed.
The starting time of the preset time period may be a preset time point after the touch point of the sliding operation is detected in the drift control region or at the same time when the touch point of the sliding operation is detected in the drift control region. Of course, the starting time of the preset time period may also be other time points, which are not described herein again. The preset time period may be represented as a time period T, for example.
The moving distance of the sliding operation may be a moving distance of the sliding operation within the drift control region.
In one implementation, the movement distance of the sliding operation may be the movement distance of the sliding operation in any direction within the drift control region.
In another implementation, the moving distance of the sliding operation may be a moving distance of the sliding operation in a preset direction within the drift control region. The preset direction may be represented as direction D, for example.
That is, detecting the moving distance of the sliding operation within the preset time period in S402 as shown above may include:
and detecting the moving distance of the sliding operation in a preset direction in the preset time period.
S403, judging whether the moving distance of the sliding operation is larger than or equal to a preset distance.
As shown above in S103, before controlling the virtual object to accelerate when the sliding operation is finished, the method may further include:
s404, if the moving distance of the sliding operation is larger than or equal to the preset distance, whether the sliding operation is finished is detected.
The preset distance may be an acceleration trigger distance in the drift control region, and once the movement distance of the sliding operation is detected to be greater than or equal to the preset distance, it may be detected whether the sliding operation is finished.
If the moving distance of the sliding operation is smaller than the preset distance, the step S401 may be executed to detect whether the touch point of the sliding operation is in the drift control area.
In a specific implementation, if it is detected that the sliding operation is finished, the virtual object may be controlled to accelerate according to a preset acceleration, and the acceleration direction and the acceleration magnitude may also be determined according to the moving direction, the moving distance, or other parameters of the sliding operation, so as to control the virtual object to accelerate.
Optionally, the detecting the sliding operation continuous with the first touch operation in S102 may further include:
and recording the first touch operation when the virtual object drifts.
That is, after detecting the first touch operation acting on the drift control region, the first touch operation may be recorded, so as to detect a sliding operation continuous with the first touch operation, so that the control of the virtual object is more accurate.
The record of the first touch operation may be a record of a touch parameter corresponding to the first touch operation, and of course, the touch parameter may include at least one of the following parameters: the starting time of the first touch operation, the position of the touch point of the first touch operation in the drift control area and other parameters.
Before recording the first touch operation, the moving speed of the virtual object may be detected, and if the moving speed of the virtual object is greater than 0, it may be determined that the virtual object is in motion, that is, the moving virtual object. On the contrary, if the moving speed of the virtual object is 0, it can be determined that the virtual object is in a static state, and the detection of the moving speed of the virtual object needs to be continuously performed until the virtual object is in motion.
The method can detect whether the sliding operation is finished or not when the moving distance of the sliding operation within the preset time is detected to be larger than or equal to the preset distance under the condition that the touch point of the sliding operation continuous with the first touch operation is determined to be in the drift control area, and then controls the virtual object to accelerate after the sliding operation is finished, so that the virtual object can be controlled more accurately.
The embodiment of the present invention may further provide an information processing method, which may be exemplified by an example. Fig. 5 is a fifth flowchart of an information processing method according to an embodiment of the present invention. The information processing method may include:
s501, detecting whether the moving speed of the virtual object is larger than 0.
If the moving speed of the virtual object is greater than 0, executing the following S502; on the other hand, if the moving speed of the virtual object is 0, the process continues to S501.
S502, if the moving speed of the virtual object is greater than 0, detecting a first touch operation applied to the drift control region.
S503, if the first touch operation is detected, controlling the virtual object to drift according to the first touch operation.
In the implementation process, by detecting the first touch operation acting in the drift control region, if the first touch operation is detected, S503 may be executed to control the virtual object to drift, that is, it may be determined that the virtual object has started to drift. Otherwise, if the first touch operation has not been received, it may be determined that the virtual object has not started to drift, and the process may return to the step S501.
S504, a sliding operation continuous with the first touch operation is detected.
And S505, detecting whether the touch point of the sliding operation is in the drift control area.
If the touch point of the sliding operation is in the drift control region, the following S506 is executed; otherwise, if the touch point of the sliding operation is not in the drift control region, the process returns to step S501.
S506, if the touch point of the sliding operation is in the drift control region, detecting a moving distance of the touch point of the sliding operation in a preset direction within a preset time.
S507, judging whether the moving distance of the sliding operation is larger than or equal to a preset distance.
If the moving distance of the sliding operation is greater than or equal to the preset distance, continuing to execute the following step S508; otherwise, if the moving distance of the sliding operation is smaller than the preset distance, the process returns to step S501.
And S508, if the moving distance of the sliding operation is greater than or equal to the preset distance, detecting whether the sliding operation is finished.
If the sliding operation is finished, the following S509 is executed; otherwise, if the sliding operation has not been completed, the process returns to S501.
S509, if the sliding operation is finished, determine whether the virtual object satisfies another acceleration condition.
Such other acceleration conditions may include, for example: whether the virtual nitrogen amount of the virtual object meets the preset requirement or not
If the virtual object satisfies the other acceleration condition, the following step S510 is executed; otherwise, if the virtual object does not satisfy the other acceleration condition, the process returns to the step S501.
And S510, if the virtual object meets the other acceleration conditions, determining an acceleration according to the moving distance of the sliding operation, and controlling the virtual object to accelerate according to the acceleration.
In the information processing method, the virtual object can be controlled to drift according to the first touch operation acting on the drift control area, the sliding operation continuous with the first touch operation is detected, if the sliding operation is finished, the virtual object can be controlled to accelerate, and an additional acceleration operation gesture does not need to be input, so that the drift and acceleration operations are more coherent, a user can operate the virtual object more easily and can operate the virtual object easily, the experience of complex operation of drift and acceleration is effectively improved, the palm control performance and operability of the user for games are improved, and the user experience is improved. In addition, in the method, no additional space needs to be added on the interface, and the virtual object can be controlled to accelerate as long as the continuous sliding operation of the first touch operation acting on the drift control area is detected to be finished, so that the function reuse of the drift control area is realized, and the space utilization rate on the interface is improved.
It should be noted that, the setting of the parameters such as the preset distance, the preset time, the preset direction, the preset acceleration and the like mentioned above is performed according to actual requirements or is statistically obtained by the terminal according to historical experience values, and the specific values thereof are not limited in the present invention.
The following is an embodiment of the apparatus of the present invention, which can be used to implement the above-mentioned embodiment of the method of the present invention, and the implementation principle and technical effects are similar.
Fig. 6A is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention. The information apparatus obtains a graphical interactive interface by executing a software application on a processor of the terminal and rendering on a display device. As shown in fig. 6A, the information processing apparatus 60 of the present embodiment may include: a first control module 61, a detection module 62, a second control module 63. Wherein the content of the first and second substances,
the first control module 61 is configured to control the virtual object to drift according to the first touch operation applied to the drift control region.
The first detecting module 62 is configured to detect a sliding operation that is continuous with the first touch operation.
And a second control module 63, configured to control the virtual object to accelerate if the sliding operation is finished.
The information processing device provided by the invention can control the virtual object to accelerate under the condition of detecting the end of the continuous sliding operation of the first touch operation acting on the drift control area, and does not need to input an additional acceleration operation gesture, so that the drift and acceleration operations are more coherent, a user can operate easily and can get hands easily, the experience of complex operation of drift and acceleration is effectively improved, the palm control performance and operability of the user for games are improved, and the user experience is improved.
Optionally, the first control module 61 is specifically configured to control the virtual object to enter a drift state according to the first touch operation; and controlling the drift direction of the virtual object according to a second trigger operation acting on the direction control area, wherein the first touch operation and the second touch operation are at least partially overlapped in time sequence.
Optionally, fig. 6B is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention. In addition to fig. 6A described above, the information processing apparatus 60 may further include:
and a second detection module 64 for detecting curve information of the virtual racetrack.
The second control module 63 is specifically configured to control the virtual object to enter a drifting state according to the first touch operation, and control a drifting direction of the virtual object according to the curve information.
Optionally, the first detecting module 62 is specifically configured to detect a moving distance of the sliding operation within a preset time.
Optionally, fig. 6C is a schematic structural diagram of an information processing apparatus according to an embodiment of the present invention. In addition to fig. 6A described above, the information processing apparatus 60 may further include:
the determining module 65 is configured to determine whether the moving distance of the sliding operation is greater than or equal to a preset distance.
Correspondingly, the first detecting module 62 is specifically configured to detect whether the sliding operation is finished if the moving distance of the sliding operation is greater than or equal to the preset distance.
Optionally, the first detecting module 62 is specifically configured to determine a moving distance of the sliding operation in a preset direction within a preset time.
Optionally, the second control module 63 is specifically configured to determine an acceleration according to the movement distance of the sliding operation; and controlling the virtual object to accelerate according to the acceleration.
The information processing apparatus provided in this embodiment can execute the information processing method shown in any one of fig. 1 to fig. 5, and specific implementation and effective effects thereof can be seen from the above description, and are not described herein again.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 7, the electronic apparatus 70 of the present embodiment includes: an input-output device 71, a memory 72, and a processor 73. The input/output device 71 and the memory 72 are connected to the processor 73 via a bus.
A memory 72 for storing program instructions.
A processor 73 for controlling the virtual object to drift according to a first touch operation acting on the drift control region when the program instructions are executed;
detecting a sliding operation continuous with the first touch operation;
and if the sliding operation is finished, controlling the virtual object to accelerate.
Optionally, the processor 73 is specifically configured to control the virtual object to enter a drift state according to the first touch operation, and control a drift direction of the virtual object according to a second touch operation applied to the direction control area, where the first touch operation and the second touch operation are at least partially overlapped in time sequence.
Optionally, the processor 73 is specifically configured to control the virtual object to enter a drift state according to the first touch operation; detecting curve information of a virtual track; controlling a drift direction of the virtual object according to the curve information.
Optionally, the processor 73 is specifically configured to detect a moving distance of the sliding operation within a preset time.
Optionally, the processor 73 is further configured to determine whether a moving distance of the sliding operation is greater than or equal to a preset distance; if yes, whether the sliding operation is finished or not is detected.
Optionally, the processor 73 is specifically configured to detect a moving distance of the sliding operation in a preset direction within the preset time period.
Optionally, the processor 73 is specifically configured to determine an acceleration according to the moving distance of the sliding operation; and controlling the virtual object to accelerate according to the acceleration.
The electronic device of this embodiment may execute the information processing method shown in any one of fig. 1 to fig. 5, and specific implementation and effective effects thereof can be referred to above, and are not described herein again.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program can be executed by the processor 73 described in fig. 7 to implement the information processing method shown in any embodiment, and specific implementation and effective effects thereof can be seen from the foregoing, and are not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media capable of storing program codes, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (16)

1. An information processing method, characterized in that the method comprises:
controlling the virtual object to drift according to the first touch operation acting on the drift control area;
detecting a sliding operation which is continuous with the first touch operation in the drift control area;
if the touch point of the sliding operation in the drift control area is not changed within the preset time, judging that the sliding operation is finished, and controlling the virtual object to accelerate.
2. The method of claim 1, wherein controlling the virtual object to drift according to the first touch operation applied to the drift control region comprises:
controlling the virtual object to enter a drifting state according to the first touch operation;
and controlling the drift direction of the virtual object according to a second touch operation acting on a direction control area, wherein the first touch operation and the second touch operation are at least partially overlapped in time sequence.
3. The method of claim 1, wherein controlling the virtual object to drift according to the first touch operation applied to the drift control region comprises:
controlling the virtual object to enter a drifting state according to the first touch operation;
detecting curve information of a virtual track;
and controlling the drift direction of the virtual object according to the curve information.
4. The method of claim 1, wherein the detecting the sliding operation that is continuous with the first touch operation comprises:
and detecting the moving distance of the sliding operation within a preset time.
5. The method of claim 4, further comprising:
judging whether the moving distance of the sliding operation is greater than or equal to a preset distance;
and if so, detecting whether the sliding operation is finished or not.
6. The method according to claim 4, wherein the detecting the moving distance of the sliding operation within the preset time comprises:
and detecting the moving distance of the sliding operation in a preset direction within the preset time.
7. The method according to any of claims 4-6, wherein said controlling the virtual object to accelerate comprises:
determining acceleration according to the moving distance of the sliding operation;
and controlling the virtual object to accelerate according to the acceleration.
8. An information processing apparatus characterized in that the apparatus comprises:
the first control module is used for controlling the virtual object to drift according to the first touch operation acting on the drift control area;
the first detection module is used for detecting the sliding operation which is continuous with the first touch operation in the drift control area;
and the second control module is used for judging that the sliding operation is finished and controlling the virtual object to accelerate if the touch point of the sliding operation in the drift control area is not changed within preset time.
9. The apparatus of claim 8,
the first control module is specifically configured to control the virtual object to enter a drift state according to the first touch operation; and controlling the drift direction of the virtual object according to a second touch operation acting on a direction control area, wherein the first touch operation and the second touch operation are at least partially overlapped in time sequence.
10. The apparatus of claim 8, further comprising:
the second detection module is used for detecting curve information of the virtual track;
the first control module is specifically configured to control a virtual object to enter a drifting state according to the first touch operation, and control a drifting direction of the virtual object according to the curve information.
11. The apparatus of claim 8,
the first detection module is specifically configured to detect a movement distance of the sliding operation within a preset time.
12. The apparatus of claim 11, further comprising:
the judging module is used for judging whether the moving distance of the sliding operation is greater than or equal to a preset distance;
the first detection module is specifically configured to detect whether the sliding operation is finished if the movement distance of the sliding operation is greater than or equal to the preset distance.
13. The apparatus of claim 11,
the first detection module is specifically configured to detect a moving distance of the sliding operation in a preset direction within a preset time.
14. The apparatus according to any one of claims 11-13,
the second control module is specifically configured to determine an acceleration according to the movement distance of the sliding operation; and controlling the virtual object to accelerate according to the acceleration.
15. An electronic device, comprising: input and output equipment, a memory and a processor; the input and output equipment and the memory are respectively connected with the processor;
the memory to store program instructions;
the processor, when the program instructions are executed, implementing the information processing method of any one of claims 1 to 7.
16. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the information processing method according to any one of claims 1 to 7.
CN201810487408.4A 2018-05-21 2018-05-21 Information processing method, information processing device, electronic equipment and storage medium Active CN108733288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810487408.4A CN108733288B (en) 2018-05-21 2018-05-21 Information processing method, information processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810487408.4A CN108733288B (en) 2018-05-21 2018-05-21 Information processing method, information processing device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108733288A CN108733288A (en) 2018-11-02
CN108733288B true CN108733288B (en) 2021-01-26

Family

ID=63938734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810487408.4A Active CN108733288B (en) 2018-05-21 2018-05-21 Information processing method, information processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108733288B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110013671B (en) * 2019-05-05 2020-07-28 腾讯科技(深圳)有限公司 Action execution method and device, storage medium and electronic device
CN110152295B (en) * 2019-05-21 2023-09-26 网易(杭州)网络有限公司 Virtual object control method and device, storage medium and electronic equipment
CN110090443B (en) 2019-05-24 2021-03-16 腾讯科技(深圳)有限公司 Virtual object control method and device, storage medium and electronic device
CN117122905A (en) * 2022-05-20 2023-11-28 腾讯科技(成都)有限公司 Virtual vehicle control method, device, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202939593U (en) * 2012-12-03 2013-05-15 博睿祥科技(天津)有限公司 Palm terminal for racing games
CN106861186A (en) * 2017-01-24 2017-06-20 腾讯科技(深圳)有限公司 Object control method and apparatus in game application
US9687741B1 (en) * 2015-03-10 2017-06-27 Kabam, Inc. System and method for providing separate drift and steering controls
CN107870723A (en) * 2017-10-16 2018-04-03 华为技术有限公司 A kind of suspension button display methods and terminal device
CN108037888A (en) * 2017-12-11 2018-05-15 网易(杭州)网络有限公司 Technical ability control method, device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202939593U (en) * 2012-12-03 2013-05-15 博睿祥科技(天津)有限公司 Palm terminal for racing games
US9687741B1 (en) * 2015-03-10 2017-06-27 Kabam, Inc. System and method for providing separate drift and steering controls
CN106861186A (en) * 2017-01-24 2017-06-20 腾讯科技(深圳)有限公司 Object control method and apparatus in game application
CN107870723A (en) * 2017-10-16 2018-04-03 华为技术有限公司 A kind of suspension button display methods and terminal device
CN108037888A (en) * 2017-12-11 2018-05-15 网易(杭州)网络有限公司 Technical ability control method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108733288A (en) 2018-11-02

Similar Documents

Publication Publication Date Title
CN108733288B (en) Information processing method, information processing device, electronic equipment and storage medium
CN109865286B (en) Information processing method and device in game and storage medium
CN106155553B (en) Virtual object motion control method and device
CN106249882B (en) Gesture control method and device applied to VR equipment
CN108635852B (en) Information processing method, information processing device, electronic equipment and storage medium
CN107008003B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN107019909B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN108037888B (en) Skill control method, skill control device, electronic equipment and storage medium
CN112162665B (en) Operation method and device
JP6921192B2 (en) Game programs, information processing devices, information processing systems, and game processing methods
CN107273037A (en) Virtual object control method and device, storage medium, electronic equipment
CN110201387B (en) Object control method and device, storage medium and electronic device
CN109908581B (en) Game operation method, device and equipment
CN108553892B (en) Virtual object control method and device, storage medium and electronic equipment
WO2013031135A1 (en) Information processing apparatus, information processing method, and program
WO2018216080A1 (en) Game program, information processing device, information processing system, and game processing method
JP5835255B2 (en) Graph display device and graph display program
CN108595022A (en) Virtual role direction of travel method of adjustment and device, electronic equipment, storage medium
CN109107153B (en) Method and device for releasing game skill, electronic equipment and storage medium
CN103038737A (en) Highlighting of objects on a display
CN108671542B (en) Information processing method, information processing device, electronic equipment and storage medium
CN111773720A (en) Virtual object control method and device, storage medium and electronic device
CN105320410A (en) Method and device for touch control on touch terminal
CN110662587B (en) Game program, information processing device, information processing system, and game processing method
JP6018474B2 (en) Program, information processing apparatus, information processing method, and information processing system

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