A method, device and storage medium for prompting a player to pass a bend in a game

By displaying target progress bars and indicators in racing games, the problem of players having difficulty mastering the timing of cornering is solved, enabling more efficient cornering operations.

CN116549965BActive Publication Date: 2026-04-28NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2023-05-19
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Existing racing games lack guidance and prompts for cornering maneuvers, making it difficult for players to master the timing of turning and braking, resulting in low cornering efficiency.

Method used

By providing a graphical user interface in the game, displaying a target progress bar and target indicator, predicting the target indication area based on the virtual vehicle's speed and position, and responding to player input to move the indicator, the game provides intuitive prompts for when to take a turn.

Benefits of technology

The difficulty of cornering has been reduced, allowing players to more intuitively determine the timing of cornering maneuvers and improving cornering efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116549965B_ABST
    Figure CN116549965B_ABST
Patent Text Reader

Abstract

The application provides a method, device and equipment for prompting a curve passing in a game and a storage medium. The method comprises the following steps: before a virtual vehicle enters a target curve on a virtual road, a target prompt area is determined on the virtual road according to a current driving speed of the virtual vehicle and a current driving position of the virtual vehicle; in response to the virtual vehicle entering the target prompt area, a target progress prompt bar is displayed on a graphical user interface, and a target indicator is displayed at a starting point of the target progress prompt bar; in response to a control operation on a target button, the target indicator is controlled to move towards an end point of the target progress prompt bar according to a time length of operating the target button. In this way, the application enables the player to more intuitively determine the specific curve passing operation timing, reduces the operation difficulty of the curve passing operation, and effectively improves the curve passing efficiency of the player.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of game technology, and more specifically, to a method, apparatus, device, and storage medium for providing cornering prompts in games. Background Technology

[0002] In existing racing games, players often need to control virtual vehicles (such as virtual race cars) to navigate through curves on virtual tracks. During these curves, players typically need to control the virtual vehicle to perform turning maneuvers (such as left turns, right turns, etc.) and braking to successfully complete the turn. However, due to the relatively high difficulty of these cornering maneuvers and the lack of corresponding guidance and prompts in existing racing games, players often struggle to master the correct timing for turning and braking, resulting in low cornering efficiency. Summary of the Invention

[0003] In view of this, the purpose of this application is to provide a method, device, equipment and storage medium for providing cornering prompts in games, so that players can more intuitively determine the specific timing of cornering operations, reduce the difficulty of cornering operations, and effectively improve the player's cornering efficiency.

[0004] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings.

[0005] In a first aspect, embodiments of this application provide a method for providing cornering prompts in a game, which provides a graphical user interface through a terminal device. The graphical user interface displays at least a portion of the game scene, including virtual vehicles and virtual roads on which the virtual vehicles travel. The cornering prompt method includes:

[0006] Before the virtual vehicle enters the target curve on the virtual road, a target prompt area is determined from the virtual road based on the virtual vehicle's current speed and current position.

[0007] In response to the virtual vehicle entering the target prompt area, a target progress bar is displayed on the graphical user interface, and a target indicator is displayed at the starting point of the target progress bar; wherein, the display length of the target progress bar represents the length of time required to operate the target button according to the driving speed of the virtual vehicle through the target curve;

[0008] In response to a control operation on the target button, the target indicator is moved toward the end of the target progress bar based on the duration of the button operation.

[0009] Secondly, embodiments of this application provide a cornering prompting device in a game, which provides a graphical user interface via a terminal device. The graphical user interface displays at least a portion of the game scene, including virtual vehicles and virtual roads on which the virtual vehicles travel. The cornering prompting device includes:

[0010] The prediction module is used to determine a target warning area from the virtual road based on the current driving speed and current driving position of the virtual vehicle before the virtual vehicle enters the target curve on the virtual road.

[0011] The prompting module is used to respond to the virtual vehicle entering the target prompting area by displaying a target progress prompt bar on the graphical user interface and displaying a target indicator at the starting point of the target progress prompt bar; wherein, the display length of the target progress prompt bar represents the length of time required to operate the target button according to the driving speed of the virtual vehicle through the target curve;

[0012] The control module is used to respond to control operations on the target button and, based on the duration of the operation on the target button, control the target indicator to move toward the end point of the target progress bar.

[0013] Thirdly, embodiments of this application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the aforementioned game cornering prompt method.

[0014] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the aforementioned game cornering hint method.

[0015] The technical solutions provided by the embodiments of this application may include the following beneficial effects:

[0016] This application provides a method, apparatus, device, and storage medium for providing cornering prompts in a game. Before a virtual vehicle enters a target curve on a virtual road, a target prompt area is determined from the virtual road based on the virtual vehicle's current speed and position. In response to the virtual vehicle entering the target prompt area, a target progress bar is displayed on the graphical user interface, and a target indicator is displayed at the starting point of the progress bar. In response to a control operation on a target button, the target indicator is moved towards the end point of the progress bar based on the duration of the button press. In this way, this application allows players to more intuitively determine the specific timing for cornering operations, reduces the difficulty of cornering operations, and effectively improves players' cornering efficiency. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 A flowchart illustrating a cornering prompt method in a game provided by an embodiment of this application is shown.

[0019] Figure 2a A schematic diagram of a first type of interface for displaying a target progress indicator bar, provided in an embodiment of this application, is shown;

[0020] Figure 2b A schematic diagram of a second interface for displaying a target progress indicator bar, provided in an embodiment of this application, is shown.

[0021] Figure 3 A schematic diagram of a third type of interface for displaying a target progress indicator bar, provided in an embodiment of this application, is shown.

[0022] Figure 4 This illustration shows a structural schematic diagram of a cornering prompting device in a game provided in an embodiment of this application;

[0023] Figure 5 This is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of this application. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0025] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0026] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0027] In existing racing games, players often need to control virtual vehicles (such as virtual race cars) to navigate through curves on virtual tracks. During these curves, players typically need to control the virtual vehicle to perform turning maneuvers (such as left turns, right turns, etc.) and braking to successfully complete the turn. However, due to the relatively high difficulty of these cornering maneuvers and the lack of corresponding guidance and prompts in existing racing games, players often struggle to master the correct timing for turning and braking, resulting in low cornering efficiency.

[0028] Based on this, embodiments of this application provide a method, apparatus, device, and storage medium for providing cornering prompts in games, enabling players to more intuitively determine the specific timing for cornering operations, reducing the difficulty of cornering operations, and effectively improving players' cornering efficiency.

[0029] In one embodiment of this application, a cornering prompt method in a game can run on a terminal device or a server. The terminal device can be a local terminal device. When the cornering prompt method runs on a server, it can be implemented and executed based on a cloud interaction system, which includes a server and client devices (i.e., terminal devices).

[0030] In an optional implementation, various cloud applications, such as cloud gaming, can run under the cloud interaction system. Taking cloud gaming as an example, cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game program and the game screen presentation are separate. The storage and execution of cornering prompts in the game are completed on the cloud gaming server. The client device's role is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission capabilities located close to the user, such as a mobile terminal, television, computer, or PDA; however, the terminal device for information processing is the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the client device via the network, and finally, the client device decodes and outputs the game screen.

[0031] In an alternative implementation, the terminal device can be a local terminal device. Taking a game as an example, the local terminal device stores the game program and is used to display the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading, installing, and running the game program via an electronic device. The local terminal device can provide the graphical user interface to the player in various ways, such as rendering it on the terminal's display screen, or providing it to the player through holographic projection. For example, the local terminal device can include a display screen for displaying the graphical user interface, which includes game screens, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.

[0032] To facilitate understanding of the embodiments of this application, the following provides a detailed description of a method, apparatus, device, and storage medium for providing cornering prompts in a game.

[0033] Reference Figure 1 As shown, Figure 1The diagram illustrates a flowchart of a cornering warning method in a game according to an embodiment of this application. A graphical user interface (GUI) is provided via a terminal device, displaying at least a portion of the game scene, including virtual vehicles and virtual roads on which the virtual vehicles travel. The cornering warning method includes steps S101-S103. Specifically:

[0034] S101, before the virtual vehicle enters the target curve on the virtual road, a target prompt area is determined from the virtual road based on the current driving speed and current driving position of the virtual vehicle.

[0035] S102, in response to the virtual vehicle entering the target prompt area, a target progress prompt bar is displayed on the graphical user interface, and a target indicator is displayed at the starting point of the target progress prompt bar.

[0036] S103, in response to a control operation on the target button, control the target indicator to move toward the end point of the target progress bar based on the duration of the operation on the target button.

[0037] The cornering prompt method in the game provided in this application determines a target prompt area on the virtual road based on the virtual vehicle's current speed and position before the virtual vehicle enters the target corner. In response to the virtual vehicle entering the target prompt area, a target progress bar is displayed on the graphical user interface, with a target indicator at the starting point of the progress bar. In response to a control operation on the target button, the target indicator is moved towards the end point of the progress bar based on the duration of the button press. In this way, the application allows players to more intuitively determine the timing of cornering operations, reducing the difficulty of cornering and effectively improving cornering efficiency.

[0038] The following describes, using an application to a terminal device as an example, each step of the cornering prompt method in the above-mentioned game provided in the embodiments of this application:

[0039] S101, before the virtual vehicle enters the target curve on the virtual road, a target prompt area is determined from the virtual road based on the current driving speed and current driving position of the virtual vehicle.

[0040] Here, a virtual vehicle is a movable virtual object that a player controls in a game. The virtual vehicle provided in this application embodiment can be a race car, an airplane, or any other three-dimensional model. This application embodiment does not limit the specific form of the virtual vehicle in the actual game scene.

[0041] Here, the target curve can represent any curve area on the virtual road. The embodiments of this application do not impose any limitations on the curve length and curve angle of the target curve.

[0042] Specifically, in this embodiment of the application, as an optional embodiment, the triggering condition for the above step S101 may be that the distance between the virtual vehicle and the target curve is less than or equal to a preset distance threshold. That is, when the distance between the virtual vehicle and the target curve is less than or equal to the preset distance threshold, the terminal device can obtain the current driving position and speed of the virtual vehicle on the virtual road, and predict the target prompt area for triggering the display of the curve prompt from the virtual road based on the obtained driving position and speed.

[0043] S102, in response to the virtual vehicle entering the target prompt area, a target progress prompt bar is displayed on the graphical user interface, and a target indicator is displayed at the starting point of the target progress prompt bar.

[0044] Here, the display length of the target progress bar represents the time required to manipulate the target button when the virtual vehicle passes the target curve at its driving speed; the target button includes: a direction button for turning (e.g., a left turn button for controlling the virtual vehicle to turn left and a right turn button for controlling the virtual vehicle to turn right) and a brake button.

[0045] Here, since the target buttons can include a left turn button, a right turn button, and a brake button, the target progress bar can be specifically divided into: the left turn progress bar corresponding to the left turn button (the display length of the left turn progress bar represents the time required to operate the left turn button to pass the target curve according to the virtual vehicle's driving speed), the right turn progress bar corresponding to the right turn button (the display length of the right turn progress bar represents the time required to operate the right turn button to pass the target curve according to the virtual vehicle's driving speed), and the brake progress bar corresponding to the brake button (the display length of the brake progress bar represents the time required to operate the brake button to pass the target curve according to the virtual vehicle's driving speed).

[0046] In steps S101-S102 of this application embodiment, the target prompt area can be predicted in the following two ways for different types of target buttons:

[0047] 1. When the target button is a directional button for turning (i.e., the left turn button and the right turn button mentioned above), before the virtual vehicle enters the target curve (e.g., when the distance between the virtual vehicle and the target curve is less than or equal to a preset distance threshold), the terminal device can predict the area where the virtual vehicle needs to turn on the virtual road as the target prompt area based on the current driving speed of the virtual vehicle and the current entry angle of the virtual vehicle (determined by the current driving position of the virtual vehicle).

[0048] At this point, based on the predicted target indication area being an area where the virtual vehicle needs to turn on the virtual road, the terminal device responds to the virtual vehicle entering the target indication area by displaying a turning progress indicator bar corresponding to the target button on the graphical user interface; for example, when the target curve is a curve that requires a left turn, the terminal device responds to the virtual vehicle entering the target indication area by displaying a left turn progress indicator bar corresponding to the left turn button on the graphical user interface.

[0049] 2. When the target button is the brake button, in order to achieve a faster exit speed when the player controls the virtual vehicle to take a turn, it is usually necessary to trigger the braking operation at the braking point corresponding to the target curve (located before the target curve). Therefore, when the target button is the brake button, the terminal device can use the braking point corresponding to the target curve as the target prompt area before the virtual vehicle enters the target curve.

[0050] At this point, the terminal device responds to the braking point position corresponding to the virtual vehicle entering the target curve and displays a braking progress indicator bar on the graphical user interface corresponding to the brake button.

[0051] S103, in response to a control operation on the target button, control the target indicator to move toward the end point of the target progress bar based on the duration of the operation on the target button.

[0052] Here, there is a positive correlation between the movement progress of the target indicator on the target progress bar and the length of time the player controls the target button. That is, if the terminal device continues to respond to the control operation on the target button, the target indicator will continue to move towards the end of the target progress bar. If the terminal device finishes responding to the control operation on the target button, the target indicator will stop moving.

[0053] It should be noted that the aforementioned target indicator can be any shape, such as a circle, square, or triangle. This application does not impose any limitations on the specific shape of the target indicator.

[0054] Specifically, when the terminal device is a PC (Personal Computer), the target button can be a physical key on a keyboard (e.g., the arrow keys or letter keys used to control the braking of a virtual vehicle). In this case, the control operation for the target button can be a pressing operation. When the terminal device is a touch terminal with a touch screen, such as a mobile phone or tablet, the target button can be a virtual button displayed on the graphical user interface (i.e., the touch screen of the terminal device) (e.g., a left turn button, a right turn button, a brake button, etc.). In this case, the control operation for the target button can be a touch operation on the virtual button displayed on the graphical user interface. This application embodiment does not limit the specific button type of the target button or the specific operation type of the control operation.

[0055] Based on the implementation of steps S101-S103 above, before the virtual vehicle enters the target curve, the terminal device predicts the target prompt area that requires cornering prompts. When the virtual vehicle enters the target prompt area, the terminal device displays a target prompt progress bar and a target indicator on the graphical user interface to the player for cornering operations (i.e., left turn, right turn, braking, etc.). At this time, based on the displayed target prompt progress bar and target indicator, this application can effectively guide the player to transform the originally complex cornering operation into continuously controlling the target button until the target indicator moves to the end position of the target progress bar. Thus, the player can more intuitively determine the specific cornering operation timing, greatly reducing the difficulty of cornering operation and effectively improving the player's cornering efficiency.

[0056] The following section uses a racing car as an example to illustrate the specific implementation process of each step in this embodiment of the application:

[0057] Regarding the target progress bar displayed in step S102 above, when the graphical user interface does not display the direction indicator or brake indicator corresponding to the target button (e.g., the terminal device is a PC, and the target button is a physical key on the keyboard), as an optional embodiment, the target progress bar can be displayed at any position on the graphical user interface; this application embodiment does not limit the specific display position of the target progress bar on the graphical user interface.

[0058] Regarding the target progress bar displayed in step S102 above, when the target button is a virtual button displayed on the graphical user interface, as an optional embodiment, in response to the virtual vehicle entering the target prompt area, the terminal device can display the target progress bar in the first preset display area associated with the target button on the graphical user interface; wherein, the first preset display area can be displayed at any relative position such as the left, right, top, or bottom of the target button, and this embodiment of the application does not impose any limitation on this.

[0059] Specifically, taking the target button as the left turn button displayed on the graphical user interface as an example, Figure 2a This illustration shows a schematic diagram of a first type of interface for displaying a target progress indicator bar, as provided in an embodiment of this application. Figure 2a As shown, the graphical user interface 200 displays a virtual vehicle 100, a virtual road, and left turn buttons 201, right turn buttons 202, and brake buttons 203; when the virtual vehicle 100 enters the target curve (i.e., Figure 2a Before the left turn lane shown, the terminal device predicts the entry point on the virtual road as the target prompt area based on the current driving speed and entry angle of the virtual vehicle. At this time, the terminal device responds to the virtual vehicle 100 entering the target prompt area and displays the target progress prompt bar 210 (which is the left turn progress prompt bar at this time) horizontally in the area above the left turn button 201 (i.e., the first preset display area associated with the left turn button 201), and displays the target indicator 211 at the starting point of the target progress prompt bar 210 (i.e., the left end point of the target progress prompt bar 210).

[0060] Specifically, taking the brake button displayed on the graphical user interface as an example, Figure 2b This illustration shows a second interface diagram for displaying a target progress bar, as provided in an embodiment of this application. Figure 2b As shown, the graphical user interface 200 displays a virtual vehicle 100, a virtual road, and left turn buttons 201, right turn buttons 202, and brake buttons 203; when the virtual vehicle 100 enters the target curve (i.e., Figure 2a Before the left turn lane shown, the terminal device predicts the braking point on the virtual road as the target prompt area based on the current driving speed and driving position of the virtual vehicle. At this time, the terminal device responds to the virtual vehicle 100 entering the target prompt area and vertically displays the target progress prompt bar 210 (which is the braking progress prompt bar at this time) in the area above the brake button 203 (i.e., the first preset display area associated with the brake button 203), and displays the target indicator 211 at the starting point of the target progress prompt bar 210 (i.e., the lower end point of the target progress prompt bar 210).

[0061] It should be noted that the target progress bar can be displayed horizontally on the graphical user interface (e.g., ...). Figure 2a As shown), the target progress bar can also be displayed vertically on the graphical user interface (e.g., Figure 2b As shown in the figure, this application embodiment does not limit the specific display method of the target progress indicator bar on the graphical user interface.

[0062] Regarding the aforementioned target progress bar, it should be noted that since the display length of the target progress bar represents the time required to manipulate the target button when the virtual vehicle passes the target curve at its current speed, the display length of the target progress bar will also change as the virtual vehicle's speed changes. The terminal device will dynamically adjust the display length of the virtual vehicle on the graphical user interface based on the real-time speed of the virtual vehicle.

[0063] Specifically, in this embodiment, when the virtual vehicle accelerates, the terminal device responds to the acceleration operation for the virtual vehicle and dynamically adjusts the display length of the target progress bar on the graphical user interface according to the driving speed of the virtual vehicle after the acceleration operation.

[0064] Here, when the virtual vehicle accelerates, if the currently displayed target progress bar is a turning progress bar (such as a left turn progress bar or a right turn progress bar), the display length of the turning progress bar will shorten as the virtual vehicle's speed increases, because the increased speed of the virtual vehicle will shorten the time required for the virtual vehicle to pass the target curve (that is, shorten the time the player needs to control the target button).

[0065] Here, when the virtual vehicle accelerates, if the currently displayed target progress bar is a braking progress bar, the braking time of the virtual vehicle will be extended due to the increased speed of the virtual vehicle (that is, the time that the player needs to operate the brake button will be extended). Therefore, the display length of the braking progress bar will increase as the speed of the virtual vehicle increases.

[0066] Specifically, in this embodiment, when the virtual vehicle decelerates, the terminal device responds to the deceleration operation of the virtual vehicle and dynamically adjusts the display length of the target progress bar on the graphical user interface according to the driving speed of the virtual vehicle after the deceleration operation.

[0067] Here, when the virtual vehicle decelerates, if the currently displayed target progress bar is a turning progress bar (such as a left turn progress bar or a right turn progress bar), the length of the turning progress bar will increase as the virtual vehicle's speed decreases because the slower speed of the virtual vehicle will increase the time required for the virtual vehicle to pass the target curve (that is, increase the time the player needs to control the target button).

[0068] Here, when the virtual vehicle decelerates, if the currently displayed target progress bar is a braking progress bar, the braking time of the virtual vehicle will be shortened due to the slower speed of the virtual vehicle (that is, the time that the player needs to operate the brake button will be shortened). Therefore, the display length of the braking progress bar will be shorter as the speed of the virtual vehicle decreases.

[0069] Since the display length of the aforementioned target progress bar changes with the speed of the virtual vehicle, as an optional embodiment, based on the aforementioned target progress bar and target indicator, the terminal device can also, according to the method described in step a1 below, add a moving progress bar for timing to the target progress bar. This moving progress bar will then prompt the player that if, from the initial moment the target progress bar is displayed, the speed of the virtual vehicle remains unchanged, the original time progress of the target button has been achieved. Specifically:

[0070] Step a1: Within the target progress bar, starting from the beginning of the target progress bar, display a progress bar filled with the target color according to the target movement speed.

[0071] Here, in step a1 above, the target movement speed is determined based on the speed of the virtual vehicle at the initial display time of the target progress bar. That is, unlike the display length of the target progress bar, the movement of the movement progress bar is not affected by changes in the speed of the virtual vehicle. The movement progress bar is only used to prompt the player that if the speed of the virtual vehicle is not changed from the initial display time of the target progress bar, the original time progress of the target button has been controlled so far, thereby enriching the information prompt dimension of the prompt information displayed on the graphical user interface.

[0072] It should be noted that the target color mentioned above can be any color such as yellow, green, or red. This application embodiment does not limit the specific color represented by the target color.

[0073] Regarding the specific implementation of step S103 above, when the target progress bar is displayed on the target progress bar, as described in step a1, the terminal device, in response to the end of the control operation on the target button, will maintain the movement progress bar moving on the target progress bar at the target movement speed; while for the target indicator displayed on the target progress bar, the terminal device, in response to the end of the control operation on the target button, will control the target indicator to stop at its current position on the target progress bar; that is, the player's control operation on the target button will only change the movement of the target indicator on the target progress bar, and will not change the movement of the aforementioned progress bar.

[0074] An exemplary illustration, to Figure 2a The target progress bar 210 shown is an example of a left turn progress bar. Figure 3 This illustration shows a third type of interface for displaying a target progress bar, as provided in an embodiment of this application. Figure 3 As shown, taking a target color of gray and a target button of left turn 201 as an example, when the virtual vehicle 100 enters the target prompt area, the terminal device displays a target progress bar 210 above the left turn button 201 and a target indicator 211 on the target progress bar 210. As time increases, a gray-filled movement progress bar is displayed within the target progress bar 210, starting from the beginning of the target progress bar 210 (i.e., the left end point of the target progress bar 210) according to the target movement speed. When the player ends the control operation on the left turn button 201, the terminal device responds to the end of the control operation on the left turn button 201 and stops the target indicator 211 at its current position on the target progress bar 210. At this time, the movement progress bar will not stop moving, but will continue to move on the target progress bar 210 according to the target movement speed.

[0075] Regarding the cornering prompting method described in steps S101-S103 above, the terminal device can determine the timing for hiding the target prompting progress bar (i.e., canceling the display of the target progress prompting bar) in the manner described in step b1 below. Specifically:

[0076] Step b1: Respond to the target indicator moving to the end of the target progress bar or the virtual vehicle driving out of the target curve, and hide the target progress bar on the graphical user interface.

[0077] Here, since the display length of the target progress bar represents the time required to control the target button to pass the target curve according to the virtual vehicle's speed, when the player controls the target button so that the target indicator moves exactly to the end of the target progress bar, the terminal device can cancel the display of the target progress bar at this time, based on the fact that the player has completed the guiding operation of the target progress bar for the curve (equivalent to the player successfully completing the curve operation according to the prompts of the target progress bar).

[0078] Here, when the virtual vehicle exits the target curve, regardless of whether the player's control operation on the target button has ended, since there is no longer a need for cornering prompts for the target curve, the terminal device can also cancel the display of the target progress bar at this time.

[0079] It should be noted that in step b1, while hiding the target progress bar, the terminal device will also hide the target indicator and the movement progress bar that were originally displayed on the target progress bar.

[0080] Based on the cornering prompt method in the game provided in this application embodiment, before the virtual vehicle enters the target curve on the virtual road, a target prompt area is determined from the virtual road according to the current driving speed and current driving position of the virtual vehicle; in response to the virtual vehicle entering the target prompt area, a target progress bar is displayed on the graphical user interface, and a target indicator is displayed at the starting point of the target progress bar; in response to the control operation of the target button, the target indicator is controlled to move towards the end point of the target progress bar according to the length of time the target button is manipulated. In this way, this application enables players to more intuitively determine the specific timing of cornering operations, reduces the difficulty of cornering operations, and effectively improves the player's cornering efficiency.

[0081] Based on the same inventive concept, this application also provides a cornering prompting device corresponding to the cornering prompting method in the above-mentioned game. Since the principle of solving the problem by the cornering prompting device in the embodiments of this application is similar to the cornering prompting method in the above-mentioned game in the embodiments of this application, the implementation of the cornering prompting device can refer to the implementation of the above-mentioned cornering prompting method, and the repeated parts will not be described again.

[0082] Reference Figure 4 As shown, Figure 4 A schematic diagram of a cornering prompting device in a game, provided in an embodiment of this application, is shown. A graphical user interface (GUI) is provided via a terminal device, displaying at least a portion of the game scene, including virtual vehicles and virtual roads on which the virtual vehicles travel. The cornering prompting device includes:

[0083] Prediction module 401 is used to determine a target prompt area from the virtual road based on the current driving speed and current driving position of the virtual vehicle before the virtual vehicle enters the target curve on the virtual road;

[0084] The prompt module 402 is used to respond to the virtual vehicle entering the target prompt area by displaying a target progress prompt bar on the graphical user interface and displaying a target indicator at the starting point of the target progress prompt bar; wherein, the display length of the target progress prompt bar represents the length of time required to operate the target button according to the driving speed of the virtual vehicle through the target curve;

[0085] The control module 403 is used to respond to the control operation on the target button and control the target indicator to move toward the end of the target progress bar according to the duration of the operation on the target button.

[0086] In one alternative implementation, the target button includes a direction button for turning and a brake button.

[0087] In an optional implementation, when the target button is a virtual button displayed on the graphical user interface, and a target progress bar is displayed on the graphical user interface, the prompting module 402 is used to:

[0088] The target progress bar is displayed in the first preset display area associated with the target button on the graphical user interface.

[0089] In an optional implementation, after the target progress bar is displayed on the graphical user interface, the prompting module 402 is further configured to:

[0090] In response to an acceleration operation on the virtual vehicle, the display length of the target progress bar on the graphical user interface is dynamically adjusted according to the vehicle's speed after the acceleration operation.

[0091] or,

[0092] In response to a deceleration operation on the virtual vehicle, the display length of the target progress indicator bar on the graphical user interface is dynamically adjusted according to the vehicle's speed after the deceleration operation.

[0093] In one optional embodiment, the cornering warning device further includes:

[0094] The first response module is used to hide the target progress bar on the graphical user interface in response to the target indicator moving to the end of the target progress bar or the virtual vehicle driving out of the target curve.

[0095] In an optional implementation, when the target progress bar is displayed on the graphical user interface, the prompt module 402 is further configured to:

[0096] Within the target progress bar, a progress bar filled with the target color is displayed, starting from the beginning of the target progress bar and according to the target movement speed; wherein, the target movement speed is determined based on the speed of the virtual vehicle at the initial display time of the target progress bar;

[0097] In response to the end of the control operation on the target button, the movement progress bar continues to move on the target progress indicator bar at the target movement speed. In an optional embodiment, the cornering indicator further includes:

[0098] The second response module is used to respond to the end of the control operation on the target button and control the target indicator to stop at its current position on the target progress bar.

[0099] Based on the cornering prompt device in the game provided in this application embodiment, before the virtual vehicle enters the target curve on the virtual road, a target prompt area is determined from the virtual road according to the current driving speed and current driving position of the virtual vehicle; in response to the virtual vehicle entering the target prompt area, a target progress bar is displayed on the graphical user interface, and a target indicator is displayed at the starting point of the target progress bar; in response to the control operation of the target button, the target indicator is controlled to move towards the end point of the target progress bar according to the length of time the target button is manipulated. In this way, this application allows players to more intuitively determine the specific timing of cornering operations, reduces the difficulty of cornering operations, and effectively improves the player's cornering efficiency.

[0100] Based on the same inventive concept, this application also provides an electronic device corresponding to the cornering prompt method in the above-mentioned game. Since the principle of solving the problem by the electronic device in the embodiments of this application is similar to the cornering prompt method in the above-mentioned game in the embodiments of this application, the implementation of the electronic device can refer to the implementation of the cornering prompt method, and the repeated parts will not be described again.

[0101] Figure 5 A schematic diagram of the structure of an electronic device 500 provided in this application embodiment includes: a processor 501, a memory 502, and a bus 503. The memory 502 stores machine-readable instructions executable by the processor 501. When the electronic device runs a cornering prompting method in a game as described in the embodiment, the processor 501 communicates with the memory 502 via the bus 503. The processor 501 executes the machine-readable instructions. A graphical user interface is provided through a terminal device, displaying at least a portion of the game scene. The game scene includes virtual vehicles and virtual roads on which the virtual vehicles travel. When the processor 501 executes the machine-readable instructions, it performs the following steps:

[0102] Before the virtual vehicle enters the target curve on the virtual road, a target prompt area is determined from the virtual road based on the virtual vehicle's current speed and current position.

[0103] In response to the virtual vehicle entering the target prompt area, a target progress bar is displayed on the graphical user interface, and a target indicator is displayed at the starting point of the target progress bar; wherein, the display length of the target progress bar represents the length of time required to operate the target button according to the driving speed of the virtual vehicle through the target curve;

[0104] In response to a control operation on the target button, the target indicator is moved toward the end of the target progress bar based on the duration of the button operation.

[0105] In one alternative implementation, the target button includes a direction button for turning and a brake button.

[0106] In an optional implementation, when the target button is a virtual button displayed on the graphical user interface, and a target progress bar is displayed on the graphical user interface, the processor 501 is configured to:

[0107] The target progress bar is displayed in the first preset display area associated with the target button on the graphical user interface.

[0108] In an alternative implementation, after displaying the target progress bar on the graphical user interface, the processor 501 is further configured to:

[0109] In response to an acceleration operation on the virtual vehicle, the display length of the target progress bar on the graphical user interface is dynamically adjusted according to the vehicle's speed after the acceleration operation.

[0110] or,

[0111] In response to a deceleration operation on the virtual vehicle, the display length of the target progress indicator bar on the graphical user interface is dynamically adjusted according to the vehicle's speed after the deceleration operation.

[0112] In an alternative implementation, the processor 501 is further configured to:

[0113] In response to the target indicator moving to the end of the target progress bar or the virtual vehicle exiting the target curve, the target progress bar is hidden on the graphical user interface.

[0114] In an optional implementation, when the target progress bar is displayed on the graphical user interface, the processor 501 is further configured to:

[0115] Within the target progress bar, a progress bar filled with the target color is displayed, starting from the beginning of the target progress bar and according to the target movement speed; wherein, the target movement speed is determined based on the speed of the virtual vehicle at the initial display time of the target progress bar;

[0116] Upon completion of the control operation on the target button, the progress bar continues to move on the target progress bar at the target speed.

[0117] In an alternative implementation, the processor 501 is further configured to:

[0118] In response to the end of the control operation on the target button, the target indicator is stopped at its current position on the target progress bar.

[0119] The electronic device provided in this application, before a virtual vehicle enters a target curve on a virtual road, determines a target indication area from the virtual road based on the virtual vehicle's current speed and position. In response to the virtual vehicle entering the target indication area, a target progress bar is displayed on the graphical user interface, with a target indicator appearing at the start of the progress bar. In response to a control operation on the target button, the target indicator is moved towards the end of the progress bar based on the duration of the button press. In this way, this application allows players to more intuitively determine the timing of cornering maneuvers, reducing the difficulty of cornering operations and effectively improving cornering efficiency.

[0120] Based on the same inventive concept, embodiments of this application also provide a computer-readable storage medium, wherein a graphical user interface is provided via a terminal device, the graphical user interface displaying at least a portion of a game scene, the game scene including virtual vehicles and virtual roads traveled by the virtual vehicles; the computer-readable storage medium stores a computer program, the computer program being executed by a processor, the processor performing the following steps:

[0121] Before the virtual vehicle enters the target curve on the virtual road, a target prompt area is determined from the virtual road based on the virtual vehicle's current speed and current position.

[0122] In response to the virtual vehicle entering the target prompt area, a target progress bar is displayed on the graphical user interface, and a target indicator is displayed at the starting point of the target progress bar; wherein, the display length of the target progress bar represents the length of time required to operate the target button according to the driving speed of the virtual vehicle through the target curve;

[0123] In response to a control operation on the target button, the target indicator is moved toward the end of the target progress bar based on the duration of the button operation.

[0124] In one alternative implementation, the target button includes a direction button for turning and a brake button.

[0125] In an optional implementation, when the target button is a virtual button displayed on the graphical user interface, and when a target progress bar is displayed on the graphical user interface, the processor is configured to:

[0126] The target progress bar is displayed in the first preset display area associated with the target button on the graphical user interface.

[0127] In an alternative implementation, after displaying the target progress bar on the graphical user interface, the processor is further configured to:

[0128] In response to an acceleration operation on the virtual vehicle, the display length of the target progress bar on the graphical user interface is dynamically adjusted according to the vehicle's speed after the acceleration operation.

[0129] or,

[0130] In response to a deceleration operation on the virtual vehicle, the display length of the target progress indicator bar on the graphical user interface is dynamically adjusted according to the vehicle's speed after the deceleration operation.

[0131] In one alternative implementation, the processor is further configured to:

[0132] In response to the target indicator moving to the end of the target progress bar or the virtual vehicle exiting the target curve, the target progress bar is hidden on the graphical user interface.

[0133] In an optional implementation, when the target progress bar is displayed on the graphical user interface, the processor is further configured to:

[0134] Within the target progress bar, a progress bar filled with the target color is displayed, starting from the beginning of the target progress bar and according to the target movement speed; wherein, the target movement speed is determined based on the speed of the virtual vehicle at the initial display time of the target progress bar;

[0135] Upon completion of the control operation on the target button, the progress bar continues to move on the target progress bar at the target speed.

[0136] In one alternative implementation, the processor is further configured to:

[0137] In response to the end of the control operation on the target button, the target indicator is stopped at its current position on the target progress bar.

[0138] The computer-readable storage medium provided in this application embodiment allows for the determination of a target indication area on the virtual road before a virtual vehicle enters a target curve on the virtual road, based on the virtual vehicle's current speed and position. In response to the virtual vehicle entering the target indication area, a target progress bar is displayed on the graphical user interface, with a target indicator appearing at the starting point of the progress bar. In response to a control operation on the target button, the target indicator is moved towards the end point of the progress bar based on the duration of the button press. In this way, this application enables players to more intuitively determine the timing of cornering maneuvers, reducing the difficulty of cornering operations and effectively improving cornering efficiency.

[0139] In this embodiment, the computer-readable storage medium can also execute other machine-readable instructions when the processor runs, to perform the cornering prompting method in the game as described in other embodiments. For the specific cornering prompting method steps and principles, please refer to the description of the method-side embodiment, which will not be repeated here.

[0140] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and there may be other division methods in actual implementation. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interface; the indirect coupling or communication connection between systems or units may be electrical, mechanical, or other forms.

[0141] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0142] In addition, the functional units in the embodiments provided in this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0143] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0144] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0145] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application. All should be covered within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.

Claims

1. A method for providing cornering prompts in a game, characterized in that, A graphical user interface is provided through a terminal device, which displays at least a portion of the game scene, including virtual vehicles and virtual roads on which the virtual vehicles travel; The cornering warning method includes: Before the virtual vehicle enters the target curve on the virtual road, a target prompt area is determined from the virtual road based on the virtual vehicle's current speed and current position. In response to the virtual vehicle entering the target prompt area, a target progress bar is displayed on the graphical user interface, and a target indicator is displayed at the starting point of the target progress bar; wherein, the display length of the target progress bar represents the length of time required to operate the target button according to the driving speed of the virtual vehicle through the target curve, and the target button includes: a direction button for turning and a brake button; In response to a control operation on the target button, the target indicator is controlled to move toward the end of the target progress bar based on the duration of the button operation. Wherein, when the target button belongs to the direction button, the target prompt area represents the area where the virtual vehicle needs to turn on the virtual road, and the target progress prompt bar represents the turning progress prompt bar corresponding to the direction button; When the target button is the brake button, the target indication area indicates the braking point position corresponding to the target curve, and the target progress indication bar indicates the braking progress indication bar corresponding to the brake button.

2. The cornering warning method according to claim 1, characterized in that, When the target button is a virtual button displayed on the graphical user interface, displaying the target progress bar on the graphical user interface includes: The target progress bar is displayed in the first preset display area associated with the target button on the graphical user interface.

3. The cornering warning method according to claim 1, characterized in that, After displaying the target progress bar on the graphical user interface, the cornering prompt method further includes: In response to an acceleration operation on the virtual vehicle, the display length of the target progress bar on the graphical user interface is dynamically adjusted according to the vehicle's speed after the acceleration operation. or, In response to a deceleration operation on the virtual vehicle, the display length of the target progress indicator bar on the graphical user interface is dynamically adjusted according to the vehicle's speed after the deceleration operation.

4. The cornering warning method according to claim 1, characterized in that, The cornering warning method also includes: In response to the target indicator moving to the end of the target progress bar or the virtual vehicle exiting the target curve, the target progress bar is hidden on the graphical user interface.

5. The cornering warning method according to claim 1, characterized in that, When the target progress bar is displayed on the graphical user interface, the cornering prompt method further includes: Within the target progress bar, a progress bar filled with the target color is displayed, starting from the beginning of the target progress bar and according to the target movement speed; wherein, the target movement speed is determined based on the speed of the virtual vehicle at the initial display time of the target progress bar; Upon completion of the control operation on the target button, the progress bar continues to move on the target progress bar at the target speed.

6. The cornering warning method according to claim 1, characterized in that, The cornering warning method also includes: In response to the end of the control operation on the target button, the target indicator is stopped at its current position on the target progress bar.

7. A cornering prompting device in a game, characterized in that, A graphical user interface is provided through a terminal device, which displays at least a portion of the game scene, including virtual vehicles and virtual roads on which the virtual vehicles travel; The cornering warning device includes: The prediction module is used to determine a target warning area from the virtual road based on the current driving speed and current driving position of the virtual vehicle before the virtual vehicle enters the target curve on the virtual road. The prompting module is used to respond to the virtual vehicle entering the target prompting area by displaying a target progress prompt bar on the graphical user interface and displaying a target indicator at the starting point of the target progress prompt bar; wherein, the display length of the target progress prompt bar represents the time required to operate the target button according to the driving speed of the virtual vehicle through the target curve, and the target button includes: a direction button for turning and a brake button; The control module is used to respond to control operations on the target button and, based on the duration of the operation on the target button, control the target indicator to move toward the end point of the target progress bar. Wherein, when the target button belongs to the direction button, the target prompt area represents the area where the virtual vehicle needs to turn on the virtual road, and the target progress prompt bar represents the turning progress prompt bar corresponding to the direction button; When the target button is the brake button, the target indication area indicates the braking point position corresponding to the target curve, and the target progress indication bar indicates the braking progress indication bar corresponding to the brake button.

8. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps of the cornering hint method in the game as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the cornering hint method in a game as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Game operation method, device and equipment

    CN109908581A

  • Display control method and device in game

    CN112546628A