Game plot editing method, device, computer device and storage medium
By displaying the combination of level process and information editing area in the game plot editing tool, the problem of incomplete acquisition of existing tool information is solved, and the comprehensiveness and convenience of game plot editing is achieved.
Patent Information
- Application Number
- CN202211405740.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2042-11-10
AI Technical Summary
Existing game plot editing tools such as RPG Maker VX and LayaMe have problems with incomplete information acquisition when editing game plots, and cannot insert other types of events or tasks, resulting in greater limitations in plot editing.
The process relationship between different plot nodes is displayed in the level process display area of the level editing page. Through the information display template corresponding to the node type, the program attribute information and action sequence information are displayed in the plot information editing area, so that the information of each plot node is displayed on the same page, supporting free editing and accurate updates.
It improves the comprehensiveness of information acquisition and the convenience of editing. Users can obtain and edit detailed information of plot nodes on the same page, achieving accurate updates to the node plot information.
Smart Images

Figure CN115671742B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for editing game plots, a computer device, and a storage medium. Background Art
[0002] As an interactive game that runs on an electronic device platform, an electronic game is a cultural activity born with the development of technology, and usually appears in people's lives for the purpose of intellectual development or entertainment. During the development of an electronic game, various game plots usually need to be edited. For example, editing each game step in the game, editing various game events that appear in the game, editing the triggering form of time, etc. However, the conventional game plot editing method has problems such as non-intuitive information display and inconvenient editing, which affect the game plot editing effect. Summary of the Invention
[0003] Embodiments of the present disclosure at least provide a method and apparatus for editing game plots, a computer device, and a storage medium.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for editing game plots, including:
[0005] In response to an editing trigger operation for any level of a plot-based game, display a level editing page; the level editing page includes a plot information editing area and a level process display area; the level process display area is used to display the process relationship between different plot nodes in the level, and different levels respectively correspond to different plot nodes; the plot node includes a first node of a program type;
[0006] In response to an editing trigger operation for any one of the first nodes, according to an information display template corresponding to the program type, display the program attribute information corresponding to the first node in a first area of the plot information editing area, and display the action sequence information corresponding to the first node in a second area of the plot information editing area;
[0007] In response to an editing operation for the program attribute information and / or the action sequence information, update the node plot information corresponding to the first node.
[0008] In a possible implementation manner, updating the node plot information corresponding to the first node in response to an editing operation for the program attribute information includes:
[0009] In response to an editing operation for the program name in the program attribute information, obtain the input target name, and use the target name to update the program name of the first node, and update the node name of the first node displayed in the level process display area to the target name; and / or,
[0010] In response to an editing operation on the first setting item in the program attribute information, determine first indication information on whether an operation is allowed during a performance, and update the first program attribute information of the first node according to the first indication information; and / or,
[0011] In response to an editing operation on the second setting item in the program attribute information, determine second indication information on whether to stop other programs in the level when triggering a program, and update the second program attribute information of the first node according to the second indication information.
[0012] In a possible implementation manner, the displaying the action sequence information corresponding to the first node in the second area of the plot information editing area includes:
[0013] Sequentially display the sequence type and sequence parameters of each action sequence, and the hierarchical indication identifier corresponding to each action sequence in the second area; the hierarchical indication identifier includes a first indication identifier indicating that the corresponding action sequence is a multi-level action sequence and a second indication identifier indicating that the corresponding action sequence is a single-level action sequence; the first indication identifier corresponds to a collapsed state and an expanded state;
[0014] After displaying the action sequence information corresponding to the first node in the second area of the plot information editing area, further include:
[0015] In response to a triggering operation on the first indication identifier in the collapsed state, change the state of the first indication identifier to the expanded state, and display the sequence type, sequence parameters, and hierarchical indication identifier of the lower-level action sequence below the upper-level action sequence information corresponding to the first indication identifier.
[0016] In a possible implementation manner, the background color of the action sequence information corresponding to the first indication identifier is related to the sequence level corresponding to the action sequence information.
[0017] In a possible implementation manner, in response to an editing operation on the action sequence information, updating the node plot information of the first node includes:
[0018] In response to a triggering operation on any action sequence in the second area, generate a first sequence pop-up window; the first sequence pop-up window displays the sequence parameters and sequence attribute information of the action sequence;
[0019] Obtain new sequence data input in the first sequence pop-up window; the new sequence data includes new sequence parameters and / or new sequence attribute information;
[0020] In response to triggering the save button in the first sequence pop-up window, update the sequence data of the triggered action sequence according to the new sequence data.
[0021] In a possible implementation manner, in response to an editing operation on the action sequence information, update the node plot information of the first node, including:
[0022] In response to a triggering operation on the sequence creation button in the second area, generate a sequence creation pop-up window; the first selection buttons of various sequence types are displayed in the sequence creation pop-up window;
[0023] In response to triggering any target first selection button of the sequence types displayed in the sequence creation pop-up window, generate a second sequence pop-up window that matches the target first selection button;
[0024] Generate a new action sequence according to the target sequence data input in the second sequence pop-up window and the sequence type corresponding to the target first selection button; the target sequence data includes the input sequence parameters and the set sequence attribute information;
[0025] Use the new action sequence to update the node plot information of the first node, and display the sequence type, the input sequence parameters, and the hierarchical indication identifier of the new action sequence in the second area.
[0026] In a possible implementation manner, in response to an editing operation on the action sequence information, update the node plot information of the first node, including:
[0027] In response to a moving operation on any action sequence in the second area, update the sequence sorting order and / or the hierarchical nesting relationship corresponding to the action sequence.
[0028] In a possible implementation manner, the plot node further includes a second node of the plot task type; after the level editing page is displayed, it further includes:
[0029] In response to an editing operation on the second node, display the task attribute information in the first area of the plot information editing area and display the task parameter information in the second area of the plot information editing area according to the information display template corresponding to the plot task type;
[0030] In response to an editing operation on the task attribute information and / or the task parameter information, update the node plot information of the second node.
[0031] In a possible implementation manner, in response to an editing operation on the task attribute information, update the node plot information of the second node, including:
[0032] In response to a trigger operation on the text box corresponding to the task name in the task attribute information, obtain the input name to be updated, and use the name to be updated to update the task name of the second node, and update the node name of the second node displayed in the level process display area to the name to be updated;
[0033] In response to a trigger operation on the parameter box corresponding to the task attribute information, obtain the input target task parameters, and use the target task parameters to update the task parameter information of the second node.
[0034] In a possible implementation manner, after the level editing page is displayed, it further includes:
[0035] In response to a node addition operation on any established plot node, display a generated node creation panel in the target area of the plot information editing area; the node creation panel displays a second selection button for creating new nodes of various node types; the node types include program types and plot task types;
[0036] In response to triggering the second selection button related to the plot task type, display a task gameplay selection panel in the target area; the task gameplay selection panel displays third selection buttons respectively matched with each sub-gameplay type under various main gameplay types;
[0037] In response to a trigger operation on the third selection button, display task editing instruction information and task attribute information in the first area of the plot information editing area, and display task parameter information in the second area of the plot information editing area;
[0038] Obtain the new node name input in the text box corresponding to the task name, and the new parameter information input in the parameter box corresponding to the task parameter information;
[0039] According to the new node name and the new parameter information, create a new node connected to the established plot node, and add and display the new node as a new established plot node in the level process display area.
[0040] In a possible implementation manner, the level editing page further includes a rendering area and an entity display area; the rendering area is used to display the game screen of the plot-based game; the entity display area is used to display the names of each entity object matching the level, and each entity object is located in the game screen;
[0041] The method further includes:
[0042] Highlight the name of the target entity object associated with the first node in the entity display area, and highlight the target entity object associated with the first node located in the rendering area.
[0043] In a second aspect, an embodiment of the present disclosure further provides a game plot editing device, including:
[0044] A first display module, configured to display a level editing page in response to an editing trigger operation for any level of a plot-based game; the level editing page includes a plot information editing area and a level process display area; the level process display area is configured to display the process relationship between different plot nodes in the level, and different levels respectively correspond to different plot nodes; the plot nodes include a first node of a program type.
[0045] A second display module, configured to display the program attribute information corresponding to the first node in a first area of the plot information editing area and display the action sequence information corresponding to the first node in a second area of the plot information editing area according to an information display template corresponding to the program type in response to an editing trigger operation for any one of the first nodes.
[0046] An update module, configured to update the node plot information corresponding to the first node in response to an editing operation for the program attribute information and / or the action sequence information.
[0047] In a third aspect, an alternative implementation of the present disclosure further provides a computer device, including a processor and a memory, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the machine-readable instructions stored in the memory. When the machine-readable instructions are executed by the processor, the machine-readable instructions execute the steps in the first aspect or any possible implementation manner in the first aspect.
[0048] In a fourth aspect, an alternative implementation of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run, it executes the steps in the first aspect or any possible implementation manner in the first aspect.
[0049] For the effect description of the above game plot editing device, computer device, and computer-readable storage medium, refer to the description of the above game plot editing method, which will not be elaborated here.
[0050] The game plot editing method, device, computer device, and storage medium provided by the embodiments of the present disclosure use the method of displaying the flow relationship between different plot nodes in a level in the level process display area of the level editing page, which facilitates intuitively obtaining the connection between each plot node of the level in the level process display area. When the first node is triggered, through the information display template corresponding to the node type of the first node, the program attribute information and action sequence information of the first node are displayed in the plot information editing area, realizing that each plot node of the level, the program attribute information, and the action sequence information of the first node are all displayed on the same level editing page, improving the richness of the information displayed on the page. In this way, the user can both obtain the node plot information of the first node that needs to be edited and the plot node plot information on the page, improving the comprehensiveness of information acquisition. Moreover, the user can freely edit the node plot information of the first node according to various information displayed on the page, such as adding events, tasks, etc., improving the convenience of editing the node plot information. Finally, by responding to the editing operation on the program attribute information and / or the action sequence information, the accurate update of the node plot information of the first node can be achieved.
[0051] To make the above objects, features, and advantages of the present disclosure more obvious and understandable, the following specific preferred embodiments are given, and in conjunction with the accompanying drawings, the detailed description is as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following will briefly introduce the accompanying drawings required for use in the embodiments. The accompanying drawings herein are incorporated into the specification and form a part of this specification. These drawings show embodiments that conform to the present disclosure and, together with the specification, are used to explain the technical solutions of the present disclosure. It should be understood that the following drawings only show certain embodiments of the present disclosure and should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can be obtained based on these drawings.
[0053] Figure 1 Shows a flowchart of a game plot editing method provided by an embodiment of the present disclosure;
[0054] Figure 2 Shows a schematic diagram of a level editing page provided by an embodiment of the present disclosure;
[0055] Figure 3 Shows a schematic diagram of displaying the node plot information of the first node in the plot information editing area provided by an embodiment of the present disclosure;
[0056] Figure 4 Shows a schematic diagram of displaying a lower-level action sequence provided by an embodiment of the present disclosure;
[0057] Figure 5 Shows a schematic diagram of a generated sequence new pop-up window provided by an embodiment of the present disclosure;
[0058] Figure 6 Shows a schematic diagram of a sequence operation pop-up window provided by an embodiment of the present disclosure;
[0059] Figure 7 Shows a schematic diagram of an action sequence for real-time display provided by an embodiment of the present disclosure;
[0060] Figure 8 Shows a schematic diagram of displaying node plot information of a second node in a plot information editing area provided by an embodiment of the present disclosure;
[0061] Figure 9 Shows a schematic diagram of a node new panel provided by an embodiment of the present disclosure;
[0062] Figure 10 Shows a schematic diagram of a task gameplay selection panel provided by an embodiment of the present disclosure;
[0063] Figure 11 Shows a schematic diagram of a game plot editing device provided by an embodiment of the present disclosure;
[0064] Figure 12 Shows a schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure. Detailed implementation manners
[0065] To make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are only a part rather than all of the embodiments of the present disclosure. The components of the embodiments of the present disclosure described and illustrated herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the claimed present disclosure, but merely represents selected embodiments of the present disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative efforts fall within the scope of protection of the present disclosure.
[0066] In addition, terms such as "first" and "second" in the specification, claims and the above-mentioned drawings of the embodiments of the present disclosure are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such data used can be interchanged under appropriate circumstances so that the embodiments described herein can be implemented in an order different from that shown or described herein.
[0067] As used herein, "multiple" or "several" means two or more. "And / or" describes the relationship between associated objects and indicates that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects before and after.
[0068] Through research, it is found that common game plot editing tools can include RPG Maker VX (also known as RPG Maker VX) and LayaMe. Among them, RPG Maker VX is a tool that allows players to create role-playing games that are quite popular in computer games by themselves. However, when using RPG Maker VX to edit the game plot information corresponding to game events, there is a problem that information related to other events cannot be obtained, resulting in incomplete acquisition of editing information. Although LayaMe is a visual game plot editing tool, when editing the game plot corresponding to game events, it needs to be edited in a time series manner, that is, the steps or events corresponding to each time point are specified. As a result, it is impossible to insert other types of events or tasks in a game event, and the limitations of plot editing are relatively large.
[0069] Based on the above research, the present disclosure provides a game plot editing method, device, computer device, and storage medium. By using the level process display area on the level editing page to display the process relationship between different plot nodes in the level, it is convenient to visually obtain the connection between each plot node in the level in the level process display area. When the first node is triggered, through the information display template corresponding to the node type of the first node, the program attribute information and action sequence information of the first node are displayed in the plot information editing area, realizing that each plot node in the level, the program attribute information and action sequence information of the first node are all displayed on the same level editing page, improving the richness of the information displayed on the page. In this way, the user can obtain both the node plot information of the first node that needs to be edited and the plot node plot information on the page, improving the comprehensiveness of information acquisition. And the user can freely edit the node plot information of the first node according to various information displayed on the page, such as adding events, tasks, etc., improving the convenience of node plot information editing. Finally, by responding to the editing operation on the program attribute information and / or the action sequence information, the accurate update of the node plot information of the first node can be achieved.
[0070] Regarding the defects existing in the above solutions, they are all the results obtained by the inventors through practice and careful research. Therefore, the process of discovering the above problems and the solutions proposed by the present disclosure for the above problems in the following text should both be the contributions made by the inventors to the present disclosure during the process of the present disclosure.
[0071] It should be noted that similar reference numerals and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0072] To facilitate the understanding of this embodiment, first, a game plot editing method disclosed in the embodiments of the present disclosure will be introduced in detail. The execution subject of the game plot editing method provided in the embodiments of the present disclosure is generally a terminal device or other processing device with certain computing capabilities. The terminal device may be a user equipment (UE), a mobile device, a user terminal, a terminal, a personal digital assistant device (PDA), a handheld device, a computer device, etc.; in some possible implementation manners, the game plot editing method may be implemented by a processor invoking computer-readable instructions stored in a memory.
[0073] Hereinafter, the game plot editing method provided in the embodiments of the present disclosure will be described by taking the execution subject as a computer device as an example.
[0074] As Figure 1 shown, it is a flowchart of a game plot editing method provided in the embodiments of the present disclosure, which may include the following steps:
[0075] S101: In response to an editing trigger operation for any level of a plot-based game, display a level editing page; the level editing page includes a plot information editing area and a level process display area; the level process display area is used to display the process relationship between different plot nodes in the level, and different levels respectively correspond to different plot nodes; the plot nodes include a first node of the program type.
[0076] Here, a plot-based game can be a game that includes one or a series of plots. For example, a 3D plot decryption game, a game of unlocking a password lock according to the plot, a game of breaking through levels according to the plot, etc. The plot in the game can include one or more programs. In one program, there can be one or more performances, and during the performance process, performance effects such as character dialogues, scene transitions, and character movements can be generated. The plot-based game can include at least one level, and each level can be displayed in the level process display area. A level can include a specific level process, and the level process can include a main process and a side process. Among them, the main process can be a level process triggered by a main process trigger, and the side process can be a level process triggered by a side process trigger. The level process can include at least one plot node, and the process relationship between different plot nodes in the level can be displayed in the level process display area. Optionally, the process relationship between different levels can also be displayed in the level process display area, and different levels correspond to different level nodes. Different plot nodes have different node types. For example, a level can include a first node of the program type and a second node of the plot task type. The first node is a node related to the program that needs to be performed in the plot-based game, and the second node is a node related to the task that needs to be executed in the plot-based game. The node names of each type of plot node can also be displayed in the level process display area.
[0077] Exemplarily, a plot node of the program type corresponds to a performance. The performance includes both events such as dialog box text / animation / camera scheduling / background image / sound effects that occur to present the plot, and changes such as dialogue options / status changes / transmissions that may affect the game process and game values. Overall, the performance is a sequence of events with a sequential order. A plot node of the plot task type corresponds to a game task, and the game task can also be called a gameplay in the game. For example, interacting with a specified entity object, moving to a target area, etc.
[0078] The level editing page is a page for editing a plot-based game, and specifically can be used to edit any level of the plot-based game. Among them, the plot information editing area in the level editing page can be used to view and edit the node plot information of any plot node. Among them, the node plot information of the first node of the program type can include program attribute information and action sequence information, and the node plot information of the second node of the plot task type can include task attribute information and task parameter information. The level process display area is used to display each plot node in the level process. A level corresponding to an existing level process can be called an established process. As Figure 2As shown in the figure, it is a schematic diagram of a level editing page provided by an embodiment of the present disclosure. The established process included in the level process display area of the level editing page is a main process (main process trigger), and three plot nodes (plot node 1 named XXXX, plot node 2 named YYYY, and plot node 3 named ZZZZ) triggered by the main process are shown in the main process. Figure 2 The shown level editing button indicates that the current level is being edited; by triggering the shown map editing button, it can be used to edit the game map of the plot-based game; by triggering the shown house editing button, it can be used to edit the map object of the house type.
[0079] In addition, by triggering Figure 2 the shown level editor button, it can be used to edit the levels of the plot-based game. By triggering Figure 2 the shown recycle bin button, the deleted information corresponding to the plot-based game can be obtained. By triggering Figure 2 the shown settings button, it can be used to set the level editing page. Figure 2 The shown folder button is used to select the game folder. Figure 2 The shown play button is used to control the play and pause of the game screen. The level editing page may further include Figure 2 the shown rendering area and the entity display area. Among them, the rendering area is used to display the game screen of the plot-based game; the entity display area is used to display the names of each entity object matching the level, and each entity object may be located in the game screen.
[0080] S102: In response to an editing trigger operation for any first node, according to the information display template corresponding to the program type, display the program attribute information corresponding to the first node in the first area of the plot information editing area, and display the action sequence information corresponding to the first node in the second area of the plot information editing area.
[0081] Exemplarily, the editing trigger operation for the first node may be a click operation. Different node types correspond to different information display templates, and the information display template is used to indicate the display method of the node plot information of the node. For example, display the program attribute information corresponding to the first node in the first area and display the action sequence information corresponding to the first node in the second area.
[0082] The program attribute information may include the program name (i.e., the name of the first node), a first setting item, and a second setting item. Among them, the first setting item is used to set whether operations are allowed during the performance (i.e., when performing the program). For example, it is set that the user is allowed to control the movement of the game object during the performance, or it is set that the user is not allowed to control the movement of the game object during the performance. The second setting item is used to set whether to stop other performances within the level during the performance (i.e., to set whether to stop other programs within the level during the performance), for example, it is set that when the current performance starts, other ongoing performances within the level are paused; or, it is set that when the current performance starts, other ongoing performances within the level are not paused, that is, it is allowed that the current performance and other ongoing performances within the level are performed synchronously. The action sequence information is used to represent the sequence of execution of each performance action in the program corresponding to this node, and it includes multiple action sequences.
[0083] In specific implementation, in response to an editing trigger operation for any first node, the program attribute information and the action sequence information of this first node can be obtained. Then, according to the information display template corresponding to the program type, the program attribute information corresponding to the first node is displayed in the first area, and the action sequence information corresponding to the first node is displayed in the second area.
[0084] As Figure 3 shown, it is a schematic diagram of displaying the node plot information of the first node in the plot information editing area provided by an embodiment of the present disclosure. Among them, a main process is displayed in the level process display area, and this main process includes two plot nodes. One is a plot node of the program type, which is plot node 1 named "Performance [The Soliloquy of the Brave]", and the other plot node is a plot node of the plot task type, named "Task [XXXXX]". After the user clicks on plot node 1 of the program type, the program attribute information of plot node 1 can be displayed in the first area of the plot information editing area, such as Figure 3 the text "The Soliloquy of the Brave" in the text box at the program name place in. The first setting item includes two buttons, namely "Prohibit operation" and "Free operation". Currently, it is indicated that the "Prohibit operation" button is triggered, that is, the user is not allowed to control the movement of the game object during the performance. The second setting item includes two buttons, namely "Yes" and "No". Currently, it is indicated that other programs within the level are stopped when performing the program. The action sequence information of plot node 1 is displayed in the second area of the plot information editing area. The action sequence information will be introduced in detail later. In addition, program editing indication information (i.e., Figure 3 the program editing title shown in the first area in) can also be displayed in the first area.
[0085] S103: In response to an editing operation for the program attribute information and / or the action sequence information, update the node plot information corresponding to the first node.
[0086] Exemplarily, the editing operation for the program attribute information can be an operation to modify the program attribute information. The editing operation for the action sequence information can be an operation to modify the action sequence information.
[0087] In specific implementation, in response to the modification operation for the program attribute information displayed in the plot information editing area, the input target program attribute information can be obtained, and / or, in response to the modification operation for the action sequence information displayed in the plot information editing area, the input target action sequence information can be obtained. Then, the node plot information of the first node can be updated by using the target program attribute information and / or the target action sequence information to obtain the updated node plot information. Then, when the first node is triggered during the game process, the game screen can be displayed according to the updated node plot information.
[0088] In this way, by using the way of displaying the process relationship between different plot nodes in the level process display area of the level editing page, it is convenient to intuitively obtain the connection between each plot node of the level in the level process display area. When the first node is triggered, through the information display template corresponding to the node type of the first node, the program attribute information and the action sequence information of the first node are displayed in the plot information editing area, realizing that each plot node of the level, the program attribute information and the action sequence information of the first node are all displayed on the same level editing page, improving the richness of the information displayed on the page. In this way, the user can both obtain the node plot information of the first node that needs to be edited and the plot node plot information on the page, improving the comprehensiveness of information acquisition. And, the user can freely edit the node plot information of the first node according to various information displayed on the page, such as adding events, tasks, etc., improving the convenience of editing the node plot information. Finally, by responding to the editing operation for the program attribute information and / or the action sequence information, the accurate update of the node plot information of the first node can be realized.
[0089] In one embodiment, when the first node of the program type is triggered, for the operation of editing the program attribute information in S103 above, it can be implemented according to the following steps:
[0090] In response to the editing operation for the program name in the program attribute information, the input target name is obtained, and the program name of the first node is updated by using the target name, and the node name information of the first node displayed in the level process display area is updated to the target name.
[0091] Here, in each first node displayed in the level process display area, the node name information of the first node can be included, where the node name information can be in the form of "node type + name indicated by the program attribute information".
[0092] Exemplarily, in response to the user clicking Figure 3 on the text box corresponding to the shown program name, the text box is placed in a modifiable state. After that, based on the user's editing operation on the text box, the input target name can be obtained. Then, this target name can be used as the program name of plot node 1, and the part related to the program name in the node name information of the first node displayed in the level process display area is updated to the target name. For example, when the target name is "The brave man is silent", Figure 3 the name of plot node 1 in
[0093] will be changed from "Performing [The self - talk of the brave man]" to "Performing [The brave man is silent]".
[0094] Here, the editing operation on the first setting item in the program attribute information is the click Figure 3 on the prohibit operation button in
[0095] or the operation of clicking the operation button. The first program attribute information is the attribute information in the program attribute information related to the program attribute of "whether operations are allowed during the performance". Figure 3 The first indication information is the information indicating whether operations are allowed during the performance. For example, when clicking the prohibit operation button in Figure 3 the first indication information is that operations are not allowed during the performance; when clicking the free operation button in
[0096] the first indication information is that operations are allowed during the performance. After obtaining the first indication information, this first indication information can be used as the first program attribute information of the first node.
[0097] and / or, in response to the editing operation on the second setting item in the program attribute information, determine the second indication information on whether to stop other programs in the level when triggering the program, and update the second program attribute information of the first node according to the second indication information. Figure 3 Here, the editing operation on the second setting item in the program attribute information is the operation of clicking the yes button or the no button in
[0098] The second indication information is the information indicating whether to stop other programs in the performance level when performing the program. For example, when clicking the yes button in Figure 3 the first indication information is that other programs in the performance level are stopped when performing the program; when clicking the no button in Figure 3When the No button in [is pressed], the first indication information is that other programs within the performance level will not stop during the performance. After obtaining the second indication information, the second indication information can be used as the second program attribute information of the first node.
[0099] It should be noted that when editing the program attribute information, at least one of the program name, the first setting item, and the second setting item in the program attribute information can be edited according to the above steps. Furthermore, based on the edited information, the node plot information of the first node of the program type can be updated.
[0100] In one embodiment, for the step of displaying the action sequence information corresponding to the first node in the second area of the plot information editing area, when the action sequence information indicates that the action sequence corresponding to the first node includes multiple ones, the sequence type and sequence parameters of each action sequence, as well as the hierarchical indication identifier corresponding to each action sequence, can be sequentially displayed in the second area; the hierarchical indication identifier includes a first indication identifier indicating that the corresponding action sequence is a multi-level action sequence and a second indication identifier indicating that the corresponding action sequence is a single-level action sequence; the first indication identifier corresponds to a collapsed state and an expanded state.
[0101] Here, the sequence type can include but is not limited to text dialogue type, variable setting type, text option type, exit type, and condition judgment type. The sequence parameter is the specific sequence information of the action sequence. For example, the sequence parameter corresponding to the action sequence of the text dialogue type is the specific text, and the sequence parameter corresponding to the action sequence of the variable setting type is the set variable, such as C = true.
[0102] For each action sequence, it can be a single-level action sequence or a multi-level action sequence. A multi-level action sequence means that this layer of action sequence includes multiple sequences with a hierarchical nesting relationship. For example, it can be a three-level action sequence including a parent sequence, a child sequence, and a grandchild sequence of the child sequence. When the action sequence is a multi-level action sequence, the first indication identifier is preferentially displayed in the collapsed state. When the user clicks it later, it can be changed to the display state, and each layer of the action sequence in the multi-level action sequence will be displayed.
[0103] Exemplarily, in Figure 3 there are 4 action sequences shown (i.e., action sequence 1 to action sequence 4). Among them, action sequence 3 is a multi-level action sequence, and its corresponding first indication identifier is in the collapsed state. The first indication identifier in the collapsed state can be in the shape of a side triangle as shown in Figure 3 Action sequences 1, 2, and 4 are all single-level action sequences, and their corresponding first indication identifiers can be in the shape of a circle as shown in Figure 3 shown.
[0104] Further, after presenting the action sequence, in response to a trigger operation on the first indication identifier in the retracted state, the state of the first indication identifier can be changed to the expanded state, and below the upper-layer action sequence information corresponding to the first indication identifier, the sequence type, sequence parameters, and hierarchical indication identifier of the lower-layer action sequence are presented.
[0105] Exemplarily, the trigger operation on the first indication identifier in the retracted state can be an operation of clicking on the first indication identifier. The lower-layer action sequence can be a single-layer action sequence or a new multi-layer action sequence. In the case where the lower-layer action sequence is a multi-layer action sequence, its corresponding indication identifier can be the first indication identifier. When presenting the hierarchical indication identifier corresponding to the lower-layer action sequence in the case where the lower-layer action sequence is a multi-layer action sequence, the hierarchical indication identifier can be in the retracted state, and each lower-layer action sequence of the lower-layer action sequence is not presented; alternatively, the hierarchical indication identifier can also be in the expanded state, and each lower-layer action sequence of the lower-layer action sequence is presented.
[0106] Exemplarily, in response to clicking Figure 3 on the first indication identifier corresponding to the shown action sequence 3 in the retracted state, subsequently, the state of the first indication identifier can be changed to the expanded state (i.e., from a side triangle to a downward triangle), and below the upper-layer action sequence 3, the sequence type, sequence parameters, and hierarchical indication identifier of each lower-layer action sequence (i.e., action sequence 5 and action sequence 6) are presented. As Figure 4 shown, it is a schematic diagram of presenting the lower-layer action sequence provided by an embodiment of the present disclosure. Among them, the lower-layer action sequence 5 is a multi-layer action sequence, and its corresponding hierarchical indication identifier is in the retracted state, and each lower-layer action sequence of the lower-layer action sequence 5 is not presented. If it is necessary to obtain each lower-layer action sequence of the lower-layer action sequence 5, then in response to the user clicking on the hierarchical indication identifier corresponding to the lower-layer action sequence 5 in the retracted state, each lower-layer action sequence of the lower-layer action sequence 5 is presented below the lower-layer action sequence 5.
[0107] Of course, for the hierarchical indication identifier in the expanded state, the user can hide each lower-layer action sequence corresponding to the hierarchical indication identifier in the expanded state by clicking on the hierarchical indication identifier in the expanded state, and at the same time, the hierarchical indication identifier will change from the expanded state to the retracted state.
[0108] In one embodiment, the background color of the action sequence information corresponding to the first indication identifier is related to the sequence level corresponding to the action sequence information.
[0109] Exemplarily, the background color of the action sequence information located higher in the hierarchy can be lighter or darker, and no specific limitation is made here.
[0110] Exemplarily, in the case where the lower action sequence of the lower action sequence 5 includes the single-layer action sequence 7, it can be known that the action sequence 3 is a three-layer action sequence, where the first layer is the action sequence 3, the second layer is the action sequences 5 and 6, and the third layer is the action sequence 7. Among them, the background color of the action sequence 3 is lighter than that of the action sequences 5 and 6, and the background color of the action sequences 5 and 6 is lighter than that of the action sequence 7, and the background colors of the action sequences 5 and 6 are the same.
[0111] In one embodiment, after the performance information is displayed in the second area, for the operation of editing the action sequence information, it can also be implemented according to the following steps:
[0112] S1031: Generate a first sequence pop-up window for the triggering operation of any action sequence in the second area; the sequence parameters and sequence attribute information of the action sequence are displayed in the first sequence pop-up window.
[0113] Here, the sequence attribute information may include information such as the font size, font type, font color, and sequence color of the text in the sequence.
[0114] Exemplarily, Figure 4 The shown action sequence 1 is an action sequence of the text object type. In response to the user clicking Figure 4 the operation of the shown action sequence 1, a first sequence pop-up window can be generated and displayed on the left side of the action sequence 1. Among them, the text information and sequence attribute information of the action sequence 1 are displayed in the first sequence pop-up window.
[0115] S1032: Obtain the new sequence data input in the first sequence pop-up window; the new sequence data includes new sequence parameters and / or new sequence attribute information.
[0116] Exemplarily, the new sequence parameters input by the user can be obtained in response to the user's input operation in the first sequence pop-up window, and the new sequence attribute information can be obtained in response to the user's modification operation on the sequence attribute information in the first sequence pop-up window.
[0117] S1033: In response to triggering the save button in the first sequence pop-up window, update the sequence data of the triggered action sequence according to the new sequence data.
[0118] Here, the first sequence pop-up window may also include a save button and a cancel button. The cancel button is used to cancel the display of the first sequence pop-up window and abandon the modification of the sequence parameters and / or sequence attribute information, and the save button is used to save the modification of the sequence parameters and / or sequence attribute information and cancel the display of the first sequence pop-up window.
[0119] Exemplarily, in response to the user clicking the save button in the first sequence pop-up window, the sequence data of the triggered action sequence 1 can be updated according to the obtained new sequence data. For example, according to the sequence attribute information, the sequence parameters of the action sequence 1 displayed in the second area can be modified to new sequence parameters.
[0120] Of course, in response to the user clicking the cancel button in the first sequence pop-up window, the display of the first sequence pop-up window can be cancelled and the modification of the sequence parameters and / or sequence attribute information can be abandoned.
[0121] In one embodiment, in addition to displaying the respective action sequences of the first node in the second area, a sequence creation button for creating a new action sequence can also be displayed. As Figure 4 shown, the sequence creation button can be located below the respective action sequences of the first node.
[0122] For the operation of editing the action sequence information in S103, it can also be implemented according to the following steps:
[0123] Step 1: In response to a trigger operation on the sequence creation button in the second area, a sequence creation pop-up window is generated; the first selection buttons of various sequence types are displayed in the sequence creation pop-up window.
[0124] Here, the trigger operation on the sequence creation button can be an operation of clicking the sequence creation button. The sequence creation pop-up window displays the first selection buttons and a cancel button corresponding to the respective sequence types. For example, the first selection buttons can be a text dialogue button corresponding to the text dialogue type, a variable setting button corresponding to the variable setting type, a text option button corresponding to the text option type, a performance exit button corresponding to the exit type, and a condition judgment button corresponding to the condition judgment type. The cancel button is used to cancel the sequence creation operation. Of course, the number of the first selection buttons is the same as the number of sequence types, and the sequence types can be set according to the actually edited plot-based game, and the embodiments of the present disclosure do not make specific limitations.
[0125] Exemplarily, in response to clicking Figure 4 the operation of the sequence creation button shown, a sequence creation pop-up window is generated, as Figure 5 shown, which is a schematic diagram of generating a sequence creation pop-up window provided by an embodiment of the present disclosure.
[0126] In one implementation manner, the user can also first select any one of the action sequences displayed in the second area, and then, in response to the operation of the user clicking the right mouse button, a sequence operation pop-up window can be generated on the right side of the action sequence. The sequence operation pop-up window can include an option to insert a new action sequence below and an option to delete the action sequence. Exemplarily, the user can first select Figure 3The action sequence 2 shown in the second region, then right-click the mouse. After that, in response to the operation of right-clicking the mouse, a sequence operation pop-up window can be generated on the right side of the action sequence 2. As Figure 6 shown, it is a schematic diagram of a sequence operation pop-up window provided by an embodiment of the present disclosure. After that, in response to the user's click on the operation of inserting a new action sequence option below, a sequence creation pop-up window can be generated. Among them, the action sequence 2 can be the action sequence to be inserted.
[0127] Step 2: In response to triggering any target first selection button of the sequence types displayed in the sequence creation pop-up window, generate a second sequence pop-up window that matches the target first selection button.
[0128] Here, the second sequence pop-up window is a pop-up window for creating an action sequence corresponding to the triggered sequence type. The second sequence pop-up window can be used to edit sequence parameters and sequence attribute information, and default sequence parameters and sequence attribute information can be displayed therein, or empty sequence parameters and sequence attribute information can be displayed.
[0129] Step 3: Generate a new action sequence according to the target sequence data input in the second sequence pop-up window and the sequence type corresponding to the target first selection button; the target sequence data includes the input sequence parameters and the set sequence attribute information.
[0130] Exemplarily, the sequence parameters input by the user in the second sequence pop-up window and the set sequence attribute information can be obtained. Then, according to the set sequence attribute information, a new action sequence can be generated based on the input sequence parameters and the triggered sequence type. For example, a new action sequence 8 of the text dialogue type is generated.
[0131] Step 4: Use the new action sequence to update the node plot information of the first node, and display the sequence type, the input sequence parameters, and the hierarchical indication identifier of the new action sequence in the second region.
[0132] In specific implementation, the new action sequence can be used as a newly added action sequence in the action sequence information corresponding to the node plot information of the first node. After that, the sequence type, the input sequence parameters, and the hierarchical indication identifier of the new action sequence can be displayed in the second region. Among them, the hierarchical indication identifier of the new action sequence can be the second indication identifier. The sequence type and the input sequence parameters of the new action sequence can be displayed according to the set sequence attribute information.
[0133] Exemplarily, after generating a new action sequence by clicking the Figure 3 shown sequence creation button, the new action sequence can be displayed below the Figure 3 shown action sequence 4.
[0134] Alternatively, if the user clicks on Figure 6 In the sequence operation pop-up window shown, an operation to insert a new action sequence option is performed to generate a sequence creation pop-up window. After generating a new action sequence, the new action sequence can be inserted below the action sequence to be inserted. Exemplarily, when the action sequence to be inserted is action sequence 2, the new action sequence can be inserted below action sequence 2.
[0135] In one embodiment, the operation of editing the action sequence information in S103 can also be implemented according to the following steps:
[0136] In response to a move operation on any action sequence in the second region, update the sequence sorting order and / or the hierarchical nesting relationship corresponding to the action sequence.
[0137] Here, the hierarchical nesting relationship is the hierarchical relationship between each action sequence. The sequence arrangement order is used to represent the position of each action sequence in the second region and the performance order of each action sequence during the game process. As Figure 3 Shown in action sequences 1 to 4, during the game process, after action sequence 1 finishes performing, action sequence 2 performs; after action sequence 2 finishes performing, action sequence 3 performs; after action sequence 3 finishes performing, action sequence 4 performs; after action sequence 4 finishes performing, it means that the entire program corresponding to the first node ends. The lower the value corresponding to the sequence arrangement order, the more forward the corresponding action sequence.
[0138] Next, taking Figure 4 as an example, this embodiment will be described in detail:
[0139] It is possible to respond to the user's operation of dragging the position of any action sequence. When dragging the action sequence, it is possible to display the action sequence on the right side of this position according to the dragging position. For example, when dragging Figure 4 action sequence 1 shown in, when dragged below action sequence 2, the corresponding real-time displayed action sequence 1 is as Figure 7 shown, where the dragging position indication arrow shows that the current moved position is below action sequence 2, and action sequence 1 is displayed in real time on the right side below action sequence 2.
[0140] In the case of determining the target position that needs to be moved, it is possible to determine whether the target position is the position corresponding to the lower-level action sequence. If so, the action sequence is taken as a lower-level action sequence, and the values corresponding to the sequence sorting orders of the other action sequences are each decreased by one; if not, the values corresponding to the sequence sorting orders of the action sequences located after the initial position of the action sequence and before the target position are decreased by one, and the values corresponding to the sequence sorting orders of the action sequences located after the target position remain unchanged, that is, the sequence arrangement order remains unchanged.
[0141] Exemplarily, in the case of moving the Figure 4 shown action sequence 1 to action sequence 5, action sequence 1 will be taken as a subsequence of action sequence 3. At the same time, the values corresponding to the sequence sorting orders of action sequences 2 and 3 are each decreased by one. If Figure 4 shown action sequence 1 is moved to the position below action sequence 2, the value corresponding to the sequence sorting order of action sequence 2 will change from 2 to 1, the value corresponding to the sorting order of action sequence 1 will change from 1 to 2, and the sequence sorting orders of action sequences 3 and 4 remain unchanged.
[0142] In one embodiment, in the case where the node type includes the plot task type, after the second node of the plot task type is displayed, it further includes:
[0143] In response to an editing operation on the second node, according to the information display template corresponding to the plot task type, task attribute information is displayed in the first area of the plot information editing area, and task parameter information is displayed in the second area of the plot information editing area.
[0144] Here, the node plot information of the second node may include task attribute information and task parameter information. The task attribute information may include information such as the task name and task gameplay. The task parameter information may be a specified entity, area, etc. that needs to be interacted with. The information display template corresponding to the plot task type is a template that indicates to display task attribute information in the first area and task parameter information in the second area.
[0145] Such as Figure 8 shown, it is a schematic diagram of displaying the node plot information of the second node in the plot information editing area provided by an embodiment of the present disclosure. Among them, the level process display area shows a main process and a side branch process. The main process includes two plot nodes. One is a plot node of the program type, which is plot node 1 named "Perform [The Brave's Soliloquy]", and the other plot node is a plot task type plot node, which is plot node 2 named "Task [XXXXX]". The side branch process (triggered by process 13) includes a plot task type plot node 3 named "Task [Talk to Xiaolan]". When the user clicks on Figure 8After the second node named "Task [Talk to Xiaolan]" in it, it is possible to Figure 8 The first area shown in Figure 8 displays the text box corresponding to the task name and the task gameplay. Among them, the text box corresponding to the task name displays the task name of "Talk to Xiaolan", and the task gameplay is to interact with the specified entity. At the same time, the parameter box corresponding to the specified entity can be displayed in the second area of the plot information editing area, and Xiaolan is displayed by default in this parameter box. At the same time, task editing instruction information (that is Figure 8 The task editing title shown in the first area in Figure 8 ) can also be displayed in the first area. The resource manager button in the level process display area can be used to manage each default created entity object and each custom entity object.
[0146] Furthermore, when the second node is triggered, it is also possible to update the node plot information of the second node in response to the editing operation on the task attribute information and / or task parameter information.
[0147] In one embodiment, for the operation of editing the task attribute information, in response to the triggering operation on the text box corresponding to the task name in the task attribute information, the input name to be updated can be obtained, and the task name of the second node can be updated using the name to be updated, and the node name of the second node displayed in the level process display area can be updated to the name to be updated.
[0148] Here, the triggering operation on the text box corresponding to the task name can be the operation of clicking the text box.
[0149] Exemplarily, in response to clicking Figure 8 the operation on the text box corresponding to the task name shown in Figure 8 , it can be determined that the text box is in a modifiable state. After that, the name to be updated input by the user can be obtained, such as "Talk to Xiaolan 3 times". After that, the content displayed in the text box corresponding to the task name in the first area will change from "Talk to Xiaolan" to "Talk to Xiaolan 3 times". At the same time, the node name of the second node displayed in the level process display area can be modified from "Task [Talk to Xiaolan]" to "Task [Talk to Xiaolan 3 times]".
[0150] Alternatively, in response to the triggering operation on the parameter box corresponding to the task attribute information, the target task parameter can be obtained, and the task parameter information of the second node can be updated using the target task parameter.
[0151] Here, the target task parameter can be input by the user or selected by the user from multiple created entity objects corresponding to the level.
[0152] Exemplarily, in response to clicking Figure 8The operation of the parameter box corresponding to the specified entity shown determines that the parameter box is in a modifiable state. After that, the target task parameters input by the user can be obtained, such as Entity A. After that, the content shown in the parameter box corresponding to the specified entity in the second area will change from "Xiaolan" to "Entity A". At the same time, the task parameter information of the second node can be updated using the target task parameters. For example, when the task parameter information changes, the task name in the first area can be adaptively modified. For example, the task name will change from "Talking to Xiaolan" to "Talking to Entity A". At the same time, the node name of the second node shown in the level process display area can be updated. For example, it is modified from "Task [Talking to Xiaolan]" to "Task [Talking to Entity A]".
[0153] Of course, the above-mentioned triggering operations for the text box corresponding to the task name and the parameter box corresponding to the task attribute information can be initiated by the user successively, so as to facilitate the user to freely update the node plot information of the second node.
[0154] In one embodiment, after the level editing page is displayed, a plot node can also be added to the established process of the level. Specifically, the plot node can be added according to the following steps:
[0155] S1: In response to the node addition operation for any established plot node, a generated node creation panel is displayed in the target area of the plot information editing area; the node creation panel displays a second selection button for creating new nodes of various node types.
[0156] Here, the established plot nodes are the various established nodes shown in the level process display area. The node types can include program type, plot task type, condition judgment type, and level exit type. The second selection buttons can include a new task button corresponding to the plot task type, a new program button corresponding to the program type, a new condition judgment button corresponding to the condition judgment type, and a new level exit button corresponding to the level exit type. The node addition operation for any established plot node can be an operation of clicking the node addition button shown in the level process display area, such as Figure 8 shown.
[0157] Exemplarily, in response to the click operation on the node addition button shown in Figure 8 shown, a generated node creation panel is displayed in the target area of the information editing area. As shown in Figure 9 shown, it is a schematic diagram of a node creation panel provided by an embodiment of the present disclosure.
[0158] S2: In response to triggering the second selection button related to the plot task type, a task gameplay selection panel is displayed in the target area.
[0159] Here, in the task play selection panel, there are third selection buttons respectively matching each sub-play type under various main play types shown. One main play type can include at least one sub-play type, where the main play type and sub-play type can be preset according to development needs. In addition, a back button can also be shown, which is used to return to the display node creation panel.
[0160] Exemplarily, taking the second selection button triggered and related to the plot task type as Figure 9 the new task button in the shown node creation panel, a task play selection panel as shown in Figure 10 can be generated. Among them, the shown main type of play can include pathfinding play, combat play, and puzzle-solving play. The sub-play types included in the pathfinding play are interaction type with a specified entity and walking to a specified area type. The sub-play types included in the combat play are chase battle type, stealth battle type, and hiding battle type. The sub-play types included in the puzzle-solving play are password lock type and answering questions type.
[0161] S3: In response to the trigger operation on the third selection button, display task editing instruction information and task attribute information in the first area of the plot information editing area, and display task parameter information in the second area of the plot information editing area.
[0162] Here, the third selection button can be any one of the second selection buttons. The task editing instruction information displayed in the first area is the Figure 8 task editing title shown in the first area in . The task play in the task attribute information shown in the first area can be determined according to the sub-play type corresponding to the third selection button. For example, when the sub-play type corresponding to the third selection button is the interaction type with a specified entity, the play in the task attribute information shown in the first area is the interaction with a specified entity. The text box corresponding to the task name in the task attribute information shown in the first area can be a default name (such as new node, allowing the user to modify), or it can be empty, allowing the user to input actively. The parameter box corresponding to the task parameter information displayed in the second area can be empty, allowing the user to input actively.
[0163] S4: Obtain the new node name input in the text box corresponding to the task name, and the new parameter information input in the parameter box corresponding to the task parameter information.
[0164] S5: According to the new node name and new parameter information, create a new node connected to the established plot node, and add the new node as a new established plot node to be displayed in the level process display area.
[0165] Exemplarily, in response to clicking on, such as Figure 8After the newly added node button is shown and the name of the newly created node and the information of the newly created parameters are obtained, a newly created node named "Task [New Node Name]" can be created according to the newly created node name and the plot task, and the newly created node can be used as a branch process to trigger a corresponding newly established plot node, and the newly established plot node can be a subsequent node. After that, the newly established plot node can be displayed in the level process display area.
[0166] In one embodiment, the level editing page further includes a rendering area and an entity display area; the rendering area is used to display the game screen of the plot-based game; the entity display area is used to display the names of various entity objects that match the level, and each entity object is located in the game screen. Figure 8 Among them, the entity display area may include an in-level entity display area, a global entity display area, an entity list selection button, and a trigger area selection button. Among them, the in-level entity display area is used to display the entity object names of each entity object in the currently triggered level, specifically including Entity A to Entity D and Xiaolan; the global entity display area is used to display the entity object names of entity objects that appear in each level corresponding to the plot-based game, specifically including Entity D and Entity F. Above the plot information editing area of the level editing page, there may also be an entity object setting area, where the global button is used to create global objects, and the in-level button is used to create in-level entity objects. The move button in the entity object setting area is used to move the entity object and the game screen, the rotation button is used to rotate the entity object and the game screen, and the zoom button is used to zoom the entity object and the game screen. The entity list selection button is used to control the display of the names of each entity object in the entity display area, and the trigger area selection button is used to control the display of each triggered game area in the entity display area.
[0167] After triggering the first node, the name of the target entity object associated with the first node in the entity display area can be prominently displayed, and the target entity object associated with the first node located in the rendering area can be prominently displayed.
[0168] Here, the prominent display can be bold display, highlight display, floating box, filling display, etc. The specific prominent display method is not specifically limited in the embodiments of the present disclosure.
[0169] Exemplarily, when Figure 8 selecting the first node named "Task [Talk to Xiaolan]" shown, it can be determined that the target entity object associated with the first node is Xiaolan, then the entity object name (Xiaolan) in the entity display area can be prominently displayed, and the target entity object (Xiaolan) can be prominently displayed in the rendering area. Figure 8In it, the entity object name box corresponding to the entity object name (Xiaolan) in the entity display area is filled and displayed, and the target entity object (Xiaolan) is prominently displayed in the rendering area.
[0170] In addition, for any entity object, there can be multiple triggers that can trigger the entity object. For example, it can be triggered by the main process trigger, the branch process trigger, and the self-set trigger. When there are multiple triggers that can be triggered, the priority of each trigger is that the main process trigger is greater than the branch process trigger is greater than the self-set trigger. In this way, the highest priority of the main process can be ensured.
[0171] Those skilled in the art can understand that in the above method of the specific implementation manner, the writing order of each step does not mean a strict execution order and does not constitute any limitation to the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0172] Based on the same inventive concept, the embodiments of the present disclosure also provide a game plot editing device corresponding to the game plot editing method. Since the principle of solving problems by the device in the embodiments of the present disclosure is similar to that of the game plot editing method in the embodiments of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be described again.
[0173] As Figure 11 shown, it is a schematic diagram of a game plot editing device provided by the embodiments of the present disclosure, including:
[0174] The first display module 1101 is used to display a level editing page in response to an editing trigger operation for any level of the plot-based game; the level editing page includes a plot information editing area and a level process display area; the level process display area is used to display the process relationship between different plot nodes in the level, and different levels respectively correspond to different plot nodes; the plot nodes include the first nodes of the program type;
[0175] The second display module 1102 is used to display the program attribute information corresponding to the first node in the first area of the plot information editing area and the action sequence information corresponding to the first node in the second area of the plot information editing area according to the information display template corresponding to the program type in response to an editing trigger operation for any one of the first nodes;
[0176] The update module 1103 is used to update the node plot information corresponding to the first node in response to an editing operation on the program attribute information and / or the action sequence information.
[0177] In a possible implementation, when the update module 1103 updates the node plot information corresponding to the first node in response to an editing operation on the program attribute information, it is used for:
[0178] In response to an editing operation on the program name in the program attribute information, obtain the input target name, use the target name to update the program name of the first node, and update the node name of the first node displayed in the level process display area to the target name; and / or,
[0179] In response to an editing operation on the first setting item in the program attribute information, determine the first indication information on whether operations are allowed during performance, and update the first program attribute information of the first node according to the first indication information; and / or,
[0180] In response to an editing operation on the second setting item in the program attribute information, determine the second indication information on whether to stop other programs in the level when triggering the program, and update the second program attribute information of the first node according to the second indication information.
[0181] In a possible implementation, when the second display module 1102 displays the action sequence information corresponding to the first node in the second area of the plot information editing area, it is used for:
[0182] Sequentially display the sequence type and sequence parameters of each action sequence, and the hierarchical indication identifier corresponding to each action sequence in the second area; the hierarchical indication identifier includes a first indication identifier indicating that the corresponding action sequence is a multi-level action sequence and a second indication identifier indicating that the corresponding action sequence is a single-level action sequence; the first indication identifier corresponds to a collapsed state and an expanded state;
[0183] And, after displaying the action sequence information corresponding to the first node in the second area of the plot information editing area, it is further used for:
[0184] In response to a trigger operation on the first indication identifier in the collapsed state, change the state of the first indication identifier to the expanded state, and display the sequence type, sequence parameters, and hierarchical indication identifier of the lower-level action sequence below the upper-level action sequence information corresponding to the first indication identifier.
[0185] In a possible implementation, the background color of the action sequence information corresponding to the first indication identifier is related to the sequence level corresponding to the action sequence information.
[0186] In a possible implementation, when the update module 1103 updates the node plot information corresponding to the first node in response to an editing operation on the action sequence information, it is used for:
[0187] In response to a trigger operation for any action sequence for the second region, generate a first sequence pop-up window; sequence parameters and sequence attribute information of the action sequence are displayed in the first sequence pop-up window;
[0188] Obtain new sequence data input in the first sequence pop-up window; the new sequence data includes new sequence parameters and / or new sequence attribute information;
[0189] In response to triggering the save button in the first sequence pop-up window, update the sequence data of the triggered action sequence according to the new sequence data.
[0190] In a possible implementation manner, when the update module 1103 updates the node plot information of the first node in response to an edit operation on the action sequence information, it is configured to:
[0191] In response to a trigger operation for a sequence creation button in the second region, generate a sequence creation pop-up window; a first selection button for each sequence type is displayed in the sequence creation pop-up window;
[0192] In response to triggering a target first selection button of any sequence type displayed in the sequence creation pop-up window, generate a second sequence pop-up window that matches the target first selection button;
[0193] Generate a new action sequence according to the target sequence data input in the second sequence pop-up window and the sequence type corresponding to the target first selection button; the target sequence data includes the input sequence parameters and the set sequence attribute information;
[0194] Use the new action sequence to update the node plot information of the first node, and display the sequence type, the input sequence parameters, and the hierarchy indication identifier of the new action sequence in the second region.
[0195] In a possible implementation manner, when the update module 1103 updates the node plot information of the first node in response to an edit operation on the action sequence information, it is configured to:
[0196] In response to a move operation on any action sequence in the second region, update the sequence sorting order and / or the hierarchical nesting relationship corresponding to the action sequence.
[0197] In a possible implementation manner, the plot node further includes a second node of the plot task type;
[0198] After displaying the level editing page, the second display module 1102 is further configured to:
[0199] In response to an editing operation on the second node, task attribute information is displayed in the first area of the plot information editing area according to an information display template corresponding to the plot task type, and task parameter information is displayed in the second area of the plot information editing area;
[0200] The update module 1103 is further configured to:
[0201] In response to an editing operation on the task attribute information and / or the task parameter information, update the node plot information of the second node.
[0202] In a possible implementation manner, when the update module 1103 updates the node plot information of the second node in response to an editing operation on the task attribute information, it is configured to:
[0203] In response to a trigger operation on the text box corresponding to the task name in the task attribute information, obtain the input name to be updated, and use the name to be updated to update the task name of the second node, and update the node name of the second node displayed in the level process display area to the name to be updated;
[0204] In response to a trigger operation on the parameter box corresponding to the task attribute information, obtain the input target task parameter, and use the target task parameter to update the task parameter information of the second node.
[0205] In a possible implementation manner, the device further includes;
[0206] A new creation module 1104, configured to, after the display level editing page is displayed, in response to a node addition operation on any established plot node, display a generated node new creation panel in the target area of the plot information editing area; the node new creation panel displays a second selection button for creating new nodes of various node types; the node types include program types and plot task types;
[0207] In response to triggering the second selection button related to the plot task type, display a task gameplay selection panel in the target area; the task gameplay selection panel displays third selection buttons respectively matched with each sub-gameplay type under various main gameplay types;
[0208] In response to a trigger operation on the third selection button, display task editing instruction information and task attribute information in the first area of the plot information editing area, and display task parameter information in the second area of the plot information editing area;
[0209] Obtain the new node name input in the text box corresponding to the task name, and the new parameter information input in the parameter box corresponding to the task parameter information;
[0210] Create a new node connected to the established plot node according to the newly created node name and the newly created parameter information, and add the new node as a new established plot node to be displayed in the level process display area.
[0211] In a possible implementation manner, the level editing page further includes a rendering area and an entity display area; the rendering area is used to display the game screen of the plot-based game; the entity display area is used to display the names of each entity object matching the level, and each entity object is located in the game screen;
[0212] The second display module 1102 is further configured to prominently display the name of the target entity object associated with the first node in the entity display area, and prominently display the target entity object associated with the first node located in the rendering area.
[0213] For the description of the processing flow of each module in the device and the interaction flow between each module, reference can be made to the relevant description in the above method embodiment, which will not be elaborated here.
[0214] Based on the same technical concept, an embodiment of the present application further provides a computer device. Refer to Figure 12 As shown, it is a schematic structural diagram of a computer device provided by an embodiment of the present application, including:
[0215] A processor 1201, a memory 1202, and a bus 1203. Among them, the memory 1202 stores machine-readable instructions executable by the processor 1201, and the processor 1201 is used to execute the machine-readable instructions stored in the memory 1202. When the machine-readable instructions are executed by the processor 1201, the processor 1201 performs the following steps: S101: In response to an editing trigger operation for any level of the plot-based game, display a level editing page; the level editing page includes a plot information editing area and a level process display area; the level process display area is used to display the process relationship between different plot nodes in the level, and different levels respectively correspond to different plot nodes; the plot nodes include a first node of the program type; S102: In response to an editing trigger operation for any first node, display the program attribute information corresponding to the first node in the first area of the plot information editing area according to the information display template corresponding to the program type, and display the action sequence information corresponding to the first node in the second area of the plot information editing area, and S103: In response to an editing operation on the program attribute information and / or the action sequence information, update the node plot information corresponding to the first node.
[0216] The above-mentioned memory 1202 includes an internal memory 1221 and an external memory 1222; the internal memory 1221 here is also called the main memory, which is used to temporarily store the operation data in the processor 1201 and the data exchanged with the external memory 1222 such as a hard disk. The processor 1201 exchanges data with the external memory 1222 through the internal memory 1221. When the computer device is running, the processor 1201 communicates with the memory 1202 through the bus 1203, so that the processor 1201 executes the execution instructions mentioned in the above method embodiments.
[0217] The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a processor, it executes the steps of the game plot editing method described in the above method embodiments. Among them, the storage medium may be a volatile or non-volatile computer-readable storage medium.
[0218] The computer program product of the game plot editing method provided by the embodiments of the present disclosure includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the steps of the game plot editing method described in the above method embodiments. For details, please refer to the above method embodiments and will not be elaborated here.
[0219] The computer program product can be specifically implemented in a manner of hardware, software, or a combination thereof. In an alternative embodiment, the computer program product is specifically embodied as a computer storage medium. In another alternative embodiment, the computer program product is specifically embodied as a software product, such as a Software Development Kit (SDK), etc.
[0220] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described device can refer to the corresponding process in the foregoing method embodiments and will not be elaborated here. In several embodiments provided by the present disclosure, it should be understood that the disclosed device and method can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined, or some features can be ignored, or not executed. Another point, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces. The indirect coupling or communication connection of the device or unit may be in an electrical, mechanical or other form.
[0221] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0222] In addition, in each embodiment of the present disclosure, each functional unit may be integrated in a processing unit, may exist separately as individual physical units, or two or more units may be integrated in one unit.
[0223] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure, in essence, or the part that contributes to the prior art or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0224] If the technical solution of this application involves personal information, before the product applying the technical solution of this application processes personal information, it has clearly informed the personal information processing rules and obtained the individual's independent consent. If the technical solution of this application involves sensitive personal information, before the product applying the technical solution of this application processes sensitive personal information, it has obtained the individual's separate consent and at the same time meets the requirement of "express consent". For example, at a personal information collection device such as a camera, a clear and prominent sign is set to inform that the personal information collection range has been entered and personal information will be collected. If an individual voluntarily enters the collection range, it is regarded as consenting to the collection of their personal information; or on the personal information processing device, when the personal information processing rules are informed by obvious signs / information, personal authorization is obtained through pop-up messages or by asking the individual to upload their personal information by themselves; among them, the personal information processing rules may include information such as the personal information processor, the purpose of personal information processing, the processing method, and the types of personal information processed.
[0225] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than limiting them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present disclosure can still modify the technical solutions recorded in the foregoing embodiments or can easily think of changes, or perform equivalent replacements on some of the technical features; 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 all be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. A game plot editing method, characterized in that, Including: In response to an editing trigger operation for any level of a plot-based game, a level editing page is displayed; the level editing page includes a plot information editing area and a level process display area; The level process display area is used to display the process relationship between different plot nodes in the level, and different levels respectively correspond to different plot nodes; the plot nodes include a first node of the program type; In response to an editing trigger operation for any of the first nodes, according to the information display template corresponding to the program type, the program attribute information corresponding to the first node is displayed in the first area of the plot information editing area, and the action sequence information corresponding to the first node is displayed in the second area of the plot information editing area; In response to an editing operation for the program attribute information and / or the action sequence information, the node plot information corresponding to the first node is updated.
2. The method according to claim 1, wherein In response to an editing operation for the program attribute information, updating the node plot information corresponding to the first node includes: In response to an editing operation for the program name in the program attribute information, obtaining the input target name, and using the target name to update the program name of the first node, and updating the node name of the first node displayed in the level process display area to the target name; and / or, In response to an editing operation for the first setting item in the program attribute information, determining the first indication information on whether an operation is allowed during performance, and updating the first program attribute information of the first node according to the first indication information; and / or, In response to an editing operation for the second setting item in the program attribute information, determining the second indication information on whether to stop other programs in the level when the program is triggered, and updating the second program attribute information of the first node according to the second indication information.
3. The method according to claim 1, wherein Displaying the action sequence information corresponding to the first node in the second area of the plot information editing area includes: Sequentially displaying the sequence type and sequence parameters of each action sequence, and the hierarchical indication identifier corresponding to each action sequence in the second area; the hierarchical indication identifier includes a first indication identifier indicating that the corresponding action sequence is a multi-level action sequence and a second indication identifier indicating that the corresponding action sequence is a single-level action sequence; the first indication identifier corresponds to a collapsed state and an expanded state; After displaying the action sequence information corresponding to the first node in the second area of the plot information editing area, it further includes: In response to a trigger operation for the first indication identifier in the collapsed state, changing the state of the first indication identifier to the expanded state, and displaying the sequence type, sequence parameters, and hierarchical indication identifier of the lower-level action sequence below the upper-level action sequence information corresponding to the first indication identifier.
4. The method according to claim 3, wherein The background color of the action sequence information corresponding to the first indication identifier is related to the sequence level corresponding to the action sequence information.
5. The method according to claim 1, characterized in that, In response to an editing operation for the action sequence information, updating the node plot information corresponding to the first node includes: In response to a trigger operation for any action sequence in the second region, generate a first sequence pop-up window; the sequence parameters and sequence attribute information of the action sequence are displayed in the first sequence pop-up window; Obtain new sequence data input in the first sequence pop-up window; the new sequence data includes new sequence parameters and / or new sequence attribute information; In response to triggering the save button in the first sequence pop-up window, update the sequence data of the triggered action sequence according to the new sequence data.
6. The method according to claim 1, characterized in that, In response to an edit operation on the action sequence information, update the node plot information of the first node, including: In response to a trigger operation for the sequence creation button in the second region, generate a sequence creation pop-up window; the first selection buttons for each sequence type are displayed in the sequence creation pop-up window; In response to triggering any target first selection button of the sequence types displayed in the sequence creation pop-up window, generate a second sequence pop-up window that matches the target first selection button; Generate a new action sequence according to the target sequence data input in the second sequence pop-up window and the sequence type corresponding to the target first selection button; the target sequence data includes the input sequence parameters and the set sequence attribute information; Use the new action sequence to update the node plot information of the first node, and display the sequence type, the input sequence parameters, and the hierarchical indication identifier of the new action sequence in the second region.
7. The method according to claim 1, wherein In response to an edit operation on the action sequence information, update the node plot information of the first node, including: In response to a move operation on any action sequence in the second region, update the sequence sorting order and / or the hierarchical nesting relationship corresponding to the action sequence.
8. The method according to claim 1, wherein The plot node further includes a second node of the plot task type; after the level editing page is displayed, it further includes: In response to an edit operation on the second node, display the task attribute information in the first region of the plot information editing area and display the task parameter information in the second region of the plot information editing area according to the information display template corresponding to the plot task type; In response to an edit operation on the task attribute information and / or the task parameter information, update the node plot information of the second node.
9. The method according to claim 8, characterized in that, In response to an edit operation on the task attribute information, update the node plot information of the second node, including: In response to a trigger operation on the text box corresponding to the task name in the task attribute information, obtain the input name to be updated, and use the name to be updated to update the task name of the second node and update the node name of the second node displayed in the level process display area to the name to be updated; In response to a trigger operation on the parameter box corresponding to the task attribute information, obtain the input target task parameter, and use the target task parameter to update the task parameter information of the second node.
10. The method according to claim 1, wherein After the level editing page is displayed, it further includes: In response to a node addition operation for any established plot node, a generated node creation panel is displayed in a target area of the plot information editing area; second selection buttons for creating new nodes of various node types are displayed in the node creation panel; the node types include program types and plot task types; In response to triggering a second selection button related to the plot task type, a task gameplay selection panel is displayed in the target area; third selection buttons respectively matching each sub-gameplay type under various main gameplay types are displayed in the task gameplay selection panel; In response to a triggering operation for a third selection button, task editing instruction information and task attribute information are displayed in a first area of the plot information editing area, and task parameter information is displayed in a second area of the plot information editing area; Obtain a new node name input in a text box corresponding to the task name and new parameter information input in a parameter box corresponding to the task parameter information; According to the new node name and the new parameter information, create a new node connected to the established plot node, and add and display the new node as a new established plot node in the level process display area.
11. The method according to claim 1, wherein The level editing page further includes a rendering area and an entity display area; the rendering area is used to display the game screen of the plot-based game; The entity display area is used to display the names of each entity object matching the level, and each entity object is located in the game screen; The method further includes: Highlight the name of the target entity object associated with the first node in the entity display area, and highlight the target entity object associated with the first node located in the rendering area.
12. A game plot editing device, characterized in that Including: A first display module, configured to display a level editing page in response to an editing trigger operation for any level of a plot-based game; the level editing page includes a plot information editing area and a level process display area; the level process display area is used to display the process relationship between different plot nodes in the level, and different levels respectively correspond to different plot nodes; the plot nodes include a first node of the program type; A second display module, configured to display the program attribute information corresponding to the first node in a first area of the plot information editing area and the action sequence information corresponding to the first node in a second area of the plot information editing area according to an information display template corresponding to the program type in response to an editing trigger operation for any of the first nodes; An update module, configured to update the node plot information corresponding to the first node in response to an editing operation for the program attribute information and / or the action sequence information.
13. A computer device, characterized in that, Including: A processor and a memory, the memory stores machine-readable instructions executable by the processor, the processor is configured to execute the machine-readable instructions stored in the memory, and when the machine-readable instructions are executed by the processor, the processor executes the steps of the game plot editing method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is run by a computer device, the computer device executes the steps of the game plot editing method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Game level processing method and apparatus
CN106582020A
Agile development method for editing of mobile game level
CN108704313A