Auxiliary driving control method, device and electronic equipment in game
By monitoring the sensor parameters of the touch terminal, adjusting the lens direction of the virtual camera or obtaining wide-angle game scenes, the problem of inflexible and inaccurate timing of assisted driving prompts in existing racing games is solved, and a better gaming experience is achieved.
Patent Information
- Application Number
- CN202211112118.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-13
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2042-09-13
AI Technical Summary
The assisted driving mechanism in the existing racing game has the problem of inflexible timing and inaccurate prompts, and unnecessary prompts interfere with players' operations.
By monitoring the gravity-sensing X-axis offset parameters and touch-sensing parameters of the touch terminal, we can determine whether the preset auxiliary control conditions are met, adjust the lens direction of the virtual camera or obtain a wide-angle game scene, and change the display content of the graphical user interface so that players can intuitively feel the road conditions ahead.
It realizes the timing of auxiliary prompts flexible and accurate, avoids unnecessary prompts interfering with players' operations, and responds in a timely manner when needed, improving the player's gaming experience.
Smart Images

Figure CN115487497B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a method, device and electronic equipment for assisting driving control in games. Background Art
[0002] The auxiliary mechanism is a mechanism that helps novice players quickly enter the game to experience core operations and get started quickly. Currently, more and more mobile games provide players with rich auxiliary mechanisms, which can greatly improve the novice-friendliness; in racing mobile games with a wide range of users, rich operation-related auxiliary mechanisms can especially improve the gaming experience of a wide range of users.
[0003] Currently, there are three types of assist mechanisms in racing games:
[0004] 1. Setting driving lines on the ground to assist in providing the best driving path;
[0005] 2. Display the forward turn prompt icon on the UI layer;
[0006] 3. Prompt the direction of the road ahead in the map scene.
[0007] The above three methods all have certain defects:
[0008] 1. The way of setting the driving line on the ground requires the auxiliary line to be constantly updated in real time, which makes it difficult for players to completely follow the driving line; and the prompt distance is limited, making it difficult to intuitively know the total turn of the curve ahead;
[0009] 2. In the way of displaying the forward turn prompt icon on the UI layer, due to the different speeds of each player, it is impossible to accurately determine the prompt timing required by each player. The result is that the prompt sometimes appears early, sometimes late, and sometimes not at all (currently, not every intersection in the game will have a prompt, because it is impossible to accurately determine whether the player needs a direction prompt at this time).
[0010] 3. The way to indicate the direction of the road ahead in the map scene has limited flexibility, the location of the map scene is relatively fixed, and too many of them affect the atmosphere of the game scene. Summary of the invention
[0011] The purpose of the present application is to provide a method, device and electronic device for auxiliary driving control in a game. When the monitoring parameters of the sensor of the touch terminal meet the preset auxiliary control conditions, the display content in the graphical user interface is changed by adjusting the lens direction of the virtual camera and / or obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera, so that the player can intuitively feel the road conditions ahead to adjust the direction. This method of judging whether to turn on the auxiliary control by monitoring parameters has flexible and accurate prompt timing, and can avoid the appearance of unnecessary prompts to disturb the player's operation, and can also respond in time when the player needs prompts.
[0012] In a first aspect, an embodiment of the present application provides an auxiliary driving control method in a game, wherein a graphical user interface of the game is displayed through a touch terminal; the content displayed in the graphical user interface includes at least a part of the game scene; the method includes: responding to a driving control operation on a controlled virtual vehicle in the game, controlling the controlled virtual vehicle to move in the game scene according to the driving control operation; in response to the monitoring parameters of the sensor of the touch terminal satisfying a preset auxiliary control condition, starting a preset auxiliary control mode, and controlling the displayed content in the graphical user interface according to the auxiliary control mode; wherein the auxiliary control mode includes: adjusting the lens direction of the virtual camera and / or obtaining a wide-angle game scene corresponding to the wide-angle lens of the virtual camera.
[0013] In a preferred embodiment of the present application, the above-mentioned monitoring parameters include the gravity sensing X-axis offset parameters of the touch terminal, and / or the touch sensing parameters of the touch terminal; in response to the monitoring parameters of the sensor of the touch terminal satisfying the preset auxiliary control conditions, the step of starting the preset auxiliary control mode includes: in response to the numerical parameters in the gravity sensing X-axis offset parameters and / or the touch sensing parameters of the touch terminal reaching the preset threshold value, starting the preset auxiliary control mode.
[0014] In a preferred embodiment of the present application, the above-mentioned auxiliary control method includes: adjusting the lens direction of the virtual camera; the step of controlling the display content in the graphical user interface according to the auxiliary control method includes: obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters; adjusting the lens direction of the virtual camera according to the target deflection direction and the target deflection angle to adjust the game scene displayed in the graphical user interface.
[0015] In a preferred embodiment of the present application, the numerical parameters in the above-mentioned gravity-sensing X-axis deflection parameters include the deflection angle, and the directional parameters in the gravity-sensing X-axis deflection parameters include the deflection direction; the step of obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters includes: determining the deflection direction in the gravity-sensing X-axis deflection parameters as the target deflection direction, and determining the deflection angle in the gravity-sensing X-axis deflection parameters as the target deflection angle.
[0016] In a preferred embodiment of the present application, the above-mentioned graphical user interface includes a direction control; the direction control includes a left control and a right control; the numerical parameters in the touch sensing parameters include: the pressure value or pressing duration detected when the direction control is pressed, the sliding speed detected when the direction control is slid, or the number of clicks detected when the direction control is clicked; the direction parameters in the touch sensing parameters include: the direction indicated by the direction control; the step of obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters includes: taking the direction indicated by the direction control in the touch sensing parameters as the target deflection direction; and determining the deflection angle obtained by converting the numerical parameters in the touch sensing parameters according to a preset mapping relationship as the target deflection angle.
[0017] In a preferred embodiment of the present application, the step of adjusting the lens direction of the virtual camera according to the target deflection direction and the target deflection angle includes: determining the target adjustment angle of the lens direction of the virtual camera according to the target deflection angle; and controlling the lens direction of the virtual camera to deflect by the target adjustment angle relative to the direction of the controlled virtual vehicle according to the target deflection direction.
[0018] In a preferred embodiment of the present application, the step of determining the target adjustment angle of the lens direction of the virtual camera based on the target deflection angle includes: calculating the difference between the target deflection angle and the preset correction angle; and determining the difference as the target adjustment angle of the lens direction of the virtual camera.
[0019] In a preferred embodiment of the present application, the above-mentioned auxiliary control method includes: obtaining a wide-angle game scene corresponding to the wide-angle lens of the virtual camera; the step of controlling the display content in the graphical user interface according to the auxiliary control method includes: obtaining the target deflection direction corresponding to the monitoring parameter; according to the target deflection direction, obtaining the wide-angle game scene captured by the wide-angle lens of the corresponding virtual camera, and determining the display position corresponding to the wide-angle game scene; displaying the wide-angle game scene at the display position in the graphical user interface.
[0020] In a preferred embodiment of the present application, the step of obtaining the wide-angle game scene corresponding to the wide-angle lens of the corresponding virtual camera according to the target deflection direction includes: if the target deflection direction is to the left, the wide-angle game scene within the specified left front section corresponding to the current position of the controlled virtual vehicle is captured by the wide-angle lens of the virtual camera; if the target deflection direction is to the right, the wide-angle game scene within the specified right front section corresponding to the current position of the controlled virtual vehicle is captured by the wide-angle lens of the virtual camera.
[0021] In a preferred embodiment of the present application, the step of determining the display position corresponding to the protagonist's game scene based on the target deflection direction includes: if the target deflection direction is to the left, determining the display position corresponding to the wide-angle game scene to be the upper left area of the graphical user interface; if the target deflection direction is to the right, determining the display position corresponding to the wide-angle game scene to be the upper right area of the graphical user interface.
[0022] In a preferred embodiment of the present application, the above method also includes: determining a corresponding turn indicator icon according to the target deflection direction; and displaying the turn indicator icon in a wide-angle game scene.
[0023] In a preferred embodiment of the present application, the above method also includes: in response to the driving data of the controlled virtual vehicle or the control duration corresponding to the auxiliary control mode satisfying a preset auxiliary cancellation condition, ending the auxiliary control mode.
[0024] In a preferred embodiment of the present application, the step of terminating the auxiliary control mode in response to the control time corresponding to the driving data of the controlled virtual vehicle or the auxiliary control mode satisfying the preset auxiliary cancellation condition includes: terminating the auxiliary control mode in response to the display time of the wide-angle game scene reaching a specified time, or the controlled virtual vehicle ending a turn event.
[0025] In a second aspect, an embodiment of the present application further provides an auxiliary driving control device for a game, which displays a graphical user interface of the game through a touch terminal; the content displayed in the graphical user interface includes at least part of the game scene; the device includes: a vehicle driving control module, which is used to control the driving control operation in response to the controlled virtual vehicle in the game, and control the movement of the controlled virtual vehicle in the game scene according to the driving control operation; an auxiliary control module, which is used to start a preset auxiliary control method in response to the monitoring parameters of the sensor of the touch terminal satisfying the preset auxiliary control conditions, and control the display content in the graphical user interface according to the auxiliary control method; wherein the auxiliary control method includes: adjusting the lens direction of the virtual camera and / or obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera.
[0026] In a third aspect, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method described in the first aspect above.
[0027] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method described in the first aspect above.
[0028] In a method, device and electronic device for auxiliary driving control in a game provided by an embodiment of the present application, a graphical user interface of the game is displayed through a touch terminal; the content displayed in the graphical user interface includes at least part of the game scene; the method includes: responding to the driving control operation for the controlled virtual vehicle in the game, controlling the controlled virtual vehicle to move in the game scene according to the driving control operation; responding to the monitoring parameters of the sensor of the touch terminal meeting the preset auxiliary control conditions, starting the preset auxiliary control mode, and controlling the display content in the graphical user interface according to the auxiliary control mode; wherein the auxiliary control mode includes: adjusting the lens direction of the virtual camera and / or obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera. In the embodiment of the present application, when the monitoring parameters of the sensor of the touch terminal meet the preset auxiliary control conditions, the display content in the graphical user interface is changed by adjusting the lens direction of the virtual camera and / or obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera, so that the player can intuitively feel the road conditions ahead to adjust the direction. This method of judging whether to turn on the auxiliary control by monitoring parameters is flexible and accurate in prompting timing, and can avoid unnecessary prompts that disturb the player's operation, and can also respond in time when the player needs prompts. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0030] Figure 1 A flowchart of an auxiliary driving control method in a game provided by an embodiment of the present application;
[0031] Figure 2 A flowchart of another auxiliary driving control method in a game provided by an embodiment of the present application;
[0032] Figure 3 A flowchart of another auxiliary driving control method in a racing game provided by an embodiment of the present application;
[0033] Figure 4 A schematic diagram of a road wide-angle lens and an indicator icon provided in an embodiment of the present application;
[0034] Figure 5 A schematic diagram of a game scene of a left road wide-angle lens and indicator icons provided in an embodiment of the present application;
[0035] Figure 6A structural block diagram of an auxiliary driving control device in a racing game provided by an embodiment of the present application;
[0036] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The technical solution of the present application will be described clearly and completely in conjunction with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0038] There are three types of vehicle driving assistance mechanisms currently used in racing games:
[0039] The first method is to set driving lines on the ground to assist in prompting the best driving path. In this method, the auxiliary lines need to be continuously updated in real time, which makes it difficult for players to completely follow the driving lines. In addition, the prompt distance is limited, making it difficult for players to intuitively know the overall turn of the curve ahead.
[0040] The second method is to display the forward turn prompt icon on the UI layer. In this method, since each player's car speed is different, it is impossible to accurately determine the prompt timing required by each player. The result is that the prompt sometimes appears early, sometimes late, and sometimes not appears (currently not every intersection in the game will have prompts, because it is impossible to accurately determine whether the player needs direction prompts at this time).
[0041] The third method is to indicate the direction of the road ahead in the map scene. In this method, the location of the map scene is relatively fixed, the flexibility is limited, and too much of it will affect the atmosphere of the game scene.
[0042] Based on this, the embodiments of the present application provide a method, device and electronic device for assisting driving control in a game. When it is detected that the player's operation on the touch terminal causes the sensing detection value generated by the touch terminal to exceed the threshold, an icon prompting a road turn is displayed in a graphical user interface to prompt the player the turning time and direction. This method is flexible and accurate in prompting timing, can respond to prompts according to the player's operation, avoids the appearance of unnecessary prompts to disturb the player's operation, and can also respond in time when the player needs prompts.
[0043] To facilitate understanding of this embodiment, a method for assisting driving control in a game disclosed in an embodiment of the present application is first introduced in detail.
[0044] In existing racing games, players usually control the direction of the controlled virtual vehicle by touching the direction control on the touch terminal. However, when observing novice players (general user groups) controlling the vehicle, it was found that some players would unconsciously shift or rotate the phone when turning, or increase the pressure, clicks or sliding speed. Based on this, the embodiment of the present application provides an auxiliary mechanism that uses the above operations of the player as the prompt timing to achieve flexible and accurate turning prompts.
[0045] Figure 1 A flowchart of an auxiliary driving control method in a game provided by an embodiment of the present application. In this embodiment, a graphical user interface of the game is displayed by a touch terminal; the content displayed in the graphical user interface includes at least part of the game scene; for a first-person game, the controlled virtual vehicle is not displayed in the graphical user interface at the beginning. The method specifically includes the following steps:
[0046] Step S102 , in response to a driving control operation on a controlled virtual vehicle in the game, controlling the controlled virtual vehicle to move in the game scene according to the driving control operation.
[0047] The driving control operation may include a touch operation on a direction control to realize the direction control of the controlled virtual vehicle. In a racing game, the vehicle usually does not need human control to move forward, and only needs to control the direction of the vehicle. When controlling the controlled virtual vehicle to move in the game scene, the camera direction and the direction of the controlled virtual vehicle may be consistent or not strictly consistent. For example, in some games, on a straight track, the vehicle is slightly offset, but the camera direction does not change.
[0048] Step S104, in response to the monitoring parameters of the sensor of the touch terminal satisfying the preset auxiliary control conditions, starting the preset auxiliary control method, and controlling the display content in the graphical user interface according to the auxiliary control method; wherein the auxiliary control method includes: adjusting the lens direction of the virtual camera and / or obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera.
[0049] The above-mentioned monitoring parameters may include: gravity sensing X-axis offset parameters of the touch terminal, and / or touch sensing parameters of the touch terminal; both the gravity sensing X-axis offset parameters and the touch sensing parameters may include numerical parameters and direction parameters; when judging whether the preset auxiliary control conditions are met, it can be achieved by judging whether the specified threshold is reached based on the numerical parameters in the monitoring parameters.
[0050] The above-mentioned auxiliary control method of adjusting the lens direction of the virtual camera achieves the purpose of changing the display content in the graphical user interface by changing the lens direction of the virtual camera. It can enable players to intuitively feel the changes in the entire game scene, which is conducive to players quickly understanding the road conditions ahead.
[0051] The above method of obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera can facilitate the display of the wide-angle game scene under the wide-angle lens in the graphical user interface, and can also enable the player to quickly understand the turning situation of the road ahead.
[0052] The in-game assisted driving control method provided in the embodiment of the present application, when the monitoring parameters of the sensor of the touch terminal meet the preset auxiliary control conditions, changes the display content in the graphical user interface by adjusting the lens direction of the virtual camera and / or obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera, so that the player can intuitively feel the road conditions ahead to adjust the direction. This method of judging whether to turn on the auxiliary control by monitoring parameters has flexible and accurate prompt timing, and can avoid the appearance of unnecessary prompts to disturb the player's operation, and can also respond in time when the player needs prompts.
[0053] An embodiment of the present application also provides an auxiliary driving control method in a game, which is implemented on the basis of the previous embodiment. This embodiment focuses on describing the auxiliary control mode activation judgment process and the auxiliary control process.
[0054] In a preferred embodiment of the present application, the above monitoring parameters include the gravity sensing X-axis offset parameter of the touch terminal, and / or the touch sensing parameter of the touch terminal; the gravity sensing X-axis offset parameter and the touch sensing parameter both include numerical parameters and direction parameters. For example, the gravity sensing X-axis offset parameter includes the deflection angle and the deflection direction; the numerical parameters in the touch sensing parameter include: the pressure value or pressing duration detected when the direction control is pressed, the sliding speed detected when the direction control is slid, or the number of clicks detected when the direction control is clicked; the direction parameter in the touch sensing parameter includes: the direction indicated by the direction control.
[0055] The detection of gravity sensing X-axis offset parameters requires the use of gravity sensing technology. Gravity sensing refers to the perception of the direction of gravity of the earth. Mobile phone gravity sensing technology is realized by using the piezoelectric effect. Simply put, it measures the force of two orthogonal directions of gravity of a heavy object inside (the heavy object and the piezoelectric piece are made into one) to determine the horizontal direction.
[0056] When the player controls the controlled virtual vehicle to drive, when the touch terminal is deflected, the gravity sensing X-axis offset parameter corresponding to the touch terminal, that is, the deflection angle and deflection direction of the X-axis, can be detected through the gravity sensing detection technology.
[0057] When the player controls the virtual vehicle to drive, if the player performs touch operation on the direction control, the touch sensing value can be detected through 3D touch technology to obtain the touch sensing parameters corresponding to the touch terminal.
[0058] If the touch operation includes a pressing operation, the pressing duration and / or touch pressure corresponding to the pressing operation is used as the numerical parameters in the touch sensing parameters; if the touch operation includes a clicking operation, the number of clicks corresponding to the clicking operation is used as the numerical parameters in the touch sensing parameters; if the touch operation includes a sliding operation, the sliding speed corresponding to the sliding operation is used as the numerical parameter in the touch sensing parameters.
[0059] The above-mentioned step of starting the preset auxiliary control mode in response to the monitoring parameters of the sensor of the touch terminal satisfying the preset auxiliary control conditions includes: starting the preset auxiliary control mode in response to the numerical parameters in the gravity sensing X-axis offset parameter and / or the touch sensing parameter of the touch terminal reaching the preset threshold.
[0060] For example, when the deflection angle in the gravity sensing X-axis offset parameter reaches the angle threshold, the preset auxiliary control method is activated; or when the pressure value, pressing duration, sliding speed, or number of clicks in the numerical parameters of the touch sensing parameter reaches the corresponding threshold, the preset auxiliary control method is activated.
[0061] In order to help players feel the road conditions ahead more intuitively when turning and to prepare for the turn, in a preferred embodiment of the present application, an auxiliary control method is provided - adjusting the lens direction of the virtual camera; that is, the steps of controlling the display content in the graphical user interface according to the auxiliary control method include the following steps, see Figure 2 As shown:
[0062] Step S202, obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters.
[0063] In the first case, the monitoring parameter is the gravity-sensing X-axis deflection parameter; since the numerical parameters in the gravity-sensing X-axis deflection parameter include the deflection angle, and the direction parameters include the deflection direction, the deflection direction in the gravity-sensing X-axis deflection parameter can be determined as the target deflection direction, and the deflection angle in the gravity-sensing X-axis deflection parameter can be determined as the target deflection angle.
[0064] In the second case, the monitoring parameter is a touch sensing parameter. In an embodiment of the present application, the above-mentioned graphical user interface also includes a direction control; the direction control includes a left control and a right control; the numerical parameters in the touch sensing parameters include: the pressure value or pressing duration detected when the direction control is pressed, the sliding speed detected when the direction control is slid, or the number of clicks detected when the direction control is clicked; the direction parameters in the touch sensing parameters include: the direction indicated by the direction control; the direction indicated by the direction control in the touch sensing parameters is used as the target deflection direction; the deflection angle obtained by converting the numerical parameters in the touch sensing parameters according to the preset mapping relationship is determined as the target deflection angle.
[0065] For example, the preset mapping relationship may include: the correspondence between pressure value, pressing duration, sliding speed, or number of clicks and deflection angle, respectively. According to the correspondence, the real-time detected pressure value, pressing duration, sliding speed, or number of clicks can be converted into the corresponding target deflection angle for subsequent adjustment of the lens direction of the virtual camera.
[0066] Step S204, adjusting the lens direction of the virtual camera according to the target deflection direction and the target deflection angle, so as to adjust the game scene displayed in the graphical user interface.
[0067] (1) According to the target deflection angle, the target adjustment angle of the lens direction of the virtual camera is determined.
[0068] During specific implementation, the difference between the target deflection angle and the preset correction angle is calculated; and the difference is determined as the target adjustment angle of the lens direction of the virtual camera.
[0069] For example, when the phone is tilted to the left, the numerical parameter corresponding to the gravity sensing X-axis offset parameter is detected as a deflection angle of x degrees, and the camera in the corresponding game will adjust the angle to xy degrees; among them, y degrees refers to a suitable value adjusted according to the feel, that is, a preset angle value. The greater the deflection angle of the gravity sensing caused by the tilt of the phone, the greater the lens will turn.
[0070] (2) According to the target deflection direction, the lens direction of the virtual camera is controlled to deflect the target adjustment angle relative to the direction of the controlled virtual vehicle.
[0071] After the lens direction of the virtual camera is adjusted according to the above-mentioned target deflection direction and target adjustment angle, the game scene displayed in the graphical user interface will be more inclined to enable the player to understand the turning road conditions ahead.
[0072] Through the above-mentioned auxiliary control method of adjusting the lens direction of the virtual camera, the player can feel the road conditions ahead more intuitively when turning, which is conducive to the control of vehicle turning and improves the player's gaming experience.
[0073] In order to further provide players with a more intuitive and detailed road condition display, another auxiliary control method is provided in the embodiment of the present application - obtaining a wide-angle game scene corresponding to the wide-angle lens of the virtual camera; that is, the above-mentioned step of controlling the display content in the graphical user interface according to the auxiliary control method includes the following steps:
[0074] Step S302, obtaining the target deflection direction corresponding to the monitoring parameter; the process of obtaining the target deflection direction is the same as that in the aforementioned auxiliary control method for adjusting the lens direction of the virtual camera, and will not be repeated here.
[0075] Step S304, according to the target deflection direction, obtain the wide-angle game scene captured by the wide-angle lens of the corresponding virtual camera, and determine the display position corresponding to the wide-angle game scene.
[0076] In specific implementation, if the target deflection direction is left, the wide-angle game scene within the range of the designated road section in the left front corresponding to the current position of the controlled virtual vehicle is collected through the wide-angle lens of the virtual camera; the display position corresponding to the wide-angle game scene is determined to be the upper left area of the graphical user interface;
[0077] If the target deflection direction is right, the wide-angle game scene within the specified road section in the right front corresponding to the current position of the controlled virtual vehicle is captured through the wide-angle lens of the virtual camera; the display position corresponding to the wide-angle game scene is determined to be the upper right area of the graphical user interface.
[0078] Step S306, displaying a wide-angle game scene at the display position in the graphical user interface.
[0079] In addition, in order to more intuitively prompt the player to turn in time, the above method also includes: determining a corresponding turning indicator icon according to the target deflection direction; and displaying the turning indicator icon in a wide-angle game scene.
[0080] See also Figure 4 As shown, when the phone is tilted to the left (as shown in A in the figure), a wide-angle road mirror (as shown in C in the figure) is displayed in the upper left area of the graphical user interface. The wide-angle road mirror displays the dynamic road scene in the specified range in front of the current position of the vehicle in real time, that is, the wide-angle game scene, and the left turn indicator icon is displayed in the upper part of the wide-angle road mirror. When the phone is tilted to the right (as shown in B in the figure), a wide-angle road mirror (as shown in D in the figure) is displayed in the upper right area of the graphical user interface. The wide-angle road mirror displays the dynamic road scene in the specified range in front of the current position of the vehicle in real time, and the right turn indicator icon is displayed in the upper part of the wide-angle road mirror. Figure 5 The figure shows the game scene when the mobile phone is tilted to the left.
[0081] The embodiment of the present application also provides a method for determining the timing of canceling the auxiliary control mode, that is, in response to the driving data of the controlled virtual vehicle or the control duration corresponding to the auxiliary control mode meeting the preset auxiliary cancellation condition, the auxiliary control mode is terminated. Specifically, in response to the display duration of the wide-angle game scene reaching a specified duration, or the controlled virtual vehicle turning end event, the auxiliary control mode is terminated. For example, the lens direction adjustment of the virtual camera is canceled, and / or the display of the road wide-angle lens and indicator icon is canceled.
[0082] For example, when the touch terminal tilts to the left to a certain angle or the touch sensing value exceeds the corresponding threshold, the left wide-angle mirror of the road is displayed, and the lens direction of the virtual camera is deflected to the left until the front of the vehicle is straightened after the turn; when the touch terminal tilts to the right to a certain angle or the touch sensing value exceeds the corresponding threshold, the right wide-angle mirror of the road is displayed and / or the lens turns to the right until the front of the vehicle is straightened after the turn.
[0083] The auxiliary driving control method in the game provided by the embodiment of the present application enables the player to quickly obtain auxiliary prompts for the road ahead by tilting the mobile phone; avoids the frequent occurrence of systematic direction prompts to disturb the player's operating experience (that is, the auxiliary prompts are awakened by the player's operation only when the player needs assistance); helps the player to receive wide-angle mirror prompts of the road ahead for a period of time during turning; it can not only serve as a direction aid when turning, but also as an operation release assistance mechanism for players when drifting, overtaking, and releasing big moves.
[0084] Based on the above method embodiment, the present application embodiment also provides an auxiliary driving control device in a game, which displays a graphical user interface of the game through a touch terminal; the content displayed in the graphical user interface includes at least part of the game scene; see Figure 6 As shown, the device includes: a vehicle driving control module 62, which is used to control the controlled virtual vehicle in the game in response to the driving control operation, and control the controlled virtual vehicle to move in the game scene according to the driving control operation; an auxiliary control module 64, which is used to start a preset auxiliary control method in response to the monitoring parameters of the sensor of the touch terminal meeting the preset auxiliary control conditions, and control the display content in the graphical user interface according to the auxiliary control method; wherein the auxiliary control method includes: adjusting the lens direction of the virtual camera and / or obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera.
[0085] In the auxiliary driving control device in the game provided by the embodiment of the present application, when the monitoring parameters of the sensor of the touch terminal meet the preset auxiliary control conditions, the display content in the graphical user interface is changed by adjusting the lens direction of the virtual camera and / or obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera, so that the player can intuitively feel the road condition ahead to adjust the direction. This method of judging whether to turn on auxiliary control by monitoring parameters has flexible and accurate prompt timing, and can avoid the appearance of unnecessary prompts to disturb the player's operation, and can also respond in time when the player needs prompts.
[0086] The above-mentioned monitoring parameters include the gravity sensing X-axis offset parameters of the touch terminal and / or the touch sensing parameters of the touch terminal; the gravity sensing X-axis offset parameters and the touch sensing parameters both include numerical parameters and direction parameters; the auxiliary control module 64 is also used to start a preset auxiliary control mode in response to the numerical parameters in the gravity sensing X-axis offset parameters and / or the touch sensing parameters of the touch terminal reaching a preset threshold.
[0087] The above-mentioned auxiliary control method includes: adjusting the lens direction of the virtual camera; the auxiliary control module 64 is also used to obtain the target deflection direction and target deflection angle corresponding to the monitoring parameters; according to the target deflection direction and target deflection angle, adjust the lens direction of the virtual camera to adjust the game scene displayed in the graphical user interface.
[0088] The numerical parameters in the above-mentioned gravity-sensing X-axis deflection parameters include the deflection angle, and the direction parameters include the deflection direction; the auxiliary control module 64 is also used to determine the deflection direction in the gravity-sensing X-axis deflection parameters as the target deflection direction, and determine the deflection angle in the gravity-sensing X-axis deflection parameters as the target deflection angle.
[0089] The above-mentioned graphical user interface includes a direction control; the direction control includes a left control and a right control; the numerical parameters in the touch sensing parameters include: the pressure value or pressing duration detected when the direction control is pressed, the sliding speed detected when the direction control is slid, or the number of clicks detected when the direction control is clicked; the direction parameters in the touch sensing parameters include: the direction indicated by the direction control; the auxiliary control module 64 is also used to use the direction indicated by the direction control in the touch sensing parameters as the target deflection direction; and the deflection angle obtained by converting the numerical parameters in the touch sensing parameters according to a preset mapping relationship is determined as the target deflection angle.
[0090] The auxiliary control module 64 is also used to determine the target adjustment angle of the lens direction of the virtual camera according to the target deflection angle; and control the lens direction of the virtual camera to deflect the target adjustment angle relative to the direction of the controlled virtual vehicle according to the target deflection direction.
[0091] The auxiliary control module 64 is further used to calculate the difference between the target deflection angle and the preset correction angle; and determine the difference as the target adjustment angle of the lens direction of the virtual camera.
[0092] The above-mentioned auxiliary control method includes: obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera; the auxiliary control module 64 is also used to obtain the target deflection direction corresponding to the monitoring parameters; according to the target deflection direction, obtaining the wide-angle game scene captured by the wide-angle lens of the corresponding virtual camera, and determining the display position corresponding to the wide-angle game scene; displaying the wide-angle game scene at the display position in the graphical user interface.
[0093] The auxiliary control module 64 is also used to capture the wide-angle game scene within the specified left front section corresponding to the current position of the controlled virtual vehicle through the wide-angle lens of the virtual camera if the target deflection direction is to the left; and to capture the wide-angle game scene within the specified right front section corresponding to the current position of the controlled virtual vehicle through the wide-angle lens of the virtual camera if the target deflection direction is to the right.
[0094] The auxiliary control module 64 is also used to determine that the display position corresponding to the wide-angle game scene is the upper left area of the graphical user interface if the target deflection direction is left; if the target deflection direction is right, determine that the display position corresponding to the wide-angle game scene is the upper right area of the graphical user interface.
[0095] The auxiliary control module 64 is also used to determine the corresponding turning indicator icon according to the target deflection direction; and display the turning indicator icon in the wide-angle game scene.
[0096] The above-mentioned device also includes: an auxiliary cancellation module, which is used to end the auxiliary control mode in response to the driving data of the controlled virtual vehicle or the control time corresponding to the auxiliary control mode meeting the preset auxiliary cancellation condition.
[0097] The auxiliary cancellation module is used to terminate the auxiliary control mode in response to the display time of the wide-angle game scene reaching a specified time, or the controlled virtual vehicle turning end event.
[0098] The device provided in the embodiment of the present application has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the embodiment of the device, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0099] The present application also provides an electronic device, such as Figure 7 FIG. 1 is a schematic diagram of the structure of the electronic device, wherein the electronic device includes a processor 71 and a memory 70, the memory 70 stores computer executable instructions that can be executed by the processor 71, and the processor 71 executes the computer executable instructions to implement the following method steps:
[0100] In response to a driving control operation on a controlled virtual vehicle in the game, the controlled virtual vehicle is controlled to move in the game scene according to the driving control operation; in response to the monitoring parameters of the sensor of the touch terminal satisfying a preset auxiliary control condition, a preset auxiliary control method is started, and the display content in the graphical user interface is controlled according to the auxiliary control method; wherein the auxiliary control method includes: adjusting the lens direction of the virtual camera and / or obtaining a wide-angle game scene corresponding to the wide-angle lens of the virtual camera.
[0101] The above-mentioned monitoring parameters include the gravity sensing X-axis offset parameters of the touch terminal and / or the touch sensing parameters of the touch terminal; in response to the monitoring parameters of the sensor of the touch terminal satisfying the preset auxiliary control conditions, the step of starting the preset auxiliary control mode includes: in response to the numerical parameters in the gravity sensing X-axis offset parameters and / or the touch sensing parameters of the touch terminal reaching the preset threshold, starting the preset auxiliary control mode.
[0102] The above-mentioned auxiliary control method includes: adjusting the lens direction of the virtual camera; the steps of controlling the display content in the graphical user interface according to the auxiliary control method include: obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters; adjusting the lens direction of the virtual camera according to the target deflection direction and target deflection angle to adjust the game scene displayed in the graphical user interface.
[0103] The numerical parameters in the above-mentioned gravity-sensing X-axis deflection parameters include the deflection angle, and the direction parameters in the gravity-sensing X-axis deflection parameters include the deflection direction; the step of obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters includes: determining the deflection direction in the gravity-sensing X-axis deflection parameters as the target deflection direction, and determining the deflection angle in the gravity-sensing X-axis deflection parameters as the target deflection angle.
[0104] The above-mentioned graphical user interface includes a direction control; the direction control includes a left control and a right control; the numerical parameters in the touch sensing parameters include: the pressure value or pressing duration detected when the direction control is pressed, the sliding speed detected when the direction control is slid, or the number of clicks detected when the direction control is clicked; the direction parameters in the touch sensing parameters include: the direction indicated by the direction control; the step of obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters includes: taking the direction indicated by the direction control in the touch sensing parameters as the target deflection direction; and determining the deflection angle obtained by converting the numerical parameters in the touch sensing parameters according to a preset mapping relationship as the target deflection angle.
[0105] The above-mentioned step of adjusting the lens direction of the virtual camera according to the target deflection direction and the target deflection angle includes: determining the target adjustment angle of the lens direction of the virtual camera according to the target deflection angle; and controlling the lens direction of the virtual camera to deflect the target adjustment angle relative to the direction of the controlled virtual vehicle according to the target deflection direction.
[0106] The step of determining the target adjustment angle of the lens direction of the virtual camera according to the target deflection angle includes: calculating the difference between the target deflection angle and the preset correction angle; and determining the difference as the target adjustment angle of the lens direction of the virtual camera.
[0107] The above-mentioned auxiliary control method includes: obtaining a wide-angle game scene corresponding to the wide-angle lens of the virtual camera; the step of controlling the display content in the graphical user interface according to the auxiliary control method includes: obtaining a target deflection direction corresponding to the monitoring parameter; according to the target deflection direction, obtaining the wide-angle game scene captured by the wide-angle lens of the corresponding virtual camera, and determining the display position corresponding to the wide-angle game scene; displaying the wide-angle game scene at the display position in the graphical user interface.
[0108] The above-mentioned step of obtaining the wide-angle game scene corresponding to the wide-angle lens of the corresponding virtual camera according to the target deflection direction includes: if the target deflection direction is to the left, the wide-angle lens of the virtual camera is used to capture the wide-angle game scene within the specified road section in the left front corresponding to the current position of the controlled virtual vehicle; if the target deflection direction is to the right, the wide-angle lens of the virtual camera is used to capture the wide-angle game scene within the specified road section in the right front corresponding to the current position of the controlled virtual vehicle.
[0109] The above-mentioned step of determining the display position corresponding to the protagonist game scene according to the target deflection direction includes: if the target deflection direction is to the left, determining the display position corresponding to the wide-angle game scene as the upper left area of the graphical user interface; if the target deflection direction is to the right, determining the display position corresponding to the wide-angle game scene as the upper right area of the graphical user interface.
[0110] The above method also includes: determining a corresponding turn indicator icon according to the target deflection direction; and displaying the turn indicator icon in a wide-angle game scene.
[0111] The above method also includes: in response to the driving data of the controlled virtual vehicle or the control time corresponding to the auxiliary control mode satisfying a preset auxiliary cancellation condition, ending the auxiliary control mode.
[0112] The above-mentioned step of ending the auxiliary control mode in response to the driving data of the controlled virtual vehicle or the control time corresponding to the auxiliary control mode satisfying the preset auxiliary cancellation condition includes: ending the auxiliary control mode in response to the display time of the wide-angle game scene reaching a specified time, or the controlled virtual vehicle turning end event.
[0113] exist Figure 7 In the illustrated embodiment, the electronic device further includes a bus 72 and a communication interface 73 , wherein the processor 71 , the communication interface 73 and the memory 70 are connected via the bus 72 .
[0114] Among them, the memory 70 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 73 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 72 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 72 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0115] The processor 71 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 71. The above processor 71 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor 71 reads the information in the memory and completes the steps of the method of the above embodiment in combination with its hardware.
[0116] The embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the following method steps:
[0117] In response to a driving control operation on a controlled virtual vehicle in the game, the controlled virtual vehicle is controlled to move in the game scene according to the driving control operation; in response to the monitoring parameters of the sensor of the touch terminal satisfying a preset auxiliary control condition, a preset auxiliary control method is started, and the display content in the graphical user interface is controlled according to the auxiliary control method; wherein the auxiliary control method includes: adjusting the lens direction of the virtual camera and / or obtaining a wide-angle game scene corresponding to the wide-angle lens of the virtual camera.
[0118] The above-mentioned monitoring parameters include the gravity sensing X-axis offset parameters of the touch terminal and / or the touch sensing parameters of the touch terminal; in response to the monitoring parameters of the sensor of the touch terminal satisfying the preset auxiliary control conditions, the step of starting the preset auxiliary control mode includes: in response to the numerical parameters in the gravity sensing X-axis offset parameters and / or the touch sensing parameters of the touch terminal reaching the preset threshold, starting the preset auxiliary control mode.
[0119] The above-mentioned auxiliary control method includes: adjusting the lens direction of the virtual camera; the steps of controlling the display content in the graphical user interface according to the auxiliary control method include: obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters; adjusting the lens direction of the virtual camera according to the target deflection direction and target deflection angle to adjust the game scene displayed in the graphical user interface.
[0120] The numerical parameters in the above-mentioned gravity-sensing X-axis deflection parameters include the deflection angle, and the direction parameters in the gravity-sensing X-axis deflection parameters include the deflection direction; the step of obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters includes: determining the deflection direction in the gravity-sensing X-axis deflection parameters as the target deflection direction, and determining the deflection angle in the gravity-sensing X-axis deflection parameters as the target deflection angle.
[0121] The above-mentioned graphical user interface includes a direction control; the direction control includes a left control and a right control; the numerical parameters in the touch sensing parameters include: the pressure value or pressing duration detected when the direction control is pressed, the sliding speed detected when the direction control is slid, or the number of clicks detected when the direction control is clicked; the direction parameters in the touch sensing parameters include: the direction indicated by the direction control; the step of obtaining the target deflection direction and target deflection angle corresponding to the monitoring parameters includes: taking the direction indicated by the direction control in the touch sensing parameters as the target deflection direction; and determining the deflection angle obtained by converting the numerical parameters in the touch sensing parameters according to a preset mapping relationship as the target deflection angle.
[0122] The above-mentioned step of adjusting the lens direction of the virtual camera according to the target deflection direction and the target deflection angle includes: determining the target adjustment angle of the lens direction of the virtual camera according to the target deflection angle; and controlling the lens direction of the virtual camera to deflect the target adjustment angle relative to the direction of the controlled virtual vehicle according to the target deflection direction.
[0123] The step of determining the target adjustment angle of the lens direction of the virtual camera according to the target deflection angle includes: calculating the difference between the target deflection angle and the preset correction angle; and determining the difference as the target adjustment angle of the lens direction of the virtual camera.
[0124] The above-mentioned auxiliary control method includes: obtaining a wide-angle game scene corresponding to the wide-angle lens of the virtual camera; the step of controlling the display content in the graphical user interface according to the auxiliary control method includes: obtaining a target deflection direction corresponding to the monitoring parameter; according to the target deflection direction, obtaining the wide-angle game scene captured by the wide-angle lens of the corresponding virtual camera, and determining the display position corresponding to the wide-angle game scene; displaying the wide-angle game scene at the display position in the graphical user interface.
[0125] The above-mentioned step of obtaining the wide-angle game scene corresponding to the wide-angle lens of the corresponding virtual camera according to the target deflection direction includes: if the target deflection direction is to the left, the wide-angle lens of the virtual camera is used to capture the wide-angle game scene within the specified road section in the left front corresponding to the current position of the controlled virtual vehicle; if the target deflection direction is to the right, the wide-angle lens of the virtual camera is used to capture the wide-angle game scene within the specified road section in the right front corresponding to the current position of the controlled virtual vehicle.
[0126] The above-mentioned step of determining the display position corresponding to the protagonist game scene according to the target deflection direction includes: if the target deflection direction is to the left, determining the display position corresponding to the wide-angle game scene as the upper left area of the graphical user interface; if the target deflection direction is to the right, determining the display position corresponding to the wide-angle game scene as the upper right area of the graphical user interface.
[0127] The above method also includes: determining a corresponding turn indicator icon according to the target deflection direction; and displaying the turn indicator icon in a wide-angle game scene.
[0128] The above method also includes: in response to the driving data of the controlled virtual vehicle or the control time corresponding to the auxiliary control mode satisfying a preset auxiliary cancellation condition, ending the auxiliary control mode.
[0129] The above-mentioned step of ending the auxiliary control mode in response to the driving data of the controlled virtual vehicle or the control time corresponding to the auxiliary control mode satisfying the preset auxiliary cancellation condition includes: ending the auxiliary control mode in response to the display time of the wide-angle game scene reaching a specified time, or the controlled virtual vehicle turning end event.
[0130] The computer program products of the methods, devices, and electronic devices provided in the embodiments of the present application include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.
[0131] Unless otherwise specifically stated, the relative steps, numerical expressions and values of the components and steps set forth in these embodiments do not limit the scope of the present application.
[0132] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. 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: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0133] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0134] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for assisting driving control in a game, characterized in that: Displaying the game's graphical user interface via a touch terminal; The content displayed in the graphical user interface includes at least part of the game scene; the method includes: in response to a driving control operation for a controlled virtual vehicle in the game, controlling the controlled virtual vehicle to move in the game scene according to the driving control operation; in response to the monitoring parameters of the sensor of the touch terminal satisfying a preset auxiliary control condition, starting a preset auxiliary control mode, and controlling the displayed content in the graphical user interface according to the auxiliary control mode; wherein the auxiliary control mode includes: adjusting the lens direction of the virtual camera and / or obtaining a wide-angle game scene corresponding to the wide-angle lens of the virtual camera; The auxiliary control method includes: when adjusting the lens direction of the virtual camera, the step of controlling the display content in the graphical user interface according to the auxiliary control method includes: obtaining the target deflection direction and the target deflection angle corresponding to the monitoring parameter; adjusting the lens direction of the virtual camera according to the target deflection direction and the target deflection angle to adjust the game scene displayed in the graphical user interface; The auxiliary control method includes: when obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera, the step of controlling the display content in the graphical user interface according to the auxiliary control method includes: obtaining the target deflection direction corresponding to the monitoring parameter; according to the target deflection direction, obtaining the corresponding wide-angle game scene captured by the wide-angle lens of the virtual camera, and determining the display position corresponding to the wide-angle game scene; displaying the wide-angle game scene at the display position in the graphical user interface.
2. The method according to claim 1, characterized in that: The monitoring parameters include a gravity sensing X-axis offset parameter of the touch terminal and / or a touch sensing parameter of the touch terminal; In response to the monitoring parameters of the sensor of the touch terminal satisfying the preset auxiliary control conditions, the step of starting the preset auxiliary control mode includes: In response to the gravity sensing X-axis offset parameter and / or the numerical parameter of the touch sensing parameter of the touch terminal reaching a preset threshold, a preset auxiliary control mode is started.
3. The method according to claim 2, characterized in that The numerical parameter in the gravity sensing X-axis deflection parameter includes a deflection angle, and the direction parameter in the gravity sensing X-axis deflection parameter includes a deflection direction; The step of obtaining the target deflection direction and the target deflection angle corresponding to the monitoring parameters comprises: The deflection direction in the gravity-sensing X-axis deflection parameter is determined as the target deflection direction, and the deflection angle in the gravity-sensing X-axis deflection parameter is determined as the target deflection angle.
4. The method according to claim 2, characterized in that: The graphical user interface includes a direction control; the direction control includes a left control and a right control; the numerical parameters in the touch sensing parameters include: a pressure value or a pressing duration detected when the direction control is pressed, a sliding speed detected when the direction control is slid, or a number of clicks detected when the direction control is clicked; the direction parameters in the touch sensing parameters include: a direction indicated by the direction control; the step of obtaining a target deflection direction and a target deflection angle corresponding to the monitoring parameters includes: Taking the direction indicated by the direction control in the touch sensing parameter as the target deflection direction; The deflection angle obtained by converting the numerical parameters in the touch sensing parameters according to a preset mapping relationship is determined as the target deflection angle.
5. The method according to claim 1, characterized in that The step of adjusting the lens direction of the virtual camera according to the target deflection direction and the target deflection angle comprises: Determining a target adjustment angle of the lens direction of the virtual camera according to the target deflection angle; According to the target deflection direction, the lens direction of the virtual camera is controlled to deflect the target adjustment angle relative to the direction of the controlled virtual vehicle.
6. The method according to claim 5, characterized in that The step of determining a target adjustment angle of the lens direction of the virtual camera according to the target deflection angle comprises: Calculating the difference between the target deflection angle and a preset correction angle; The difference is determined as a target adjustment angle of the lens direction of the virtual camera.
7. The method according to claim 1, characterized in that The step of obtaining a wide-angle game scene corresponding to the wide-angle lens of the corresponding virtual camera according to the target deflection direction comprises: If the target deflection direction is left, the wide-angle game scene within the range of the designated road section in front of the left corresponding to the current position of the controlled virtual vehicle is captured by the wide-angle lens of the virtual camera; If the target deflection direction is right, the wide-angle game scene within the designated road section in the right front corresponding to the current position of the controlled virtual vehicle is captured through the wide-angle lens of the virtual camera.
8. The method according to claim 1, characterized in that The step of determining a display position corresponding to the wide-angle game scene according to the target deflection direction comprises: If the target deflection direction is left, determining that the display position corresponding to the wide-angle game scene is the upper left area of the graphical user interface; If the target deflection direction is right, determine that the display position corresponding to the wide-angle game scene is the upper right area of the graphical user interface.
9. The method according to claim 1, characterized in that: The method further comprises: Determining a corresponding turn indication icon according to the target deflection direction; The turn indication icon is displayed in the wide-angle game scene.
10. The method according to claim 1, characterized in that The method further comprises: In response to the driving data of the controlled virtual vehicle or the control duration corresponding to the auxiliary control mode satisfying a preset auxiliary cancellation condition, the auxiliary control mode is terminated.
11. The method according to claim 10, characterized in that In response to the driving data of the controlled virtual vehicle or the control duration corresponding to the auxiliary control mode satisfying a preset auxiliary cancellation condition, the step of terminating the auxiliary control mode includes: In response to the display duration of the wide-angle game scene reaching a specified duration, or the controlled virtual vehicle completing a turn, the auxiliary control mode is terminated.
12. A driving control device for assisting in a game, characterized in that: Displaying the game's graphical user interface via a touch terminal; The content displayed in the graphical user interface includes at least part of the game scene; the device includes: a vehicle driving control module, which is used to control the controlled virtual vehicle in the game in response to the driving control operation, and control the controlled virtual vehicle to move in the game scene according to the driving control operation; an auxiliary control module, which is used to start a preset auxiliary control mode in response to the monitoring parameters of the sensor of the touch terminal meeting the preset auxiliary control conditions, and control the display content in the graphical user interface according to the auxiliary control mode; wherein the auxiliary control mode includes: adjusting the lens direction of the virtual camera and / or obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera; The auxiliary control method includes: when adjusting the lens direction of the virtual camera, the auxiliary control module is used to obtain the target deflection direction and the target deflection angle corresponding to the monitoring parameter; according to the target deflection direction and the target deflection angle, the lens direction of the virtual camera is adjusted to adjust the game scene displayed in the graphical user interface; The auxiliary control method includes: when obtaining the wide-angle game scene corresponding to the wide-angle lens of the virtual camera, the auxiliary control module is used to obtain the target deflection direction corresponding to the monitoring parameter; according to the target deflection direction, the wide-angle game scene captured by the wide-angle lens of the corresponding virtual camera is obtained, and the display position corresponding to the wide-angle game scene is determined; and the wide-angle game scene is displayed at the display position in the graphical user interface.
13. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Vehicle turning lane-changing display system
CN108791067A
Racing game information control method and device and electronic equipment
CN111729295A