Virtual vehicle control method and device, terminal equipment and storage medium
By releasing the accelerator when the virtual vehicle is vacated and performing operations on the accelerator control when it is landed, the virtual vehicle's landing speed-up technique is realized, and the problem of slippage after the virtual vehicle is vacated and landed is solved, improving the richness of the control method and user experience.
Patent Information
- Application Number
- CN202510449989.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-20
- Publication Date
- 2025-06-20
AI Technical Summary
In vehicle racing games, virtual vehicles will slip after they are vacant and landed, and the control method is relatively single and lacks richness.
A virtual vehicle control method is provided, by releasing the accelerator in the vacant state and performing operations on the accelerator control at the time of landing, the virtual vehicle is realized, providing additional power to accelerate and move forward.
It improves the richness of the control methods of virtual vehicles. Through the speed-up technique of landing, virtual vehicles can obtain additional power for a certain period of time, improves the user's control experience, and partially or completely offsets the impact of landing on vehicle speed.
Smart Images

Figure CN120168968A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with the application date of May 20, 2022, the application number of 202210557037.9, and the invention title of "Control Method, Device, Terminal Device and Storage Medium of Virtual Vehicle". Technical Field
[0002] Embodiments of the present application relate to the fields of Internet and computer technologies, and particularly relate to a control method, device, terminal device and storage medium of a virtual vehicle. Background Art
[0003] In vehicle racing games, users can control virtual vehicles to perform operations such as turning, drifting, and soaring into the air.
[0004] In the related art, after a virtual vehicle soars into the air and then lands, there will be a skidding phenomenon for a certain period of time. After the skidding of the virtual vehicle ends and the user controls the vehicle to move, the control method of the virtual vehicle is relatively single. Summary of the Invention
[0005] Embodiments of the present application provide a control method, device, terminal device and storage medium of a virtual vehicle, which can improve the richness of the control method of the virtual vehicle. The technical solution is as follows:
[0006] According to one aspect of the embodiments of the present application, a control method of a virtual vehicle is provided. The method includes:
[0007] Display a virtual vehicle in a soaring state, where the soaring state is a state where the virtual vehicle is not in contact with the ground of the virtual environment;
[0008] Control the virtual vehicle to change from the soaring state to a landing state, where the landing state is a state where the virtual vehicle is in contact with the ground of the virtual environment;
[0009] At the landing moment of the virtual vehicle, if the virtual vehicle is in a state where the throttle is released, control the virtual vehicle to move forward and decelerate; where the landing moment refers to the moment when changing from the soaring state to the landing state;
[0010] Within a first duration starting from the landing moment, in response to a first operation on the throttle control, control the virtual vehicle to move forward and accelerate with an additional first power.
[0011] According to one aspect of the embodiments of the present application, a control method of a virtual vehicle is provided. The method includes:
[0012] Display a virtual vehicle in a soaring state, where the soaring state is a state where the virtual vehicle is not in contact with the ground of the virtual environment;
[0013] Control the virtual vehicle to change from the airborne state to the landing state, where the landing state is the state in which the virtual vehicle is in contact with the ground of the virtual environment;
[0014] At the landing moment of the virtual vehicle, if the virtual vehicle is in the throttle released state, control the virtual vehicle to move forward with deceleration; where the landing moment is the moment when changing from the airborne state to the landing state;
[0015] Within a first time period starting from the landing moment, if an operation on the charging control is detected first and then a first operation on the throttle control is detected, control the virtual vehicle to move forward with an additional third power for acceleration.
[0016] According to one aspect of the embodiments of the present application, a control device for a virtual vehicle is provided, and the device includes:
[0017] A vehicle display module, configured to display a virtual vehicle in an airborne state, where the airborne state is the state in which the virtual vehicle is not in contact with the ground of the virtual environment;
[0018] A vehicle control module, configured to control the virtual vehicle to change from the airborne state to the landing state, where the landing state is the state in which the virtual vehicle is in contact with the ground of the virtual environment;
[0019] The vehicle control module is further configured to, at the landing moment of the virtual vehicle, if the virtual vehicle is in the throttle released state, control the virtual vehicle to move forward with deceleration; where the landing moment is the moment when changing from the airborne state to the landing state;
[0020] The vehicle control module is further configured to, within a first time period starting from the landing moment, in response to a first operation on the throttle control, control the virtual vehicle to move forward with an additional first power for acceleration.
[0021] According to one aspect of the embodiments of the present application, a control device for a virtual vehicle is provided, and the device includes:
[0022] A vehicle display module, configured to display a virtual vehicle in an airborne state, where the airborne state is the state in which the virtual vehicle is not in contact with the ground of the virtual environment;
[0023] A vehicle control module, configured to control the virtual vehicle to change from the airborne state to the landing state, where the landing state is the state in which the virtual vehicle is in contact with the ground of the virtual environment;
[0024] The vehicle control module is further configured to, at the landing moment of the virtual vehicle, if the virtual vehicle is in the state of releasing the throttle, control the virtual vehicle to move forward and decelerate; wherein, the landing moment refers to the moment when the virtual vehicle changes from the airborne state to the landing state.
[0025] The vehicle control module is further configured to, within a first time period starting from the landing moment, if an operation on the charging control is detected first and then a first operation on the throttle control is detected, control the virtual vehicle to move forward and accelerate with an additional third power.
[0026] According to one aspect of the embodiments of the present application, a terminal device is provided. The terminal device includes a processor and a memory. At least one program is stored in the memory, and the at least one program is loaded and executed by the processor to implement the above-mentioned control method of the virtual vehicle.
[0027] According to one aspect of the embodiments of the present application, a computer-readable storage medium is provided. At least one program is stored in the computer-readable storage medium, and the at least one program is loaded and executed by the processor to implement the above-mentioned control method of the virtual vehicle.
[0028] According to one aspect of the embodiments of the present application, a computer program product is provided. The computer program product includes a computer program, and the computer program is stored in a computer-readable storage medium. The processor of the computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above-mentioned control method of the virtual vehicle.
[0029] The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
[0030] During the process of the virtual vehicle taking off and landing, the user releases the throttle when the virtual vehicle takes off and performs a first operation on the throttle control after the virtual vehicle lands, thereby realizing the landing speed-up skill for the virtual vehicle. The virtual vehicle can obtain an additional power for a certain period of time to move forward, which enriches the control methods of the virtual vehicle.
[0031] In addition, the additional power for a certain period of time brought by the landing speed-up skill of the virtual vehicle partially or completely offsets the influence of the virtual vehicle taking off and landing on the vehicle speed, improving the user's control experience of the virtual vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is a schematic diagram of an interface provided by an embodiment of the present application;
[0033] Figure 2 is a schematic diagram of an interface provided by another embodiment of the present application;
[0034] Figure 3 It is a schematic diagram of an interface provided by another embodiment of the present application;
[0035] Figure 4 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;
[0036] Figure 5 It is a flowchart of a control method for a virtual vehicle provided by an embodiment of the present application;
[0037] Figure 6 It is a flowchart of a control method for a virtual vehicle provided by another embodiment of the present application;
[0038] Figure 7 It is a flowchart of a control method for a virtual vehicle provided by another embodiment of the present application;
[0039] Figure 8 It is a flowchart of a control method for a virtual vehicle provided by another embodiment of the present application;
[0040] Figure 9 It is a flowchart of a control method for a virtual vehicle provided by another embodiment of the present application;
[0041] Figure 10 It is a flowchart of a control method for a virtual vehicle provided by another embodiment of the present application;
[0042] Figure 11 It is a block diagram of a control device for a virtual vehicle provided by an embodiment of the present application;
[0043] Figure 12 It is a block diagram of a control device for a virtual vehicle provided by another embodiment of the present application;
[0044] Figure 13 It is a block diagram of a control device for a virtual vehicle provided by another embodiment of the present application;
[0045] Figure 14 It is a block diagram of a control device for a virtual vehicle provided by another embodiment of the present application;
[0046] Figure 15 It is a block diagram of a terminal device provided by an embodiment of the present application. Detailed implementation manners
[0047] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of methods consistent with some aspects of the present application as detailed in the appended claims.
[0048] As Figure 1 sub - figure (a) of Figure 2 and / or as shown in sub - figure (a) of
[0049] As Figure 1 sub - figure (b) of Figure 2 and / or as shown in sub - figure (b) of
[0050] As Figure 1 shown in sub - figure (c) of Figure 2 within 1.5 seconds after the virtual vehicle 11 lands, if the user clicks the throttle control 12, triggering the landing speed - up skill, the power of the virtual vehicle 11 is increased to 1.5 times the standard power and it accelerates forward at 1.5 times the standard power for at least 0.3 seconds; or, as
[0051] As Figure 1 shown in sub - figure (c) of
[0052] within 1.5 seconds starting from when the virtual vehicle 11 lands, if the user clicks the nitrogen control 14 and then clicks the throttle control 12, triggering the supercharged nitrogen skill, the power of the virtual vehicle 11 is increased to 1.5 times the standard power and it accelerates forward at 1.5 times the standard power for at least 0.3 seconds.
[0051] As Figure 1 shown in sub - figure (d) of
[0052] After the user performs the operation of clicking the throttle control 12 as described above, if not releasing the hand and long - pressing the throttle control 12, after 0.3 seconds, the virtual vehicle 11 will continue to accelerate forward at 1.5 times the standard power. Among them, the duration for which the virtual vehicle 11 continues to accelerate forward at 1.5 times the standard power is at most 0.5 seconds.
[0052] That is to say, if the landing speed - up skill or the supercharged nitrogen skill is triggered in a timely manner after the virtual vehicle lands, the virtual vehicle can be quickly accelerated after landing.
[0053] In some embodiments, the embodiments of the present application are executed by the client of the target application. The client can be the client of a racing game application, such as Figure 3As shown, a virtual vehicle 11, a race track (such as a road), and operation controls for controlling the virtual vehicle 11 are displayed on the interface of the client. Among them, the operation controls include an accelerator control 12, a first brake control 13, a nitrogen control 14, a second brake control 15, a direction adjustment control 16, and a reset control 17. Among them:
[0054] The accelerator control 12 is used to control the virtual vehicle 11 to move forward at an accelerated speed. The user controls the virtual vehicle 11 to move forward at an accelerated speed by operating the accelerator control 12. In some embodiments, the virtual vehicle 11 can maintain the accelerator hold state and continue to accelerate only when the trigger body continuously triggers (such as long presses) the accelerator control 12; if the trigger body leaves the accelerator hold control 12, the virtual vehicle 11 changes from the accelerator hold state to the accelerator release state, and the virtual vehicle 11 no longer accelerates (such as maintains a constant speed or continuously decelerates).
[0055] The first brake control 13 is used to control the virtual vehicle 11 to decelerate or reverse. During the process of the virtual vehicle 11 moving forward at an accelerated speed, the user controls the virtual vehicle 11 to move forward slowly at a decelerated speed by clicking on the first brake control 13; or, the user controls the virtual vehicle 11 to move forward rapidly at a decelerated speed by continuously pressing on the first brake control 13, and when the speed of the virtual vehicle 11 decreases to zero, if the above continuous pressing operation does not disappear, continue to control the virtual vehicle 11 to reverse. In some embodiments, the accelerator control 12 and the first brake control 13 cannot be pressed simultaneously. If one of the accelerator control 12 and the first brake control 13 is in the triggered state, the other control cannot be triggered.
[0056] The nitrogen control 14 is used to control the virtual vehicle 11 to accelerate based on the accumulated nitrogen resources. The user controls the virtual vehicle 11 to consume the accumulated nitrogen resources to accelerate by operating the nitrogen control 14. In some embodiments, a nitrogen indicator icon is also displayed on the user interface. Among them, the nitrogen indicator icon includes a plurality of sub-icons, and the sub-icon corresponds to a first display style and a second display style. The quantity of the nitrogen resources accumulated by the virtual vehicle 11 is positively correlated with the quantity of the sub-icons displayed in the first display style. During the process of accumulating nitrogen resources, the transformation process of the sub-icons displayed in the nitrogen indicator icon from the second display style to the first display style is used to represent the accumulation of nitrogen resources; during the process of consuming nitrogen resources, the transformation process of the sub-icons displayed in the nitrogen indicator icon from the first display style to the second display style is used to represent the consumption of nitrogen resources.
[0057] The second braking control 15 is used to control the virtual vehicle 11 to move in a decelerated manner. Among them, the second braking control 15 is another control different from the above-mentioned first braking control 13. Exemplarily, the first braking control 13 can be understood as a foot braking control, and the second braking control 15 can be understood as a hand braking control. The user controls the virtual vehicle 11 to enter a drifting state by operating the direction adjustment control 16 and clicking the second braking control 15 once. After that, by double-clicking the second braking control 15, the user controls the virtual vehicle 11 to rapidly reduce its movement until the speed is zero. In the drifting state, clicking the second braking control 15 again will accelerate the inward rotation of the vehicle head and significantly decelerate the vehicle.
[0058] It should be noted that the above-mentioned slow decelerated movement, rapid decelerated movement, and rapid reduction of movement refer to three different deceleration methods of the virtual vehicle. Exemplarily, the deceleration efficiency of the slow decelerated movement is less than that of the rapid decelerated movement, and the deceleration efficiency of the rapid decelerated movement is less than that of the rapid reduction of movement.
[0059] The direction adjustment control 16 is used to control the heading of the virtual vehicle 11. The user controls the adjustment of the heading of the virtual vehicle 11 by operating the direction adjustment control 16. In one possible implementation manner, the direction adjustment control 16 includes a plurality of sub-controls, and different sub-controls correspond to different adjustment directions. In another possible implementation manner, the direction adjustment control 16 includes a slider, and the user adjusts the heading of the virtual vehicle 11 by sliding the slider, and different sliding directions correspond to different adjustment directions.
[0060] The reset control 17 is used to control the virtual vehicle 11 to get out of being stuck. During the movement of the virtual vehicle 11, if the virtual vehicle 11 becomes uncontrollable due to moving to a special location, then by operating the reset control 17, the virtual vehicle 11 is controlled to get out of this special location and reset to the nearest non-special location, so that the virtual vehicle 11 continues to move from this non-special location.
[0061] Please refer to Figure 4 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present application. This implementation environment can be implemented as a control system for a virtual vehicle. As Figure 4 shown, the system 40 may include: a terminal device 19.
[0062] The terminal device 19 has a target application installed and running, such as a client of the target application. Optionally, a user account is logged in to the client. The terminal device is an electronic device with data calculation, processing and storage capabilities. The terminal device can be a smart phone, a tablet computer, a PC (Personal Computer), a wearable device, etc., which is not limited in the embodiment of the present application. The target application can be a game application, such as a racing game application, a racing game application, a shooting game application, a multiplayer gun battle survival game application, a battle royale survival game application, an LBS (Location Based Service, location-based service) game application, a MOBA (Multiplayer Online Battle Arena, multiplayer online tactical competition) game application, etc., which is not limited in the embodiment of the present application. The target application can also be any application with a virtual vehicle control function, such as a social application, a payment application, a video application, a music application, a shopping application, a news application, etc. In the method provided in the embodiment of the present application, the execution subject of each step can be a terminal device 19, such as a client running in the terminal device 19.
[0063] In some embodiments, the system 40 further includes a server 20, which has a communication connection (such as a network connection) with the terminal device 19, and is used to provide background services for the target application. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0064] The technical solution of the present application is introduced and explained below through several embodiments.
[0065] Please refer to Figure 5 , which shows a flow chart of a control method for a virtual vehicle provided by an embodiment of the present application. In this embodiment, the method is applied to the client introduced above as an example. The method may include the following steps (501-504):
[0066] Step 501, displaying a virtual vehicle in an airborne state, where the airborne state is a state where the virtual vehicle is not in contact with the ground of the virtual environment.
[0067] In some embodiments, the virtual vehicle in the interface may be in an airborne state when the vehicle speed is high and the road is uneven (such as a disconnected road or the road is too undulating). The airborne state refers to a state in which all tires of the virtual vehicle are off the ground. For example, if the virtual vehicle is a four-wheel racing car, the virtual vehicle is in an airborne state when all four tires of the virtual vehicle are off the ground at the same time. For another example, if the virtual vehicle is a two-wheel motorcycle, the virtual vehicle is in an airborne state when both tires of the virtual vehicle are off the ground at the same time.
[0068] In some embodiments, the virtual environment is a scene displayed (or provided) when the client of the target application (such as a game application) is running on the terminal device. The virtual environment refers to a scene created for displaying a virtual vehicle, such as a virtual city, a virtual stadium, a virtual map, etc. The virtual environment can be a simulation of the real world, a semi-simulated and semi-fictitious environment, or a purely fictitious environment. The virtual environment can be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, which is not limited in the embodiments of the present application.
[0069] The virtual vehicle may refer to an object controlled by a user in a target application. The virtual vehicle may be displayed in a three-dimensional form or a two-dimensional form, which is not limited in the embodiments of the present application. Optionally, when the virtual environment in which the virtual vehicle is located is a three-dimensional virtual environment, the virtual vehicle may be a three-dimensional stereoscopic model created based on three-dimensional technology. The virtual vehicle has its own shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment.
[0070] In some embodiments, when the virtual vehicle is in an airborne state, in response to an operation on a first brake control, the virtual vehicle is controlled to change from a throttle-hold state to a throttle-release state.
[0071] When the virtual vehicle is in the air, if the throttle is held, the engine idling will cause the speed to be high, and the tires will have difficulty gripping the ground for a short period of time after landing and will enter a slipping state; before landing, release the throttle to reduce the engine speed, and you can avoid entering a slipping state after landing, and then increase the throttle to accelerate in a straight line.
[0072] Step 502, controlling the virtual vehicle to change from a flying state to a grounded state, where the grounded state is a state where the virtual vehicle is in contact with the ground of the virtual environment.
[0073] In some embodiments, when a virtual vehicle in the air is falling, no matter how many tires the virtual vehicle has, as long as one tire touches the ground, the virtual vehicle is in the landed state.
[0074] Step 503: When the virtual vehicle lands, if the accelerator of the virtual vehicle is released, the virtual vehicle is controlled to move forward at a reduced speed.
[0075] Among them, the landing moment refers to the moment when the virtual vehicle changes from the airborne state to the landing state. When the virtual vehicle lands, since the virtual vehicle is in the state of releasing the accelerator pedal, the virtual vehicle has no power and moves forward according to inertia. And due to the existence of resistance such as "friction", when the accelerator pedal is released, the virtual vehicle will continuously decelerate until the vehicle speed is 0.
[0076] Step 504, within the first duration starting from the landing moment, in response to the first operation on the accelerator control, control the virtual vehicle to accelerate forward with an additional first power.
[0077] In some embodiments, as Figure 1 shown, within the first duration starting from the landing moment, in response to the first operation on the accelerator control 12, display the second prompt message 21. Among them, the second prompt message 21 is used to indicate that the landing acceleration skill is triggered, and the landing acceleration skill refers to the skill that the virtual vehicle accelerates forward with an additional first power.
[0078] In some embodiments, within the first duration starting from the landing moment of the virtual vehicle, if the user performs the first operation on the accelerator control, the virtual vehicle will accelerate forward with an additional first power on the basis of the standard power; if the first operation on the accelerator control is not detected within the first duration and is detected only after the end of the first duration, the virtual vehicle will only move forward with the standard power and there will be no additional first power boost.
[0079] The standard power refers to the power corresponding to the current accelerator gear of the virtual vehicle. In some embodiments, the accelerator of the virtual vehicle corresponds to one or more gears. When the accelerator of the virtual vehicle corresponds to multiple gears, the powers corresponding to different gears are different, and the user can switch the power of the virtual vehicle by switching the gears of the virtual vehicle. Under the same circumstances, the greater the power of the virtual vehicle, the greater the acceleration of the virtual vehicle (the faster the acceleration).
[0080] In some embodiments, an additional first power is superimposed on the basis of the standard power to obtain the actual power of the virtual vehicle; the virtual vehicle is applied with the actual power for a second duration to control the virtual vehicle to accelerate forward. That is, after detecting the first operation on the accelerator control, the client gives the power corresponding to the current gear of the virtual vehicle, that is, the standard power; on this basis, an additional first power is superimposed to obtain the actual power of the virtual vehicle, and the virtual vehicle is driven with this actual power. Among them, the additional first power has an effective duration, that is, the second duration, and after the end of the second duration, the additional first power will end or be weakened.
[0081] In some embodiments, the additional first power can be a fixed value, which can be set by those skilled in the art according to the actual situation, and the embodiments of the present application do not make specific limitations thereto.
[0082] In some embodiments, the additional first power is calculated based on the standard power. For example, the additional first power is obtained by multiplying the standard power by a multiple (that is, the actual power is obtained by multiplying the standard power by a number greater than 1). The multiple can be 0.3, 0.5, 0.8, 1, etc. Optionally, the multiple can be set by those skilled in the art according to the actual situation, and the embodiments of the present application do not make specific limitations thereto.
[0083] Among them, the first operation can be a click operation, a long-press operation, etc. The first duration can be 1 second, 1.5 seconds, 2 seconds, etc., and the second duration can be 0.2 seconds, 0.3 seconds, 0.5 seconds, etc. The specific durations of the first duration and the second duration can be set by those skilled in the art according to the actual situation, and the embodiments of the present application do not make specific limitations thereto.
[0084] In some embodiments, within 1.5 seconds from the landing moment, in response to a click or long-press operation on the throttle control, the virtual vehicle is controlled to accelerate forward with an additional 0.5 times the standard power, that is, the actual power of the virtual vehicle is 1.5 times the standard power.
[0085] In summary, the technical solution provided by the embodiments of the present application enables the user to achieve the landing speed-up skill for the virtual vehicle during the process of the virtual vehicle taking off and landing. When the virtual vehicle takes off, the user releases the throttle, and after the virtual vehicle lands, the user performs the first operation on the throttle control. As a result, the virtual vehicle can obtain additional power for a certain duration to move forward, which enriches the control methods of the virtual vehicle.
[0086] In addition, the additional power for a certain duration brought by the landing speed-up skill of the virtual vehicle partially or completely offsets the impact of the virtual vehicle taking off and landing on the vehicle speed, improving the user's control experience of the virtual vehicle.
[0087] In addition, the embodiments of the present application reasonably transition the change in the operation experience between the virtual vehicle taking off and running on the road, improving the operability and control experience of the virtual vehicle.
[0088] In some possible implementation manners, at the landing moment of the virtual vehicle, if the virtual vehicle is in the throttle-holding state, the virtual vehicle is controlled to enter a skidding state; in the skidding state, the virtual vehicle is controlled to move forward with reduced power.
[0089] That is, if the virtual vehicle lands while maintaining the throttle position, with the impact of landing added, the virtual vehicle will lose stability and skid. In this case, since the virtual vehicle is in the throttle-holding state, it has power, but due to skidding, the power of the virtual vehicle will be reduced and become less than the standard power. In some embodiments, the power of the virtual vehicle after reduction is 0.2 times the standard power, that is, the reduced power is 0.8 times the standard power. The multiple / ratio relationship between the reduced power and the standard power can be set by those skilled in the art according to the actual situation, and the embodiments of the present application do not make specific limitations on this. In some embodiments, the reduced power is a fixed value and has nothing to do with the standard power. The specific value of the reduced power can be set by those skilled in the art according to the actual situation, and the embodiments of the present application do not make specific limitations on this.
[0090] In some embodiments, when the virtual vehicle is in a skidding state, if an operation on the first brake control is detected first and then a third operation on the throttle control is detected, the virtual vehicle is controlled to exit the skidding state; after exiting the skidding state, the virtual vehicle is controlled to move forward with an additional first power.
[0091] In some embodiments, the brake control includes a handbrake control and a footbrake control. The first brake control can be the footbrake control.
[0092] In the embodiments of the present application, the virtual vehicle skids because it is still in the throttle-holding state when it is unstable. Therefore, in the skidding state, the first brake control is triggered first to make the virtual vehicle lose power and stabilize the virtual vehicle; then the throttle control is triggered to apply power to the stabilized virtual vehicle. If, when the virtual vehicle is in the skidding state, the user first performs an operation on the first brake control (such as clicking the first brake control) and then executes a third operation on the throttle control (such as clicking or long-pressing the throttle control), the landing acceleration technique will also be triggered, and the virtual vehicle will obtain an additional first power boost for a second duration based on the standard power.
[0093] In some embodiments, when the virtual vehicle is in a skidding state, if an operation on the first brake control is detected, the virtual vehicle exits the skidding state; and within a certain duration (such as 1 second, 1.5 seconds, 2 seconds, etc.) starting from the operation on the first brake control, if a third operation on the throttle control is detected, the landing acceleration technique is triggered, and the virtual vehicle moves forward with an additional first power. The third operation on the throttle control and the first operation on the throttle control can be the same operation.
[0094] In the above implementation, when the virtual vehicle lands and the accelerator is not released, resulting in a skidding state, the landing speed-up technique can still be triggered by first performing an operation on the first brake control and then performing the first operation on the accelerator control. This enhances the diversity and inclusiveness of the operation method of the landing speed-up technique and increases the success probability of the landing speed-up technique.
[0095] Please refer to Figure 6 , after the above step 504, the control method of the virtual vehicle may further include the following steps (505 - 507):
[0096] Step 505, at the end of the second duration, if it is detected that there is a second operation on the accelerator control, control the virtual vehicle to continue accelerating forward with an additional second power.
[0097] In some embodiments, when the second duration ends, it means that the additional first power is no longer effective. At this time, if it is detected that there is a second operation on the accelerator control, indicating that the user still wants to obtain an additional power boost, then on the basis of the standard power, an additional second power can be superimposed to control the virtual vehicle to continue accelerating forward.
[0098] Among them, the determination method of the additional second power can refer to the relevant content of the above additional first power, which will not be elaborated here. In some embodiments, the additional second power is less than the additional first power; or, the additional second power is greater than the additional first power; or, the additional second power is equal to the additional first power.
[0099] The second operation on the accelerator control can be a continuation of the first operation on the accelerator control. For example, the first operation on the accelerator control is to touch or press the accelerator control. After the second duration ends, if it is detected that the touch or press operation on the accelerator control has not disappeared and the touch body has been touching or pressing the accelerator control, it is determined that a second operation on the accelerator control is detected.
[0100] In some embodiments, there are also limitations on the duration for which the virtual vehicle accelerates forward with the additional second power. For example, the duration for which the virtual vehicle accelerates forward with the additional second power is less than or equal to the rated maximum value, such as 0.3 seconds, 0.5 seconds, 0.8 seconds, etc. Specifically, it can be set by relevant technicians according to the actual situation, and the embodiments of the present application do not make specific limitations on this.
[0101] Step 506, if it is detected that the second operation disappears, control the virtual vehicle to move forward with the standard power.
[0102] In some embodiments, while the virtual vehicle continues to accelerate forward with the additional second power, even if the effective duration of the additional second power has not reached the rated maximum value, as long as the disappearance of the second operation is detected, the additional second power will stop taking effect / be cancelled, and the virtual vehicle can only move forward with the standard power.
[0103] Step 507 : If the effective duration of the additional second power reaches the rated maximum value, the virtual vehicle is controlled to move forward with the standard power, and the first prompt information is displayed.
[0104] In some embodiments, Figure 1 or Figure 2 As shown, the first prompt information 22 is used to indicate that the full throttle technique is triggered, and the full throttle technique refers to a technique in which the effective duration of the additional second power reaches the rated maximum value.
[0105] After the effective duration of the additional second power reaches the rated maximum value, the additional second power will be stopped / cancelled even if the second operation has not disappeared, and the virtual vehicle can only move forward with the standard power.
[0106] Only one of the above steps 506 and 507 may be performed, or neither of them may be performed.
[0107] In summary, the technical solution provided in the embodiment of the present application can obtain an additional second power to accelerate the moving virtual vehicle by keeping the accelerator control pressed for a long time after achieving the acceleration effect of the landing acceleration technique, and within the rated maximum value duration, the user can freely control the specific effective duration of the additional second power, further enhancing the richness of the control methods of the virtual vehicle.
[0108] Please refer to Figure 7 , which shows a flow chart of a control method for a virtual vehicle provided by another embodiment of the present application. In this embodiment, the method is applied to the client introduced above as an example. The method may include the following steps (701-704):
[0109] Step 701, displaying a virtual vehicle in an airborne state, where the airborne state is a state where the virtual vehicle is not in contact with the ground of the virtual environment.
[0110] In some embodiments, when the virtual vehicle is in an airborne state, in response to an operation on a first brake control, the virtual vehicle is controlled to change from a throttle-hold state to a throttle-release state.
[0111] Step 702, controlling the virtual vehicle to change from a flying state to a grounded state, where the grounded state is a state where the virtual vehicle is in contact with the ground of the virtual environment.
[0112] Step 703, at the landing moment of the virtual vehicle, if the virtual vehicle is in the state of releasing the throttle, control the virtual vehicle to move forward and decelerate.
[0113] The landing moment refers to the moment when the virtual vehicle changes from the airborne state to the landing state.
[0114] The content of steps 701 to 703 can refer to the content of steps 501 to 503 above, which will not be elaborated here.
[0115] Step 704, within the first time period starting from the landing moment, if an operation on the charging control is detected first and then the first operation on the throttle control is detected, control the virtual vehicle to move forward and accelerate with an additional third power.
[0116] In some embodiments, as Figure 2 shown, within the first time period starting from the landing moment, if an operation on the charging control (such as the nitrogen control 14) is detected first and then the first operation on the throttle control 12 is detected, display the third prompt message 23, and the third prompt message 23 is used to indicate that the supercharged nitrogen skill is triggered. The supercharged nitrogen skill refers to the skill that the virtual vehicle moves forward and accelerates with an additional third power.
[0117] In some embodiments, within the first time period starting from the landing moment of the virtual vehicle, if the user triggers the charging control (such as clicking the charging control) first and then triggers the throttle control, the virtual vehicle will move forward and accelerate with an additional third power on the basis of the standard power; if the operation on the charging control is not detected first and then the first operation on the throttle control is not detected within the first time period, but the operation on the throttle control is detected after the end of the first time period, the virtual vehicle will only move forward with the standard power and there will be no additional third power boost.
[0118] In some embodiments, an additional third power is superimposed on the basis of the standard power to obtain the actual power of the virtual vehicle; apply the actual power for the third time period to control the virtual vehicle to move forward and accelerate. That is, after an operation on the charging control is detected first and then the first operation on the throttle control is detected, the client gives the virtual vehicle the power corresponding to the current gear, that is, the standard power; on this basis, an additional third power is superimposed to obtain the actual power of the virtual vehicle, and the virtual vehicle is driven with this actual power. Among them, the additional third power has an effective duration, that is, the third time period, and after the end of the third time period, the additional third power will end.
[0119] The determination method of the additional third power can refer to the relevant content of the additional first power above, which will not be elaborated here. In some embodiments, the additional third power is greater than the additional first power.
[0120] Among them, the third duration can be 0.5 seconds, 1.5 seconds, 2 seconds, etc. The specific value of the third duration can be set by those skilled in the relevant art according to the actual situation, and the embodiments of the present application do not make specific limitations on this.
[0121] In some embodiments, the operation on the charging control can be completed before the virtual vehicle lands. Before the virtual vehicle lands, after the throttle is released, nitrogen can be injected into the engine to reach a certain density, and finally, by stepping on the throttle to ignite the nitrogen, the power of the virtual vehicle (engine) can be increased in a short time.
[0122] In some embodiments, within 1.5 seconds from the landing moment, if the operation on the charging control is detected first and then the first operation on the throttle control is detected, the virtual vehicle is controlled to accelerate forward at an additional 1 times the standard power, that is, the actual power of the virtual vehicle is 2 times the standard power.
[0123] In some embodiments, after the supercharged nitrogen technique is triggered, a fixed acceleration of x1 km / h / s is superimposed on the existing speed, and at the same time, the virtual vehicle obtains an additional x2 km / h of maximum speed (the maximum speed may not be reached). The fixed acceleration provided by the supercharged nitrogen technique will start to linearly decay after the virtual vehicle accelerates to a speed that is y km / h away from the maximum speed of the virtual vehicle, and the acceleration decays to 0 when the virtual vehicle reaches the maximum speed.
[0124] Exemplarily, assume that the non-slip speed of the virtual vehicle when landing is 50 km / h, the maximum speed is 400 km / h, x1 = 15, x2 = 15, and y = 200. When the supercharged nitrogen technique is triggered, the virtual vehicle will obtain a fixed acceleration of 15 km / h / s, and at the same time, the maximum speed of the virtual vehicle is increased to 400 + 15 = 415 km / h. The fixed acceleration (15 km / h / s) provided by the landing supercharged nitrogen will start to linearly decay after the virtual vehicle speed reaches 415 - 200 = 215 km / h, and the acceleration reduces to 0 when the virtual vehicle reaches 415 km / h. In some cases, due to the short effective duration of the technique, the maximum speed bonus may not be achieved, that is, the maximum speed may not be reached.
[0125] Part of the content of step 704 can refer to the above step 504, which will not be elaborated here.
[0126] In summary, for the technical solution provided by the embodiments of the present application, during the process of the virtual vehicle taking off and landing, the user releases the throttle when the virtual vehicle takes off, and after the virtual vehicle lands, first performs the operation on the charging control and then performs the first operation on the throttle control, so as to implement the nitrogen addition technique for the virtual vehicle. The virtual vehicle can obtain additional power for a certain duration to move forward, which improves the richness of the control methods of the virtual vehicle.
[0127] In some possible implementations, at the moment when the virtual vehicle lands, if the virtual vehicle is in the throttle-holding state, the virtual vehicle is controlled to enter a skidding state; in the skidding state, the virtual vehicle is controlled to move forward with reduced power.
[0128] In some embodiments, when the virtual vehicle is in the skidding state, if an operation on the first brake control, an operation on the charging control, and a third operation on the throttle control are sequentially detected, the virtual vehicle is controlled to exit the skidding state; after exiting the skidding state, the virtual vehicle is controlled to move forward with an additional third power.
[0129] In the embodiments of the present application, in the skidding state, the first brake control is triggered first to make the virtual vehicle lose power and stabilize the virtual vehicle; then the charging control and the throttle control are sequentially triggered to charge nitrogen into the stabilized virtual vehicle and apply power. If the user sequentially triggers the first brake control, the charging control, and the throttle control when the virtual vehicle is in the skidding state, the supercharged nitrogen technique will also be triggered, and the virtual vehicle will obtain an additional third-power boost for a third duration on the basis of the standard power.
[0130] In some embodiments, when the virtual vehicle is in the skidding state, if an operation on the first brake control is detected, the virtual vehicle exits the skidding state; and within a certain duration (such as 1 second, 1.5 seconds, 2 seconds, etc.) starting from the operation on the first brake control, if the operation on the charging control is detected first and then the first operation on the throttle control is detected, the nitrogen supercharging technique is triggered, and the virtual vehicle moves forward with an additional third power; after exceeding the certain duration, the skidding ends, and the nitrogen supercharging technique cannot be triggered anymore. The third operation on the throttle control and the first operation on the throttle control may be the same operation.
[0131] In the above implementation, when the throttle of the virtual vehicle is not released after landing and a skidding state occurs, the supercharged nitrogen technique can still be triggered by first performing an operation on the first brake control and then performing the first operation on the throttle control, thereby enhancing the diversity and inclusiveness of the operation method of the supercharged nitrogen technique and increasing the success probability of the supercharged nitrogen technique.
[0132] Please refer to Figure 8 , after the above step 704, the control method of the virtual vehicle may further include the following steps (705-707):
[0133] Step 705, at the end of the third duration, if it is detected that there is a second operation on the throttle control, the virtual vehicle is controlled to continue to accelerate forward with an additional fourth power.
[0134] In some embodiments, when the end of the second time period indicates that the additional third power no longer takes effect, if it is detected that there is a second operation on the throttle control, indicating that the user still wants to obtain an additional power boost, then on the basis of the standard power, an additional fourth power can be superimposed to control the virtual vehicle to continue to accelerate forward.
[0135] Step 706, if it is detected that the second operation disappears, then control the virtual vehicle to move forward with the standard power.
[0136] In some embodiments, during the process of the virtual vehicle continuing to accelerate forward with the additional third power, even if the effective duration of the additional third power has not reached the rated maximum value, as long as it is detected that the second operation disappears, the additional third power will stop taking effect / be cancelled, and the virtual vehicle can only move forward with the standard power.
[0137] Step 707, if the effective duration of the additional fourth power reaches the rated maximum value, then control the virtual vehicle to move forward with the standard power and display a first prompt message.
[0138] In some embodiments, the first prompt message is used to indicate that the full throttle technique is triggered, and the full throttle technique refers to the technique that the effective duration of the additional fourth power reaches the rated maximum value.
[0139] After the effective duration of the additional third power reaches the rated maximum value, even if the second operation has not disappeared, the additional third power will stop / be cancelled, and the virtual vehicle can only move forward with the standard power next.
[0140] Only one of the above steps 706 and step 707 can be executed, or neither of them can be executed.
[0141] Some step contents of the embodiments of the present application can refer to the above Figure 5 and Figure 6 embodiments, which will not be elaborated here.
[0142] In summary, the technical solution provided by the embodiments of the present application, after achieving the acceleration effect of the supercharged nitrogen technique, can obtain an additional fourth power to accelerate and move the virtual vehicle by keeping the throttle control pressed for a long time, and within the duration of the rated maximum value, the user can freely control the specific effective duration of the additional fourth power, further enhancing the richness of the control method of the virtual vehicle.
[0143] As Figure 9 shown, the control method of the virtual vehicle may include the following steps (901 to 909):
[0144] Step 901, the virtual vehicle takes off and passes through a road surface with a height difference, and the wheels spin.
[0145] Step 902, the virtual vehicle lands;
[0146] Step 903, detect whether the virtual vehicle is in the state of releasing the accelerator. If so, the virtual vehicle does not skid and execute the following step 904; if not, the virtual vehicle skids and execute the following step 906;
[0147] Step 904, whether an operation of clicking the accelerator control is detected within 1.5 seconds. If so, execute step 905; if not, the landing speed-up skill is not triggered;
[0148] Step 905, trigger the landing speed-up skill;
[0149] Step 906, in the skidding state, detect whether the first brake control is clicked first and then the accelerator control. If so, execute step 905; if not, continue to execute step 906;
[0150] Step 907, after the acceleration effect of the landing speed-up skill ends, detect whether the accelerator control is still long-pressed. If so, execute step 908; if not, only obtain the acceleration effect of the landing speed-up;
[0151] Step 908, on the basis of the acceleration effect of the landing speed-up, accelerate forward with additional second power according to the duration of long-pressing the accelerator control;
[0152] Step 909, detect whether the duration of continuously long-pressing the accelerator control exceeds 0.5 seconds after the landing speed-up skill ends. If so, trigger the display of the first prompt message; if not, do not trigger the display of the first prompt message.
[0153] The steps of the embodiments of the present application can refer to the above content and will not be elaborated here.
[0154] As Figure 10 shown, the control method of the virtual vehicle may include the following steps (1001~1009):
[0155] Step 1001, the virtual vehicle passes through a road surface with a height difference in the air and the wheels spin;
[0156] Step 1002, the virtual vehicle lands;
[0157] Step 1003, detect whether the virtual vehicle is in the state of releasing the accelerator. If so, the virtual vehicle does not skid and execute the following step 1004; if not, the virtual vehicle skids and execute the following step 1006;
[0158] Step 1004, whether the charging control is clicked first and then the accelerator control within 1.5 seconds. If so, execute step 1005; if not, the supercharged nitrogen skill is not triggered;
[0159] Step 1005, triggering the pressurized nitrogen technique;
[0160] Step 1006, in the slipping state, detecting whether the first brake control, the impulse control and the throttle control are triggered in sequence, if so, executing step 1005; if not, continuing to execute step 1006;
[0161] Step 1007, after the acceleration effect of the pressurized nitrogen technique ends, detect whether the throttle control is continued to be long pressed, if so, execute step 1008; if not, only the acceleration effect of the pressurized nitrogen is obtained;
[0162] Step 1008, based on the acceleration effect of the pressurized nitrogen, according to the length of time the accelerator control is pressed, an additional fourth power is obtained to accelerate forward movement;
[0163] Step 1009, after the supercharged nitrogen technique is completed, it is detected whether the throttle control is continued to be pressed for more than 0.5 seconds. If so, the first prompt message is triggered to be displayed; if not, the first prompt message is not triggered to be displayed.
[0164] The steps of the embodiments of the present application can refer to the above content and will not be repeated here.
[0165] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0166] Please refer to Figure 11 , which shows a block diagram of a control device for a virtual vehicle provided by an embodiment of the present application. The device has the function of implementing the above-mentioned control method example of the virtual vehicle, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device introduced above, or it can be set on a terminal device. The device 1100 can include: a vehicle display module 1110 and a vehicle control module 1120.
[0167] The vehicle display module 1110 is used to display a virtual vehicle in an airborne state, where the airborne state is a state where the virtual vehicle is not in contact with the ground of the virtual environment.
[0168] The vehicle control module 1120 is used to control the virtual vehicle to change from the flying state to the landing state, where the landing state is a state where the virtual vehicle is in contact with the ground of the virtual environment.
[0169] The vehicle control module 1120 is also used to control the virtual vehicle to decelerate and move forward when the virtual vehicle lands, if the accelerator of the virtual vehicle is released; wherein the landing time refers to the time when the state changes from the airborne state to the landing state.
[0170] The vehicle control module 1120 is further configured to, within a first time period starting from the landing moment, in response to a first operation on the throttle control, control the virtual vehicle to accelerate forward with an additional first power.
[0171] In an exemplary embodiment, the vehicle control module 1120 is further configured to:
[0172] Superimpose the additional first power on the standard power to obtain the actual power of the virtual vehicle;
[0173] Apply the actual power to the virtual vehicle for a second time period to control the virtual vehicle to accelerate forward.
[0174] In an exemplary embodiment, the vehicle control module 1120 is further configured to:
[0175] At the end of the second time period, if it is detected that there is a second operation on the throttle control, control the virtual vehicle to continue to accelerate forward with an additional second power.
[0176] In an exemplary embodiment, the vehicle control module 1120 is further configured to:
[0177] If it is detected that the second operation disappears, control the virtual vehicle to move forward with the standard power;
[0178] Or,
[0179] If the effective duration of the additional second power reaches the rated maximum value, control the virtual vehicle to move forward with the standard power and display a first prompt message, where the first prompt message is used to indicate that the full-throttle technique is triggered, and the full-throttle technique refers to the technique that the effective duration of the additional second power reaches the rated maximum value.
[0180] In an exemplary embodiment, the vehicle control module 1120 is further configured to:
[0181] When the virtual vehicle is in the airborne state, in response to an operation on the first brake control, control the virtual vehicle to change from the throttle-holding state to the throttle-releasing state.
[0182] In an exemplary embodiment, as Figure 12 shown, the device 1100 further includes: an information display module 1130.
[0183] The information display module 1130 is used to display second prompt information in response to the first operation on the throttle control within the first time period from the landing moment, wherein the second prompt information is used to indicate that a landing acceleration technique is triggered, and the landing acceleration technique refers to a technique in which the virtual vehicle accelerates forward with the additional first power.
[0184] In an exemplary embodiment, the vehicle control module 1120 is further configured to:
[0185] At the landing moment of the virtual vehicle, if the virtual vehicle is in a throttle holding state, controlling the virtual vehicle to enter a skidding state;
[0186] In the slipping state, the virtual vehicle is controlled to move forward with the reduced power.
[0187] In an exemplary embodiment, the vehicle control module 1120 is further configured to:
[0188] When the virtual vehicle is in the slipping state, if an operation on a first brake control is detected first, and then a third operation on the throttle control is detected, the virtual vehicle is controlled to exit the slipping state;
[0189] After exiting the slipping state, the virtual vehicle is controlled to move forward with the additional first power.
[0190] To sum up, the technical solution provided by the embodiment of the present application is that, during the process of a virtual vehicle taking off and landing, the user releases the accelerator when the virtual vehicle is in the air, and performs a first operation on the throttle control after the virtual vehicle lands, thereby implementing a landing speed-up technique for the virtual vehicle. The virtual vehicle can obtain additional power for a certain period of time to move forward, thereby enhancing the richness of the control methods of the virtual vehicle.
[0191] Please refer to Figure 13 , which shows a block diagram of a control device for a virtual vehicle provided by another embodiment of the present application. The device has the function of implementing the above-mentioned control method example of the virtual vehicle, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device introduced above, or it can be set on a terminal device. The device 1300 can include: a vehicle display module 1310 and a vehicle control module 1320.
[0192] The vehicle display module 1310 is used to display a virtual vehicle in an airborne state, where the airborne state is a state where the virtual vehicle is not in contact with the ground of the virtual environment.
[0193] A vehicle control module 1310 is configured to control the virtual vehicle to change from the airborne state to the landing state, where the landing state is a state in which the virtual vehicle is in contact with the ground of the virtual environment.
[0194] The vehicle control module 1320 is further configured to, at the landing moment of the virtual vehicle, if the virtual vehicle is in the throttle released state, control the virtual vehicle to move forward with deceleration; wherein, the landing moment refers to the moment when the virtual vehicle changes from the airborne state to the landing state.
[0195] The vehicle control module 1320 is further configured to, within a first duration starting from the landing moment, if an operation on an energy charging control is detected first and then a first operation on the throttle control is detected, control the virtual vehicle to move forward with an additional third power for acceleration.
[0196] In an exemplary embodiment, the vehicle control module 1320 is further configured to:
[0197] Superimpose the additional third power on the standard power to obtain the actual power of the virtual vehicle;
[0198] Apply the actual power to the virtual vehicle for a third duration to control the virtual vehicle to move forward with acceleration.
[0199] In an exemplary embodiment, the vehicle control module 1320 is further configured to, at the end of the third duration, if a second operation on the throttle control is detected, control the virtual vehicle to continue to move forward with an additional fourth power for acceleration.
[0200] In an exemplary embodiment, the vehicle control module 1320 is further configured to:
[0201] If the disappearance of the second operation is detected, control the virtual vehicle to move forward with the standard power;
[0202] Or,
[0203] If the effective duration of the additional fourth power reaches the rated maximum value, control the virtual vehicle to move forward with the standard power and display a first prompt message, where the first prompt message is used to indicate that the full throttle technique is triggered, and the full throttle technique refers to the technique that the effective duration of the additional fourth power reaches the rated maximum value.
[0204] In an exemplary embodiment, the vehicle control module 1320 is further configured to, when the virtual vehicle is in the airborne state, in response to an operation on a first brake control, control the virtual vehicle to change from the throttle held state to the throttle released state.
[0205] In an exemplary embodiment, as Figure 14 described, the device 1300 further includes: an information display module 1330.
[0206] The information display module 1330 is configured to, within the first duration starting from the landing moment, if an operation on the charging control is detected first and then a first operation on the throttle control is detected, display a third prompt message, where the third prompt message is used to indicate that the supercharged nitrogen technique is triggered, and the supercharged nitrogen technique refers to the technique in which the virtual vehicle accelerates forward with the additional third power.
[0207] In an exemplary embodiment, the vehicle control module 1320 is further configured to:
[0208] At the landing moment of the virtual vehicle, if the virtual vehicle is in the throttle hold state, control the virtual vehicle to enter the skidding state;
[0209] In the skidding state, control the virtual vehicle to move forward with reduced power.
[0210] In an exemplary embodiment, the vehicle control module 1320 is further configured to:
[0211] When the virtual vehicle is in the skidding state, if an operation on the first brake control, an operation on the charging control, and a third operation on the throttle control are detected in sequence, control the virtual vehicle to exit the skidding state;
[0212] After exiting the skidding state, control the virtual vehicle to move forward with the additional third power.
[0213] In summary, in the technical solution provided by the embodiment of the present application, during the process of the virtual vehicle taking off and landing, the user can achieve the increased nitrogen technique for the virtual vehicle by releasing the throttle when the virtual vehicle takes off and performing an operation on the charging control first and then a first operation on the throttle control after the virtual vehicle lands. The virtual vehicle can obtain an additional power for a certain duration to move forward, which improves the richness of the control methods of the virtual vehicle.
[0214] It should be noted that when the device provided in the above embodiment realizes its functions, only the above-mentioned division of each functional module is used for illustration. In actual application, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above embodiment and the method embodiment belong to the same concept, and the specific implementation process can be seen in the method embodiment, which will not be elaborated here.
[0215] Please refer to Figure 15, which shows a structural block diagram of a terminal device 1500 provided by an embodiment of the present application. The terminal device 1500 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, a PC, etc. The terminal device is used to implement the control method of the virtual vehicle provided in the above embodiment. Specifically:
[0216] Generally, the terminal device 1500 includes: a processor 1501 and a memory 1502.
[0217] The processor 1501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1701 may also include a main processor and a coprocessor. The main processor is a processor used to process data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 1501 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1501 may also include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0218] The memory 1502 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 1502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1502 is used to store at least one instruction, at least one segment of program, a code set, or an instruction set, and is configured to be executed by one or more processors to implement the above control method of the virtual vehicle.
[0219] In some embodiments, the terminal device 1500 may further optionally include: a peripheral device interface 1503 and at least one peripheral device. The processor 1501, the memory 1502, and the peripheral device interface 1503 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1503 through a bus, signal lines, or a circuit board. Specifically, the peripheral devices include at least one of a radio frequency circuit 1504, a display screen 1505, an audio circuit 1507, and a power supply 1509.
[0220] Those skilled in the art can understand that Figure 15 the structure shown in does not constitute a limitation on the terminal device 1500, and it may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0221] In an exemplary embodiment, there is also provided a computer-readable storage medium storing at least one instruction, at least one segment of program, a code set, or an instruction set, which, when executed by a processor, implements the control method of the virtual vehicle described above.
[0222] Optionally, the computer-readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives), or an optical disc, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).
[0223] In an exemplary embodiment, there is also provided a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the control method of the virtual vehicle described above.
[0224] It should be understood that "a plurality of" as mentioned herein refers to two or more. "And / or" describes the associated relationship of associated users, indicating that there can be three relationships. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated users before and after.
[0225] The foregoing are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included within the protection scope of the present application.
Claims
1. A control method for a virtual vehicle, characterized in that, The method comprises: Displaying a virtual vehicle in an airborne state, wherein the airborne state is a state in which the virtual vehicle is not in contact with the ground of the virtual environment; Controlling the virtual vehicle to change from the airborne state to a grounded state, wherein the grounded state is a state in which the virtual vehicle is in contact with the ground of the virtual environment; Within a first time period starting from the landing moment, if an operation for impulse energy is detected first and then a first operation for controlling the acceleration of the virtual vehicle is detected, the virtual vehicle is controlled to accelerate forward with an additional third power.
2. The method according to claim 1, characterized in that, The controlling the virtual vehicle to accelerate forward with the additional third power comprises: Adding the additional third power on the basis of the standard power to obtain the actual power of the virtual vehicle; Applying the actual power for a third time period to the virtual vehicle to control the virtual vehicle to move forward with acceleration.
3. The method according to claim 1 or 2, characterized in that, The effective duration of the additional third power is a third duration, and the method further includes: At the end of the third time period, if a second operation of controlling the virtual vehicle to accelerate is detected, the virtual vehicle is controlled to continue to move forward with an additional fourth power.
4. The method according to claim 3, characterized in that, The method further comprises: During the process of controlling the virtual vehicle to continue to accelerate forward with the additional fourth power, if it is detected that the second operation disappears, controlling the virtual vehicle to move forward with the standard power; or, If the effective duration of the additional fourth power reaches the rated maximum value, the virtual vehicle is controlled to move forward with the standard power, and a first prompt message is displayed, wherein the first prompt message is used to indicate that a full-throttle technique is triggered, and the full-throttle technique refers to a technique in which the effective duration of the additional fourth power reaches the rated maximum value.
5. The method according to any one of claims 1 to 4, characterized in that, The method further comprises: In a case where the virtual vehicle is in the airborne state, in response to an operation of controlling the virtual vehicle to decelerate, the virtual vehicle is controlled to change from an accelerator-held state to an accelerator-released state.
6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: Within the first time period starting from the landing moment, if an operation for charging energy is detected first and then a first operation for controlling the acceleration of the virtual vehicle is detected, a third prompt message is displayed, and the third prompt message is used to indicate that the supercharged nitrous technique is triggered. The supercharged nitrous technique refers to a technique in which the virtual vehicle accelerates forward with the additional third power.
7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises: At the landing moment of the virtual vehicle, if the virtual vehicle is in a state where the accelerator is released, the virtual vehicle is controlled to move forward at a reduced speed; or, At the landing moment of the virtual vehicle, if the virtual vehicle is in a throttle holding state, the virtual vehicle is controlled to enter a slipping state; in the slipping state, the virtual vehicle is controlled to move forward with reduced power.
8. The method according to claim 7, characterized in that, The method further comprises: When the virtual vehicle is in the slipping state, if an operation for controlling the virtual vehicle to decelerate, an operation for charging energy, and a third operation for controlling the virtual vehicle to accelerate are detected in sequence, the virtual vehicle is controlled to exit the slipping state; After exiting the slipping state, the virtual vehicle is controlled to move forward with the additional third power.
9. The method according to any one of claims 1 to 8, characterized in that, The method further comprises: Within a first time period counted from the landing moment, in response to a first operation of controlling the acceleration of the virtual vehicle, the virtual vehicle is controlled to accelerate forward with an additional first power, and the additional third power is greater than the additional first power.
10. The method according to claim 9, characterized in that, The controlling the virtual vehicle to accelerate forward with the additional first power comprises: Adding the additional first power on the basis of the standard power to obtain the actual power of the virtual vehicle; The actual power is applied to the virtual vehicle for a second time period to control the virtual vehicle to move forward with acceleration.
11. The method according to claim 9 or 10, characterized in that, The additional first power is effective for a second time period, and the method further includes: At the end of the second time period, if a second operation of controlling the virtual vehicle to accelerate is detected, the virtual vehicle is controlled to continue to move forward with additional second power.
12. The method according to claim 11, wherein, The method further comprises: In the process of controlling the virtual vehicle to continue to accelerate forward with the additional second power, if it is detected that the second operation disappears, controlling the virtual vehicle to move forward with the standard power; or, If the effective duration of the additional second power reaches the rated maximum value, the virtual vehicle is controlled to move forward with the standard power, and a first prompt message is displayed, wherein the first prompt message is used to indicate that a full-throttle technique is triggered, wherein the full-throttle technique refers to a technique in which the effective duration of the additional second power reaches the rated maximum value.
13. The method according to any one of claims 9 to 12, wherein, The method further comprises: Within the first time period starting from the landing moment, in response to the first operation of controlling the acceleration of the virtual vehicle, a second prompt message is displayed, wherein the second prompt message is used to indicate that a landing acceleration technique is triggered, and the landing acceleration technique refers to a technique of the virtual vehicle accelerating forward with the additional first power.
14. The method according to any one of claims 9 to 13, wherein, The method further comprises: At the landing moment of the virtual vehicle, if the virtual vehicle is in the throttle holding state, controlling the virtual vehicle to enter a skidding state; In the slipping state, the virtual vehicle is controlled to move forward with the reduced power.
15. The method according to claim 14, wherein, The method further comprises: When the virtual vehicle is in the slipping state, if an operation of controlling the virtual vehicle to decelerate is detected first, and then a third operation of controlling the virtual vehicle to accelerate is detected, the virtual vehicle is controlled to exit the slipping state; After exiting the slipping state, the virtual vehicle is controlled to move forward with the additional first power.
16. The method according to any one of claims 1 to 15, wherein, The operation of controlling the virtual vehicle to decelerate is an operation on a first brake control, and the operation of controlling the virtual vehicle to accelerate is an operation on a throttle control.
17. A control device for a virtual vehicle, wherein, The device comprises: A vehicle display module, used for displaying a virtual vehicle in an airborne state, wherein the airborne state is a state in which the virtual vehicle is not in contact with the ground of the virtual environment; A vehicle control module, used for controlling the virtual vehicle to change from the airborne state to a grounded state, wherein the grounded state is a state in which the virtual vehicle is in contact with the ground of the virtual environment; The vehicle control module is further configured to, within a first duration starting from the landing moment, if an operation for energy charging is detected first and then a first operation for controlling the virtual vehicle to accelerate is detected, control the virtual vehicle to accelerate forward with an additional third power.
18. A terminal device, wherein, The terminal device includes a processor and a memory, and at least one program is stored in the memory. The at least one program is loaded and executed by the processor to implement the control method of the virtual vehicle according to any one of claims 1 to 16 above.
19. A computer-readable storage medium, wherein, At least one program is stored in the computer-readable storage medium. The at least one program is loaded and executed by the processor to implement the control method of the virtual vehicle according to any one of claims 1 to 16 above.
20. A computer program product, wherein, The computer program product includes a computer program, and the computer program is executed by a processor to implement the control method of the virtual vehicle according to any one of claims 1 to 16.