Virtual track information display method and device, equipment and medium

Through the virtual track information display method, a graphical user interface is provided to provide real-time feedback of track capacity information, which solves the problem of low track editing efficiency in the existing technology, improves editing efficiency and user experience, and expands application scenarios.

CN118807201APending Publication Date: 2024-10-22NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410824619.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

The lack of visual aids in the existing game editing mode makes it difficult for users to intuitively evaluate the suitability of track width, resulting in low editing efficiency and poor user experience.

Method used

Provides a virtual track information display method that displays track capacity information in the editing stage through a graphical user interface, provides real-time feedback on the track width and vehicle capacity, and simplifies the editing process.

Benefits of technology

It improves the efficiency and user experience of track editing, reduces the possibility of operational errors, enhances system trust and satisfaction, and is suitable for a variety of scenarios such as racing simulation games and traffic planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118807201A_ABST
    Figure CN118807201A_ABST
Patent Text Reader

Abstract

The invention provides an information display method and device for a virtual track, equipment and a medium, and the method comprises the steps: a graphical user interface displays an editing picture which contains a to-be-edited game scene; after the user edits the target component, the editing area presents the updated racing track; when the racing track meets the conditions, the transverse capacity of the racing track is displayed, and the number of carriers capable of being contained in the width of the racing track is reflected; after editing is completed, a game operation scene is displayed through an operation instruction and a graphical interface, and the game operation scene comprises the edited racing track and the virtual carrier on the racing track. According to the method, the user can visually determine the transverse capacity of the racing track in a visual manner, so that the editing efficiency of the racing track is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of games, and in particular to a method, device, equipment and medium for displaying information of a virtual race track. Background Art

[0002] Track width is an important parameter for track editing, which affects the difficulty and fun of the track map.

[0003] Currently, the track width is only displayed in the edit mode, and there is no visual aid to intuitively evaluate the suitability of the track width. This results in users having to exit the edit mode and enter the trial mode to judge the effect of the track width, and then return to the edit mode for debugging.

[0004] Users need to repeatedly switch between editing mode and trial mode. The process is complicated, cumbersome and inefficient, which affects the work efficiency of track editing and user experience. Summary of the invention

[0005] In view of this, the embodiments of the present application provide a method, device, equipment and medium for displaying information of a virtual track, which can enable a user to intuitively determine the lateral capacity of the track in a visual manner, thereby improving the editing efficiency of the track.

[0006] The technical solution of the embodiment of the present application is implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a method for displaying information of a virtual track, wherein a graphical user interface is provided through a terminal device, and the method comprises:

[0008] Displaying an editing screen corresponding to the editing stage through the graphical user interface, wherein the editing screen includes a game scene to be edited;

[0009] In response to a first editing operation on a target component in the game scene to be edited, displaying an edited first target track in the editing area;

[0010] If the target component meets the reminder condition, displaying a first transverse capacity of the first target track in the first target track, wherein the first transverse capacity represents the number of first target vehicles that can be simultaneously accommodated by the first target track in a width direction, and the width of the first target track is determined based on the first editing operation;

[0011] In response to a game running instruction, a game running scene corresponding to the game scene to be edited is displayed on the graphical user interface, wherein the game running scene includes the first target track and a virtual vehicle located on the first target track.

[0012] In a second aspect, an embodiment of the present application further provides a virtual track information display device, which provides a graphical user interface through a terminal device, and the device includes:

[0013] A first display module, used for displaying an editing screen corresponding to the editing stage through the graphical user interface, wherein the editing screen includes a game scene to be edited;

[0014] An editing module, configured to respond to a first editing operation on a target component in the game scene to be edited, and display the edited first target track in the editing area;

[0015] a second display module, configured to display a first lateral capacity of the first target track in the first target track if the target component meets the reminder condition, wherein the first lateral capacity represents the number of first target vehicles that can be simultaneously accommodated by the first target track in a width direction, and the width of the first target track is determined based on the first editing operation;

[0016] The third display module is used to respond to the game running instruction and display the game running scene corresponding to the game scene to be edited in the graphical user interface, wherein the game running scene includes the first target track and the virtual vehicle located on the first target track.

[0017] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to execute the virtual track information display method described in any one of the first aspects.

[0018] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for displaying information of a virtual track described in any one of the first aspects is executed.

[0019] The embodiments of the present application have the following beneficial effects:

[0020] (1) By providing an intuitive and easy-to-use interface and interactive method, users can easily edit and configure tracks. At the same time, the system also provides real-time feedback, visual prompts, and auxiliary functions to help users better understand and operate, allowing users to quickly know the lateral capacity that represents the number of vehicles that can be accommodated simultaneously in the width direction of the track. This optimization not only improves user work efficiency, but also reduces the possibility of operational errors and enhances user trust and satisfaction with the system.

[0021] (2) By providing a variety of editing and adjustment functions, the flexibility and adaptability of track configuration are significantly enhanced. Users can adjust the track's width, shape, size and other attributes according to actual needs and simulation scenarios, as well as replace and configure vehicle models. This flexibility enables this solution to adapt to different vehicle types and track layouts, meeting the needs of a variety of scenarios.

[0022] (3) By dynamically adjusting the calculation method of lateral capacity, the number of vehicles that can be accommodated on the track is updated in real time and accurately reflected. During track editing or adjustment, the system will recalculate and display the corresponding lateral capacity based on the new track properties and vehicle size to ensure the real-time and accuracy of the information. This helps users make more accurate decisions and plans, and improves the efficiency and safety of track resource utilization.

[0023] (4) It has high flexibility and adaptability, and can be widely used in a variety of scenarios and fields. For example, in a racing simulation game, users can use this solution to create and configure various complex track layouts to increase the fun and challenge of the game. In vehicle testing and training, this solution can help engineers and drivers better understand and evaluate the performance and performance of the vehicle under different track conditions. In addition, in traffic planning and urban design, this solution can also be used as an auxiliary tool to simulate and optimize traffic flow and road layout.

[0024] In summary, this solution significantly improves the efficiency and accuracy of track configuration and expands its application scenarios by providing flexible and diverse editing and adjustment functions, real-time and accurate horizontal capacity calculation, and optimized user experience. This has important practical significance and application value in improving user experience, improving the accuracy of vehicle testing and training, and optimizing traffic planning and urban design. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0026] Figure 1 It is a flowchart of steps S101-S104 provided in an embodiment of the present application;

[0027] Figure 2 This is one of the interface diagrams of the method for displaying information of a virtual track provided in an embodiment of the present application;

[0028] Figure 3It is a flowchart of steps S201-S202 provided in an embodiment of the present application;

[0029] Figure 4 This is the second interface diagram of the method for displaying information of a virtual track provided in an embodiment of the present application;

[0030] Figure 5 It is a flowchart of steps S301-S302 provided in an embodiment of the present application;

[0031] Figure 6 It is a flowchart of steps S401-S402 provided in an embodiment of the present application;

[0032] Figure 7 This is the third interface diagram of the method for displaying information of a virtual track provided by an embodiment of the present application;

[0033] Figure 8 It is a flowchart of steps S501-S502 provided in an embodiment of the present application;

[0034] Fig. 9 It is a flowchart of steps S601-S602 provided in an embodiment of the present application;

[0035] Fig.10 It is a flowchart of steps S701-S702 provided in an embodiment of the present application;

[0036] Fig.11 is a schematic diagram of the structure of a virtual racetrack information display device provided in an embodiment of the present application;

[0037] Fig.12 It is a schematic diagram of the composition structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0038] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0039] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0040] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0041] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

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

[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0044] See also Figure 1 , Figure 1 is a flow chart of steps S101-S102 of the method for displaying information of a virtual track provided in an embodiment of the present application, which will be combined with Figure 1 Steps S101-S102 are shown for explanation.

[0045] Step S101, displaying an editing screen corresponding to an editing stage through the graphical user interface, wherein the editing screen includes a game scene to be edited;

[0046] Step S102, in response to a first editing operation on a target component in the game scene to be edited, displaying an edited first target track in the editing area;

[0047] Step S103: if the target component meets the reminder condition, displaying a first transverse capacity of the first target track in the first target track, wherein the first transverse capacity represents the number of first target vehicles that can be simultaneously accommodated in the width direction of the first target track, and the width of the first target track is determined based on the first editing operation;

[0048] Step S104, in response to the game running instruction, displaying a game running scene corresponding to the game scene to be edited on the graphical user interface, wherein the game running scene includes the first target track and a virtual vehicle located on the first target track.

[0049] The above exemplary steps of the embodiments of the present application are described below respectively.

[0050] In step S101, an editing screen corresponding to the editing stage is displayed through the graphical user interface, and the editing screen includes a game scene to be edited.

[0051] Here, the user first opens a graphical user interface (GUI) through a terminal device (such as a computer, tablet computer, etc.), which will display an editing screen. The editing screen contains the game scene to be edited, which may be a pre-set blank venue or a preliminary track design that already includes some components.

[0052] In step S102, in response to a first editing operation on a target component in the game scene to be edited, the edited first target track is displayed in the editing area.

[0053] Here, through the graphical user interface provided by the terminal device, the player or editor can see at least part of the game scene. In this part of the game scene, there is an editing area, which is the main place for the user to edit the track.

[0054] Then, when the user performs the first editing operation, the system will display the edited first target track in the editing area in real time. The user can intuitively see the effect of each editing operation.

[0055] In step S103, the target component meets the reminder condition, and the first lateral capacity of the first target track is displayed in the first target track, wherein the first lateral capacity represents the number of first target vehicles that the first target track can simultaneously accommodate in the width direction, and the width of the first target track is determined based on the first editing operation.

[0056] Here, if the target component meets the reminder condition, the first lateral capacity is displayed in the first target track. The first lateral capacity here represents the number of first target vehicles that can be accommodated simultaneously in the width direction of the first target track. By displaying this information, the user can clearly understand whether the width of the track meets the competition requirements and whether further adjustments are needed.

[0057] For example, the first transverse capacity may be displayed as a number “characterizing the number of first target vehicles that can be simultaneously accommodated in the width direction of the first target track” or as a “vehicle array of the first target vehicles”.

[0058] As an example of a display method of the first lateral capacity being a number that "characterizes the number of first target vehicles that the first target track can accommodate simultaneously in the width direction", in some embodiments, a virtual track is edited in the editing area through a first editing operation. The width of this track is wide enough to accommodate a certain number of racing cars running side by side. If you want to indicate the number of racing cars that this track can accommodate simultaneously in the width direction, you can use a number to represent it. For example, after measurement and calculation, we determine that this track can accommodate 10 racing cars running side by side in the width direction. Then, the first lateral capacity of this track can be represented as the number "10". This number clearly tells the user that this track can accommodate up to 10 racing cars running simultaneously in the width direction.

[0059] In some embodiments, the reminder condition includes at least one of the following conditions:

[0060] The component type of the target component is a specified type;

[0061] The target component is in a selected state;

[0062] The target component is in an editing state.

[0063] Specifically, the specified type may be a track type, such as a straight track, a curve track, a ramp track, etc.;

[0064] During the editing process, the user usually needs to select a component before editing it. The system will detect whether a component is currently selected and determine whether to respond to the user's editing operation based on this. The first horizontal capacity will only be displayed when it is selected.

[0065] In addition, in actual applications, the condition may also be that the target component is in an editing state, for example, an edit menu is opened for the target component, and in the edit menu, the user can turn on or off the reminder function through a reminder button.

[0066] In step S104, in response to a game running instruction, a game running scene corresponding to the game scene to be edited is displayed on the graphical user interface, wherein the game running scene includes the first target track and a virtual vehicle located on the first target track.

[0067] In some embodiments, the method further comprises:

[0068] When the target component does not meet the reminder condition, the display of the first horizontal capacity is cancelled.

[0069] Here, if the target component does not meet the reminder condition, the system will cancel the display of the first horizontal capacity associated with the component. This is to avoid displaying misleading information in an inappropriate editing state and ensure that users can clearly understand the current editing state and the actual situation of the track design.

[0070] As an example in which the display mode of the first transverse capacity is “a vehicle array of the first target vehicle”, in some embodiments, displaying the first transverse capacity of the first target track in the first target track includes:

[0071] A vehicle array of the first target vehicle is displayed in the first target track, wherein the width of the vehicle array matches the width of the first target track, at least one first target vehicle is arranged in sequence along the width direction in the vehicle array, and a portion of the first target vehicle that exceeds the width of the vehicle array is not displayed.

[0072] Here, first determine the width of the first target track. This width is usually determined based on the actual physical size or design specifications of the track in the game, and it is the maximum lateral space that the track can accommodate vehicles. Next, create or generate a vehicle array of the first target vehicle. The vehicle array is composed of at least one first target vehicle at a specific spacing and arrangement. The width of this array needs to match the width of the first target track to ensure that the array can fully fit within the width of the track and does not exceed the boundaries of the track. When arranging the vehicle array, the vehicles can maintain a certain spacing between them to reflect the distribution of vehicles during actual driving, or they can be arranged at zero distance to reflect the actual lateral capacity. The vehicle array is arranged in sequence along the width of the track to clearly show the number of vehicles that the track can accommodate simultaneously in the width direction.

[0073] It should be noted that the portion of the first target vehicle that exceeds the width of the vehicle array can be chosen not to be displayed. This is to ensure that the vehicle array can fully fit within the width of the track, and will not cause overlap or confusion in the display due to the vehicle being too large, thereby avoiding user misjudgment.

[0074] Finally, the generated vehicle array is displayed in the first target track. This display can be achieved through a graphical interface, a virtual simulation environment, or an actual physical mark. By observing the arrangement and distribution of the vehicle array, it is possible to intuitively understand the number of first target vehicles that the first target track can accommodate simultaneously in the width direction, that is, the first lateral capacity of the track.

[0075] The above method can not only clearly display the lateral capacity of the track, but also help users better understand and plan the layout and usage of the track.

[0076] In some embodiments, the method further comprises:

[0077] When at least one of the first target vehicles exceeds the width of the first target track, hiding a portion of at least one of the first target vehicles that exceeds the width of the vehicle array;

[0078] Alternatively, the first target vehicle that exceeds the track width is displayed, and other first target vehicles that exceed the track width are hidden.

[0079] Here, the handling of vehicles that exceed the track width can include the following two solutions:

[0080] (1) Hide the excess part of the vehicle: When the user edits the track width or adds a vehicle to the track, if the width of at least one of the first target vehicles exceeds the width of the vehicle array (i.e. the width of the track), the system will hide the part of these vehicles that exceeds the track width. This ensures the clarity and accuracy of the track display and avoids visual confusion caused by vehicles that are too large.

[0081] (2) The system can choose to display only the first target vehicle that exceeds the track width and hide other vehicles that exceed the track width. This can highlight the problem vehicle while maintaining the simplicity of the track display. The user can choose whether to further adjust the track width or vehicle size as needed.

[0082] For examples, see Figure 2 , Figure 2 This is one of the interface diagrams of the method for displaying information of a virtual track provided in an embodiment of the present application, such as Figure 2 As shown, the first target track 2001 displays a vehicle array that matches the width of the first target track 2001, and at least one first target vehicle 2002 is arranged along the width (lateral direction) in the vehicle array, and the first target vehicles 2002 located at the edges of both sides that exceed the width of the vehicle array (exceed the width of the first target track 2001) are not displayed. In this way, the user can understand through the graphical interface that the first target track 2001 can accommodate 0.5+5+0.5=6 first target vehicles 2002 in the width direction at the same time.

[0083] In some embodiments, see Figure 3 , Figure 3 It is a flowchart of steps S201-S202 provided in an embodiment of the present application. The display of the vehicle array of the first target vehicle in the first target track can be achieved through steps S201-S202, which will be explained in combination with each step.

[0084] In step S201 , the initial position and replication direction of the first carrier in the carrier array are determined.

[0085] In step S202, the first carrier is displayed at the initial position, and the first carrier is copied, and at least one second carrier obtained by the copy is arranged and displayed in sequence along the copy direction until the second carrier in the copy direction exceeds the width limit of the carrier array, and the second carrier exceeding the width limit is partially displayed within the width limit.

[0086] In combination with steps S201-S202, first, determine the initial position and replication direction of the first vehicle in the vehicle array. The initial position is the starting point of the vehicle array, which is usually a fixed point in the width direction of the track. The replication direction is the direction in which the vehicles are arranged in the vehicle array, which determines the replication direction of the vehicle based on the initial position. For example, the initial position can be the intersection of the width direction of the track and the center line of the track. The center of gravity of the first vehicle or the plane geometric center of the top view is located at the intersection, and the first vehicle is usually facing the length direction of the track; or, the initial position is located at a specific position on the left side of the track or a specific position on the right side of the track. The specific position here can be understood as: just making the first vehicle close to (0 distance) the boundary of the track, so that the second vehicle is arranged to the right or left in sequence with the left or right side as the starting point.

[0087] Next, display the first vehicle at the initial position. Place the image or model of the first vehicle at the initial position to begin building the vehicle array. Then, duplicate the first vehicle. The duplication operation can generate vehicle models that are the same or similar to the first vehicle, and these duplicated vehicles will serve as other vehicles in the vehicle array. At least one of the duplicated second vehicles needs to be arranged and displayed in sequence along the duplication direction. This means that each time a vehicle is copied, it is placed after the previous vehicle, ensuring that they are neatly arranged according to the set spacing (usually 0 distance) and direction.

[0088] When copying and arranging vehicles, it is necessary to determine whether the width limit of the vehicle array is exceeded. This width limit is determined by the width of the first target track, which ensures that the vehicle array does not exceed the boundaries of the track. If the second vehicle in the copy direction exceeds the width limit of the vehicle array, the part within the width limit will be displayed, and the part outside the width limit will not be displayed or truncated. This ensures that the vehicle array always stays within the width of the track and does not cause confusion or overlap in the display.

[0089] As an example, see Figure 4 , Figure 4 This is the second interface diagram of the method for displaying information of a virtual track provided by an embodiment of the present application, such as Figure 4 As shown, the initial position is the intersection of the track width direction and the track centerline, the center of gravity of the first carrier 4001 or the plane geometric center of the top view is located at the intersection, and the first carrier 4001 faces the track length direction. Based on this, the determined copy direction is along the left direction of the first carrier 4001 and along the right direction of the first carrier 4001. Then copy along these two directions, and the copied second carriers 4002 are arranged in sequence along the left or right direction until the width limit is exceeded. Since the second carrier 4002 in the dotted frame 4003 exceeds the width limit, the excess part is not displayed.

[0090] In the above method, a vehicle array that meets the first target track width is constructed and displayed. This array intuitively shows the number of vehicles that the track can accommodate simultaneously in the width direction, helping users better understand and evaluate the lateral capacity of the track.

[0091] In some embodiments, see Figure 5 , Figure 5 It is a flowchart of steps S301-S302 provided in an embodiment of the present application. The editing operation specifies the track width information. The first lateral capacity of the first target track can be determined through steps S301-S302, which will be explained in combination with each step.

[0092] In step S301, the track width information and the vehicle width information of the first target vehicle are obtained.

[0093] In step S302, the first lateral capacity is determined based on a ratio of the track width information to the vehicle width information.

[0094] Combining steps S301-S302, it can be seen that the track width information can be obtained through editing operations, which is completed in the track editing or configuration stage. The user will set the width of the track, which can be a specific value, such as meters or centimeters, or a proportional value relative to a reference standard.

[0095] Next, the vehicle width information of the first target vehicle is obtained. This information is usually determined based on the actual size or design specifications of the vehicle. Similar to the track width information, the vehicle width can also be a specific value.

[0096] With the track width information and vehicle width information, we can proceed to the next step of calculation. By dividing the track width information by the vehicle width information, we will get a ratio. This ratio represents the number of vehicles that can be accommodated in the track width direction, that is, the first lateral capacity.

[0097] It should be noted that this calculation process can also introduce some additional factors. For example, vehicles may need a certain amount of space between them to ensure safe driving, so these distances may need to be subtracted from the track width when calculating. In addition, if the track has curves or special designs, you may also need to consider the space occupied by the vehicles in these areas.

[0098] Ultimately, the first lateral capacity determined by this method can be used as a quantitative indicator to evaluate the capacity of the track and plan the vehicle driving or parking layout. This helps to ensure the efficiency and safety of the track and provides strong support for relevant decision-making.

[0099] In some embodiments, see Figure 6 , Figure 6 It is a flowchart of steps S401-S402 provided in an embodiment of the present application. The method also includes steps S401-S402, which will be described in combination with each step.

[0100] In step S401 , a first display state corresponding to the first vehicle and a second display state corresponding to the at least one second vehicle are determined.

[0101] In step S402 , the first vehicle is displayed in the first display state, and the at least one second vehicle is displayed in the second display state, wherein the first display state is different from the second display state.

[0102] In combination with steps S401-S402, first, a first display state corresponding to the first vehicle and a second display state corresponding to at least one second vehicle are determined. These two display states are used to distinguish between primary display and secondary display. The first display state is usually designed to be more eye-catching or prominent to attract the attention of the observer, while the second display state is relatively low-key or concise.

[0103] Specifically, the first display state may include brighter colors, clearer image quality, or more obvious outlines to characterize the main display. This display state makes the first vehicle stand out in the array and become the visual focus.

[0104] In contrast, the second display state is used to represent the secondary display. It can use softer colors, lower image quality, or more blurred outlines. This display state makes the second vehicle relatively weaker visually and does not attract too much attention, but can still clearly show the basic shape and position of the vehicle.

[0105] Next, the first vehicle is displayed in a first display state, and at least one second vehicle is displayed in a second display state. In this way, in the vehicle array, the first vehicle will be the main display object, and the second vehicle will be an auxiliary or background element. This display method helps the observer to quickly identify and understand the structure and composition of the vehicle array, and can also highlight important vehicles.

[0106] For examples, see Figure 7 , Figure 7 This is the third interface diagram of the method for displaying information of a virtual track provided by an embodiment of the present application, such as Figure 7 As shown, the first vehicle 4001 is the "central vehicle" and the second vehicle 4002 is the "copy vehicle". Correspondingly, the first vehicle 4001 has a lower transparency and may be the real appearance of the vehicle in the game, and the second vehicle 4002 has a higher transparency. The higher transparency here is compared with the first vehicle 4001. In this way, the user can clearly distinguish the first vehicle 4001 and the copied second vehicle 4002.

[0107] The above display method can not only visually distinguish the primary and secondary vehicles, but also improve the efficiency and clarity of information transmission. It helps users better understand and evaluate the lateral capacity of the track, as well as plan and manage the use and layout of vehicles.

[0108] In some embodiments, see Figure 8 , Figure 8 It is a flowchart of steps S501-S502 provided in an embodiment of the present application. The method also includes steps S501-S502, which will be described in combination with each step.

[0109] In step S501 , in response to the vehicle type adjustment operation, an adjusted second target vehicle is displayed.

[0110] In step S502, a second lateral capacity of the first target track is displayed in the first target track, wherein the second lateral capacity represents the number of second target vehicles that the first target track can simultaneously accommodate in the width direction; the first target vehicle and the second target vehicle have different vehicle widths.

[0111] In combination with steps S501-S502, first, the system responds to the vehicle type adjustment operation. This operation can be triggered by the user through the interface, or automatically executed according to preset rules and conditions. After receiving the instruction of the adjustment operation, the system adjusts the original first target vehicle to the second target vehicle. This adjustment may involve changes in the size, shape, color or other attributes of the vehicle.

[0112] Next, the system will display the adjusted second lateral capacity in the first target track. This second lateral capacity is used to indicate the number of second target vehicles that can be accommodated in the width direction of the first target track at the same time. Since the first target vehicle and the second target vehicle have different vehicle widths, their lateral capacities will also be different.

[0113] To determine the second lateral capacity, the system may need to recalculate the ratio between the width of the track and the width of the second target vehicle. If the width of the second target vehicle is greater than the first target vehicle, the lateral capacity of the track may be reduced; conversely, if the width of the second target vehicle is smaller, the lateral capacity of the track may be increased.

[0114] This vehicle type adjustment function makes the embodiment of the present application more flexible and practical. It allows users or system administrators to adjust the vehicle type on the track according to actual needs, thereby more accurately simulating or displaying the distribution of different vehicle types on the track. At the same time, this also provides more possibilities for track management and planning, helping relevant personnel to better understand and deal with various situations.

[0115] Therefore, by responding to the vehicle type adjustment operation and displaying the corresponding second lateral capacity, the method can realize the dynamic calculation and display of the lateral capacity of different vehicle types on the track, thereby improving the adaptability and practicality of the method.

[0116] In some embodiments, in response to a game running operation, a game vehicle is generated based on the size information of the second target vehicle.

[0117] Here, in order to provide a gaming experience that matches the track design, the system will generate game vehicles based on specific vehicle size information when the game is running. Specifically, if the track is adjusted based on the size of the second target vehicle during creation or editing, then when the game starts running, the system will generate the vehicle actually used in the game scene based on this size information.

[0118] By generating the game vehicle based on the size information of the second target vehicle, the system can ensure that the vehicle in the game scene matches the track design, providing players with a more realistic and accurate gaming experience. This method not only improves the playability and fun of the game, but also enhances the immersion and realism of the game.

[0119] In some embodiments, see Fig. 9 , Fig. 9 It is a flowchart of steps S601-S602 provided in an embodiment of the present application. The method also includes steps S601-S602, which will be described in combination with each step.

[0120] In step S601, in response to a second editing operation, the edited second target track is displayed in the editing area.

[0121] In step S602, when the second target track is connected to the first target track and the track width of the second target track is the same as that of the first target track, the first lateral capacity is displayed in the first target track and / or the second target track; when the second target track is connected to the first target track and the track width of the second target track is different from that of the first target track, the first lateral capacity is displayed in the first target track, and the third lateral capacity is displayed in the second target track, wherein the third lateral capacity represents the number of first target vehicles that the second target track can simultaneously accommodate in the width direction.

[0122] In combination with steps S601-S602, the user may need to edit the track again for a variety of reasons, such as changing the shape of the track to suit a specific race requirement, or adjusting the size of the track to match the size of the vehicle. When performing the second editing operation, the system first captures these editing instructions and displays the edited second target track in the editing area in real time. This is usually achieved through a graphical interface, allowing the user to intuitively see the changes to the track.

[0123] After the edit is complete, the system needs to determine the relationship between the second target track and the first target track. First, the system checks whether the two tracks are connected. Connectivity may mean that the two tracks are physically connected or that they are logically considered as a whole. Second, the system compares the widths of the two tracks. This usually involves obtaining the size information of the tracks and performing a comparison operation.

[0124] If the second target track is connected to the first target track and has the same width, the system will display the first horizontal capacity in both tracks, in either track, or at the junction of the two tracks. This is because the conditions of the two tracks are the same, so they can accommodate the same number of first target vehicles. When displaying, the system may use the same color, font, or icon to identify the horizontal capacity of the two tracks so that users can clearly identify them.

[0125] If two tracks are connected but have different widths, the system will display the first lateral capacity in the first target track and the third lateral capacity in the second target track. The first lateral capacity is calculated based on the width of the first target track, while the third lateral capacity is calculated based on the width of the second target track. The two capacity values ​​may be different, reflecting the different abilities of different tracks to accommodate vehicles in the width direction. When displayed, the system may use different colors or markings to distinguish the two capacity values ​​so that the user can distinguish them. In addition, the system may provide additional information or prompts to explain why the lateral capacities of the two tracks are different and the impact this may have on track use and management.

[0126] In order to improve the user experience and facilitate understanding, the system can also adopt some optimization measures. For example, when displaying the horizontal capacity of multiple tracks, this information can be organized in the form of tables or charts to make it clearer and easier to read. In addition, the system can also provide interactive functions, allowing users to click or hover on the capacity value to view more details or perform further operations.

[0127] In the above way, the system can more accurately reflect the changes after the track is edited and provide corresponding lateral capacity information. This helps users better understand and plan the use and management of the track and improve the utilization efficiency of track resources.

[0128] In some embodiments, see Fig.10 , Fig.10 It is a flowchart of steps S701-S702 provided in an embodiment of the present application. The method also includes steps S701-S702, which will be described in combination with each step.

[0129] In step S701, in response to a width adjustment operation for the first target track, the first target track after the width adjustment is displayed in the editing area;

[0130] In step S702, the first lateral capacity of the first target track is dynamically adjusted based on the width adjustment operation.

[0131] In combination with steps S701-S702, the user can trigger a width adjustment operation for the first target track through the interface. This operation allows the user to flexibly change the width of the track according to actual needs or simulation scenarios. When the system receives the instruction for the width adjustment operation, it will immediately respond and start to display the first target track after the width adjustment in the editing area.

[0132] At the same time, the system will dynamically adjust the first lateral capacity according to the new track width. This means that the system will recalculate the ratio between the track width and the width of the first target vehicle to determine the number of vehicles that can be accommodated simultaneously in the adjusted track width direction. This dynamic adjustment ensures the accuracy of the lateral capacity so that it always remains consistent with the actual width of the track.

[0133] During the adjustment process, the system will update the display in real time to reflect the change in track width and the corresponding lateral capacity adjustment. In this way, the user can immediately see the effect of the adjustment and make further adjustments or confirmations as needed.

[0134] To improve the user experience, the system can also provide some auxiliary functions and prompts. For example, when adjusting the track width, the system can display a preview or transition animation to help users better understand the change process. In addition, the system can also provide explanations or suggestions about lateral capacity changes to help users make more informed decisions.

[0135] In the above method, users can not only edit and adjust other attributes of the track, but also easily adjust the width of the track and immediately see the impact on the lateral capacity. This greatly enhances the flexibility and practicality of the method, enabling it to better adapt to different scenarios and needs. At the same time, this dynamic adjustment method also improves the real-time and accuracy of information, helping users make more accurate decisions and plans.

[0136] In some embodiments, the method further comprises:

[0137] In response to a drag operation on a track boundary of the first target track, at least one specific drag position is displayed in the first target track, wherein the at least one specific drag position is determined based on the vehicle array, and the at least one specific drag position corresponds one-to-one to the at least one first target vehicle.

[0138] Here, in order to further enhance the user's interactivity with the system, the user can now adjust the size or shape of the track by dragging the border of the first target track. This operation allows the user to intuitively change the layout of the track to meet specific needs or simulation scenarios. When the system receives a drag operation instruction for the track boundary, it will respond immediately and prepare for subsequent processing.

[0139] During the dragging operation, the system determines at least one specific dragging position based on the current state of the vehicle array and displays these positions in the first target track. These specific dragging positions are determined based on the position and size of at least one first target vehicle, ensuring that each position corresponds to one or more vehicles.

[0140] The system determines specific drag positions by analyzing the array of vehicles on the track, including the number, position, size, and arrangement of the vehicles. These positions are usually located at appropriate gaps between vehicles or between vehicles and track boundaries to ensure that there is no overlap or collision with vehicles when dragging track boundaries.

[0141] As the drag operation progresses, the system will update the display of specific drag positions in real time so that the user can clearly see which positions are recommended. If the user attempts to drag the track border to a position that overlaps the vehicle, the system may provide a visual cue or warning to prevent incorrect configuration.

[0142] To improve the user experience, the system can also provide some auxiliary functions. For example, when the user hovers the mouse over a specific drag position, the system can display additional information or prompts to help the user understand the meaning and impact of the position. In addition, the system can also provide undo or redo functions so that users can easily undo incorrect drag operations or reconfigure.

[0143] By introducing the dragging operation for the track boundary and the display of the specific dragging position, the embodiment of the present application provides users with a more intuitive and flexible track configuration method. Users can easily adjust the size and shape of the track as needed and ensure the integrity and accuracy of the vehicle array. This interactive method not only improves the ease of use of the method, but also enhances the user's control over the track configuration.

[0144] In some embodiments, the method further comprises:

[0145] In response to a perspective zooming / enlarging operation on the game scene to be edited, the display size of the game components and the first horizontal capacity in the game scene to be edited is adjusted; wherein the display size of the game components is scaled / enlarged in proportion to the display size of the first horizontal capacity.

[0146] In order to further improve user experience and editing efficiency, the embodiment of the present application also provides a viewing angle zooming / expanding operation and a corresponding function of adjusting the display size of the game components and the first horizontal capacity.

[0147] The user can perform perspective zooming / expanding operations through interactive operations on the interface (such as mouse wheel scrolling, touch screen zooming, etc.). This operation allows the user to adjust the perspective size of the game scene to be edited as needed, so as to observe the game scene more comprehensively or edit the game scene more carefully.

[0148] When the user performs a zooming / expanding operation on the viewing angle, the system will respond to this operation and adjust the display size of the game components and the first horizontal capacity in the game scene to be edited. These display size adjustments are proportional, that is, the sizes of the game components and the first horizontal capacity will be scaled or expanded in the same proportion. This ensures that the relative size and proportional relationship between the game components and the first horizontal capacity remain unchanged when the viewing angle is adjusted.

[0149] The system will update the display size of the game components and the first horizontal capacity in real time according to the user's perspective zoom / expand operation. This means that the user can immediately see the change in display size while adjusting the perspective, so as to grasp the editing results more intuitively.

[0150] When adjusting the display size, the system will consider maintaining the clarity and readability of the game components and the first horizontal volume. If the zoom / expand operation causes the display size to be too small or too large, the system may take some measures (such as automatically adjusting the font size, adding a zoom bar, etc.) to ensure that the user can clearly see and understand the information of the game components and the first horizontal volume.

[0151] Through the zooming / expanding operation of the viewing angle and the adjustment function of the display size of the game components and the first horizontal capacity, the method can provide users with a more flexible and convenient virtual track graphical editing experience. Users can freely adjust the viewing angle size and display size as needed, so as to more comprehensively observe or more carefully edit the various components and capacity information in the game scene. This not only improves the editing efficiency, but also enhances the user experience and the playability of the game.

[0152] In summary, the embodiments of the present application have the following beneficial effects:

[0153] (1) By providing an intuitive and easy-to-use interface and interactive method, users can easily edit and configure tracks. At the same time, the system also provides real-time feedback, visual prompts, and auxiliary functions to help users better understand and operate, allowing users to quickly know the lateral capacity that represents the number of vehicles that can be accommodated simultaneously in the width direction of the track. This optimization not only improves user work efficiency, but also reduces the possibility of operational errors and enhances user trust and satisfaction with the system.

[0154] (2) By providing a variety of editing and adjustment functions, the flexibility and adaptability of track configuration are significantly enhanced. Users can adjust the track's width, shape, size and other attributes according to actual needs and simulation scenarios, as well as replace and configure vehicle models. This flexibility enables this solution to adapt to different vehicle types and track layouts, meeting the needs of a variety of scenarios.

[0155] (3) By dynamically adjusting the calculation method of lateral capacity, the number of vehicles that can be accommodated on the track is updated in real time and accurately reflected. During track editing or adjustment, the system will recalculate and display the corresponding lateral capacity based on the new track properties and vehicle size to ensure the real-time and accuracy of the information. This helps users make more accurate decisions and plans, and improves the efficiency and safety of track resource utilization.

[0156] (4) It has high flexibility and adaptability, and can be widely used in a variety of scenarios and fields. For example, in a racing simulation game, users can use this solution to create and configure various complex track layouts to increase the fun and challenge of the game. In vehicle testing and training, this solution can help engineers and drivers better understand and evaluate the performance and performance of the vehicle under different track conditions. In addition, in traffic planning and urban design, this solution can also be used as an auxiliary tool to simulate and optimize traffic flow and road layout.

[0157] In summary, this solution significantly improves the efficiency and accuracy of track configuration and expands its application scenarios by providing flexible and diverse editing and adjustment functions, real-time and accurate horizontal capacity calculation, and optimized user experience. This has important practical significance and application value in improving user experience, improving the accuracy of vehicle testing and training, and optimizing traffic planning and urban design.

[0158] Based on the same inventive concept, an embodiment of the present application also provides a virtual track information display device corresponding to the virtual track information display method in the first embodiment. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the above-mentioned virtual track information display method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0159] like Fig.11 As shown, Fig.11 : is a schematic diagram of the structure of a virtual track information display device 800 provided in an embodiment of the present application. The virtual track information display device 800 includes:

[0160] A first display module 801, used to display an editing screen corresponding to the editing stage through the graphical user interface, wherein the editing screen includes a game scene to be edited;

[0161] The editing module 802 is used to respond to a first editing operation on a target component in the game scene to be edited, and display the edited first target track in the editing area.

[0162] A second display module 803 is configured to display a first lateral capacity of the first target track in the first target track if the target component meets the reminder condition, wherein the first lateral capacity represents the number of first target vehicles that can be simultaneously accommodated by the first target track in a width direction, and the width of the first target track is determined based on the first editing operation;

[0163] The third display module 804 is used to respond to the game running instruction and display the game running scene corresponding to the game scene to be edited on the graphical user interface, wherein the game running scene includes the first target track and the virtual vehicle located on the first target track.

[0164] Those skilled in the art should understand that Fig.11 The functions of the various units in the virtual track information display device 800 shown may be understood by referring to the related description of the aforementioned virtual track information display method. Fig.11 The functions of the various units in the virtual racetrack information display device 800 shown may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.

[0165] In a possible implementation manner, the second display module 803 displays the first lateral capacity of the first target track in the first target track, including:

[0166] A vehicle array of the first target vehicles is displayed in the first target track, wherein a width of the vehicle array matches a width of the first target track, and at least one first target vehicle is sequentially arranged in the vehicle array along a width direction.

[0167] In a possible implementation, the second display module 803 further includes: when at least one of the first target vehicles exceeds the width of the first target track, hiding a portion of the at least one of the first target vehicles that exceeds the width of the vehicle array;

[0168] Alternatively, the first target vehicle that exceeds the track width is displayed, and other first target vehicles that exceed the track width are hidden.

[0169] In a possible implementation, the second display module 803 displays the vehicle array of the first target vehicle in the first target track, including:

[0170] Determining an initial position and a replication direction of a first carrier in the carrier array;

[0171] The first carrier is displayed at the initial position, and the first carrier is copied, and at least one second carrier obtained by the copy is arranged and displayed in sequence along the copy direction until the second carrier in the copy direction exceeds the width limit of the carrier array, and the second carrier exceeding the width limit is partially displayed within the width limit.

[0172] In a possible implementation manner, the initial position is determined based on a track centerline or a track sideline of the first target track.

[0173] In a possible implementation manner, the editing operation specifies track width information, and the first lateral capacity of the first target track is determined by:

[0174] Acquire the track width information and the vehicle width information of the first target vehicle;

[0175] The first lateral capacity is determined based on a ratio of the track width information to the vehicle width information.

[0176] In a possible implementation manner, the first carrier and the at least one second carrier are displayed in the following manner:

[0177] Determining a first display state corresponding to the first vehicle and a second display state corresponding to the at least one second vehicle;

[0178] The first vehicle is displayed in the first display state, and the at least one second vehicle is displayed in the second display state, wherein the first display state is different from the second display state.

[0179] In a possible implementation, the editing module 802 displays the adjusted second target vehicle in response to the vehicle type adjustment operation;

[0180] The second display module 803 displays a second lateral capacity of the first target track in the first target track, wherein the second lateral capacity represents the number of second target vehicles that the first target track can simultaneously accommodate in the width direction; the first target vehicle and the second target vehicle have different vehicle widths.

[0181] In a possible implementation, the third display module 804 further includes:

[0182] In response to a game running operation, a game vehicle is generated based on the size information of the second target vehicle.

[0183] In a possible implementation, the editing module 802 displays the edited second target track in the editing area in response to the second editing operation;

[0184] The second display module 803 displays the first lateral capacity in the first target track and / or the second target track when the second target track is connected to the first target track and the track width of the second target track is the same as that of the first target track; displays the first lateral capacity in the first target track and displays the third lateral capacity in the second target track when the second target track is connected to the first target track and the track width of the second target track is different from that of the first target track, wherein the third lateral capacity represents the number of first target vehicles that the second target track can simultaneously accommodate in the width direction.

[0185] In a possible implementation manner, the editing module 802 responds to the width adjustment operation on the first target track and displays the first target track after the width adjustment in the editing area;

[0186] The second display module 803 dynamically adjusts the first lateral capacity of the first target track based on the width adjustment operation.

[0187] In a possible implementation, the second display module 803 further includes:

[0188] In response to a drag operation on a track boundary of the first target track, at least one specific drag position is displayed in the first target track, wherein the at least one specific drag position is determined based on the vehicle array, and the at least one specific drag position corresponds one-to-one to the at least one first target vehicle.

[0189] In a possible implementation, the reminder condition includes at least one of the following conditions:

[0190] The component type of the target component is a specified type;

[0191] The target component is in a selected state;

[0192] The target component is in an editing state.

[0193] In a possible implementation, the second display module 803 further includes:

[0194] When the target component does not meet the reminder condition, the display of the first horizontal capacity is cancelled.

[0195] In a possible implementation, the editing module 802 further includes:

[0196] In response to a perspective zooming / enlarging operation on the game scene to be edited, the display size of the game components and the first horizontal capacity in the game scene to be edited is adjusted; wherein the display size of the game components is scaled / enlarged in proportion to the display size of the first horizontal capacity.

[0197] The above-mentioned virtual track information display device has the following beneficial effects:

[0198] (1) By providing an intuitive and easy-to-use interface and interactive method, users can easily edit and configure tracks. At the same time, the system also provides real-time feedback, visual prompts, and auxiliary functions to help users better understand and operate, allowing users to quickly know the lateral capacity that represents the number of vehicles that can be accommodated simultaneously in the width direction of the track. This optimization not only improves user work efficiency, but also reduces the possibility of operational errors and enhances user trust and satisfaction with the system.

[0199] (2) By providing a variety of editing and adjustment functions, the flexibility and adaptability of track configuration are significantly enhanced. Users can adjust the track's width, shape, size and other attributes according to actual needs and simulation scenarios, as well as replace and configure vehicle models. This flexibility enables this solution to adapt to different vehicle types and track layouts, meeting the needs of a variety of scenarios.

[0200] (3) By dynamically adjusting the calculation method of lateral capacity, the number of vehicles that can be accommodated on the track is updated in real time and accurately reflected. During track editing or adjustment, the system will recalculate and display the corresponding lateral capacity based on the new track properties and vehicle size to ensure the real-time and accuracy of the information. This helps users make more accurate decisions and plans, and improves the efficiency and safety of track resource utilization.

[0201] (4) It has high flexibility and adaptability, and can be widely used in a variety of scenarios and fields. For example, in a racing simulation game, users can use this solution to create and configure various complex track layouts to increase the fun and challenge of the game. In vehicle testing and training, this solution can help engineers and drivers better understand and evaluate the performance and performance of the vehicle under different track conditions. In addition, in traffic planning and urban design, this solution can also be used as an auxiliary tool to simulate and optimize traffic flow and road layout.

[0202] In summary, this solution significantly improves the efficiency and accuracy of track configuration and expands its application scenarios by providing flexible and diverse editing and adjustment functions, real-time and accurate horizontal capacity calculation, and optimized user experience. This has important practical significance and application value in improving user experience, improving the accuracy of vehicle testing and training, and optimizing traffic planning and urban design.

[0203] like Fig.12 As shown, Fig.12 The present invention provides a schematic diagram of the structure of an electronic device 900, wherein the electronic device 900 includes:

[0204] A processor 901, a storage medium 902, and a bus 903. The storage medium 902 stores machine-readable instructions executable by the processor 901. When the electronic device 900 is running, the processor 901 communicates with the storage medium 902 via the bus 903. The processor 901 executes the machine-readable instructions to perform the following method:

[0205] Displaying an editing screen corresponding to the editing stage through the graphical user interface, wherein the editing screen includes a game scene to be edited;

[0206] In response to a first editing operation on a target component in the game scene to be edited, displaying an edited first target track in the editing area;

[0207] If the target component meets the reminder condition, displaying a first transverse capacity of the first target track in the first target track, wherein the first transverse capacity represents the number of first target vehicles that can be simultaneously accommodated by the first target track in a width direction, and the width of the first target track is determined based on the first editing operation;

[0208] In response to a game running instruction, a game running scene corresponding to the game scene to be edited is displayed on the graphical user interface, wherein the game running scene includes the first target track and a virtual vehicle located on the first target track.

[0209] In a possible implementation manner, the processor 901 displays the first lateral capacity of the first target track in the first target track, including:

[0210] A vehicle array of the first target vehicles is displayed in the first target track, wherein a width of the vehicle array matches a width of the first target track, and at least one first target vehicle is sequentially arranged in the vehicle array along a width direction.

[0211] In a possible implementation, the processor 901 further includes:

[0212] When at least one of the first target vehicles exceeds the width of the first target track, hiding a portion of at least one of the first target vehicles that exceeds the width of the vehicle array;

[0213] Alternatively, the first target vehicle that exceeds the track width is displayed, and other first target vehicles that exceed the track width are hidden.

[0214] In a possible implementation, the processor 901 displays the vehicle array of the first target vehicle in the first target track, including:

[0215] Determining an initial position and a replication direction of a first carrier in the carrier array;

[0216] The first carrier is displayed at the initial position, and the first carrier is copied, and at least one second carrier obtained by the copy is arranged and displayed in sequence along the copy direction until the second carrier in the copy direction exceeds the width limit of the carrier array, and the second carrier exceeding the width limit is partially displayed within the width limit.

[0217] In a possible implementation manner, the initial position is determined based on a track centerline or a track sideline of the first target track.

[0218] In a possible implementation manner, the editing operation specifies track width information, and the first lateral capacity of the first target track is determined by:

[0219] Acquire the track width information and the vehicle width information of the first target vehicle;

[0220] The first lateral capacity is determined based on a ratio of the track width information to the vehicle width information.

[0221] In a possible implementation manner, the first carrier and the at least one second carrier are displayed in the following manner:

[0222] Determining a first display state corresponding to the first vehicle and a second display state corresponding to the at least one second vehicle;

[0223] The first vehicle is displayed in the first display state, and the at least one second vehicle is displayed in the second display state, wherein the first display state is different from the second display state.

[0224] In a possible implementation, the processor 901 further includes:

[0225] In response to the vehicle type adjustment operation, displaying an adjusted second target vehicle;

[0226] And, a second lateral capacity of the first target track is displayed in the first target track, wherein the second lateral capacity represents the number of second target vehicles that the first target track can simultaneously accommodate in the width direction; and the vehicle widths of the first target vehicle and the second target vehicle are different.

[0227] In a possible implementation, the processor 901 further includes:

[0228] In response to a game running operation, a game vehicle is generated based on the size information of the second target vehicle.

[0229] In a possible implementation, the processor 901 further includes:

[0230] In response to a second editing operation, displaying the edited second target track in the editing area;

[0231] When the second target track is connected to the first target track and the track widths of the second target track and the first target track are the same, displaying the first lateral capacity in the first target track and / or the second target track;

[0232] When the second target track is connected to the first target track and the track widths of the second target track and the first target track are different, the first lateral capacity is displayed in the first target track, and the third lateral capacity is displayed in the second target track, wherein the third lateral capacity represents the number of first target vehicles that the second target track can simultaneously accommodate in the width direction.

[0233] In a possible implementation, the processor 901 further includes:

[0234] In response to the width adjustment operation for the first target track, displaying the first target track after the width adjustment in the editing area;

[0235] And, dynamically adjusting the first lateral capacity of the first target track based on the width adjustment operation.

[0236] In a possible implementation, the processor 901 further includes:

[0237] In response to a drag operation on a track boundary of the first target track, at least one specific drag position is displayed in the first target track, wherein the at least one specific drag position is determined based on the vehicle array, and the at least one specific drag position corresponds one-to-one to the at least one first target vehicle.

[0238] In a possible implementation, the reminder condition includes at least one of the following conditions:

[0239] The component type of the target component is a specified type;

[0240] The target component is in a selected state;

[0241] The target component is in an editing state.

[0242] In a possible implementation, the processor 901 further includes:

[0243] When the target component does not meet the reminder condition, the display of the first horizontal capacity is cancelled.

[0244] In a possible implementation, the processor 901 further includes:

[0245] In response to a perspective zooming / enlarging operation on the game scene to be edited, the display size of the game components and the first horizontal capacity in the game scene to be edited is adjusted; wherein the display size of the game components is scaled / enlarged in proportion to the display size of the first horizontal capacity.

[0246] In actual application, the components in the electronic device 900 are coupled together via the bus 903. It is understood that the bus 903 is used to realize the connection and communication between these components. In addition to the data bus, the bus 903 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.12 Various buses are labeled as bus 903.

[0247] The above electronic device has the following beneficial effects:

[0248] (1) By providing an intuitive and easy-to-use interface and interactive method, users can easily edit and configure tracks. At the same time, the system also provides real-time feedback, visual prompts, and auxiliary functions to help users better understand and operate, allowing users to quickly know the lateral capacity that represents the number of vehicles that can be accommodated simultaneously in the width direction of the track. This optimization not only improves user work efficiency, but also reduces the possibility of operational errors and enhances user trust and satisfaction with the system.

[0249] (2) By providing a variety of editing and adjustment functions, the flexibility and adaptability of track configuration are significantly enhanced. Users can adjust the track's width, shape, size and other attributes according to actual needs and simulation scenarios, as well as replace and configure vehicle models. This flexibility enables this solution to adapt to different vehicle types and track layouts, meeting the needs of a variety of scenarios.

[0250] (3) By dynamically adjusting the calculation method of lateral capacity, the number of vehicles that can be accommodated on the track is updated in real time and accurately reflected. During track editing or adjustment, the system will recalculate and display the corresponding lateral capacity based on the new track properties and vehicle size to ensure the real-time and accuracy of the information. This helps users make more accurate decisions and plans, and improves the efficiency and safety of track resource utilization.

[0251] (4) It has high flexibility and adaptability, and can be widely used in a variety of scenarios and fields. For example, in a racing simulation game, users can use this solution to create and configure various complex track layouts to increase the fun and challenge of the game. In vehicle testing and training, this solution can help engineers and drivers better understand and evaluate the performance and performance of the vehicle under different track conditions. In addition, in traffic planning and urban design, this solution can also be used as an auxiliary tool to simulate and optimize traffic flow and road layout.

[0252] In summary, this solution significantly improves the efficiency and accuracy of track configuration and expands its application scenarios by providing flexible and diverse editing and adjustment functions, real-time and accurate horizontal capacity calculation, and optimized user experience. This has important practical significance and application value in improving user experience, improving the accuracy of vehicle testing and training, and optimizing traffic planning and urban design.

[0253] The embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores executable instructions. When the executable instructions are executed by at least one processor 901, the following method is implemented:

[0254] Displaying an editing screen corresponding to the editing stage through the graphical user interface, wherein the editing screen includes a game scene to be edited;

[0255] In response to a first editing operation on a target component in the game scene to be edited, displaying an edited first target track in the editing area;

[0256] If the target component meets the reminder condition, displaying a first transverse capacity of the first target track in the first target track, wherein the first transverse capacity represents the number of first target vehicles that can be simultaneously accommodated by the first target track in a width direction, and the width of the first target track is determined based on the first editing operation;

[0257] In response to a game running instruction, a game running scene corresponding to the game scene to be edited is displayed on the graphical user interface, wherein the game running scene includes the first target track and a virtual vehicle located on the first target track.

[0258] In a possible implementation manner, displaying the first lateral capacity of the first target track in the first target track includes:

[0259] A vehicle array of the first target vehicles is displayed in the first target track, wherein a width of the vehicle array matches a width of the first target track, and at least one first target vehicle is sequentially arranged in the vehicle array along a width direction.

[0260] In a possible implementation, the method further includes:

[0261] When at least one of the first target vehicles exceeds the width of the first target track, hiding a portion of at least one of the first target vehicles that exceeds the width of the vehicle array;

[0262] Alternatively, the first target vehicle that exceeds the track width is displayed, and other first target vehicles that exceed the track width are hidden.

[0263] In a possible implementation manner, displaying the vehicle array of the first target vehicle in the first target track includes:

[0264] Determining an initial position and a replication direction of a first carrier in the carrier array;

[0265] The first carrier is displayed at the initial position, and the first carrier is copied, and at least one second carrier obtained by the copy is arranged and displayed in sequence along the copy direction until the second carrier in the copy direction exceeds the width limit of the carrier array, and the second carrier exceeding the width limit is partially displayed within the width limit.

[0266] In a possible implementation manner, the initial position is determined based on a track centerline or a track sideline of the first target track.

[0267] In a possible implementation manner, the editing operation specifies track width information, and the first lateral capacity of the first target track is determined by:

[0268] Acquire the track width information and the vehicle width information of the first target vehicle;

[0269] The first lateral capacity is determined based on a ratio of the track width information to the vehicle width information.

[0270] In a possible implementation manner, the first carrier and the at least one second carrier are displayed in the following manner:

[0271] Determining a first display state corresponding to the first vehicle and a second display state corresponding to the at least one second vehicle;

[0272] The first vehicle is displayed in the first display state, and the at least one second vehicle is displayed in the second display state, wherein the first display state is different from the second display state.

[0273] In a possible implementation, the method further includes:

[0274] In response to the vehicle type adjustment operation, displaying an adjusted second target vehicle;

[0275] And, a second lateral capacity of the first target track is displayed in the first target track, wherein the second lateral capacity represents the number of second target vehicles that the first target track can simultaneously accommodate in the width direction; and the vehicle widths of the first target vehicle and the second target vehicle are different.

[0276] In a possible implementation, the method further includes:

[0277] In response to a game running operation, a game vehicle is generated based on the size information of the second target vehicle.

[0278] In a possible implementation, the method further includes:

[0279] In response to a second editing operation, displaying the edited second target track in the editing area;

[0280] When the second target track is connected to the first target track and the track widths of the second target track and the first target track are the same, displaying the first lateral capacity in the first target track and / or the second target track;

[0281] When the second target track is connected to the first target track and the track widths of the second target track and the first target track are different, the first lateral capacity is displayed in the first target track, and the third lateral capacity is displayed in the second target track, wherein the third lateral capacity represents the number of first target vehicles that the second target track can simultaneously accommodate in the width direction.

[0282] In a possible implementation, the method further includes:

[0283] In response to the width adjustment operation for the first target track, displaying the first target track after the width adjustment in the editing area;

[0284] And, dynamically adjusting the first lateral capacity of the first target track based on the width adjustment operation.

[0285] In a possible implementation, the method further includes:

[0286] In response to a drag operation on a track boundary of the first target track, at least one specific drag position is displayed in the first target track, wherein the at least one specific drag position is determined based on the vehicle array, and the at least one specific drag position corresponds one-to-one to the at least one first target vehicle.

[0287] In a possible implementation, the reminder condition includes at least one of the following conditions:

[0288] The component type of the target component is a specified type;

[0289] The target component is in a selected state;

[0290] The target component is in an editing state.

[0291] In a possible implementation, the method further includes:

[0292] When the target component does not meet the reminder condition, the display of the first horizontal capacity is cancelled.

[0293] In a possible implementation, the method further includes:

[0294] In response to a perspective zooming / enlarging operation on the game scene to be edited, the display size of the game components and the first horizontal capacity in the game scene to be edited is adjusted; wherein the display size of the game components is scaled / enlarged in proportion to the display size of the first horizontal capacity.

[0295] In some embodiments, the storage medium can be a magnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface storage, an optical disk, or a compact disc read-only memory (CD ROM); it can also be various devices including one or any combination of the above memories.

[0296] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0297] As an example, executable instructions may, but do not necessarily, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (for example, files storing one or more modules, subroutines, or code portions).

[0298] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0299] The computer-readable storage medium has the following advantages:

[0300] (1) By providing an intuitive and easy-to-use interface and interactive method, users can easily edit and configure tracks. At the same time, the system also provides real-time feedback, visual prompts, and auxiliary functions to help users better understand and operate, allowing users to quickly know the lateral capacity that represents the number of vehicles that can be accommodated simultaneously in the width direction of the track. This optimization not only improves user work efficiency, but also reduces the possibility of operational errors and enhances user trust and satisfaction with the system.

[0301] (2) By providing a variety of editing and adjustment functions, the flexibility and adaptability of track configuration are significantly enhanced. Users can adjust the track's width, shape, size and other attributes according to actual needs and simulation scenarios, as well as replace and configure vehicle models. This flexibility enables this solution to adapt to different vehicle types and track layouts, meeting the needs of a variety of scenarios.

[0302] (3) By dynamically adjusting the calculation method of lateral capacity, the number of vehicles that can be accommodated on the track is updated in real time and accurately reflected. During track editing or adjustment, the system will recalculate and display the corresponding lateral capacity based on the new track properties and vehicle size to ensure the real-time and accuracy of the information. This helps users make more accurate decisions and plans, and improves the efficiency and safety of track resource utilization.

[0303] (4) It has high flexibility and adaptability, and can be widely used in a variety of scenarios and fields. For example, in a racing simulation game, users can use this solution to create and configure various complex track layouts to increase the fun and challenge of the game. In vehicle testing and training, this solution can help engineers and drivers better understand and evaluate the performance and performance of the vehicle under different track conditions. In addition, in traffic planning and urban design, this solution can also be used as an auxiliary tool to simulate and optimize traffic flow and road layout.

[0304] In summary, this solution significantly improves the efficiency and accuracy of track configuration and expands its application scenarios by providing flexible and diverse editing and adjustment functions, real-time and accurate horizontal capacity calculation, and optimized user experience. This has important practical significance and application value in improving user experience, improving the accuracy of vehicle testing and training, and optimizing traffic planning and urban design.

[0305] In the several embodiments provided in the present application, it should be understood that the disclosed methods and electronic devices can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

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

[0307] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0308] 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 platform 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 USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.

[0309] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for displaying information of a virtual race track, characterized in that: Providing a graphical user interface through a terminal device, the method comprising: Displaying an editing screen corresponding to the editing stage through the graphical user interface, wherein the editing screen includes a game scene to be edited; In response to a first editing operation on a target component in the game scene to be edited, displaying an edited first target track in the editing area; If the target component meets the reminder condition, displaying a first transverse capacity of the first target track in the first target track, wherein the first transverse capacity represents the number of first target vehicles that can be simultaneously accommodated by the first target track in a width direction, and the width of the first target track is determined based on the first editing operation; In response to a game running instruction, a game running scene corresponding to the game scene to be edited is displayed on the graphical user interface, wherein the game running scene includes the first target track and a virtual vehicle located on the first target track.

2. The method for displaying information of a virtual track according to claim 1, characterized in that: The step of displaying a first lateral capacity of the first target track in the first target track includes: A vehicle array of the first target vehicles is displayed in the first target track, wherein a width of the vehicle array matches a width of the first target track, and at least one first target vehicle is sequentially arranged in the vehicle array along a width direction.

3. The method for displaying information of a virtual race track according to claim 2, characterized in that: The method further comprises: When at least one of the first target vehicles exceeds the width of the first target track, hiding a portion of at least one of the first target vehicles that exceeds the width of the vehicle array; Alternatively, the first target vehicle that exceeds the track width is displayed, and other first target vehicles that exceed the track width are hidden.

4. The method for displaying information of a virtual race track according to claim 2, characterized in that: The vehicle array for displaying the first target vehicle in the first target track includes: Determining an initial position and a replication direction of a first carrier in the carrier array; The first carrier is displayed at the initial position, and the first carrier is copied, and at least one second carrier obtained by the copy is arranged and displayed in sequence along the copy direction until the second carrier in the copy direction exceeds the width limit of the carrier array, and the second carrier exceeding the width limit is partially displayed within the width limit.

5. The method according to claim 4, characterized in that The initial position is determined based on a track centerline or a track sideline of the first target track.

6. The method for displaying information of a virtual race track according to claim 1, characterized in that: The editing operation specifies track width information, and the first lateral capacity of the first target track is determined by: Acquire the track width information and the vehicle width information of the first target vehicle; The first lateral capacity is determined based on a ratio of the track width information to the vehicle width information.

7. The method for displaying information of a virtual race track according to claim 4, characterized in that: The first carrier and the at least one second carrier are displayed in the following manner: Determining a first display state corresponding to the first vehicle and a second display state corresponding to the at least one second vehicle; The first vehicle is displayed in the first display state, and the at least one second vehicle is displayed in the second display state, wherein the first display state is different from the second display state.

8. The method for displaying information of a virtual race track according to claim 1, characterized in that: The method further comprises: In response to the vehicle type adjustment operation, displaying an adjusted second target vehicle; And, a second lateral capacity of the first target track is displayed in the first target track, wherein the second lateral capacity represents the number of second target vehicles that the first target track can simultaneously accommodate in the width direction; and the vehicle widths of the first target vehicle and the second target vehicle are different.

9. The method for displaying information of a virtual race track according to claim 8, characterized in that: The method further comprises: In response to a game running operation, a game vehicle is generated based on the size information of the second target vehicle.

10. The method for displaying information of a virtual race track according to claim 1, characterized in that: The method further comprises: In response to a second editing operation, displaying the edited second target track in the editing area; When the second target track is connected to the first target track and the track widths of the second target track and the first target track are the same, displaying the first lateral capacity in the first target track and / or the second target track; When the second target track is connected to the first target track and the track widths of the second target track and the first target track are different, the first lateral capacity is displayed in the first target track, and the third lateral capacity is displayed in the second target track, wherein the third lateral capacity represents the number of first target vehicles that the second target track can simultaneously accommodate in the width direction.

11. The method for displaying information of a virtual race track according to claim 1, characterized in that: The method further comprises: In response to the width adjustment operation for the first target track, displaying the first target track after the width adjustment in the editing area; And, dynamically adjusting the first lateral capacity of the first target track based on the width adjustment operation.

12. The method for displaying information of a virtual race track according to claim 2, characterized in that: The method further comprises: In response to a drag operation on a track boundary of the first target track, at least one specific drag position is displayed in the first target track, wherein the at least one specific drag position is determined based on the vehicle array, and the at least one specific drag position corresponds one-to-one to the at least one first target vehicle.

13. The method for displaying information of a virtual race track according to claim 1, characterized in that: The reminder condition includes at least one of the following conditions: The component type of the target component is a specified type; The target component is in a selected state; The target component is in an editing state.

14. The method for displaying information of a virtual race track according to claim 1, characterized in that: The method further comprises: When the target component does not meet the reminder condition, the display of the first horizontal capacity is cancelled.

15. The method for displaying information of a virtual race track according to claim 1, characterized in that: The method further comprises: In response to a perspective zooming / enlarging operation on the game scene to be edited, the display size of the game components and the first horizontal capacity in the game scene to be edited is adjusted; wherein the display size of the game components is scaled / enlarged in proportion to the display size of the first horizontal capacity.

16. A virtual racetrack information display device, characterized in that: A graphical user interface is provided through a terminal device, the device comprising: A first display module, used for displaying an editing screen corresponding to the editing stage through the graphical user interface, wherein the editing screen includes a game scene to be edited; An editing module, configured to respond to a first editing operation on a target component in the game scene to be edited, and display the edited first target track in the editing area; a second display module, configured to display a first lateral capacity of the first target track in the first target track if the target component meets the reminder condition, wherein the first lateral capacity represents the number of first target vehicles that can be simultaneously accommodated by the first target track in a width direction, and the width of the first target track is determined based on the first editing operation; The third display module is used to respond to the game running instruction and display the game running scene corresponding to the game scene to be edited in the graphical user interface, wherein the game running scene includes the first target track and the virtual vehicle located on the first target track.

17. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to execute the virtual track information display method as described in any one of claims 1 to 15.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for displaying information of a virtual track according to any one of claims 1 to 15 is executed.

Citation Information

Cited By

  • Game track processing method and device, electronic equipment and storage medium

    CN120001050A