Game editing method and device and electronic equipment
By using terrain identification and editing parameters to generate components in game editing tools, the track editing process is simplified, the complexity and high threshold problems in the existing technology are solved, and the game experience and tool utilization are improved.
Patent Information
- Application Number
- CN202410823220.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-06-24
AI Technical Summary
The complexity and technical requirements of existing game editing tools have high complexity and technical requirements, which leads players, especially beginners and non-professionals, to require a lot of manual operations and meticulous settings when building tracks, which is time-consuming and cumbersome, affecting the gaming experience and reducing the tool's Utilization and waste of resources.
Provide a game editing method and device, displaying terrain marks on the first track axis of the editing area through a graphical user interface, and generating corresponding terrain components according to the editing parameters. The user only needs to drag and drop the terrain marks to the approximate position of the track axis, that is, It can complete the detailed placement and simplify the editing process.
It lowers the editing threshold, improves the player's gaming experience, improves the utilization rate of game editing tools, avoids the waste of game resources, and simplifies the track construction process.
Smart Images

Figure CN118903828A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of game technology, and in particular to a game editing method, device and electronic device. Background Art
[0002] Current games usually include game editing tools for editing game scenes. Players can drag game models of different shapes into the game editing scene in the form of official components, and edit them to get a complete game scene by splicing and combining them. However, this method has a high learning threshold. Players need to have certain programming knowledge and 3D modeling skills to effectively use the above editing tools. Even building a simple track requires a lot of operations and settings. The process from conception to creation is time-consuming and cumbersome, which affects the player's gaming experience, and in turn leads to low utilization of game editing tools and waste of game resources. Summary of the invention
[0003] In view of this, the purpose of the present disclosure is to provide a game editing method, device and electronic device. Users only need to select appropriate terrain markers according to their own ideas, drag and drop them to the approximate position of the first track axis through a first trigger operation, and the corresponding terrain components can be generated in the display area. There is no need for players to perform more detailed editing operations on the terrain components in the game editing scene, and detailed placement operations can be completed. The editing method is simple and the threshold is low, so as to improve the player's gaming experience, thereby improving the utilization rate of game editing tools and avoiding waste of game resources.
[0004] In a first aspect, an embodiment of the present disclosure provides a game editing method, which includes a graphical user interface provided by a terminal device running a game program, the graphical user interface including a display area and an editing area, and the editing area includes a first track axis; the method includes: in response to a first trigger operation, controlling the display of a first terrain identifier on the first track axis; controlling the generation of a first terrain component corresponding to the first terrain identifier in the display area; in response to an editing operation on the first terrain identifier, determining editing parameters, wherein the editing parameters include at least one of the following parameters: size parameters, position parameters, angle parameters, and direction parameters; and updating the first terrain component according to the editing parameters.
[0005] In a second aspect, an embodiment of the present disclosure provides a game editing device, which includes a graphical user interface provided by a terminal device running a game program, wherein the graphical user interface includes a display area and an editing area, and the editing area includes a first track axis; the device includes: a terrain identifier display module, which is used to respond to a first trigger operation and control the display of a first terrain identifier on the first track axis; a terrain component generation module, which is used to control the generation of a first terrain component corresponding to the first terrain identifier in the display area; an editing parameter determination module, which is used to respond to an editing operation on the first terrain identifier and determine editing parameters, wherein the editing parameters include at least one of the following parameters: size parameters, position parameters, angle parameters, and direction parameters; a terrain component update module, which is used to update the first terrain component according to the editing parameters.
[0006] In a third aspect, an embodiment of the present disclosure provides an electronic device, including a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement any one of the game editing methods of the first aspect.
[0007] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the game editing methods of the first aspect.
[0008] The embodiments of the present disclosure bring the following beneficial effects:
[0009] The present disclosure provides a game editing method, device and electronic device, which respond to a first trigger operation, control the display of a first terrain mark on a first track axis; control the generation of a first terrain component corresponding to the first terrain mark in a display area; respond to the editing operation on the first terrain mark, determine the editing parameters, wherein the editing parameters include at least one of the following parameters: size parameter, position parameter, angle parameter, direction parameter; update the first terrain component according to the editing parameters. In this method, the user only needs to select appropriate terrain marks according to his own ideas, drag and drop them to the approximate position of the first track axis through the first trigger operation, and the corresponding terrain component can be generated in the display area. The player does not need to perform more detailed editing operations on the terrain components in the game editing scene, and the detailed placement operation can be completed. The editing method is simple and the threshold is low, so as to improve the player's game experience, thereby improving the utilization rate of game editing tools and avoiding waste of game resources.
[0010] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0011] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 A flowchart of a game editing method provided by an embodiment of the present disclosure;
[0014] Figure 2 A schematic diagram of a graphical user interface provided by an embodiment of the present disclosure;
[0015] Figure 3 A schematic diagram of another graphical user interface provided by an embodiment of the present disclosure;
[0016] Figure 4 A schematic diagram of another graphical user interface provided by an embodiment of the present disclosure;
[0017] Figure 5 A schematic diagram of another graphical user interface provided by an embodiment of the present disclosure;
[0018] Figure 6 A schematic diagram of another graphical user interface provided by an embodiment of the present disclosure;
[0019] Figure 7 A schematic diagram of another graphical user interface provided by an embodiment of the present disclosure;
[0020] Figure 8 A schematic diagram of another graphical user interface provided by an embodiment of the present disclosure;
[0021] Fig. 9 A schematic diagram of another graphical user interface provided by an embodiment of the present disclosure;
[0022] Fig.10 A schematic diagram of the structure of a game editing device provided by an embodiment of the present disclosure;
[0023] Fig.11 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.
[0025] Current games usually include game editing tools for editing game scenes. Players can drag game models of different shapes into the game editing scene in the form of official components, and edit them into a complete game scene by splicing and combining them.
[0026] Taking the editing of the track scene as an example, in one existing technology, in the Unity engine, users can create tracks through built-in 3D object tools. For example, users can select the "Cube" tool and then build the track by stretching, rotating, copying and pasting these cubes. Users can also use the "Terrain" tool to create natural hills and canyons as the background of the track. Then, users can select various pre-made decorations and mechanisms in the "Asset Library" and drag and drop them onto the track. This process requires a certain amount of time and technical knowledge, but it can achieve highly customized track design.
[0027] In another prior art, in Unreal Engine, users can use the "building block" tool to create a track. Users can select modules of various shapes and sizes and build the track by dragging, dropping, rotating and scaling these modules. Users can also use the "terrain editing" tool to create complex terrain as the environment of the track. In addition, UnrealEngine provides a powerful material and lighting system, and users can use these tools to increase the visual effects of the track. Although this process requires a certain learning curve, it can produce professional-level track designs.
[0028] When using existing engine editors such as Unity and Unreal Engine for map conception, the biggest drawback is the complexity and high technical requirements of these tools. Users need to have certain programming knowledge and 3D modeling skills to use these tools effectively. In addition, even simple track construction requires a lot of manual operations and detailed settings, which makes the process from conception to creation time-consuming and cumbersome. For users who want to quickly conceive and create tracks, especially beginners and non-professionals, these factors may cause usage obstacles. It will also lead to low utilization of game editing tools and waste of game resources. In addition, existing mobile games can only be operated in a horizontal screen handheld manner when editing tracks, and cannot be edited in a vertical screen handheld manner, which greatly limits the usage scenarios. Based on this, a game editing method, device and electronic device provided in an embodiment of the present disclosure can be applied to mobile phones, computers, notebooks, tablets, computers and other devices.
[0029] In one embodiment of the present disclosure, the game editing method can be run on a local terminal device or a server. When the game editing method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0030] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the game editing method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0031] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0032] In a possible implementation, an embodiment of the present invention provides a game editing method, wherein a graphical user interface provided by a terminal device running a game program, wherein the terminal device may be the local terminal device mentioned above, or a client device in the cloud interaction system mentioned above. The graphical user interface includes a display area and an editing area, and the editing area includes a first track axis. Figure 1 As shown, the method comprises the following steps:
[0033] Step S102, in response to a first trigger operation, controlling display of a first terrain mark on a first track axis;
[0034] One possible way: the display area is a scene preview area of a three-dimensional game scene; another possible way: the display area is used to display a three-dimensional game scene.
[0035] The above-mentioned graphical user interface can be an interface corresponding to a vertical screen or an interface corresponding to a horizontal screen. Taking the graphical user interface corresponding to a vertical screen as an example, one possible distribution method of the above-mentioned display area and editing area is that the display area is located in the upper area or the lower area of the editing area; taking the graphical user interface corresponding to a horizontal screen as an example, one possible distribution method of the above-mentioned display area and editing area is that the display area is located in the left area or the right area of the editing area. There is no overlap between the above-mentioned display area and the editing area. For example, Figure 2 As shown, in the interface corresponding to the vertical screen, the upper area is the display area, and the lower area is the editing area.
[0036] Take the display area used to display the track editing scene as an example. The track editing scene includes the starting point identifier "starting point" of the starting point of the track and the end point identifier "end point" of the end point of the track; the editing area includes the first track axis, and the starting point of the first track axis at this time indicates the starting point of the track, and the end point of the first track axis indicates the end point of the track.
[0037] The terrain mark can be a text mark or a pattern mark, or a combination of text and pattern marks. Different terrain marks correspond to terrains of different shapes. Take the terrain mark as a track mark as an example for explanation. The track mark includes different shapes such as straight roads, curves, sharp curves, etc. Optionally, the editing area also includes a terrain control; in a possible implementation, in response to a trigger operation on the terrain control, multiple terrain marks are displayed in the editing area, wherein the trigger operation can be a finger touch operation, a mouse click operation, an operation on a specified key on the keyboard, or an operation on a specified key on a game controller.
[0038] Take the terrain mark as a track mark as an example for explanation, and the terrain control as a track control as an example for explanation. For example, Figure 2 As shown, the editing area includes a track control. When the track control is triggered, multiple track logos will be displayed, such as Figure 3 As shown, a straight road mark, a sharp bend mark, a hairpin mark, etc. Optionally, multiple track marks are displayed in a specified sub-area of the editing area, wherein the specified sub-area also includes a return control, and in response to a trigger operation on the return control, the display of the multiple track marks is canceled. Optionally, in response to a sliding operation on the specified sub-area, the multiple track marks are controlled to scroll and display in the specified sub-area.
[0039] The first trigger operation may be a drag operation or a click operation. Optionally, in response to a click operation on the first terrain mark, the first terrain mark is controlled to be displayed on the first track axis; optionally, in response to a drag operation on the first terrain mark, the first terrain mark is dragged to the first track axis and the first terrain mark is controlled to be displayed on the first track axis.
[0040] The click operation may be a finger touch operation, a mouse click operation, an operation on a specified key on a keyboard, or an operation on a specified key on a game controller. The drag operation may be a finger touch slide operation on the first terrain identifier, or a mouse press slide operation on the first terrain identifier. Optionally, in response to a drag operation on a first terrain identifier among multiple terrain identifiers, the first terrain identifier is controlled to move on the editing area, and in response to moving the first terrain identifier to the first track axis, the first terrain identifier is controlled to be automatically attached to the first track axis, such as to the end position of the first track axis.
[0041] Taking the first terrain mark as the first track mark as an example, for example, Figure 3 As shown, the moving method of moving the first track mark to the first track axis.
[0042] The above-mentioned terrain identifiers may be a plurality of terrain identifiers preset by the system; or they may be terrain identifiers edited or pre-stored by the player himself.
[0043] Step S104, controlling the generation of a first terrain component corresponding to the first terrain identifier in the display area;
[0044] Optionally, a first terrain component is generated in a three-dimensional game scene and previewed through a display area; or, the first terrain component is generated in a three-dimensional game scene displayed in a display area.
[0045] Optionally, the display area includes a starting point mark and an end point mark; since there is no terrain mark on the first track axis at this time, the first mark end (i.e., the starting point position) of the first terrain mark at this time is connected to the starting point of the first track axis, and the second mark end (i.e., the end point position) of the first terrain mark is connected to the end point of the first track axis. At the same time, the display area is controlled to generate a first terrain component corresponding to the first terrain mark, and the first component end (i.e., the starting position) of the first terrain component at this time is connected to the starting point mark in the display area, and the second component end (i.e., the end position) of the first terrain component is connected to the end point mark. The user does not need to adjust the specific generation position of the first terrain component in the display area. As long as the first terrain mark is moved to the first track axis, the first terrain component can be directly generated between the starting point and the end point of the display area.
[0046] For example, Figure 4 As shown, the first track mark "straight road" is displayed between the starting position and the end position of the first track axis, and the first track component is generated between the starting point and the end point of the display area. Of course, other track marks can also be moved to the first track axis to control the end position of the display area to generate track components corresponding to other track marks.
[0047] Optionally, multiple terrain identifiers are displayed, and in response to a click operation on a first terrain identifier among the multiple terrain identifiers, the first terrain identifier is controlled to be displayed on the first track axis, and at the same time, a first terrain component corresponding to the first terrain identifier is controlled to be generated in the display area.
[0048] Optionally, multiple terrain identifiers are displayed, and in response to a first drag operation on a first terrain identifier among the multiple terrain identifiers, the first terrain identifier is controlled to move to a first track axis; in response to the end of the first drag operation, the first terrain identifier is controlled to be displayed on the first track axis, and at the same time, a first terrain component corresponding to the first terrain identifier is controlled to be generated in the display area.
[0049] Step S106, in response to the editing operation on the first terrain mark, determining editing parameters, wherein the editing parameters include at least one of the following parameters: size parameter, position parameter, angle parameter, direction parameter;
[0050] Optionally, in response to a first editing operation on the first terrain marker, a size parameter and a position parameter of the first terrain marker are determined. For example, in response to a length adjustment operation on the first terrain marker, a size parameter of the first terrain marker is determined; for another example, in response to a position adjustment operation on the first terrain marker, a position parameter of the first terrain marker is determined.
[0051] Optionally, in response to a second editing operation on the first terrain identifier, an angle parameter and a direction parameter of the first terrain identifier are determined. For example, in response to a specified operation on the first terrain identifier, an editing page is displayed, and in response to an angle editing operation on the editing page, an angle parameter of the first terrain identifier is determined; for another example, in response to a direction editing operation on the editing page, a direction parameter of the first terrain identifier is determined.
[0052] Taking the terrain mark as a track mark as an example, the editing parameters include at least one of the following parameters: track length, track width, track position, track angle, track steering, track slope, etc.
[0053] Optionally, the display area is used to display a game editing scene, which includes an editing start point and an editing end point; the start point of the first track axis indicates the editing start point, and the end point of the first track axis indicates the editing end point. The first identification end of the first terrain identifier is connected to the start point of the first track axis, and the second identification end of the first terrain identifier is connected to the end point of the first track axis; the first component end of the first terrain component is connected to the editing start point, and the second component end of the first terrain component is connected to the editing end point.
[0054] For example, Figure 2 As shown, the game editing scene includes the editing starting point (such as Figure 2 in the Start Point) and edit the End Point (such as Figure 2 For example, the terrain mark is used as a track mark. Figure 4 As shown, the first track mark (such as Figure 4 The first identification end (starting position) of the straight track identification) is connected to the starting point of the first track axis, and the second identification end (end position) of the first track identification is connected to the end point of the first track axis; the first component end (starting position) of the first track component is connected to the editing starting point, and the second component end (end position) of the first track component is connected to the editing end point.
[0055] Step S108: updating the first terrain component according to the editing parameters.
[0056] For example, the component length and width of the first terrain component are updated according to the size parameters of the first terrain component; the component position of the first terrain component is updated according to the position parameters of the first terrain component; the component curvature or slope of the first terrain component is updated according to the angle parameters of the first terrain component; the component orientation of the first terrain component is updated according to the direction parameters of the first terrain component.
[0057] In the above embodiment, a possible implementation method is: generating a three-dimensional game scene according to the terrain components included in the display area. Optionally, one or more terrain components included in the display area are used to generate corresponding continuous terrain. Optionally, in response to a save instruction, a continuous terrain is generated according to the terrain components included in the display area; or, in response to a trial play instruction, a continuous terrain is generated according to the terrain components included in the display area.
[0058] Taking the terrain component as the track component as an example, a continuous track is generated according to the track components included in the track editing scene displayed in the display area. Optionally, one or more track components included in the track editing scene are used to generate corresponding continuous tracks. Optionally, in response to a save instruction for the track editing scene, a continuous track is generated according to the track components included in the track editing scene; or, in response to a trial instruction for the track editing scene, a continuous track is generated according to the track components included in the track editing scene.
[0059] The disclosed embodiment provides a game editing method, which controls the display of a first terrain mark on a first track axis in response to a first trigger operation; controls the generation of a first terrain component corresponding to the first terrain mark in a display area; determines editing parameters in response to an editing operation on the first terrain mark, wherein the editing parameters include at least one of the following parameters: size parameter, position parameter, angle parameter, direction parameter; and updates the first terrain component according to the editing parameters. In this method, the user only needs to select appropriate terrain marks according to his or her own ideas, and drag and drop them to the approximate position of the first track axis through the first trigger operation, so that the corresponding terrain component can be generated in the display area. The player does not need to perform more detailed editing operations on the terrain components in the game editing scene, and can complete the detailed placement operation. The editing method is simple and the threshold is low, so as to improve the player's gaming experience, thereby improving the utilization rate of the game editing tools and avoiding the waste of game resources.
[0060] After controlling the generation of the first terrain component corresponding to the first terrain identifier in the display area, the method further includes:
[0061] In response to the second trigger operation, the second terrain identifier is displayed on the first track axis, and the second terrain component corresponding to the second terrain identifier is generated in the display area; wherein the first terrain identifier and the second terrain identifier displayed on the first track axis are connected to each other, and the first terrain component and the second terrain component generated in the display area are connected to each other.
[0062] Among them, the second identification end of the first terrain identifier displayed on the first track axis is connected to the first identification end of the second terrain identifier, and the second component end of the first terrain component generated in the display area is connected to the first component end of the second terrain component identifier; or, the second identification end of the second terrain identifier displayed on the first track axis is connected to the first identification end of the first terrain identifier, and the second component end of the second terrain component generated in the display area is connected to the first component end of the first terrain component identifier.
[0063] Optionally, in response to a second drag operation on a second terrain identifier among multiple terrain identifiers, the second terrain identifier is controlled to move to a specified position on the first track axis; in response to the end of the second drag operation, a target position for displaying the second terrain identifier is determined on the first track axis according to the specified position, and a regional position for generating a second terrain component corresponding to the second terrain identifier is determined in the display area; the target position of the first track axis is controlled to display the second terrain identifier, and at the same time, the regional position of the display area is controlled to generate a second terrain component corresponding to the second terrain identifier.
[0064] Optionally, in response to a click operation on a second terrain identifier among multiple terrain identifiers, a target position for displaying the second terrain identifier is determined on the first track axis, and a regional position for generating a second terrain component corresponding to the second terrain identifier is determined in the display area; the target position of the first track axis is controlled to display the second terrain identifier, and at the same time, the regional position of the display area is controlled to generate a second terrain component corresponding to the second terrain identifier.
[0065] Among them, the starting position (first identification end) of the second terrain identifier is connected to the end position (second identification end) of the first terrain identifier, the end position of the second terrain identifier is connected to the end point of the first track axis, the starting position (first component end) of the second terrain component is connected to the end position (second component end) of the first terrain component, and the end position of the second terrain component is connected to the end point identifier; or, the starting position of the second terrain identifier is connected to the starting point of the first track axis, the end position of the second terrain identifier is connected to the starting position of the first terrain identifier, the starting position of the second terrain component is connected to the starting point identifier, and the end position of the second terrain component is connected to the starting position of the first terrain component.
[0066] The second drag operation is the same as the first drag operation. According to the designated position, a target position for displaying the second terrain marker is determined on the first track axis, and a region position for generating a second terrain component corresponding to the second terrain marker is determined in the display region.
[0067] One possible way: if the designated position is located in the starting area of the first terrain mark, the starting point of the target position is determined to be the starting position of the first track axis, the end point of the target position is determined to be the starting position of the first terrain mark, the starting point of the area position is determined to be the starting mark of the display area, and the end point of the area position is determined to be the starting position of the first terrain component. At this time, the starting position of the second terrain mark is connected to the starting point of the first track axis, the end position of the second terrain mark is connected to the starting position of the first terrain mark, the starting position of the second terrain component is connected to the starting mark, and the end position of the second terrain component is connected to the starting position of the first terrain component.
[0068] For another example, if the designated position is located in the end region of the first terrain marker, the starting point of the target position is determined to be the end position of the first terrain marker, and the end point of the target position is determined to be the end point of the first track axis. If the designated position is located in the end region of the first terrain marker, the starting point of the area position is determined to be the end point of the first terrain component, and the end point of the area position is determined to be the starting point of the first terrain component. At this time, the starting point position of the second terrain marker is connected to the end point position of the first terrain marker, the end point position of the second terrain marker is connected to the end point of the first track axis, the starting position of the second terrain component is connected to the end point position of the first terrain component, and the end position of the second terrain component is connected to the end point marker.
[0069] For example, the terrain mark is taken as a track mark. Figure 5 As shown, the player drags the second track marker "sharp turn" to the end position area of the first track marker. After the player releases it, the second track marker will be displayed between the end position of the first track marker and the end point of the first track axis, and the second track component will be generated between the end position of the first track component and the end marker.
[0070] In the above method, by moving the terrain marker to the specified position of the first track axis, the regional position of the generated terrain component can be directly determined. The terrain components generated by this operation method are continuous, and there is no need to perform detailed adjustments to the terrain components in the display area, which further simplifies the editing operation.
[0071] In one possible method, the target position and the regional position are not determined according to the specified position, but a default method is used: in response to a second drag operation on a second terrain identifier among multiple terrain identifiers, the second terrain identifier is controlled to move to the first track axis; in response to the end of the second drag operation, the second terrain identifier is controlled to be displayed on the first track axis, and at the same time, a second terrain component corresponding to the second terrain identifier is controlled to be generated in the display area; wherein the starting position of the second terrain identifier is connected to the ending position of the first terrain identifier, and the ending position of the second terrain identifier is connected to the ending point of the first track axis; the starting position of the second terrain component is connected to the ending position of the first terrain component, and the ending position of the second terrain component is connected to the ending point identifier.
[0072] The above-mentioned size parameters include the identification length; in response to an editing operation on the first terrain identification, the editing parameters are determined, and the steps of updating the first terrain component according to the editing parameters, a possible implementation method is: displaying an adjustment identification of the first terrain identification; in response to an adjustment operation on the adjustment identification, adjusting the identification length of the first terrain identification; and adjusting the component length of the first terrain component corresponding to the first terrain identification according to the adjusted identification length of the first terrain identification.
[0073] Optionally, the adjustment mark of the first terrain mark is always displayed; or, in response to a trigger operation on the first terrain mark, the adjustment mark of the first terrain mark is displayed; wherein the adjustment operation is generally a sliding operation. The above adjustment mark is generally an edge of the first terrain mark, such as the left edge and the right edge of the first terrain mark.
[0074] Optionally, in response to a trigger operation on the first terrain identifier, the start edge identifier and the end edge identifier of the first terrain identifier are displayed; in response to a left swipe operation on the start edge identifier, the identifier length of the first terrain identifier is controlled to increase, and the component length of the first terrain component corresponding to the first terrain identifier is controlled to increase; in response to a right swipe operation on the start edge identifier, the identifier length of the first terrain identifier is controlled to decrease, and the component length of the first terrain component corresponding to the first terrain identifier is controlled to decrease. In response to a left swipe operation on the end edge identifier, the identifier length of the first terrain identifier is controlled to decrease, and the component length of the first terrain component corresponding to the first terrain identifier is controlled to decrease; in response to a right swipe operation on the end edge identifier, the identifier length of the first terrain identifier is controlled to increase, and the component length of the first terrain component corresponding to the first terrain identifier is controlled to increase.
[0075] For example, the terrain mark is taken as a track mark. Figure 6 As shown, click the second track mark, and the edge mark will be displayed at the starting position and the end position of the second track mark; for example, Figure 7As shown, a right swipe operation on the edge mark displayed at the end position can control the increase in the mark length of the first track mark, and at the same time control the increase in the component length of the first track component corresponding to the first track mark.
[0076] In the above method, the component length of the terrain component can be edited directly on the first track axis by targeting the terrain mark, without the need for the player to perform editing operations on the terrain component in the display area, further simplifying the editing operation.
[0077] The step of adjusting the component length of the first terrain component corresponding to the first terrain identifier according to the adjusted identifier length of the first terrain identifier includes: adjusting the component length of the first terrain identifier according to the adjusted identifier length of the first terrain identifier and the identifier shape of the first terrain identifier; wherein, the component length is adjusted in different ways for terrain identifiers of different shapes.
[0078] If the first terrain marker has a curvature, the adjusted length of the portion of the terrain component with the curvature in the adjusted first terrain component is the same as the adjusted length of the portion of the terrain component without the curvature in the adjusted first terrain component.
[0079] That is to say, if the first terrain mark has no curvature and the first terrain mark increases the first distance, the first terrain component is directly extended left and right by the first distance. If the first terrain mark has curvature and the first terrain mark increases the first distance, the first terrain component is increased by the first distance as a whole, so that the adjustment length of each position in the first terrain component is the same, that is, the adjustment length of the part of the terrain component with curvature in the adjusted first terrain component is the same as the adjustment length of the part of the terrain component without curvature in the adjusted first terrain component. For example, for a right-angled track, if the first terrain mark increases by 10 meters, the track corresponding to the right-angled turn in the track is controlled to increase by 5 meters, and the track corresponding to the non-right-angled turn in the track is controlled to increase by 5 meters, thereby controlling the track as a whole to increase by 10 meters.
[0080] In response to the editing operation on the first terrain mark, the step of determining the editing parameter includes:
[0081] (1) in response to a designated operation on a first terrain identifier, displaying a first editing page for a first terrain component on a graphical user interface;
[0082] The above-mentioned designated operation may be a long press operation or a sliding operation of a finger, or a right click operation of a mouse, or a trigger operation of a designated button of a game controller, etc. Optionally, in response to a trigger operation on the first terrain identifier, a first editing control is displayed on the graphical user interface, and in response to a trigger operation on the first editing control, a first editing page for the first terrain component is displayed on the graphical user interface.
[0083] (2) In response to a first editing operation on a first editing page, determining editing parameters of a first terrain component.
[0084] Optionally, the first terrain identifier is a track identifier; the editing parameters include at least one of the following parameters: track steering parameter, track angle parameter, track slope parameter, track width parameter, and track length parameter. The first editing operation may be a selection operation, an input operation, a sliding operation, etc. For example, if the first terrain identifier is a track identifier, the current track steering is a left turn, and the user can adjust it to a right turn; for another example, if the current track angle is 45°, the user can adjust it to 60°, etc. At this time, the first track component will update the steering, angle, slope, width, length, etc. of the track component according to the updated editing parameters.
[0085] In the above manner, the terrain component can be edited more meticulously by determining the editing parameters, without having to perform editing operations on the terrain component in the display area.
[0086] The above method also includes: in response to a touch operation on a first terrain marker displayed on the first orbital axis, adjusting the display position of the first terrain marker on the first orbital axis; adjusting the display position of the second terrain marker on the first orbital axis according to the display position of the first terrain marker on the first orbital axis; and adjusting the positions of the first terrain component and the second terrain component in the display area according to the display position of the first terrain marker on the first orbital axis and the display position of the second terrain marker on the first orbital axis.
[0087] The above touch operation may be a click operation or a drag operation, etc. For example, in response to a drag operation on the first terrain mark displayed on the first track axis, the first terrain mark is dragged to the position where the second terrain mark is displayed, or to the end position of the first track axis, and in response to the end of the drag operation, the display positions of the first terrain mark and the second terrain mark are controlled to be swapped, and at the same time, the positions of the first terrain component and the second terrain component in the display area are controlled to be swapped.
[0088] For another example, if a first terrain marker, a second terrain marker and a third terrain marker are displayed in sequence on the first track axis, in response to a drag operation on the first terrain marker displayed on the first track axis, the first terrain marker is dragged to the position where the third terrain marker is displayed, or is dragged to the end position of the first track axis, and in response to the end of the drag operation, the display positions of the first terrain marker and the third terrain marker are controlled to be swapped, or the first terrain marker is controlled to be displayed at the position where the third terrain marker is located, and the second terrain marker is displayed at the position before the first terrain marker is dragged, and the third terrain marker is displayed at the position before the second terrain marker is moved, and at the same time, the positions of the first terrain component and the third terrain component in the display area are controlled to be swapped, or the first terrain component is controlled to be moved to the position where the third terrain component is located, and the second terrain marker is moved to the position before the first terrain component is moved, and the third terrain component is displayed at the position before the second terrain marker is moved.
[0089] In the above method, the player can perform a simple touch operation on the terrain mark on the first track axis to change the position of each terrain component, and the terrain components after the position change are still continuous, without the player directly adjusting the position of the terrain components in the display area.
[0090] The track length of the first track axis corresponds to the component length of the terrain component displayed in the display area. This embodiment takes the terrain component as a track component as an example for explanation, and the track length of the first track axis corresponds to the track length of the continuous track generated in the display area. For example, Figure 2-7 The track length above the first track axis is shown, and each track length corresponds to a component length. For example, a track length of 1 cm in the first track axis corresponds to a component length of 100 m.
[0091] In the above method, the first track axis in video editing is replaced by the component length, and the game process is used as the editing reference core. The terrain modules of different shapes are mapped to the track in the form of square modular controls, with the square width, front and back position, color attributes and layer attributes, for splicing, position, order and length adjustment. The track / level / landscape in the scene is adjusted in real time according to the connection status on the track axis and integrated.
[0092] The above method further includes:
[0093] (1) Display the second track axis in the editing area;
[0094] Optionally, in the default state, the editing area displays a second track axis, usually displaying a decoration prop track axis and a mechanism prop track axis.
[0095] Optionally, the editing area includes an adding control, and in response to a triggering operation on the adding control, a first control and a second control are displayed; in response to a triggering operation on the first control, a decorative prop track axis is displayed in the editing area; in response to a triggering operation on the second control, a mechanism prop track axis is displayed in the editing area.
[0096] (2) in response to a third trigger operation, controlling the display of a first prop mark on the second track axis;
[0097] (3) Controlling generation of a first prop component corresponding to the first prop identifier in the display area.
[0098] Optionally, multiple prop identifiers are displayed, and in response to a touch operation on a first prop identifier among the multiple prop identifiers, the first prop identifier is controlled to move to the second track axis; based on the moving position of the first prop identifier on the second track axis, the first prop identifier is controlled to be displayed at the moving position of the second track axis; and a first prop component corresponding to the first prop identifier is controlled to be generated at a target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0099] Optionally, the editing area includes a prop control; in response to a trigger operation on the prop control, a plurality of prop logos are displayed in the editing area.
[0100] Optionally, the first prop component may be generated at a target position of a target terrain component corresponding to a target terrain identifier according to the road type of the first prop component corresponding to the first prop identifier.
[0101] Optionally, the above-mentioned prop identification includes a decorative prop identification and a mechanism prop identification, and the second track axis includes a decorative prop track axis and a mechanism prop track axis; the decorative prop identification corresponds to the decorative prop track axis, and the mechanism prop identification corresponds to the mechanism prop track axis.
[0102] Optionally, the first prop component corresponding to the first prop identifier is controlled to be generated on the target terrain component corresponding to the target terrain identifier corresponding to the moving position, such as generating the first prop component on the surface of the target terrain component; or the first prop component corresponding to the first prop identifier is controlled to be generated on the edge of the target terrain component corresponding to the target terrain identifier corresponding to the moving position, such as generating the first prop component on both sides of the target terrain component;
[0103] In response to the touch operation on the first prop identifier among the multiple prop identifiers, the first prop identifier is controlled to move to the second track axis. A possible implementation method is: in response to the touch operation on the first decoration prop identifier among the multiple decoration prop identifiers, the first decoration prop identifier is controlled to move to the decoration prop track axis;
[0104] According to the above, according to the moving position of the first prop mark on the second track axis, the first prop mark is controlled to be displayed on the moving position of the second track axis. A possible implementation method is: according to the moving position of the first decorative prop mark on the decorative prop track axis, the first decorative prop mark is controlled to be displayed on the moving position of the decorative prop track axis.
[0105] The above control generates a first prop component corresponding to the first prop identifier at the target terrain component corresponding to the target terrain identifier corresponding to the moving position. A possible implementation method is: controlling the generation of a first decorative prop component corresponding to the first decorative prop identifier on the surface or both sides of the target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0106] Optionally, according to the prop type of the decorative prop, a first decorative prop component corresponding to the first decorative prop identifier is generated on the surface or both sides of the target terrain component corresponding to the target terrain identifier; the decorative prop components belonging to the first prop type will be displayed on the surface of the target terrain component, and the decorative prop components belonging to the second prop type will be displayed on both sides of the target terrain component. The decorative prop components belonging to the first prop type include road signs, obstacles, etc., and the decorative prop components belonging to the second prop type include green trees, flowers, rockery, etc.
[0107] For example, the terrain mark is taken as a track mark. Figure 8 As shown, the displayed decorative props logos include green tree logos, rockery logos, traffic control logos, etc. If the green tree logo is moved to the first time position of the decorative prop track axis (i.e., the above-mentioned moving position), if the target track logo at the first time position is the first track logo, the first decorative prop logo is controlled to be displayed at the moving position of the decorative prop track axis, and at the same time, green trees are controlled to be generated on both sides of the first track component.
[0108] The above response is to the touch operation of the first prop identifier among multiple prop identifiers, and controls the first prop identifier to move to the second track axis. Another possible implementation manner is to respond to the touch operation of the first mechanism prop identifier among multiple mechanism prop identifiers, and control the first mechanism prop identifier to move to the mechanism prop track axis.
[0109] According to the moving position of the first prop mark on the second track axis, the first prop mark is controlled to be displayed on the moving position of the second track axis. Another possible implementation method is: according to the moving position of the first mechanism prop mark on the mechanism prop track axis, the first mechanism prop mark is controlled to be displayed on the moving position of the mechanism prop track axis;
[0110] The above control generates a first prop component corresponding to the first prop identifier at the target terrain component corresponding to the target terrain identifier corresponding to the moving position. Another possible implementation manner is to control the generation of a first mechanism prop component corresponding to the first mechanism prop identifier on the surface of the target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0111] The mechanism prop components corresponding to the above-mentioned mechanism prop logos usually include acceleration belts, deceleration belts, etc.
[0112] For example, the terrain mark is taken as a track mark. Fig. 9 As shown, the displayed mechanism props logo includes acceleration belt, deceleration belt, etc. The acceleration belt is moved to the second time position (i.e., the above-mentioned moving position) of the mechanism prop track axis. If the target track logo at the second time position is the first track logo, the acceleration belt logo is controlled to be displayed at the moving position of the mechanism prop track axis, and the acceleration belt is controlled to be generated on the first track component. If the deceleration belt is moved to the third time position (i.e., the above-mentioned moving position) of the mechanism prop track axis, if the target track logo at the third time position is the second track logo, the deceleration belt logo is controlled to be displayed at the moving position of the mechanism prop track axis, and the deceleration belt is controlled to be generated on the first track component.
[0113] By placing various object modules (such as buildings, vegetation, mechanical obstacles, etc.) on the landscape / mechanism track (i.e. the second track axis mentioned above), the aesthetics and playability of the track can be enriched on the basis of the main track.
[0114] The above method also includes: displaying an adjustment mark of the first prop mark; in response to an adjustment operation on the adjustment mark, adjusting the mark length of the first prop mark and adjusting the component length of the first prop component corresponding to the first prop mark.
[0115] Optionally, the adjustment mark of the first prop mark is always displayed; or, in response to a trigger operation on the first prop mark, the adjustment mark of the first prop mark is displayed; wherein the adjustment operation is generally a sliding operation. The above adjustment mark generally refers to the edge of the first prop mark, such as the left edge and the right edge of the first prop mark.
[0116] Optionally, in response to a trigger operation on the first prop identifier, the starting edge identifier and the ending edge identifier of the first prop identifier are displayed; in response to a left swipe operation on the starting edge identifier, the identifier length of the first prop identifier is controlled to increase, and at the same time, the component length of the first prop component corresponding to the first prop identifier is controlled to increase; in response to a right swipe operation on the starting edge identifier, the identifier length of the first prop identifier is controlled to decrease, and at the same time, the component length of the first prop component corresponding to the first prop identifier is controlled to decrease. In response to a left swipe operation on the ending edge identifier, the identifier length of the first prop identifier is controlled to decrease, and at the same time, the component length of the first prop component corresponding to the first prop identifier is controlled to decrease; in response to a right swipe operation on the ending edge identifier, the identifier length of the first prop identifier is controlled to increase, and at the same time, the component length of the first prop component corresponding to the first prop identifier is controlled to increase.
[0117] For example, the green trees on both sides of the first track component can be increased, so that green trees are also generated on both sides of the second track component. In the above method, the component length of the prop component can be edited directly on the prop mark on the second track axis, without the player having to perform editing operations such as lengthening the prop component in the track editing scene, which further simplifies the editing operation.
[0118] A possible implementation of the above step of adjusting the length of the first prop identifier and the length of the first prop component corresponding to the first prop identifier in response to the adjustment operation of the adjustment identifier is as follows:
[0119] In response to an adjustment operation on the adjustment mark, the mark length of the first prop mark is adjusted; according to the adjusted mark length of the first prop mark and the mark shape of the target terrain mark corresponding to the first prop mark, the component length of the first prop mark corresponding to the first prop mark is adjusted; wherein, the component length is adjusted in different ways for terrain marks of different shapes.
[0120] If the target terrain marker has a curvature, the adjusted length of the portion of the prop component with the curvature in the adjusted first prop component is the same as the adjusted length of the portion of the prop component without the curvature in the adjusted first prop component.
[0121] That is to say, if the target terrain mark has no curvature and the first prop mark increases the first distance, the first prop assembly is directly extended left and right by the first distance. If the target terrain mark has curvature and the first prop mark increases the first distance, the first prop assembly is increased by the first distance as a whole, so that the adjustment length of each position in the first prop assembly is the same, that is, the adjustment length of the part of the prop assembly with curvature in the adjusted first prop assembly is the same as the adjustment length of the part of the prop assembly without curvature in the adjusted first prop assembly. For example, the target terrain mark is a right-angle bend track, and the first prop assembly is the right-angle bend greening; if the first prop mark increases by 10 meters, the straight greening corresponding to the right-angle bend in the right-angle bend greening is controlled to increase by 5 meters, and the greening corresponding to the non-right-angle bend in the right-angle bend greening is controlled to increase by 5 meters, thereby controlling the right-angle bend greening to increase by 10 meters as a whole.
[0122] The above method also includes: in response to a specified operation on the first prop identifier, displaying a second editing page for the first prop component on the graphical user interface; in response to a second editing operation on the second editing page, adjusting prop information of the first prop component; wherein the prop information includes at least one of the following: prop size and prop orientation; in response to completion of the second editing operation, updating the first prop component in the track editing scene based on the adjusted prop information of the first prop component.
[0123] Optionally, the prop size includes prop size, prop width, and prop length. The specified operation may be a finger long press operation, a sliding operation, etc., or a right click operation, or a trigger operation of a specified button on a game controller, etc. Optionally, in response to a trigger operation on the first prop identifier, a second editing control is displayed on the graphical user interface, and in response to a trigger operation on the second editing control, a second editing page for the first prop component is displayed on the graphical user interface.
[0124] The second editing operation can be a selection operation, an input operation, a sliding operation, etc. For example, the current prop size is 10%, and the user can adjust it to 20%; for another example, the current prop orientation is 45°, and the user can adjust it to 60°, etc. At this time, the first prop component will update the size, orientation, width, length, etc. of the prop component according to the updated prop information.
[0125] In the above method, the prop component can be edited more carefully by changing the prop information, without the need to edit the prop component in the track editing scene.
[0126] The above method also includes: in response to a touch operation on the first prop logo displayed on the second track axis, adjusting the display position of the first prop logo on the second track axis; and adjusting the position of the first prop component in the display area according to the display position of the first prop logo on the second track axis.
[0127] For example, in response to a drag operation on the first prop identifier displayed on the second track axis, the first prop identifier is dragged to the position where the second prop identifier is displayed, or dragged to the end position of the second track axis. In response to the end of the drag operation, the display positions of the first prop identifier and the second prop identifier are controlled to be swapped, and at the same time, the positions of the first prop component and the second prop component in the display area are controlled to be swapped.
[0128] For another example, if a first prop identifier, a second prop identifier and a third prop identifier are sequentially displayed on the second track axis, in response to a drag operation on the first prop identifier displayed on the second track axis, the first prop identifier is dragged to a position where the third prop identifier is displayed, or is dragged to an end position of the second track axis, and in response to the end of the drag operation, the display positions of the first prop identifier and the third prop identifier are controlled to be swapped, or the first prop identifier is controlled to be displayed at a position where the third prop identifier is located, and the second prop identifier is displayed at a position before the first prop identifier is dragged, and the third prop identifier is displayed at a position before the second prop identifier is moved, and at the same time, the positions of the first prop component and the third prop component in the display area are controlled to be swapped, or the first prop component is controlled to be moved to a position where the third prop component is located, and the second prop identifier is moved to a position before the first prop component is moved, and the third prop component is displayed at a position before the second prop identifier is moved.
[0129] In the above method, the player can perform a simple touch operation on the prop logo on the second track axis to change the position of each prop component, and the prop components after the position change will be displayed on both sides or the surface of the terrain component according to the prop type, without the player having to directly adjust the position of the prop components.
[0130] The track length of the second track axis corresponds to the component length of the display area. Figure 8-9 The track lengths above the first track axis and the second track axis are shown, and each track length corresponds to a track length. For example, a track length of 1 cm in the second track axis corresponds to a track length of 100 m.
[0131] The terrain mark is a track mark, and the terrain component is a track component; the method further includes: generating a continuous track according to the track component included in the display area. Optionally, generating a continuous track according to the track component and the prop component included in the display area.
[0132] Optionally, one or more track components and one or more prop components included in the track editing scene displayed in the display area are used to generate a corresponding continuous track.
[0133] Optionally, in response to a save instruction for a track editing scene, a continuous track is generated according to the track components and prop components included in the track editing scene; or, in response to a trial play instruction for a track editing scene, a continuous track is generated according to the track components and prop components included in the track editing scene.
[0134] The above-mentioned display area also includes a trial play control; the above-mentioned method also includes: responding to a trigger operation on the trial play control, and displaying a game running scene corresponding to the game editing scene on the graphical user interface.
[0135] Taking the track editing scene as an example, in response to the trigger operation of the trial play control, the track running scene corresponding to the track editing scene is displayed in the graphical user interface. When the player clicks the trial play control, the currently displayed display area and editing area can be switched to the scene screen of the running scene. The player can control the virtual vehicle in the scene and try it out in the continuous track to confirm whether the edited track is reasonable.
[0136] The above method also includes: responding to the sliding operation on the first track axis, controlling the display area to display the game running scene. This embodiment takes the game running scene as the track running scene as an example for explanation. In the interactive mode of the test track, the entire first track axis can be dragged left and right to view the play process in real time in the upper display area like playing a video. There is no need to click to switch to the trial mode after editing to run the track like traditional mobile games.
[0137] The above-mentioned display area is used to display the game editing scene; the above-mentioned method also includes: responding to the component editing operation of the first terrain component in the game editing scene, editing the component parameters of the first terrain component; the component parameters include at least one of the following parameters: size parameters, position parameters, angle parameters, direction parameters; updating the first terrain component based on the component parameters.
[0138] In other words, players can also directly edit the components in the game editing scene. For example, after clicking on a component in the scene, they can perform editing operations such as moving and rotating it.
[0139] Taking the editing scene as an example of a track editing scene, in the above embodiment, the editing method provides pre-made track logos (track fragments) and prop logos (map elements), allowing users to easily build their own tracks like building blocks. This method reduces the need for professional 3D modeling and programming knowledge, and greatly lowers the editing threshold. Users only need to select appropriate elements and fragments according to their own ideas, and then drag and drop them to the appropriate positions. This intuitive and concise operation method greatly speeds up the process from conception to realization, allowing users to focus more on creative ideas rather than technical details.
[0140] Using clip-style interaction, it is very intuitive and easy to understand. It does not require programming or mathematical knowledge, and supports vertical screen operation, which can quickly realize the construction and verification of ideas. It also provides various types of track fragments and decorations, and users can freely combine them according to their needs to create a unique track. Users can precisely control the position and length of each track section, as well as the position and range of decorations and acceleration strips. In addition to the track layer, there can be other layers, such as decoration layer, acceleration strip layer, etc., which allows the editor to handle more complex scenes.
[0141] Corresponding to the above method embodiment, the embodiment of the present disclosure provides a game editing device, which runs a game program through a terminal device and provides a graphical user interface, wherein the graphical user interface includes a display area and an editing area, and the editing area includes a first track axis; the device includes:
[0142] A terrain mark display module 1001 is used to control the display of a first terrain mark on a first track axis in response to a first trigger operation;
[0143] A terrain component generating module 1002, used for controlling the generation of a first terrain component corresponding to a first terrain identifier in a display area;
[0144] The editing parameter determination module 1003 is used to determine the editing parameters in response to the editing operation on the first terrain mark, wherein the editing parameters include at least one of the following parameters: size parameter, position parameter, angle parameter, direction parameter;
[0145] The terrain component updating module 1004 is used to update the first terrain component according to the editing parameters.
[0146] The disclosed embodiment provides a game editing device, which controls the display of a first terrain mark on a first track axis in response to a first trigger operation; controls the generation of a first terrain component corresponding to the first terrain mark in a display area; determines editing parameters in response to an editing operation on the first terrain mark, wherein the editing parameters include at least one of the following parameters: size parameter, position parameter, angle parameter, direction parameter; and updates the first terrain component according to the editing parameters. In this method, the user only needs to select appropriate terrain marks according to his or her own ideas, and drag and drop them to the approximate position of the first track axis through the first trigger operation, so that the corresponding terrain component can be generated in the display area. The player does not need to perform more detailed editing operations on the terrain components in the game editing scene, and can complete the detailed placement operation. The editing method is simple and the threshold is low, so as to improve the player's gaming experience, thereby improving the utilization rate of the game editing tools and avoiding the waste of game resources.
[0147] The above-mentioned device method also includes: a second terrain component display module, which is used to respond to a second trigger operation, control the display of a second terrain identifier on the first track axis, and control the generation of a second terrain component corresponding to the second terrain identifier in the display area; wherein the first terrain identifier and the second terrain identifier displayed on the first track axis are connected to each other, and the first terrain component and the second terrain component generated in the display area are connected to each other.
[0148] The second identification end of the first terrain identifier displayed on the above-mentioned first track axis is connected to the first identification end of the second terrain identifier, and the second component end of the first terrain component generated in the display area is connected to the first component end of the second terrain component identifier; or, the second identification end of the second terrain identifier displayed on the first track axis is connected to the first identification end of the first terrain identifier, and the second component end of the second terrain component generated in the display area is connected to the first component end of the first terrain component identifier.
[0149] The size parameters include the identification length; the terrain component update module is further used to: display the adjustment identification of the first terrain identification; in response to the adjustment operation on the adjustment identification, adjust the identification length of the first terrain identification; and adjust the component length of the first terrain component corresponding to the first terrain identification according to the adjusted identification length of the first terrain identification.
[0150] The terrain component updating module is further used to adjust the component length of the first terrain component according to the adjusted identification length of the first terrain identification and the identification shape of the first terrain identification; wherein, the component length is adjusted in different ways for terrain identifications of different shapes.
[0151] If the first terrain marker has a curvature, the adjusted length of the portion of the terrain component with the curvature in the adjusted first terrain component is the same as the adjusted length of the portion of the terrain component without the curvature in the adjusted first terrain component.
[0152] The editing parameter determination module is also used to: display a first editing page for the first terrain component on the graphical user interface in response to a designated operation on the first terrain identifier; and determine editing parameters of the first terrain component in response to a first editing operation on the first editing page.
[0153] The first terrain mark is a track mark; the editing parameters include at least one of the following parameters: a track steering parameter, a track angle parameter, a track slope parameter, a track width parameter, and a track length parameter.
[0154] The above-mentioned device also includes a position adjustment module, which is used to: respond to a touch operation on a first terrain marker displayed on the first orbital axis, adjust the display position of the first terrain marker on the first orbital axis; adjust the display position of the second terrain marker on the first orbital axis according to the display position of the first terrain marker on the first orbital axis; adjust the positions of the first terrain component and the second terrain component in the display area according to the display position of the first terrain marker on the first orbital axis and the display position of the second terrain marker on the first orbital axis.
[0155] The above-mentioned display area is used to display the game editing scene, which includes an editing start point and an editing end point; the start point of the first track axis represents the editing start point, and the end point of the first track axis represents the editing end point.
[0156] The first identification end of the first terrain identification is connected to the starting point of the first track axis, and the second identification end of the first terrain identification is connected to the end point of the first track axis; the first component end of the first terrain component is connected to the editing starting point, and the second component end of the first terrain component is connected to the editing end point.
[0157] The track length of the first track axis corresponds to the component length of the terrain component displayed in the display area.
[0158] The above-mentioned device also includes a prop component generation module, which is used to: display the second track axis in the editing area; respond to the third trigger operation, control the display of the first prop logo on the second track axis; control the generation of the first prop component corresponding to the first prop logo in the display area.
[0159] The above-mentioned prop component generation module is also used to: display multiple prop identifiers; respond to a touch operation on a first prop identifier among the multiple prop identifiers, control the first prop identifier to move to the second track axis; control the display of the first prop identifier at the moving position of the second track axis according to the moving position of the first prop identifier on the second track axis; control the generation of the first prop component corresponding to the first prop identifier at the target terrain component corresponding to the target terrain identifier.
[0160] The above-mentioned prop identification includes a decorative prop identification and a mechanism prop identification, and the second track axis includes a decorative prop track axis and a mechanism prop track axis; the above-mentioned prop component generation module is also used to: respond to a touch operation on a first decorative prop identification among multiple decorative prop identifications, control the first decorative prop identification to move to the decorative prop track axis; or, respond to a touch operation on a first mechanism prop identification among multiple mechanism prop identifications, control the first mechanism prop identification to move to the mechanism prop track axis.
[0161] The above-mentioned first prop identifier is the first decorative prop identifier; the second track axis is the decorative prop track axis; the above-mentioned prop component generation module is also used to: according to the moving position of the first decorative prop identifier on the decorative prop track axis, control the display of the first decorative prop identifier on the moving position of the decorative prop track axis, and control the generation of the first decorative prop component corresponding to the first decorative prop identifier on the surface or both sides of the target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0162] The above-mentioned first prop identifier is the first mechanism prop identifier; the second track axis is the mechanism prop track axis; the above-mentioned prop component generation module is also used to: according to the moving position of the first mechanism prop identifier on the mechanism prop track axis, control the display of the first mechanism prop identifier on the moving position of the mechanism prop track axis, and control the generation of the first mechanism prop component corresponding to the first mechanism prop identifier on the target terrain component surface corresponding to the target terrain identifier corresponding to the moving position.
[0163] The above-mentioned editing area includes an adding control; the above-mentioned prop component generation module is also used to: respond to the trigger operation of the adding control, display the first control and the second control; respond to the trigger operation of the first control, display the decoration prop track axis in the editing area; respond to the trigger operation of the second control, display the mechanism prop track axis in the editing area.
[0164] The above-mentioned device also includes a prop component length adjustment module, which is used to: display an adjustment mark of the first prop mark; in response to an adjustment operation on the adjustment mark, adjust the mark length of the first prop mark, and adjust the component length of the first prop component corresponding to the first prop mark.
[0165] The above-mentioned device also includes: a prop information adjustment module, which is used to: respond to a specified operation on the first prop identifier, display a second editing page for the first prop component on the graphical user interface; respond to a second editing operation on the second editing page, adjust the prop information of the first prop component; wherein the prop information includes at least one of the following: prop size and prop orientation; respond to the completion of the second editing operation, update the first prop component based on the adjusted prop information of the first prop component.
[0166] The above-mentioned device also includes: a prop component position adjustment module, which is used to: respond to a touch operation on the first prop logo displayed on the second track axis, adjust the display position of the first prop logo on the second track axis; and adjust the position of the first prop component in the display area according to the display position of the first prop logo on the second track axis.
[0167] The editing area includes a terrain control; the device also includes a mark display module, which is used to: respond to a trigger operation on the terrain control and display a plurality of terrain marks in the editing area.
[0168] The editing area includes a prop control; the prop component display module is used to respond to a trigger operation on the prop control and display multiple prop logos in the editing area.
[0169] The track length of the second track axis corresponds to the component length of the display area.
[0170] The terrain mark is a track mark, and the terrain component is a track component; the device further includes: a track generation module, which is used to generate a continuous track according to the track components included in the display area.
[0171] The display area also includes a trial play control; the device also includes a trial play module, which is used to: respond to a trigger operation on the trial play control and display a game running scene corresponding to the game editing scene on the graphical user interface.
[0172] The above-mentioned display area is used to display the game editing scene; the device also includes a component editing module, which is used to: respond to the component editing operation of the first terrain component in the game editing scene, edit the component parameters of the first terrain component; the component parameters include at least one of the following parameters: size parameters, position parameters, angle parameters, direction parameters; update the first terrain component based on the component parameters.
[0173] The game editing device provided in the embodiment of the present disclosure has the same technical features as the game editing method provided in the above-mentioned embodiment, and can therefore solve the same technical problems and achieve the same technical effects.
[0174] This embodiment also provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned game editing method. The electronic device can be a server or a terminal device.
[0175] See also Fig.11 As shown, the electronic device includes a processor 100 and a memory 101, wherein the memory 101 stores machine executable instructions that can be executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the above-mentioned game editing method.
[0176] Further, Fig.11 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .
[0177] Among them, the memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 102 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0178] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 100. The above processor 100 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the above embodiment in combination with its hardware.
[0179] The processor in the above electronic device can implement the following operations in the above game editing method by executing machine executable instructions:
[0180] In response to the first trigger operation, the first terrain mark is displayed on the first track axis; the first terrain component corresponding to the first terrain mark is generated in the display area; in response to the editing operation on the first terrain mark, the editing parameters are determined, wherein the editing parameters include at least one of the following parameters: size parameter, position parameter, angle parameter, direction parameter; the first terrain component is updated according to the editing parameters. In this method, the user only needs to select the appropriate terrain mark according to his own ideas, drag and drop them to the approximate position of the first track axis through the first trigger operation, and the corresponding terrain component can be generated in the display area. The player does not need to perform more detailed editing operations on the terrain components in the game editing scene, and the detailed placement operation can be completed. The editing method is simple and the threshold is low, so as to improve the player's game experience, thereby improving the utilization rate of the game editing tools and avoiding the waste of game resources.
[0181] After controlling the generation of a first terrain component corresponding to a first terrain identifier in a display area, the method further includes: responding to a second trigger operation, controlling the display of a second terrain identifier on the first track axis, and controlling the generation of a second terrain component corresponding to the second terrain identifier in the display area; wherein the first terrain identifier and the second terrain identifier displayed on the first track axis are connected to each other, and the first terrain component and the second terrain component generated in the display area are connected to each other.
[0182] The second identification end of the first terrain identifier displayed on the above-mentioned first track axis is connected to the first identification end of the second terrain identifier, and the second component end of the first terrain component generated in the display area is connected to the first component end of the second terrain component identifier; or, the second identification end of the second terrain identifier displayed on the first track axis is connected to the first identification end of the first terrain identifier, and the second component end of the second terrain component generated in the display area is connected to the first component end of the first terrain component identifier.
[0183] The above-mentioned size parameters include the identification length; in response to the editing operation on the first terrain identification, the editing parameters are determined, and the steps of updating the first terrain component according to the editing parameters include: displaying the adjustment identification of the first terrain identification; in response to the adjustment operation on the adjustment identification, adjusting the identification length of the first terrain identification; and adjusting the component length of the first terrain component corresponding to the first terrain identification according to the adjusted identification length of the first terrain identification.
[0184] The step of adjusting the component length of the first terrain component corresponding to the first terrain identifier according to the adjusted identifier length of the first terrain identifier includes: adjusting the component length of the first terrain identifier according to the adjusted identifier length of the first terrain identifier and the identifier shape of the first terrain identifier; wherein, the component length is adjusted in different ways for terrain identifiers of different shapes.
[0185] If the first terrain marker has a curvature, the adjusted length of the portion of the terrain component with the curvature in the adjusted first terrain component is the same as the adjusted length of the portion of the terrain component without the curvature in the adjusted first terrain component.
[0186] The above-mentioned step of determining the editing parameters in response to the editing operation on the first terrain identifier includes: in response to the specified operation on the first terrain identifier, displaying a first editing page for the first terrain component on the graphical user interface; in response to the first editing operation on the first editing page, determining the editing parameters of the first terrain component.
[0187] The first terrain mark is a track mark; the editing parameters include at least one of the following parameters: a track steering parameter, a track angle parameter, a track slope parameter, a track width parameter, and a track length parameter.
[0188] The above method also includes: in response to a touch operation on a first terrain marker displayed on the first orbital axis, adjusting the display position of the first terrain marker on the first orbital axis; adjusting the display position of the second terrain marker on the first orbital axis according to the display position of the first terrain marker on the first orbital axis; and adjusting the positions of the first terrain component and the second terrain component in the display area according to the display position of the first terrain marker on the first orbital axis and the display position of the second terrain marker on the first orbital axis.
[0189] The above-mentioned display area is used to display the game editing scene, which includes an editing start point and an editing end point; the start point of the first track axis represents the editing start point, and the end point of the first track axis represents the editing end point.
[0190] The first identification end of the first terrain identification is connected to the starting point of the first track axis, and the second identification end of the first terrain identification is connected to the end point of the first track axis; the first component end of the first terrain component is connected to the editing starting point, and the second component end of the first terrain component is connected to the editing end point.
[0191] The track length of the first track axis corresponds to the component length of the terrain component displayed in the display area.
[0192] The above method also includes: displaying a second track axis in the editing area; in response to a third trigger operation, controlling the display of a first prop identifier on the second track axis; and controlling the generation of a first prop component corresponding to the first prop identifier in the display area.
[0193] The above-mentioned step of controlling the display of the first prop identifier on the second track axis in response to the third trigger operation includes: displaying multiple prop identifiers; controlling the first prop identifier to move to the second track axis in response to a touch operation on a first prop identifier among the multiple prop identifiers; controlling the display of the first prop identifier at the moving position of the second track axis according to the moving position of the first prop identifier on the second track axis; and controlling the generation of a first prop component corresponding to the first prop identifier at a target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0194] The above-mentioned prop identifier includes a decorative prop identifier and a mechanism prop identifier, and the second track axis includes a decorative prop track axis and a mechanism prop track axis; the step of responding to a touch operation on a first prop identifier among multiple prop identifiers and controlling the first prop identifier to move to the second track axis includes: responding to a touch operation on a first decorative prop identifier among multiple decorative prop identifiers, controlling the first decorative prop identifier to move to the decorative prop track axis; or, responding to a touch operation on a first mechanism prop identifier among multiple mechanism prop identifiers, controlling the first mechanism prop identifier to move to the mechanism prop track axis.
[0195] The above-mentioned first prop identifier is a first decorative prop identifier; the second track axis is a decorative prop track axis; the step of controlling the display of the first prop identifier at the moving position of the second track axis according to the moving position of the first prop identifier on the second track axis includes: controlling the display of the first decorative prop identifier at the moving position of the decorative prop track axis according to the moving position of the first decorative prop identifier on the decorative prop track axis; the step of controlling the generation of a first prop component corresponding to the first prop identifier at a target terrain component corresponding to the target terrain identifier corresponding to the moving position includes: controlling the generation of the first decorative prop component corresponding to the first decorative prop identifier on the surface or both sides of the target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0196] The above-mentioned first prop identifier is the first mechanism prop identifier; the second track axis is the mechanism prop track axis; according to the moving position of the first prop identifier on the second track axis, the step of controlling the display of the first prop identifier on the moving position of the second track axis includes: according to the moving position of the first mechanism prop identifier on the mechanism prop track axis, controlling the display of the first mechanism prop identifier on the moving position of the mechanism prop track axis; controlling the generation of the first prop component corresponding to the first prop identifier at the target terrain component corresponding to the target terrain identifier corresponding to the moving position, the step of controlling the generation of the first mechanism prop component corresponding to the first prop identifier on the surface of the target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0197] The above-mentioned editing area includes adding controls; the step of displaying the second track axis in the editing area includes: responding to a trigger operation for the added control, displaying the first control and the second control; responding to a trigger operation for the first control, displaying the decoration prop track axis in the editing area; responding to a trigger operation for the second control, displaying the mechanism prop track axis in the editing area.
[0198] The above method also includes: displaying an adjustment mark of the first prop mark; in response to an adjustment operation on the adjustment mark, adjusting the mark length of the first prop mark and adjusting the component length of the first prop component corresponding to the first prop mark.
[0199] The above method also includes: in response to a specified operation on the first prop identifier, displaying a second editing page for the first prop component on the graphical user interface; in response to a second editing operation on the second editing page, adjusting the prop information of the first prop component; wherein the prop information includes at least one of the following: prop size and prop orientation; in response to completion of the second editing operation, updating the first prop component based on the adjusted prop information of the first prop component.
[0200] The above method also includes: in response to a touch operation on the first prop logo displayed on the second track axis, adjusting the display position of the first prop logo on the second track axis; and adjusting the position of the first prop component in the display area according to the display position of the first prop logo on the second track axis.
[0201] The editing area includes a terrain control; the method further includes: in response to a trigger operation on the terrain control, displaying a plurality of terrain identifiers in the editing area.
[0202] The above-mentioned editing area includes a prop control; the step of displaying multiple prop identifiers includes: responding to a trigger operation on the prop control and displaying multiple prop identifiers in the editing area.
[0203] The track length of the second track axis corresponds to the component length of the display area.
[0204] The terrain mark is a track mark, and the terrain component is a track component; the method further includes: generating a continuous track according to the track components included in the display area.
[0205] The above-mentioned display area also includes a trial play control; the method also includes: responding to a trigger operation on the trial play control, and displaying a game running scene corresponding to the game editing scene on the graphical user interface.
[0206] The above-mentioned display area is used to display the game editing scene; the method also includes: responding to a component editing operation on the first terrain component in the game editing scene, editing the component parameters of the first terrain component; the component parameters include at least one of the following parameters: size parameters, position parameters, angle parameters, direction parameters; updating the first terrain component based on the component parameters.
[0207] This embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned game editing method.
[0208] The machine executable instructions stored in the machine readable storage medium can implement the following operations in the game editing method by executing the machine executable instructions:
[0209] In response to the first trigger operation, the first terrain mark is displayed on the first track axis; the first terrain component corresponding to the first terrain mark is generated in the display area; in response to the editing operation on the first terrain mark, the editing parameters are determined, wherein the editing parameters include at least one of the following parameters: size parameter, position parameter, angle parameter, direction parameter; the first terrain component is updated according to the editing parameters. In this method, the user only needs to select the appropriate terrain mark according to his own ideas, drag and drop them to the approximate position of the first track axis through the first trigger operation, and the corresponding terrain component can be generated in the display area. The player does not need to perform more detailed editing operations on the terrain components in the game editing scene, and the detailed placement operation can be completed. The editing method is simple and the threshold is low, so as to improve the player's game experience, thereby improving the utilization rate of the game editing tools and avoiding the waste of game resources.
[0210] After controlling the generation of a first terrain component corresponding to a first terrain identifier in a display area, the method further includes: responding to a second trigger operation, controlling the display of a second terrain identifier on the first track axis, and controlling the generation of a second terrain component corresponding to the second terrain identifier in the display area; wherein the first terrain identifier and the second terrain identifier displayed on the first track axis are connected to each other, and the first terrain component and the second terrain component generated in the display area are connected to each other.
[0211] The second identification end of the first terrain identifier displayed on the above-mentioned first track axis is connected to the first identification end of the second terrain identifier, and the second component end of the first terrain component generated in the display area is connected to the first component end of the second terrain component identifier; or, the second identification end of the second terrain identifier displayed on the first track axis is connected to the first identification end of the first terrain identifier, and the second component end of the second terrain component generated in the display area is connected to the first component end of the first terrain component identifier.
[0212] The above-mentioned size parameters include the identification length; in response to the editing operation on the first terrain identification, the editing parameters are determined, and the steps of updating the first terrain component according to the editing parameters include: displaying the adjustment identification of the first terrain identification; in response to the adjustment operation on the adjustment identification, adjusting the identification length of the first terrain identification; and adjusting the component length of the first terrain component corresponding to the first terrain identification according to the adjusted identification length of the first terrain identification.
[0213] The step of adjusting the component length of the first terrain component corresponding to the first terrain identifier according to the adjusted identifier length of the first terrain identifier includes: adjusting the component length of the first terrain identifier according to the adjusted identifier length of the first terrain identifier and the identifier shape of the first terrain identifier; wherein, the component length is adjusted in different ways for terrain identifiers of different shapes.
[0214] If the first terrain marker has a curvature, the adjusted length of the portion of the terrain component with the curvature in the adjusted first terrain component is the same as the adjusted length of the portion of the terrain component without the curvature in the adjusted first terrain component.
[0215] The above-mentioned step of determining the editing parameters in response to the editing operation on the first terrain identifier includes: in response to the specified operation on the first terrain identifier, displaying a first editing page for the first terrain component on the graphical user interface; in response to the first editing operation on the first editing page, determining the editing parameters of the first terrain component.
[0216] The first terrain mark is a track mark; the editing parameters include at least one of the following parameters: a track steering parameter, a track angle parameter, a track slope parameter, a track width parameter, and a track length parameter.
[0217] The above method also includes: in response to a touch operation on a first terrain marker displayed on the first orbital axis, adjusting the display position of the first terrain marker on the first orbital axis; adjusting the display position of the second terrain marker on the first orbital axis according to the display position of the first terrain marker on the first orbital axis; and adjusting the positions of the first terrain component and the second terrain component in the display area according to the display position of the first terrain marker on the first orbital axis and the display position of the second terrain marker on the first orbital axis.
[0218] The above-mentioned display area is used to display the game editing scene, which includes an editing start point and an editing end point; the start point of the first track axis represents the editing start point, and the end point of the first track axis represents the editing end point.
[0219] The first identification end of the first terrain identification is connected to the starting point of the first track axis, and the second identification end of the first terrain identification is connected to the end point of the first track axis; the first component end of the first terrain component is connected to the editing starting point, and the second component end of the first terrain component is connected to the editing end point.
[0220] The track length of the first track axis corresponds to the component length of the terrain component displayed in the display area.
[0221] The above method also includes: displaying a second track axis in the editing area; in response to a third trigger operation, controlling the display of a first prop identifier on the second track axis; and controlling the generation of a first prop component corresponding to the first prop identifier in the display area.
[0222] The above-mentioned step of controlling the display of the first prop identifier on the second track axis in response to the third trigger operation includes: displaying multiple prop identifiers; controlling the first prop identifier to move to the second track axis in response to a touch operation on a first prop identifier among the multiple prop identifiers; controlling the display of the first prop identifier at the moving position of the second track axis according to the moving position of the first prop identifier on the second track axis; and controlling the generation of a first prop component corresponding to the first prop identifier at a target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0223] The above-mentioned prop identifier includes a decorative prop identifier and a mechanism prop identifier, and the second track axis includes a decorative prop track axis and a mechanism prop track axis; the step of responding to a touch operation on a first prop identifier among multiple prop identifiers and controlling the first prop identifier to move to the second track axis includes: responding to a touch operation on a first decorative prop identifier among multiple decorative prop identifiers, controlling the first decorative prop identifier to move to the decorative prop track axis; or, responding to a touch operation on a first mechanism prop identifier among multiple mechanism prop identifiers, controlling the first mechanism prop identifier to move to the mechanism prop track axis.
[0224] The above-mentioned first prop identifier is a first decorative prop identifier; the second track axis is a decorative prop track axis; the step of controlling the display of the first prop identifier at the moving position of the second track axis according to the moving position of the first prop identifier on the second track axis includes: controlling the display of the first decorative prop identifier at the moving position of the decorative prop track axis according to the moving position of the first decorative prop identifier on the decorative prop track axis; the step of controlling the generation of a first prop component corresponding to the first prop identifier at a target terrain component corresponding to the target terrain identifier corresponding to the moving position includes: controlling the generation of the first decorative prop component corresponding to the first decorative prop identifier on the surface or both sides of the target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0225] The above-mentioned first prop identifier is the first mechanism prop identifier; the second track axis is the mechanism prop track axis; according to the moving position of the first prop identifier on the second track axis, the step of controlling the display of the first prop identifier on the moving position of the second track axis includes: according to the moving position of the first mechanism prop identifier on the mechanism prop track axis, controlling the display of the first mechanism prop identifier on the moving position of the mechanism prop track axis; controlling the generation of the first prop component corresponding to the first prop identifier at the target terrain component corresponding to the target terrain identifier corresponding to the moving position, the step of controlling the generation of the first mechanism prop component corresponding to the first prop identifier on the surface of the target terrain component corresponding to the target terrain identifier corresponding to the moving position.
[0226] The above-mentioned editing area includes adding controls; the step of displaying the second track axis in the editing area includes: responding to a trigger operation for the added control, displaying the first control and the second control; responding to a trigger operation for the first control, displaying the decoration prop track axis in the editing area; responding to a trigger operation for the second control, displaying the mechanism prop track axis in the editing area.
[0227] The above method also includes: displaying an adjustment mark of the first prop mark; in response to an adjustment operation on the adjustment mark, adjusting the mark length of the first prop mark and adjusting the component length of the first prop component corresponding to the first prop mark.
[0228] The above method also includes: in response to a specified operation on the first prop identifier, displaying a second editing page for the first prop component on the graphical user interface; in response to a second editing operation on the second editing page, adjusting the prop information of the first prop component; wherein the prop information includes at least one of the following: prop size and prop orientation; in response to completion of the second editing operation, updating the first prop component based on the adjusted prop information of the first prop component.
[0229] The above method also includes: in response to a touch operation on the first prop logo displayed on the second track axis, adjusting the display position of the first prop logo on the second track axis; and adjusting the position of the first prop component in the display area according to the display position of the first prop logo on the second track axis.
[0230] The editing area includes a terrain control; the method further includes: in response to a trigger operation on the terrain control, displaying a plurality of terrain identifiers in the editing area.
[0231] The above-mentioned editing area includes a prop control; the step of displaying multiple prop identifiers includes: responding to a trigger operation on the prop control and displaying multiple prop identifiers in the editing area.
[0232] The track length of the second track axis corresponds to the component length of the display area.
[0233] The terrain mark is a track mark, and the terrain component is a track component; the method further includes: generating a continuous track according to the track components included in the display area.
[0234] The above-mentioned display area also includes a trial play control; the method also includes: responding to a trigger operation on the trial play control, and displaying a game running scene corresponding to the game editing scene on the graphical user interface.
[0235] The above-mentioned display area is used to display the game editing scene; the method also includes: responding to a component editing operation on the first terrain component in the game editing scene, editing the component parameters of the first terrain component; the component parameters include at least one of the following parameters: size parameters, position parameters, angle parameters, direction parameters; updating the first terrain component based on the component parameters.
[0236] The computer program products of the game editing method, device and system provided in the embodiments of the present disclosure include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.
[0237] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0238] In addition, in the description of the embodiments of the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0239] 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 computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0240] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0241] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above embodiments, those skilled in the art should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A game editing method, characterized in that: The graphical user interface provided by the game program running on the terminal device includes a display area and an editing area, and the editing area includes a first track axis; the method includes: In response to a first trigger operation, controlling display of a first terrain mark on the first track axis; Controlling generation of a first terrain component corresponding to the first terrain identifier in the display area; In response to the editing operation on the first terrain mark, determining editing parameters, wherein the editing parameters include at least one of the following parameters: size parameter, position parameter, angle parameter, direction parameter; The first terrain component is updated according to the editing parameters.
2. The method according to claim 1, characterized in that After controlling the generation of a first terrain component corresponding to the first terrain identifier in the display area, the method further includes: In response to a second trigger operation, the first track axis is controlled to display a second terrain marker, and a second terrain component corresponding to the second terrain marker is controlled to be generated in the display area; wherein the first terrain marker and the second terrain marker displayed on the first track axis are connected to each other, and the first terrain component and the second terrain component generated in the display area are connected to each other.
3. The method according to claim 2, characterized in that The second identification end of the first terrain identification displayed on the first track axis is connected to the first identification end of the second terrain identification, and the second component end of the first terrain component generated in the display area is connected to the first component end of the second terrain component identification; or, The second identification end of the second terrain mark displayed on the first track axis is connected to the first identification end of the first terrain mark, and the second component end of the second terrain component generated in the display area is connected to the first component end of the first terrain component mark.
4. The method according to claim 1, characterized in that: The size parameter includes the length of the mark; in response to an editing operation on the first terrain mark, determining the editing parameter, and updating the first terrain component according to the editing parameter, comprising: Displaying an adjustment mark of the first terrain mark; In response to an adjustment operation on the adjustment mark, adjusting the mark length of the first terrain mark; According to the adjusted identifier length of the first terrain identifier, the component length of the first terrain component corresponding to the first terrain identifier is adjusted.
5. The method according to claim 4, characterized in that The step of adjusting the component length of the first terrain component corresponding to the first terrain identifier according to the adjusted identifier length of the first terrain identifier includes: The component length of the first terrain component is adjusted according to the adjusted identification length of the first terrain identification and the identification shape of the first terrain identification; wherein the component length is adjusted in different ways for terrain identifications of different shapes.
6. The method according to claim 5, characterized in that If the first terrain marker has a curvature, the adjusted length of the portion of the first terrain component having the curvature after adjustment is the same as the adjusted length of the portion of the first terrain component not having the curvature after adjustment.
7. The method according to claim 1, characterized in that In response to the editing operation on the first terrain identification, the step of determining the editing parameters comprises: In response to a designated operation on the first terrain identifier, displaying a first editing page for the first terrain component on the graphical user interface; In response to a first editing operation on the first editing page, editing parameters of the first terrain component are determined.
8. The method according to claim 1, characterized in that The first terrain mark is a track mark; the editing parameters include at least one of the following parameters: a track steering parameter, a track angle parameter, a track slope parameter, a track width parameter, and a track length parameter.
9. The method according to claim 1, characterized in that: The method further comprises: In response to a touch operation on a first terrain mark displayed on the first track axis, adjusting a display position of the first terrain mark on the first track axis; adjusting a display position of the second terrain marker on the first track axis according to a display position of the first terrain marker on the first track axis; According to the display position of the first terrain marker on the first track axis and the display position of the second terrain marker on the first track axis, the positions of the first terrain component and the second terrain component in the display area are adjusted.
10. The method according to claim 1, characterized in that The display area is used to display a game editing scene, which includes an editing start point and an editing end point; the start point of the first track axis represents the editing start point, and the end point of the first track axis represents the editing end point.
11. The method according to claim 10, characterized in that A first identification end of the first terrain identification is connected to a starting point of the first track axis, and a second identification end of the first terrain identification is connected to an end point of the first track axis; The first component end of the first terrain component is connected to the editing start point, and the second component end of the first terrain component is connected to the editing end point.
12. The method according to claim 1, characterized in that The track length of the first track axis corresponds to the component length of the terrain component displayed in the display area.
13. The method according to claim 1, characterized in that The method further comprises: displaying a second track axis in the editing area; In response to the third trigger operation, controlling the display of the first prop mark on the second track axis; Controlling generation of a first prop component corresponding to the first prop identifier in the display area.
14. The method according to claim 13, characterized in that In response to the third trigger operation, the step of controlling the display of the first prop mark on the second track axis includes: Display multiple props logo; In response to a touch operation on a first prop identifier among the plurality of prop identifiers, controlling the first prop identifier to move to the second track axis; Controlling display of the first prop identifier at the moving position of the second track axis according to the moving position of the first prop identifier on the second track axis; Controlling generation of a first prop component corresponding to the first prop identifier at a target terrain component corresponding to the target terrain identifier corresponding to the moving position.
15. The method according to claim 14, characterized in that The prop identification includes a decoration prop identification and a mechanism prop identification, and the second track axis includes a decoration prop track axis and a mechanism prop track axis; In response to a touch operation on a first prop identifier among the plurality of prop identifiers, the step of controlling the first prop identifier to move to the second track axis includes: In response to a touch operation on a first decoration prop identifier among a plurality of decoration prop identifiers, controlling the first decoration prop identifier to move to the decoration prop track axis; or, In response to a touch operation on a first mechanism prop identifier among a plurality of mechanism prop identifiers, the first mechanism prop identifier is controlled to move to the mechanism prop track axis.
16. The method according to claim 14, characterized in that The first prop identifier is a first decorative prop identifier; the second track axis is a decorative prop track axis; The step of controlling display of the first prop identifier on the moving position of the second track axis according to the moving position of the first prop identifier on the second track axis comprises: According to the moving position of the first decoration prop mark on the decoration prop track axis, controlling the display of the first decoration prop mark on the moving position of the decoration prop track axis; The step of controlling the generation of the first prop component corresponding to the first prop identifier at the target terrain component corresponding to the target terrain identifier corresponding to the moving position includes: Controlling generation of a first decorative prop component corresponding to the first decorative prop identifier on a surface or both sides of a target terrain component corresponding to the target terrain identifier corresponding to the moving position.
17. The method according to claim 14, characterized in that The first prop identifier is the first mechanism prop identifier; the second track axis is the mechanism prop track axis; The step of controlling the display of the first prop mark on the moving position of the second track axis according to the moving position of the first prop mark on the second track axis comprises: According to the moving position of the first mechanism prop mark on the mechanism prop track axis, controlling the display of the first mechanism prop mark on the moving position of the mechanism prop track axis; The step of controlling the generation of the first prop component corresponding to the first prop identifier at the target terrain component corresponding to the target terrain identifier corresponding to the moving position includes: Controlling generation of a first mechanism prop component corresponding to the first mechanism prop identifier on a target terrain component surface corresponding to the target terrain identifier corresponding to the moving position.
18. The method according to claim 13, characterized in that The editing area includes adding controls; the step of displaying the second track axis in the editing area includes: In response to a triggering operation on the added control, displaying a first control and a second control; In response to a trigger operation on the first control, displaying a decorative prop track axis in the editing area; In response to the trigger operation on the second control, the mechanism prop track axis is displayed in the editing area.
19. The method according to claim 14, characterized in that The method further comprises: Display an adjustment mark of the first prop mark; In response to an adjustment operation on the adjustment identifier, the identifier length of the first prop identifier is adjusted, and the component length of the first prop component corresponding to the first prop identifier is adjusted.
20. The method according to claim 13, characterized in that The method further comprises: In response to a designated operation on the first prop identifier, displaying a second editing page for the first prop component on the graphical user interface; In response to a second editing operation on the second editing page, adjusting prop information of the first prop component; wherein the prop information includes at least one of the following: prop size and prop orientation; In response to the second editing operation being completed, the first prop component is updated based on the adjusted prop information of the first prop component.
21. The method according to claim 13, characterized in that The method further comprises: In response to a touch operation on a first prop mark displayed on the second track axis, adjusting a display position of the first prop mark on the second track axis; According to the display position of the first prop identifier on the second track axis, the position of the first prop component in the display area is adjusted.
22. The method according to claim 1, characterized in that The editing area includes a terrain control; the method further includes: in response to a trigger operation on the terrain control, displaying a plurality of terrain identifiers in the editing area.
23. The method according to claim 14, characterized in that The editing area includes a prop control; the step of displaying multiple prop identifiers includes: responding to a trigger operation on the prop control, displaying multiple prop identifiers in the editing area.
24. The method according to claim 14, characterized in that The track length of the second track axis corresponds to the component length of the display area.
25. The method according to claim 1, characterized in that The terrain mark is a track mark, and the terrain component is a track component; the method further includes: A continuous race track is generated according to the race track components included in the display area.
26. The method according to claim 1, characterized in that The display area also includes a trial play control; the method further includes: In response to a triggering operation on the trial play control, a game running scene corresponding to the game editing scene is displayed on the graphical user interface.
27. The method according to claim 1, characterized in that The display area is used to display the game editing scene; the method also includes: In response to a component editing operation on the first terrain component in the game editing scene, edit component parameters of the first terrain component; the component parameters include at least one of the following parameters: size parameter, position parameter, angle parameter, direction parameter; The first terrain component is updated based on the component parameters.
28. A game editing device, characterized in that: The graphical user interface provided by the game program running on the terminal device includes a display area and an editing area, and the editing area includes a first track axis; the device includes: A terrain mark display module, configured to control display of a first terrain mark on the first track axis in response to a first trigger operation; A terrain component generating module, used for controlling the generation of a first terrain component corresponding to the first terrain identifier in the display area; An editing parameter determination module, configured to determine an editing parameter in response to an editing operation on the first terrain mark, wherein the editing parameter includes at least one of the following parameters: a size parameter, a position parameter, an angle parameter, and a direction parameter; A terrain component updating module is used to update the first terrain component according to the editing parameters.
29. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the game editing method described in any one of claims 1-27.
30. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the game editing method described in any one of claims 1-27.
Citation Information
Patent Citations
Landform data management method supporting self definition
CN109745706A
Game prop editing method and device, storage medium and computer equipment
CN116407844A
Game track generation method and device and electronic equipment
CN117298579A
Road model generation method and device and electronic equipment
CN117547829A
Game scene processing method and device, electronic equipment and storage medium
CN117599421A
Cited By
Game editing method and apparatus, and electronic device
WO2026001511A1
