Method for controlling skateboard carrier in game

Through the graphical interface and dynamic operation command processing, combined with terrain data, the silky steering and fancy movement of the skateboard vehicle are realized, which solves the problem of low degree of manipulation freedom in the prior art and improves the game user experience.

CN118976239APending Publication Date: 2024-11-19XIAMEN TRUE FUN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411059135.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

The existing game control methods have low freedom of manipulation of skateboard vehicles, resulting in poor game user experience, especially in complex environments.

Method used

By providing a graphical interface, including game scene screen and control interface, game users control the skateboard vehicle through manipulation controls, supporting simple operation instructions (such as steering, movement, acceleration, deceleration, jump) and special operation instructions (such as overturning, fancy styles) Action), combining terrain data and user input, dynamically calculate the moving path and steering angle to achieve silky steering and fancy actions.

Benefits of technology

It improves the operating feel of the skateboard vehicle, enhances the user experience, effectively deals with complex driving conditions, and solves the inconvenience of the vehicle in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118976239A_ABST
    Figure CN118976239A_ABST
Patent Text Reader

Abstract

The invention discloses a method for controlling a skateboard carrier in a game, which is characterized in that a graphical interface is provided through a game terminal, the graphical interface comprises a game scene picture and a control interface, the game scene picture comprises a game role and a skateboard carrier, the control interface is provided with a control element, and the control element is connected with the game scene picture. The method comprises the steps that a game user triggers an operation instruction through an operation control, a game terminal responds to the current operation instruction through the operation control, and the operation instruction comprises a simple operation instruction and a special operation instruction; for the simple operation instruction in the driving process, the game terminal carries out behavior judgment according to the simple operation instruction triggered by the game user and responds to triggering; and for the special operation instruction in the driving process, the game terminal performs behavior judgment through the special operation instruction triggered by the game user in combination with the current topographic data and responds to the triggering. The problems that according to an existing game control method, the manipulation freedom degree of a skateboard carrier is low, and the experience feeling of game users is poor are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of computer applications, and in particular relates to a method for controlling a skateboard vehicle in a game. Background Art

[0002] When a game user plays a racing game (e.g., car racing, airplane racing, parkour games), the game object (e.g., car, airplane, etc.) operated by the game user may encounter a situation where flexible control is required, such as moving the controlled vehicle from a normal path to a narrow road hole, or moving to a driving road with dense collision bodies. In the above driving environment, due to too many obstacles, it is easy for the vehicle to collide with the corresponding obstacle, affecting the normal driving speed.

[0003] To solve the above problems, the existing technology mainly adopts the following two solutions: Solution 1: Reduce the design of narrow intersections in the game, and try to avoid corresponding obstacles on the vehicle's driving path. Solution 2: Draw a specified vehicle movement path and stipulate that the vehicle can only travel on the specified path. By using the above solutions, the environment in which game users can manipulate the vehicle driving in the game is limited. It is necessary to avoid the choice of narrow moving paths as much as possible, or reduce the moving speed of the vehicle to pass through complex paths, and the game experience of game users is poor. Therefore, there is an urgent need for a control method to solve the problem of inconvenient vehicle manipulation in complex environments.

[0004] A Chinese patent with publication number CN108837508A discloses a method and device for controlling a vehicle in a game. The method includes: obtaining the current driving information of the vehicle in the game; monitoring the operating angle of the direction control control when the vehicle is determined to be in an abnormal driving state according to the current driving information; determining the steering parameters of the vehicle according to the operating angle; and controlling the movement of the vehicle according to the steering parameters, wherein the steering parameters at least include the steering radius. The invention solves the technical problem of repeated collisions and stalemates of vehicles after collisions in the game, but the invention only focuses on handling abnormal driving states of vehicles and cannot fully cover all potential game scenarios. Summary of the invention

[0005] The present invention provides a method for controlling a skateboard vehicle in a game, aiming to solve the problems of low control freedom of the skateboard vehicle and poor gaming user experience in existing game control methods.

[0006] In order to solve the above technical problems, the present invention provides a method for controlling a skateboard vehicle in a game, wherein a graphical interface is provided through a game terminal, wherein the graphical interface includes a game scene screen and a control interface, wherein the game scene screen includes a game character and a skateboard vehicle, and the control interface is provided with a control control, and a game user controls the game character to drive the skateboard vehicle through the control control, and the method comprises the following steps:

[0007] The game user triggers an operation instruction through the operation control, and the game terminal responds to the current operation instruction through the operation control. The operation instruction includes a simple operation instruction and a special operation instruction.

[0008] The simple operation instructions include turning, moving, accelerating, decelerating, and jumping. For the simple operation instructions during driving, the game terminal makes behavior judgments and responds to the triggers based on the simple operation instructions triggered by the game user.

[0009] The special operation instructions include climbing over and fancy moves. For special operation instructions during driving, the game terminal judges the behavior and responds to the trigger based on the special operation instructions triggered by the game user in combination with the current terrain data.

[0010] Preferably, for simple operation instructions during driving, the game terminal makes behavior judgment and responds to triggers based on the simple operation instructions input by the game user:

[0011] For the triggered operation instruction, if the game terminal determines that it is a turning instruction, the game character and the skateboard vehicle will perform corresponding steering angle mapping according to the steering movement parameters of the game user. First, the turning distance of the game character and the skateboard vehicle is converted according to the drag distance of the game user's current finger click. The rotation angle is obtained by combining this distance with the configured steering sensitivity. Finally, the game character and the skateboard vehicle switch the steering state, and the steering state is canceled after the skateboard vehicle turns.

[0012] For the triggered operation instruction, if the game terminal determines it to be an acceleration or deceleration instruction, the game character and the skateboard vehicle will switch between acceleration or deceleration states, and the acceleration or deceleration state will be canceled after the skateboard vehicle performs the corresponding acceleration or deceleration.

[0013] For the triggered operation instruction, if the game terminal determines that it is a jumping instruction, the game character and the skateboard vehicle both switch to a jumping state, and the jumping state is canceled after the skateboard vehicle touches the ground.

[0014] Preferably, for special operation instructions during driving, the game terminal uses the special operation instructions triggered by the game user in combination with the current terrain data to make behavior judgments and respond to the triggers specifically as follows:

[0015] For the triggered operation instruction, if the game terminal determines that it is a fancy action instruction, then during the current driving process of the skateboard vehicle, the subsequent predicted moving position is calculated in advance according to the current moving speed and moving direction of the skateboard vehicle. The calculation formula of the moving position is specifically:

[0016] TimeDistance=Distance*MoevTime*LogicTimeTick

[0017] Where TimeDistance is the predicted moving position; Distance is the moving distance; MoevTime is the predicted time value; LogicTimeTick is the refresh interval of the game main loop.

[0018] And obtain the subsequent moving path, by judging whether all the foreseeable collision body information and terrain data on the subsequent moving path meet the response conditions for triggering the fancy action, if it is determined that the trigger conditions are met, the skateboard vehicle performs the corresponding fancy action.

[0019] For the triggered operation instruction, if the game terminal determines that it is a climbing instruction, it receives the corresponding climbing value and combines it with the configured climbing height bonus percentage and the moving speed of the skateboard vehicle to obtain the corresponding jumping height, and calculates the parabolic motion trajectory of the game character and the skateboard vehicle during the climbing process based on the jumping height. At the same time, the game character and the skateboard vehicle perform the corresponding climbing action.

[0020] Preferably, during the process of switching the steering states of the game character and the skateboard vehicle, the game terminal sets a fixed refresh frequency time FixedUpdate, and within the refresh frequency time period, performs a smooth transition processing on the steering angle calculated by the Nth frame refresh frequency time and the N+1th frame refresh frequency time, divides FixedUpdate into a smaller refresh frequency time Update, and decomposes the original calculated steering angle into multiple small steering angles through Update, and implements large steering angle refinement processing during multiple Update refresh frequency times to perform a smooth steering transition corresponding to the game character and the skateboard vehicle.

[0021] Preferably, controlling the skateboard vehicle to perform slope steering is specifically as follows:

[0022] During the movement of the skateboard vehicle, the corresponding terrain normal direction is obtained. After obtaining the normal direction, the projection vector of the current skateboard vehicle movement direction on the normal direction plane is calculated to obtain the direction in which rotation is required. Combined with smoothing processing, the current rotation direction is applied to the skateboard vehicle to realize adaptive steering processing on slope terrain.

[0023] Preferably, when controlling the skateboard vehicle to turn, the process also includes automatically correcting the jitter of the game screen, specifically:

[0024] In terms of lens shake processing, we first realize that the movement directions of the skateboard vehicle and the game character are rotated in real time following the shooting angle of the game character's camera. At this time, the steering coefficients of the game character and the skateboard vehicle are controlled by the lens rotation input value of the game player, and then the inconsistency between the game character direction and the skateboard vehicle direction during the steering process is corrected.

[0025] On the other hand, the present invention also provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements a method for controlling a skateboard vehicle in a game as described in any embodiment of the present invention.

[0026] On the other hand, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for controlling a skateboard vehicle in a game as described in any embodiment of the present invention is implemented.

[0027] Compared with the prior art, the present invention has the following technical effects:

[0028] The present invention obtains the current driving information of the vehicle in the game, and then dynamically calculates the current moving path according to the terrain data information and obstacle information during the current driving process, supports users to cross obstacles through operating instructions, and performs fancy action control on special terrains, and at the same time, dynamically fits the final steering effect according to the current camera angle and the steering parameters input by the game user in processing the steering lens and the smooth performance of the character vehicle, so as to achieve smooth steering performance. The smooth steering during the driving process and the triggering of fancy actions of various skateboard state switching can greatly improve the operating feel of the skateboard vehicle, so that the vehicle is no longer limited by the complexity of the terrain during driving. In summary, the method of the present invention further improves the user's vehicle operation experience, and can effectively handle game control under complex driving conditions, solving the problem of inconvenient vehicle use in complex environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is an overall flow chart of the method for controlling a skateboard vehicle in a game according to the present invention;

[0030] Figure 2 It is a schematic diagram of the steering angle smoothing process described in the present invention. DETAILED DESCRIPTION

[0031] In order to make the objectives, technical solutions and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in combination with specific embodiments of the present application and with reference to the accompanying drawings.

[0032] Embodiment 1

[0033] This embodiment provides a method for controlling a skateboard vehicle in a game, wherein a graphical interface is provided through a game terminal, wherein the graphical interface includes a game scene screen and a control interface, wherein the game scene screen includes a game character and a skateboard vehicle, and the control interface is provided with a control control, and a game user controls the game character to drive the skateboard vehicle through the control. The method includes the following steps:

[0034] The game user triggers an operation instruction through the operation control, and the game terminal responds to the current operation instruction through the operation control. The operation instruction includes a simple operation instruction and a special operation instruction.

[0035] The simple operation instructions include turning, moving, accelerating, decelerating, and jumping. For the simple operation instructions during driving, the game terminal makes behavior judgments and responds to the triggers based on the simple operation instructions triggered by the game user.

[0036] The special operation instructions include climbing over and fancy moves. For special operation instructions during driving, the game terminal judges the behavior and responds to the trigger based on the special operation instructions triggered by the game user in combination with the current terrain data.

[0037] As a preferred implementation of this embodiment, for simple operation instructions during driving, the game terminal makes behavior judgment and responds to triggers based on the simple operation instructions input by the game user:

[0038] For the triggered operation instruction, if the game terminal determines that it is a turning instruction, the game character and the skateboard vehicle will perform corresponding steering angle mapping according to the steering movement parameters of the game user, and the input parameter control adjustment will be performed according to the corresponding steering angle mapping value. The specific input parameter mapping process is: Input(Vector3.Distance(P1,P2))*Rotation(Sentity). First, the turning distance of the game character and the skateboard vehicle is converted according to the drag distance of the game user's current finger click. The rotation angle is obtained by combining this distance with the configured steering sensitivity. Finally, the game character and the skateboard vehicle switch the steering state, and the steering state is canceled after the skateboard vehicle turns. Specifically, the steering angle value is normalized here to control the angle control of the skateboard vehicle and handle the steering effect of left and right rotation.

[0039] For the triggered operation instruction, if the game terminal determines it to be an acceleration or deceleration instruction, the game character and the skateboard vehicle will switch between acceleration or deceleration states, and the acceleration or deceleration state will be canceled after the skateboard vehicle performs the corresponding acceleration or deceleration.

[0040] As a preferred implementation of this embodiment, for the acceleration operation triggered by the game terminal response, the acceleration operation calculation principle of the skateboard vehicle is set as follows:

[0041] MoveSpped=UseEnergyVlaue*NormalSpeed*AddRatio

[0042] Wherein, MoveSpped is the accelerated moving speed of the skateboard vehicle; UseEnergyValue is the energy consumption coefficient. The skateboard vehicle setting requires corresponding energy to move the skateboard vehicle. During the game, for the acceleration operation of the skateboard, this operation will increase the energy consumption of the skateboard to achieve acceleration after being triggered, and it is applicable to triggering at any time point; NormalSpeed ​​is the normal moving speed of the skateboard vehicle; AddRatio is the additional speed percentage.

[0043] For the triggered operation instruction, if the game terminal determines that it is a jumping instruction, the game character and the skateboard vehicle both switch to a jumping state, and the jumping state is canceled after the skateboard vehicle touches the ground.

[0044] As a preferred implementation of this embodiment, for special operation instructions during driving, the game terminal uses the special operation instructions triggered by the game user in combination with the current terrain data to make behavior judgments and respond to the triggers specifically as follows:

[0045] For the triggered operation instruction, if the game terminal determines that it is a fancy action instruction, then during the current driving process of the skateboard vehicle, the subsequent predicted moving position is calculated in advance according to the current moving speed and moving direction of the skateboard vehicle. The calculation formula of the moving position is specifically:

[0046] TimeDistance=Distance*MoevTime*LogicTimeTick

[0047] Where TimeDistance is the predicted moving position; Distance is the moving distance; MoevTime is the predicted time value; LogicTimeTick is the refresh interval of the game main loop.

[0048] Furthermore, the calculation formula of the moving distance is specifically:

[0049] Disatance=InputValue*MoveSpeed*SpeedRatio*MoveDirrection

[0050] Where Distance is the moving distance; InputValue is the game user's moving input threshold; MoveSpeed ​​is the moving speed; S[eedRatio is the moving speed bonus percentage; MoveDirrection is the current moving direction.

[0051] The subsequent moving path is obtained, and all foreseeable collision body information and terrain data on the subsequent moving path are judged to see whether they meet the response conditions for triggering the fancy action. If the trigger conditions are met, the skateboard vehicle performs the corresponding fancy action. Specifically, the collision body information mainly includes environmental elements such as houses, stones, roadblocks, and terrain in the game scene.

[0052] For the triggered operation instruction, if the game terminal determines that it is a climbing instruction, it receives the corresponding climbing value and combines it with the configured climbing height bonus percentage and the moving speed of the skateboard vehicle to obtain the corresponding jumping height, and calculates the parabolic motion trajectory of the game character and the skateboard vehicle during the climbing process based on the jumping height. At the same time, the game character and the skateboard vehicle perform the corresponding climbing action.

[0053] As a preferred implementation of this embodiment, refer to Figure 2 As shown, during the process of switching the steering states of the game character and the skateboard vehicle, the game terminal sets a fixed refresh frequency time FixedUpdate, and within the refresh frequency time period, performs a smooth transition processing on the steering angle calculated by the Nth frame refresh frequency time and the N+1th frame refresh frequency time, divides FixedUpdate into a smaller refresh frequency time Update, and decomposes the original calculated steering angle into multiple small steering angles through Update, and realizes the refinement of the large steering angle in the process of multiple Update refresh frequency times, so as to perform a smooth transition of the steering corresponding to the game character and the skateboard vehicle.

[0054] As a preferred implementation method of this embodiment, controlling the skateboard vehicle to perform slope steering is specifically as follows: obtaining the corresponding terrain normal direction during the movement of the skateboard vehicle, and after obtaining the normal direction, calculating the projection vector of the current skateboard vehicle movement direction on the normal direction plane to obtain the direction in which rotation is required, and in combination with smoothing processing, applying the current rotation direction to the skateboard vehicle to implement adaptive steering processing on slope terrain.

[0055] As a preferred implementation of this embodiment, when controlling the skateboard vehicle to turn, it also includes automatically correcting the camera shake of the game screen, specifically:

[0056] In terms of lens shake processing, we first realize that the movement directions of the skateboard vehicle and the game character are rotated in real time following the shooting angle of the game character's camera. At this time, the steering coefficients of the game character and the skateboard vehicle are controlled by the lens rotation input value of the game player, and then the inconsistency between the game character direction and the skateboard vehicle direction during the steering process is corrected.

[0057] Embodiment 2

[0058] This embodiment provides an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for controlling a skateboard vehicle in a game as described in any embodiment of the present invention is implemented.

[0059] Embodiment 3

[0060] This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for controlling a skateboard vehicle in a game as described in any embodiment of the present invention is implemented.

[0061] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.

[0062] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0063] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0064] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.

[0065] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for controlling a skateboard vehicle in a game. It is characterized in that A graphical interface is provided through a game terminal, wherein the graphical interface includes a game scene screen and a control interface, wherein the game scene screen includes a game character and a skateboard vehicle, and the control interface is provided with a control control, and a game user controls the game character to drive the skateboard vehicle through the control control, and the method includes the following steps: The game user triggers an operation instruction through the operation control, and the game terminal responds to the current operation instruction through the operation control. The operation instruction includes a simple operation instruction and a special operation instruction; The simple operation instructions include turning, moving, accelerating, decelerating, and jumping. For the simple operation instructions during driving, the game terminal makes behavior judgment and responds to the trigger according to the simple operation instructions triggered by the game user; The special operation instructions include climbing over and fancy moves. For special operation instructions during driving, the game terminal judges the behavior and responds to the trigger based on the special operation instructions triggered by the game user in combination with the current terrain data.

2. The method for controlling a skateboard vehicle in a game according to claim 1, It is characterized in that For simple operation instructions during driving, the game terminal makes behavior judgment and responds to triggers based on the simple operation instructions input by the game user: For the triggered operation instruction, if the game terminal determines that it is a turning instruction, the game character and the skateboard vehicle will perform corresponding turning angle mapping according to the turning movement parameters of the game user. First, the turning distance of the game character and the skateboard vehicle is converted according to the drag distance of the game user's current finger click. The rotation angle is obtained by combining this distance with the configured steering sensitivity. Finally, the game character and the skateboard vehicle switch the turning state, and the turning state is canceled after the skateboard vehicle turns. For the triggered operation instruction, if the game terminal determines that it is an acceleration or deceleration instruction, the game character and the skateboard vehicle will switch between acceleration or deceleration states, and the acceleration or deceleration state will be canceled after the skateboard vehicle performs the corresponding acceleration or deceleration; For the triggered operation instruction, if the game terminal determines that it is a jumping instruction, the game character and the skateboard vehicle both switch to a jumping state, and the jumping state is canceled after the skateboard vehicle touches the ground.

3. The method for controlling a skateboard vehicle in a game according to claim 1, It is characterized in that For special operation instructions during driving, the game terminal uses the special operation instructions triggered by the game user in combination with the current terrain data to make behavior judgments and respond to the triggers as follows: For the triggered operation instruction, if the game terminal determines that it is a fancy action instruction, then during the current driving process of the skateboard vehicle, the subsequent predicted moving position is calculated in advance according to the current moving speed and moving direction of the skateboard vehicle. The calculation formula of the moving position is specifically: TimeDistance=Distance*MoevTime*LogicTimeTick Where TimeDistance is the predicted moving position; Distance is the moving distance; MoevTime is the predicted time value; LogicTimeTick is the refresh interval of the game main loop; And obtain the subsequent moving path, by judging whether all the foreseeable collision body information and terrain data on the subsequent moving path meet the response conditions for triggering the fancy action, if it is determined that the trigger conditions are met, the skateboard vehicle performs the corresponding fancy action; For the triggered operation instruction, if the game terminal determines that it is a climbing instruction, it receives the corresponding climbing value and combines it with the configured climbing height bonus percentage and the moving speed of the skateboard vehicle to obtain the corresponding jumping height, and calculates the parabolic motion trajectory of the game character and the skateboard vehicle during the climbing process based on the jumping height. At the same time, the game character and the skateboard vehicle perform the corresponding climbing action.

4. The method for controlling a skateboard vehicle in a game according to claim 2, It is characterized in that During the process of switching the steering states of the game character and the skateboard vehicle, the game terminal sets a fixed refresh frequency time FixedUpdate. Within the refresh frequency time period, the steering angle calculated by the Nth frame refresh frequency time and the N+1th frame refresh frequency time is smoothly transitioned, and the FixedUpdate is divided into a smaller refresh frequency time Update. The original calculated steering angle is decomposed into multiple small steering angles through Update, and the large steering angle is refined during multiple Update refresh frequency times to perform a smooth steering transition corresponding to the game character and the skateboard vehicle.

5. The method for controlling a skateboard vehicle in a game according to claim 2, It is characterized in that Controlling the skateboard vehicle to turn on a slope is as follows: During the movement of the skateboard vehicle, the corresponding terrain normal direction is obtained. After obtaining the normal direction, the projection vector of the current skateboard vehicle movement direction on the normal direction plane is calculated to obtain the direction in which rotation is required. Combined with smoothing processing, the current rotation direction is applied to the skateboard vehicle to realize adaptive steering processing on slope terrain.

6. The method for controlling a skateboard vehicle in a game according to claim 2, It is characterized in that Controlling the skateboard vehicle to turn also includes automatic jitter correction of the game screen camera, specifically: In terms of lens shake processing, we first realize that the movement directions of the skateboard vehicle and the game character are rotated in real time following the shooting angle of the game character's camera. At this time, the steering coefficients of the game character and the skateboard vehicle are controlled by the lens rotation input value of the game player, and then the inconsistency between the game character direction and the skateboard vehicle direction during the steering process is corrected.

7. An electronic device, the electronic device include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method for controlling a skateboard vehicle in a game as described in any one of claims 1 to 6 when executing the computer program.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method of controlling a skateboard vehicle in the game according to any one of claims 1 to 6 is implemented.