Information processing method and device for game editing, program product and equipment

By displaying the graphical programming interface in the graphical user interface in the game editing stage and monitoring the changes in code combinations, the problem of difficult to reflect the execution of user editing information in game testing is solved, and editing efficiency and accuracy are improved.

CN119961132AActive Publication Date: 2025-05-09NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510032955.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-08
Publication Date
2025-05-09
Estimated Expiration
2045-01-08

Smart Images

  • Figure CN119961132A_ABST
    Figure CN119961132A_ABST
Patent Text Reader

Abstract

The invention provides an information processing method and device for game editing, a program product and equipment, and relates to the technical field of computers and games. The method comprises the following steps: in a game editing stage, displaying a graphical programming interface in a graphical user interface; wherein the graphical programming interface comprises a programming graph group consisting of one or more programming graphs; each programming graph corresponds to a section of code, and the programming graph group corresponds to a code combination formed by the codes corresponding to the one or more programming graphs; in response to a first preset instruction, determining to-be-monitored information from the related information of the programming graph group; in response to a second preset instruction, running the code combination; and displaying change process information of the to-be-monitored information in the running process of the code combination. According to the method and the device, the change process of the specified information in the code running process can be monitored, the execution state of the information edited by the user is clearly reflected, and the user can conveniently find the reason of the edition error.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer and game technology, and in particular to an information processing method for game editing, an information processing device for game editing, a computer program product, and an electronic device. Background Art

[0002] With the development of computer technology, user-oriented game editors have emerged, which support users to customize game play, game maps, etc. Generally, users can test the game after editing, such as playing it in the edited game map to test the editing effect.

[0003] In the related art, the game testing process is difficult to reflect the execution status of the user's editing information. If the user edits the wrong game information, such as writing the wrong game logic, it is difficult to find the cause of the error through game testing, thus affecting the editing effect and editing efficiency. Summary of the invention

[0004] The present disclosure provides an information processing method for game editing, an information processing device for game editing, a computer program product and an electronic device, so as to at least to some extent solve the problem that it is difficult to reflect user editing information in the game testing process.

[0005] According to a first aspect of the present disclosure, there is provided an information processing method for game editing, the method comprising: in a game editing stage, displaying a graphical programming interface in a graphical user interface; wherein the graphical programming interface comprises a programming graphic group consisting of one or more programming graphics; each programming graphic corresponds to a section of code, and the programming graphic group corresponds to a code combination formed by the codes corresponding to the one or more programming graphics; in response to a first preset instruction, determining information to be monitored from relevant information of the programming graphic group; in response to a second preset instruction, running the code combination; and displaying information on changes in the information to be monitored during the running of the code combination.

[0006] According to a second aspect of the present disclosure, there is provided an information processing device for game editing, the device comprising: a programming interface display module, configured to display a graphical programming interface in a graphical user interface during a game editing stage; wherein the graphical programming interface comprises a programming graphic group consisting of one or more programming graphics; each programming graphic corresponds to a section of code, and the programming graphic group corresponds to a code combination formed by the codes corresponding to the one or more programming graphics; a monitoring setting module, configured to determine information to be monitored from relevant information of the programming graphic group in response to a first preset instruction; a code running module, configured to run the code combination in response to a second preset instruction; and an information display module, configured to display information on the changing process of the information to be monitored during the running of the code combination.

[0007] According to a third aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the method of the first aspect and possible implementations thereof are implemented.

[0008] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the method of the above-mentioned first aspect and its possible implementation methods by executing the executable instructions.

[0009] The technical solution disclosed in this disclosure has the following beneficial effects:

[0010] The user can determine the information to be monitored from the relevant information of the programming graphic group through the first preset instruction. During the running process of the code combination, the information to be monitored is monitored and its change process information is displayed. This can more clearly reflect the execution status of the user's editing information. For example, by displaying the change process information of the variable, the execution status of the code for operations such as modifying the variable is reflected. The user can also verify whether the information to be monitored changes in the expected manner, which is conducive to the user finding the cause of the editing error. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A system architecture diagram in this exemplary embodiment is shown;

[0012] Figure 2 A flowchart showing an information processing method for game editing in this exemplary embodiment;

[0013] Figure 3A A schematic diagram showing a graphical programming interface in this exemplary embodiment;

[0014] Figure 3B A schematic diagram showing a variable list and controls in this exemplary embodiment;

[0015] Figure 4 A schematic diagram showing a monitoring identifier in this exemplary embodiment;

[0016] Figure 5 A schematic diagram showing an operation log in this exemplary embodiment;

[0017] Figure 6 A schematic diagram showing a positioning target programming graph in this exemplary embodiment;

[0018] Figure 7 A flowchart of generating a monitoring log and determining a corresponding programming graph in this exemplary embodiment is shown;

[0019] Figure 8 A schematic diagram showing the structure of an information processing device for game editing in this exemplary embodiment;

[0020] Fig. 9 A schematic structural diagram of an electronic device in this exemplary embodiment is shown. DETAILED DESCRIPTION

[0021] Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings.

[0022] The accompanying drawings are schematic diagrams of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the accompanying drawings may be functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. The embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein. The features, structures or characteristics described in the present disclosure may be combined in one or more embodiments in any suitable manner. In the description below, many specific details are provided to provide a full description of the embodiments of the present disclosure. However, those skilled in the art should appreciate that one or more specific details may be omitted when implementing the technical solution of the present disclosure, or one or more specific details may be replaced by other methods, components, devices, steps, etc.

[0023] In the related art, game testing is performed through trial play. During the game testing process, users can only see a small amount of information, which makes it difficult to reflect the execution of the user-edited information. In particular, some abstract information (such as variables) edited by users cannot be presented in a visual manner in the trial play scenario, and users cannot see the execution or changes of the abstract information. This is not conducive to analyzing the user-edited information, especially analyzing the causes of errors. For example, in the game logic such as gameplay, rules, and events edited by users, editing errors are prone to occur, such as conflicts between two game logics edited by users. It is difficult to intuitively reflect the causes of the errors in the above-mentioned game testing process. This affects the editing effect and editing efficiency.

[0024] In view of one or more of the above problems, exemplary embodiments of the present disclosure provide an information processing method for game editing.

[0025] Figure 1 The system architecture diagram of the operating environment of this exemplary embodiment is shown. The system architecture may include a terminal device 110 and a server 120. Among them, the terminal device 110 may be a mobile phone, a tablet computer, a personal computer, an intelligent wearable device, a game console, and the like. An application program, such as a game program, is installed on the terminal device 110. The terminal device 110 has a display function and can display a graphical user interface, which may include an operating system interface or an application program interface, and the like. The server 120 generally refers to a background system that provides a game or editing service in this exemplary embodiment, and may be a server or a cluster of multiple servers. In one embodiment, a game server program is deployed on the server 120 for executing game data processing on the server side. The terminal device 110 and the server 120 may be connected via a wired or wireless communication link to perform data transmission. The method in this exemplary embodiment may be executed by any one or more of the terminal device 110 and the server 120.

[0026] In one embodiment, the above method can be implemented and executed based on a cloud interactive system. The cloud interactive system can be the above system architecture. Various cloud applications can be run under the cloud interactive system, such as cloud games. Taking cloud games as an example, cloud games refer to a game method based on cloud computing. In the operation mode of cloud games, the operation subject of the game program and the game screen presentation subject are separated, the storage and operation of the control and interaction methods in the game are completed on the cloud game server (such as the above server 120), and the cloud game client (such as the above terminal device 110) is used for receiving and sending data and presenting the game screen. For example, the cloud game client can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; and the cloud game server in the cloud performs information processing. When playing games or editing games, the user operates the cloud game client to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the cloud game client through the network. Finally, the cloud game client decodes and outputs the game screen.

[0027] In one embodiment, the game map (or scene) edited by the terminal device 110 can be uploaded to the server 120 for storage. For example, the currently edited game map can be automatically saved at regular intervals during the editing process, or the currently edited game map can be saved according to a manual save operation performed by the user, or the currently edited game map can be automatically saved when exiting the editing. When saving the game map, the terminal device 110 can upload the game map data to the server 120, and the server 120 can save it.

[0028] In one embodiment, the server 120 may maintain a game map pool, such as deploying a database for storing game maps on the server side. In response to an instruction to publish a game map on the terminal device 110, the server 120 may add game map data to the game map pool, so that other players can download the game map data from the game map pool and use the game map to play the game. This enables a fast UGC (User Generated Content) function.

[0029] In one implementation, the above method can be implemented by the terminal device 110 without deploying the server 120. For example, in a stand-alone game or editing environment, a stand-alone application is installed on the terminal device 110 to execute the above method.

[0030] Figure 2 The schematic flow chart of the information processing method for game editing is shown, which may include the following steps S210 to S240:

[0031] Step S210, in the game editing stage, displaying a graphical programming interface in a graphical user interface; wherein the graphical programming interface includes a programming graphic group consisting of one or more programming graphics; each programming graphic corresponds to a section of code, and the programming graphic group corresponds to a code combination formed by the codes corresponding to the one or more programming graphics;

[0032] Step S220, in response to the first preset instruction, determining the information to be monitored from the relevant information of the programming graphic group;

[0033] Step S230, in response to the second preset instruction, running the code combination;

[0034] Step S240, displaying the change process information of the information to be monitored during the running process of the code combination.

[0035] based on Figure 2 According to the method shown, the user can determine the information to be monitored from the relevant information of the programming graphic group through the first preset instruction. During the operation of the code combination, the information to be monitored is monitored and its change process information is displayed. This can more clearly reflect the execution status of the user's editing information. For example, by displaying the change process information of the variable, the execution status of the code for operations such as modifying the variable is reflected. The user can also verify whether the information to be monitored changes in the expected manner, which is helpful for the user to find the cause of the editing error.

[0036] Below Figure 2 Provide detailed instructions for each step.

[0037] refer to Figure 2 In step S210, during the game editing stage, a graphical programming interface is displayed in a graphical user interface; wherein the graphical programming interface includes a programming graphic group consisting of one or more programming graphics; each programming graphic corresponds to a section of code, and the programming graphic group corresponds to a code combination formed by the codes corresponding to one or more programming graphics.

[0038] This exemplary embodiment divides the game process into at least two stages as follows: a game editing stage, which is the stage in which the user uses the editing function to edit the game map and other contents; and a game running stage, which is the stage in which the user plays the game and can use the content edited in the game editing stage to play, such as the user can play the game in the edited game map.

[0039] This exemplary embodiment provides editing functions through an application. The application may be a game program, which has an editing function. When the game program is running, the user can select a specific option to enter the editing interface and use the editing function. In another embodiment, the application may be an editing program, which is not a game program. It provides editing functions but cannot be used to play games. Exemplarily, the editing program may be an editing program that is compatible with the game program, which can be run separately outside the game program, or it may be an editing program independent of the game, which is universal for different games, such as DCC (Digital Content Creation) software, game engines, etc. When the editing program is running, the user can use the editing function.

[0040] The graphical programming interface is an interface for editing game logic through programming graphics. The graphical programming interface provides programming graphic controls, and the programming graphic controls are configured to generate corresponding programming graphics in the graphical programming interface in response to trigger instructions. Figure 3A Figure 1 shows a schematic diagram of the graphical programming interface. Figure 3A As shown, the graphical programming interface can provide corresponding programming graphic controls 301 according to different categories such as events, actions, controls, conditions, values, variables, etc., and each category can provide more subdivided programming graphic controls 301, such as providing programming graphic controls 301 for different events such as "game initialization", "game end", "timer expiration", "receiving custom events", "specified component is clicked" under the event category. The user can drag the programming graphic control 301 to the graphical programming interface, and the dragging operation generates a trigger instruction, and generates a programming graphic corresponding to the programming graphic control 301 in the graphical programming interface, such as the user drags the programming graphic control 301 of "game initialization" to the graphical programming interface, triggering the generation of the programming graphic of "game initialization". Of course, the trigger instruction can also be realized by other operation modes, such as clicking the programming graphic control 301, and then clicking a certain position in the graphical programming interface, triggering the generation of the corresponding programming graphic at that position.

[0041] Developers can configure corresponding codes for programming graphic controls in advance. For example, for event-type programming graphic controls, the code can be a statement describing the event, for action-type programming graphic controls, the code can be a command function, for condition-type programming graphic controls, the code can be a conditional statement, etc. In addition, visualization information can be configured in advance for programming graphic controls. The visualization information includes the shape and color of the programming graphics, as well as text, symbols, and other information used to describe the code logic. In this case, the programming graphics generated by the programming graphic controls have the visualization information of the programming graphic controls and the corresponding code configured by the programming graphic controls, which is convenient for users to edit.

[0042] Exemplarily, the programming graphic control and the programming graphic can be in the form of building blocks. Building blocks are physical objects that can be spliced ​​together. The programming graphic control and the programming graphic are represented in the form of building blocks, which is easy for users to understand. Different programming graphics can be spliced ​​together to form a programming graphic group.

[0043] Different types of programming graphics can have different shapes or colors. Users can combine programming graphics in the graphical programming interface. Programming graphics with matching shapes can be spliced ​​to ensure the rationality of the code sequence. Visual information such as text in the programming graphics makes it easier for users to understand the logic of the combined programming graphics. The program combines the codes corresponding to the programming graphics according to the combination of programming graphics to form a section of code that can implement the game logic. It can be seen that the graphical programming interface provides a graphical programming method. Users can edit the game logic through a visual graphic combination method. Users do not need to master professional computer programming knowledge, which greatly reduces the threshold and difficulty of programming.

[0044] Through the above method, the user can edit and generate one or more programming graphics in the graphical programming interface to form a programming graphic group, which corresponds to a code combination formed by the code corresponding to each programming graphic to achieve a more complete game logic.

[0045] In one embodiment, during the game editing stage, the game editing scene corresponding to the target game map can be displayed in the graphical user interface; in response to the programming trigger instruction in the game editing scene, a graphical programming interface is displayed. Among them, the target game map is the game map currently edited by the user, which can be any game map, such as a newly created game map, a game map preset in the program, or a game map previously edited by the user or edited by other users. The game editing scene is a scene formed by loading the target game map in the editing mode. In the game editing scene, the user can edit the scene components, scene environment, virtual characters and other contents. In the game editing scene, the user can enter the graphical programming interface through the programming trigger instruction, such as providing a graphical programming option in the relevant setting interface of the game editing scene, and the user clicks the option to trigger the display of the graphical programming interface. The game logic of the programming graphic group edited in the graphical programming interface can be effective for the target game map, that is, the code combination is executed in the game running scene corresponding to the target game map to realize the game logic of the programming graphic group. Of course, these game logics can also be reused to other game maps by sharing and other means.

[0046] Continue to refer Figure 2 In step S220, in response to the first preset instruction, the information to be monitored is determined from the relevant information of the programming graphic group.

[0047] Wherein, the relevant information of the programming graphics group may refer to the information used and the information affected during the operation of the code combination. For example, the code combination includes one or more variables, which refers to the variables involved in the operation of the code combination, and the relevant information of the programming graphics group may include these variables. Or, the relevant information of the programming graphics group may include the attributes of the game character involved in the programming graphics group (such as the game character mentioned in the statement of the programming graphics group). Or, the programming graphics group involves the control of the game interface, and the relevant information may include the information of the game interface, such as the position information, display information, etc. of the various elements in the game interface.

[0048] During the operation of the code combination, the above related information may change, and the user can select the information to be monitored according to their own needs to monitor the change process of the information during the operation of the code combination. Players can locate the stage where the change result that does not meet the user's expectations is produced by observing the results of the change of the information to be monitored during the game operation, and then determine the programming graphics that produce the change result. In this way, it is possible to more accurately locate the programming graphics or programming graphics group that do not meet expectations. The first preset instruction is an instruction for determining the information to be monitored. Exemplarily, the first preset instruction includes an information trigger instruction and a selection instruction in the related information. In response to the information trigger instruction, the relevant information of the programming graphics group can be displayed, such as displaying all or part of the relevant information in the information selection interface (part of the relevant information can be, for example, a certain type of information), and in response to the selection instruction in the related information, determine the information to be monitored.

[0049] In one embodiment, the code combination includes one or more variables. The information to be monitored includes the variables to be monitored. The above-mentioned determination of the information to be monitored from the relevant information of the programming graphic group in response to the first preset instruction may include the following steps:

[0050] In response to the first preset instruction, a variable to be monitored is determined from the one or more variables.

[0051] It should be understood that this exemplary embodiment supports using variables as monitoring objects to monitor the change process of variables. The change process of variables reflects the execution state of the code combination, that is, reflects the execution state of the programming graph group. By monitoring and recording the changes of variables, the monitoring, analysis and debugging of the code combination can be achieved.

[0052] The user can specify the variable to be monitored in the variables of the code combination. Exemplarily, a variable list in the code combination can be provided, and the first preset instruction can be an instruction to select in the variable list, and the variable selected by the user is used as the variable to be monitored.

[0053] In one embodiment, in response to the first preset instruction, determining the variable to be monitored from the one or more variables may include the following steps:

[0054] In response to an edit trigger instruction for a target variable among the one or more variables, providing a plurality of controls for the target variable, wherein the plurality of controls include a listening control;

[0055] In response to a trigger instruction for the monitoring control, the target variable is determined as the variable to be monitored.

[0056] Among them, the target variable can be any one or more variables in the code combination, and the edit trigger instruction is an instruction that triggers the start of editing the target variable. For example, the programming graphic group includes variable graphics corresponding to the above one or more variables, and the variable graphics are visual variables displayed in the graphical programming interface, such as variable blocks. The edit trigger instruction can be an operation instruction for the user to select the variable graphic corresponding to the target variable (such as clicking on the variable graphic), or a trigger instruction for the setting control of the target variable, or provide a list of variables in the code combination. The edit trigger instruction can be an operation instruction for the user to select the target variable in the variable list or click on the setting control of the target variable. In response to the edit trigger instruction, multiple controls for the target variable are provided, including a listening control. In response to the trigger instruction for the listening control, such as clicking on the listening control, the target variable is determined as a variable to be monitored.

[0057] In addition, the above-mentioned multiple controls may also include but are not limited to: a delete control for deleting a target variable; an edit control for editing the type, value (such as an initial value) and other information of the target variable; and a reference control for referencing the target variable.

[0058] Figure 3B A schematic diagram showing the variable list and controls is shown in Figure 3A Click the "Variable" control on the right to trigger the display Figure 3B The variable list may include all variables in the programming graphic group. When the setting control 302 of the target variable (such as the variable "integer 0") is clicked in the variable list, a control panel 303 for displaying the target variable is triggered, which includes multiple controls such as a delete control, an edit control, a reference control, and a monitoring control. If the user clicks the monitoring control, the target variable is triggered to be set as the variable to be monitored.

[0059] The variable graphics corresponding to the above one or more variables can be specifically set in the programming graphics of the programming graphics group. In general, a programming graphic with a variable graphic indicates the execution of instructions related to the corresponding variable. For example, if variable B is set in programming graphic A, it means that the code corresponding to programming graphic A includes instructions related to variable B, such as instructions for modifying variable B. Therefore, when a user sets a variable to be monitored, it is equivalent to setting the programming graphic where the variable graphics corresponding to the variable to be monitored are located to be monitored, and the change process information of the variable to be monitored can reflect the execution status of the code corresponding to these programming graphics. This realizes a very convenient monitoring setting operation, allowing users to make monitoring settings according to their own needs to meet the user's editing and testing needs.

[0060] In one embodiment, the information processing method may further include the following steps:

[0061] In response to the fourth preset instruction, a variable graph is created in the programming graph group, and a variable corresponding to the variable graph is generated in the code combination.

[0062] Among them, the fourth preset instruction is an instruction for creating a variable graphic in the programming graphic group. Exemplarily, the user can create a new variable and add it to the programming graphic group (such as dragging it into the programming graphic group) to form a new variable graphic in the programming graphic group, or add the created variable to the programming graphic group to create a corresponding variable graphic in the programming graphic group. Accordingly, in the code combination, the corresponding variable is generated according to the created variable graphic.

[0063] In one embodiment, in response to the fourth preset instruction, creating a variable graphic in the programming graphic group and generating a variable corresponding to the variable graphic in the code combination may include the following steps:

[0064] In response to the fourth preset instruction, a variable graph is created in a second programming graph in the programming graph group, and a variable corresponding to the variable graph is generated in a code corresponding to the second programming graph.

[0065] Among them, the second programming graph is the programming graph where the created variable graph is located, which can be any one or more programming graphs in the programming graph group. The user can add a variable graph to the specified programming graph in the programming graph group, such as dragging the variable graph to the specified programming graph, and the specified programming graph is the second programming graph. Exemplarily, the second programming graph includes one or more variable positions, and the variable position refers to the position where the variable graph can be added. According to the statement of the second programming graph, the variable needs to be set at the variable position to form a complete statement. The variable position can be empty initially, indicating that the variable graph has not been added, that is, the variable has not been set. The user can add a variable graph to the variable position by dragging (such as dragging the newly created variable graph to the variable position), clicking (such as clicking the variable position and selecting a variable in the variable list or selecting a new variable), etc., that is, the variable graph is created in the second programming graph. Correspondingly, the variable corresponding to the variable graph is generated in the code corresponding to the second programming graph. For example, the code corresponding to the second programming graph includes a function, and the variable corresponding to the variable graph can be added to the function.

[0066] Through the above method, the user can freely and flexibly create variable graphics in the programming graphic group to achieve the purpose of creating variables, thereby obtaining one or more variables in the code combination.

[0067] In one embodiment, the programming graph group includes variable graphs corresponding to one or more variables. The information processing method may further include the following steps:

[0068] A monitoring mark is displayed in the variable graph corresponding to the variable to be monitored, and / or the variable graph corresponding to the variable to be monitored is displayed with a third display parameter, wherein the third display parameter is different from the third display parameter of the variable graph corresponding to the non-monitored variable; the non-monitored variable is a variable other than the variable to be monitored in one or more variables.

[0069] The variables to be monitored are the variables that need to be monitored during the running process of the code combination, and the remaining variables are non-monitored variables and may not be monitored. In order to distinguish the two, a monitoring mark may be displayed in the variable graph corresponding to the variables to be monitored, and no monitoring mark may be displayed in the variable graph corresponding to the non-monitored variables. Figure 4A schematic diagram of setting the variable "integer 0" as a variable to be monitored is shown. Before setting, the variable is a non-monitoring variable, and its variable graph does not include a monitoring mark 401. After being set as a variable to be monitored, its variable graph includes a monitoring mark 401. Alternatively, the variable graph corresponding to the variable to be monitored can be displayed with a third display parameter, and the variable graph corresponding to the non-monitoring variable can be displayed with a fourth display parameter. The third display parameter and the fourth display parameter are different, such as different shapes, different colors, different sizes, etc., thereby distinguishing the variable to be monitored from the non-monitoring variable in terms of graphical appearance. In this way, the user can intuitively see which variables are the variables to be monitored in the programming graphic group, especially after setting the variables to be monitored, the programming graphics related to the variables to be monitored can be seen, usually the programming graphics to be monitored, so as to judge whether the current monitoring setting is appropriate. It is conducive to improving editing and testing efficiency.

[0070] It should be understood that the user can set multiple pieces of information to be monitored, such as selecting multiple variables from the one or more variables mentioned above as variables to be monitored.

[0071] Continue to refer Figure 2 In step S230, in response to the second preset instruction, the code combination is executed.

[0072] The second preset instruction may be an instruction for triggering a test or debugging code combination. In one embodiment, the second preset instruction may include at least one of the following:

[0073] Trial run instructions for programming graphic groups. For example, a trial run control or a test control can be set in the graphical programming interface, and the instruction triggered by the user is a trial run instruction, which triggers a trial run of the code combination corresponding to the current programming graphic group in the graphical programming interface.

[0074] Save instructions for programming graphic groups. For example, a save control can be set in the graphical programming interface, and the user triggers the control as a save instruction, or the save instruction is automatically triggered at a certain interval in the graphical programming interface, or the save instruction is triggered when exiting the graphical programming interface (such as returning to the game editing scene from the graphical programming interface). The save instruction is used to save the current programming graphic group in the graphical programming interface, which is equivalent to saving the code combination corresponding to the programming graphic group, so the code combination can be run to test whether there is an error in the code combination.

[0075] Test instructions for a game map configured with a programming graphic group. Among them, if you enter the graphical programming interface and edit the programming graphic group based on the game editing scene, it means editing and configuring the programming graphic group for the game map corresponding to the game editing scene (i.e., the above-mentioned target game map). If the game map is tested, the code combination corresponding to the programming graphic group can be run to test the operation of the code combination. Exemplarily, a test control (such as a trial control) can be set in the game editing scene, and the instruction for the user to trigger the control is a test instruction, or the test instruction is triggered when the user saves or uploads the editing information in the game editing scene, or the test instruction is automatically triggered at a certain interval in the game editing scene. In response to the test instruction, the code combination is run.

[0076] It should be understood that running the code combination is equivalent to executing the code in the code combination. The running process can be performed in the program background, or it can be presented in a visual way, such as presenting visual running information in the game test scene (i.e., trial play scene) corresponding to the game editing scene.

[0077] Continue to refer Figure 2 In step S240, the changing process information of the information to be monitored during the running process of the code combination is displayed.

[0078] The change process information of the information to be monitored includes the process of the information to be monitored changing from the initial state to the final state. If the information to be monitored changes multiple times during the operation of the code combination, the information of each change can be displayed. This makes it easier for users to understand the execution of the code combination through the change process information of the information to be monitored.

[0079] In one implementation, the running log of the code combination may be displayed during or after the running of the code combination, and the changing process information of the information to be monitored may be displayed in the running log.

[0080] In one embodiment, the information to be monitored includes the variable to be monitored. The change process information of the information to be monitored may include the monitoring log corresponding to the change of the variable to be monitored. Exemplarily, the monitoring log may include at least the following information: the variable name of the variable to be monitored, the variable value before the change, and the variable value after the change. In addition, it may also include the variable type of the variable to be monitored (such as the variable type is an integer, a floating point number, a vector, a Boolean value, etc., and the variable type can be represented by a variable type icon), the time of change or the corresponding code or programming graphic (the code or programming graphic that causes the variable to be monitored to change). If the variable to be monitored changes multiple times, the monitoring log corresponding to each change can be displayed.

[0081] In one implementation, the above-mentioned display of the change process information of the information to be monitored during the running process of the code combination may include the following steps:

[0082] The change process information of the monitored variable is displayed in the running log of the code combination; the change process information of the non-monitored variable is not displayed in the running log; the non-monitored variable is a variable other than the monitored variable in one or more variables.

[0083] Among them, the running log of the code combination can be automatically displayed during or after the running of the code combination, or in response to a log viewing instruction in a graphical programming interface, a game editing scene or a game testing scene, such as a user clicking a log viewing control instruction, the running log of the code combination can be displayed. Figure 5 A schematic diagram of the operation log is shown, which may include the change process information of the variable to be monitored, such as displaying the change process information of the variable to be monitored in the form of a monitoring log, which is convenient for users to view. In addition, the change process information of non-monitored variables is not displayed in the operation log. Therefore, this exemplary embodiment realizes user-customized control of the monitored content.

[0084] In one embodiment, the above-mentioned displaying of the change process information of the variable to be monitored during the running process of the code combination may include the following steps:

[0085] The monitoring log is displayed in the time sequence of each change of the variable to be monitored, and / or the monitoring log is displayed in the variable sequence of multiple variables to be monitored.

[0086] Exemplary, reference Figure 5 As shown, the sorting method can be set in the monitoring log, such as sorting by variables or sorting by time. If it is set to sort by time, the monitoring log is sorted according to the time sequence of each change of the variable to be monitored, such as the monitoring log can be sorted from bottom to top in the order of time from early to late, that is, the latest monitoring log is at the top. If there are multiple variables to be monitored, the monitoring logs of all the variables to be monitored can be sorted in the order of the time when the variables change. Such sorting is consistent with the execution order of the code, which is convenient for users to understand the whole process of the change of the variable to be monitored. If it is set to sort by variables, the monitoring log is sorted according to the variable order of different variables to be monitored (such as sorting according to the first character of the variable name), so that different variables to be monitored will be displayed separately, which is convenient for users to view the change process of a single variable to be monitored. In addition, in the monitoring log of each variable to be monitored, the monitoring log can be further sorted according to the time sequence of each change of the variable to be monitored. For example, all monitoring logs of variable A are arranged from bottom to top according to the time sequence of the change of variable A. In addition, in the method of sorting by variables, the monitoring log of each variable to be monitored can be formed into a log group, such as Figure 5As shown in the figure, the four monitoring logs of variable A are formed into a log group, which is displayed under the entry of variable A and can be collapsed or expanded for display. The monitoring logs of variable B are formed into a log group, and the monitoring logs of variable C are formed into a log group. This makes the arrangement of monitoring logs very orderly and convenient for users to view.

[0087] If the user changes the sorting method, such as changing the sorting by time to sorting by variables, the monitoring logs will be re-sorted according to the changed sorting method, and the running log interface will be refreshed to display the re-sorted monitoring logs.

[0088] In one embodiment, each change of each variable to be monitored corresponds to a monitoring log. The information processing method may also include at least one of the following steps:

[0089] Display the total number of monitoring logs;

[0090] Displays the number of monitoring logs for each monitored variable.

[0091] For example, refer to Figure 5 As shown in the figure, variable A has 4 monitoring logs in total. The number of monitoring logs of variable A can be displayed in the entry of variable A. Similarly, the number of monitoring logs of variable B can be displayed in the entry of variable B, and the number of monitoring logs of variable C can be displayed in the entry of variable C. In this way, the user can see the number of changes of each variable to be monitored at a glance. In addition, the total number of monitoring logs can be displayed in the monitoring log tab, that is, the sum of the number of monitoring logs of each variable to be monitored, that is, Figure 5 The "99" shown in the figure allows users to see the number of changes in all monitoring logs at a glance.

[0092] In one embodiment, reference Figure 5 As shown, considering the limited space of the running log interface, the monitoring log can be displayed after omitting some information. For example, if the monitoring log is too long, only one line of content is displayed. For the monitoring log selected by the user, it is displayed in full.

[0093] In one embodiment, the information processing method may further include the following steps:

[0094] In response to a jump instruction to a target monitoring log in a monitoring log, a target programming graphic corresponding to the target monitoring log is displayed using a first display parameter, and / or the target programming graphic is displayed at a specified position in a graphical programming interface; wherein the target programming graphic corresponds to a target code in a code combination, and the target code is used to cause changes in the variable to be monitored corresponding to the target monitoring log; and the first display parameter is different from a second display parameter of a programming graphic other than the target programming graphic.

[0095] The target monitoring log can be a monitoring log corresponding to one or more changes of the variable to be monitored. For example, the monitoring log of the variable to be monitored includes the monitoring log corresponding to each change. In each monitoring log, the value before and after the change of the variable to be monitored is shown. If the user has doubts about a certain change, the corresponding monitoring log can be selected and the jump instruction can be triggered. The monitoring log is the target monitoring log. The program can determine the corresponding target programming graph according to the target monitoring log, and the target programming graph is displayed or highlighted. The target code corresponding to the target programming graph causes the variable to be monitored to change in the target monitoring log. It can be understood that in response to the jump instruction for the target monitoring log, the target programming graph corresponding to the target monitoring log is located. In order to clearly present which programming graph in the programming graph group is the target programming graph, the target programming graph and other programming graphs can be displayed with different display parameters, wherein the target programming graph is displayed using the first display parameter, and other programming graphs are displayed with the second display parameter, and the first display parameter is different from the second display parameter, such as the shape, color, size, etc. of the two. For example, the target programming graph can be displayed as a highlighted state or a selected state (such as adding a glowing visual effect to the target programming graph, or adding a white or dark stroke effect, etc.), and other programming graphs can be displayed as normal states. Alternatively, the target programming graph can be displayed at a specified position in the graphical programming interface, such as the center position or the top position. This makes it easier for users to accurately locate the target programming graph, thereby matching the changes in the variables to be monitored with the programming graph, which is helpful for analyzing problems in the programming graph and finding the cause of the error.

[0096] In one implementation, the above-mentioned display of the change process information of the information to be monitored during the running process of the code combination may include the following steps:

[0097] Display the monitoring log in the running log of the code combination.

[0098] In response to the jump instruction for the target listening log in the listening log, displaying the target programming graphic corresponding to the target listening log using the first display parameter, and / or displaying the target programming graphic at a specified position in the graphical user interface, may include the following steps:

[0099] In response to a jump instruction for a target monitoring log in the monitoring log, jump from the running log to the graphical programming interface, and display the target programming graphic corresponding to the target monitoring log using the first display parameter, and / or display the target programming graphic at a specified position in the graphical programming interface.

[0100] The operation log can be displayed during or after the code combination is run. The log interface can be popped up in a window or other manner in a game editing scene, a game testing scene, or a graphical programming interface, and the operation log can be displayed in the log interface. In response to a jump instruction, the operation log can be jumped from the operation log to the graphical programming interface, and the target programming graphic corresponding to the target monitoring log can be located and displayed in the graphical programming interface. This makes it very convenient to implement interface jumps.

[0101] In one embodiment, in response to the jump instruction for the target listening log in the listening log, displaying the target programming graphic corresponding to the target listening log using the first display parameter, and / or displaying the target programming graphic at a specified position in the graphical programming interface, may include the following steps:

[0102] Provide jump controls;

[0103] In response to a trigger instruction for the jump control, a target programming graphic corresponding to the target monitoring log is displayed using a first display parameter, and / or the target programming graphic is displayed at a designated position in the graphical programming interface.

[0104] A corresponding jump control may be provided for each monitoring log, such as displaying a jump control on the right side of each monitoring log. Figure 5 As shown, in response to selecting a target listening log, a jump control corresponding to the target listening log is provided, and for an unselected listening log, the corresponding jump control is not displayed. In response to a trigger instruction for a jump control corresponding to a target listening log, such as a user clicking on the jump control corresponding to the target listening log, the target programming graphic is triggered to be displayed using the first display parameter, and / or the target programming graphic is displayed at a specified position in the graphical programming interface.

[0105] Alternatively, a jump control is provided for different monitoring logs (such as providing a unified jump control), and the user can trigger the jump control when the target monitoring log is selected, such as clicking the jump control when the target monitoring log is selected, or the user can trigger the jump control and then select the monitoring log, triggering the target programming graphic to be displayed using the first display parameter, and / or displaying the target programming graphic at a specified position in the graphical programming interface.

[0106] By using the jump control, you can easily jump to the target programming graph. In addition, you can change the target monitoring log to locate the target programming graph corresponding to the different target monitoring logs, to help achieve accurate code analysis.

[0107] Figure 6It shows that according to the target monitoring statement selected by the user, jump to the graphical programming interface and highlight the corresponding target programming graphic (i.e. Figure 6 Thus, the user can clearly and intuitively see the corresponding relationship between the change of the monitored variable and the programming graph, so as to understand and analyze the variable change process and find the cause of the error.

[0108] In one embodiment, reference Figure 7 As shown, the information processing method may further include the following steps S710 and S720:

[0109] Step S710: When the variable to be monitored is determined, a monitoring statement for monitoring the variable to be monitored is added to the code combination.

[0110] The monitoring statement is used to monitor the changes of the variable to be monitored, such as a monitoring function. Exemplarily, a first function for modifying the variable to be monitored can be determined in the code combination, and a monitoring statement for monitoring the variable to be monitored is added in the context of the first function.

[0111] In one implementation, the adding of a monitoring statement for monitoring the variable to be monitored in the code combination may include the following steps:

[0112] The first function for modifying the variable to be monitored in the code combination is replaced with the second function for modifying and monitoring the variable to be monitored.

[0113] Among them, the first function refers to a function that modifies the variable to be monitored. It should be understood that there may be multiple different functions that modify the variable to be monitored in the code combination, and these functions are all first functions. Since the first function will cause changes in the variable to be monitored, replacing the first function with a second function that can modify and monitor the variable to be monitored can achieve the original logic of modifying the variable and the purpose of monitoring. Moreover, modifying and monitoring the variable to be monitored in the second function belongs to monitoring within the function, which can improve the monitoring efficiency and the accuracy of monitoring. If there are multiple different first functions in the code combination, each first function can be replaced by the corresponding second function, and different first functions can correspond to different second functions.

[0114] In one embodiment, the above-mentioned addition of a monitoring statement for monitoring the variable to be monitored in the code combination may include the following steps: directly adding a corresponding monitoring statement on the basis of the first function. The first function refers to a function that modifies the variable to be monitored. It should be understood that there may be multiple different functions that modify the variable to be monitored in the code combination, and these functions are all the first function. Since the first function will cause changes in the variable to be monitored, a statement that can monitor the variable to be monitored is directly added on the basis of the first function, so that the updated first function can both change the variable and monitor the change of the variable, and the original logic of modifying the variable and the purpose of monitoring can be achieved.

[0115] In one implementation, a callback function for calling the first function can be added to the code combination, and the callback function can be regarded as a monitoring statement to achieve the purpose of monitoring. The callback function can call the execution state or result of the first function in the form of a parameter, so that when the first function modifies the variable to be monitored, the callback function monitors the information of modifying the variable to be monitored by calling the state parameter of the first function, thereby generating a monitoring log of the variable to be monitored.

[0116] In one embodiment, the programming graph group includes variable graphs corresponding to one or more variables. The information processing method may further include the following steps:

[0117] Determine a first programming graph in the programming graph group that includes a variable graph corresponding to the variable to be monitored;

[0118] A first function for modifying the variable to be monitored is determined according to the code corresponding to the first programming graphic.

[0119] For example, if the variable to be monitored is variable A, a programming graphic in the programming graphic group having a variable graphic corresponding to variable A can be used as the first programming graphic. The first programming graphic is a programming graphic related to the variable to be monitored, that is, the code corresponding to the first programming graphic is correlated with the variable to be monitored. Generally, the code corresponding to the first programming graphic may include a variable acquisition function for acquiring the variable to be monitored and a first function for modifying the variable to be monitored, wherein the variable acquisition function usually does not change the value of the variable, and therefore there is no need to monitor the variable acquisition function. Screening can be performed in the code corresponding to the first programming graphic to filter out the first function for modifying the variable to be monitored, and exclude the variable acquisition function and other code contents that will not modify the variable to be monitored.

[0120] Step S720: During the running process of the code combination, a monitoring log is obtained by executing the monitoring statement, and a programming graph corresponding to the monitoring log is determined.

[0121] By executing the monitoring statement, the modification information of the monitored variable can be monitored, such as the value before and after the modification, thereby forming a monitoring log. According to the position where the monitoring statement is added or replaced in the code combination, the programming graph corresponding to the code at the position is determined as the programming graph corresponding to the monitoring log.

[0122] In one implementation, the above-mentioned obtaining the monitoring log by executing the monitoring statement and determining the programming graph corresponding to the monitoring log may include the following steps:

[0123] In response to executing the monitoring statement, obtaining context information of the monitoring statement;

[0124] Search the context information of the monitoring statement for the modification information of the variable to be monitored, and generate a monitoring log according to the modification information;

[0125] The corresponding variable modification code is determined in the code combination according to the modification information, and based on the correspondence between the pre-recorded programming graphics and the code segments in the code combination, the programming graphic corresponding to the variable modification code is determined to be the programming graphic corresponding to the monitoring log.

[0126] The context information of the monitoring statement can be obtained from the stack, including function information for executing variable modification, variable information, etc. The modification information of the variable to be monitored can be found from the context information of the monitoring statement. In one embodiment, the above-mentioned searching for the modification information of the variable to be monitored in the context information of the monitoring statement can include the following steps:

[0127] The preset function name is searched in the context information of the monitoring statement, and the modification information of the variable to be monitored is obtained from the context information containing the preset function name.

[0128] The preset function name may be a function name used to modify the variable to be monitored. For example, during the execution of the second function, the function corresponding to the function name is called to perform variable modification. For example, in Python, the evaluate (or eval) function is usually used to execute string expressions to modify variables, and the preset function name may be "evaluate (or eval)". By searching for the preset function name in the context information, context information containing the preset function name may be found. The context information is information related to variable modification, and the modification information of the variable to be monitored may be obtained from it.

[0129] A monitoring log is generated according to the modification information of the variable to be monitored. Furthermore, the corresponding variable modification code can be determined in the code combination according to the modification information, that is, which section of code in the code combination causes the modification of the variable to be monitored. When the user edits the programming graphic group and generates the code combination, the correspondence between each programming graphic and each section of code in the code combination can be recorded and the correspondence can be saved. Based on the correspondence, the programming graphic corresponding to the variable modification code can be found, that is, the programming graphic corresponding to the monitoring log. Thus, the correspondence between each monitoring log and the programming graphic is obtained, which is convenient for locating the corresponding target programming graphic according to the target monitoring log specified by the user.

[0130] In one implementation, when the variable to be monitored is determined, adding a monitoring statement for monitoring the variable to be monitored in the code combination may include the following steps:

[0131] When the variable to be monitored is determined, in response to the second preset instruction, a monitoring statement for monitoring the variable to be monitored is added to the code combination.

[0132] Among them, adding a monitoring statement in the code combination is to modify the code combination for the purpose of monitoring, which will increase the running overhead of the code combination or produce other effects. In response to the second preset instruction, it is indicated that the code combination needs to be tested at this time. In this case, a monitoring statement is added, such as replacing the first function with the second function, so that the impact of adding the monitoring statement is limited to the test run process of the code combination.

[0133] In one embodiment, the information processing method may further include the following steps:

[0134] In response to the third preset instruction, the code combination before adding the monitoring statement is restored.

[0135] Among them, adding a monitoring statement in the code combination is an operation performed during the trial operation or test of the code combination to achieve monitoring, so that users can view test information. However, there is no need to set a monitoring statement in the code combination in a normalized manner. For example, there is no need to monitor the monitoring information during the game operation. It can be set to restore the code combination before adding the monitoring statement in response to the third preset instruction. Avoid executing the monitoring statement when monitoring is not required, and the increase in overhead will have other effects.

[0136] Exemplarily, the third preset instruction may include at least one of the following:

[0137] Cancel the instruction of the variable to be monitored. If the user cancels the set variable to be monitored and changes the variable to be monitored to a non-monitored variable, then the variable to be monitored is not set in the code combination, indicating that monitoring information is not required, that is, the monitoring statement does not need to be executed, and the code combination before adding the monitoring statement can be restored.

[0138] Upload instruction for a game map configured with a programming graphic group; the upload instruction is used to upload the map data of the game map to the server, and the map data includes the code combination before adding the monitoring statement. Among them, the game map configured with the programming graphic group can be the above-mentioned target game map. The map data uploaded according to the upload instruction can be used for other users to download and play the game. Therefore, the map data can include a code combination without monitoring statements, that is, there is no need to execute monitoring statements during the game process, reducing overhead.

[0139] The exemplary embodiment of the present disclosure also provides an information processing device for game editing. Figure 8 As shown, the information processing device 800 may include the following program modules:

[0140] The programming interface display module 810 is configured to display a graphical programming interface in a graphical user interface during the game editing phase; wherein the graphical programming interface includes a programming graphic group consisting of one or more programming graphics; each programming graphic corresponds to a section of code, and the programming graphic group corresponds to a code combination formed by the codes corresponding to the one or more programming graphics;

[0141] A monitoring setting module 820 is configured to determine the information to be monitored from the relevant information of the programming graphic group in response to the first preset instruction;

[0142] The code execution module 830 is configured to execute the code combination in response to a second preset instruction;

[0143] The information display module 840 is configured to display the change process information of the information to be monitored during the operation of the code combination.

[0144] In one embodiment, the code combination includes one or more variables; the information to be monitored includes the variables to be monitored; and determining the information to be monitored from the relevant information of the programming graphic group in response to the first preset instruction includes: determining the variable to be monitored from the one or more variables in response to the first preset instruction.

[0145] In one embodiment, the change process information of the variable to be monitored includes a monitoring log corresponding to the change of the variable to be monitored. In one embodiment, the monitoring log includes at least the following information: the variable name of the variable to be monitored, the variable value before the change, and the variable value after the change.

[0146] In one embodiment, the information processing device 800 is also configured to: in response to a jump instruction for a target monitoring log in the monitoring log, display a target programming graphic corresponding to the target monitoring log using a first display parameter, and / or display the target programming graphic at a specified position in the graphical programming interface; wherein the target programming graphic corresponds to a target code in the code combination, and the target code is used to cause the variable to be monitored to undergo changes corresponding to the target monitoring log; and the first display parameter is different from a second display parameter of a programming graphic other than the target programming graphic.

[0147] In one embodiment, the display of the change process information of the information to be monitored during the operation of the code combination includes: displaying the monitoring log in the operation log of the code combination; responding to the jump instruction for the target monitoring log in the monitoring log, displaying the target programming graphic corresponding to the target monitoring log using the first display parameter, and / or displaying the target programming graphic at a specified position in the graphical user interface, includes: responding to the jump instruction for the target monitoring log in the monitoring log, jumping from the operation log to the graphical programming interface, and displaying the target programming graphic corresponding to the target monitoring log using the first display parameter, and / or displaying the target programming graphic at a specified position in the graphical programming interface.

[0148] In one embodiment, in response to a jump instruction for a target listening log in the listening log, displaying a target programming graphic corresponding to the target listening log using a first display parameter, and / or displaying the target programming graphic at a specified position in the graphical programming interface, includes: providing a jump control; in response to a trigger instruction for the jump control, displaying a target programming graphic corresponding to the target listening log using a first display parameter, and / or displaying the target programming graphic at a specified position in the graphical programming interface.

[0149] In one embodiment, the information processing device 800 is also configured to: when determining the variable to be monitored, add a monitoring statement for monitoring the variable to be monitored in the code combination; during the running process of the code combination, obtain the monitoring log by executing the monitoring statement, and determine the programming graph corresponding to the monitoring log.

[0150] In one implementation, adding a monitoring statement for monitoring the variable to be monitored in the code combination includes: replacing a first function for modifying the variable to be monitored in the code combination with a second function for modifying and monitoring the variable to be monitored.

[0151] In one embodiment, the programming graphic group includes variable graphics corresponding to the one or more variables; the information processing device 800 is also configured to: determine a first programming graphic in the programming graphic group that includes a variable graphic corresponding to the variable to be monitored; and determine a first function for modifying the variable to be monitored based on a code corresponding to the first programming graphic.

[0152] In one embodiment, the monitoring log is obtained by executing the monitoring statement, and the programming graph corresponding to the monitoring log is determined, including: in response to the execution of the monitoring statement, the context information of the monitoring statement is obtained; in the context information of the monitoring statement, modification information of the variable to be monitored is searched, and the monitoring log is generated according to the modification information; according to the modification information, a corresponding variable modification code is determined in the code combination, and based on the correspondence between each of the pre-recorded programming graphs and each code segment in the code combination, the programming graph corresponding to the variable modification code is determined to be the programming graph corresponding to the monitoring log.

[0153] In one embodiment, searching for modification information of the variable to be monitored in the context information of the monitoring statement includes: searching for a preset function name in the context information of the monitoring statement, and obtaining modification information of the variable to be monitored from the context information containing the preset function name.

[0154] In one embodiment, when the variable to be monitored is determined, adding a monitoring statement for monitoring the variable to be monitored in the code combination includes: when the variable to be monitored is determined, in response to the second preset instruction, adding a monitoring statement for monitoring the variable to be monitored in the code combination.

[0155] In one implementation, the information processing device 800 is further configured to: in response to a third preset instruction, restore the code combination before adding the monitoring statement.

[0156] In one embodiment, the third preset instruction includes at least one of the following: an instruction to cancel the variable to be monitored; an upload instruction for a game map configured with the programming graphics group; the upload instruction is used to upload map data of the game map to a server, and the map data includes a code combination before adding the monitoring statement.

[0157] In one embodiment, the display of the change process information of the variable to be monitored during the execution of the code combination includes: displaying the monitoring log in the time sequence of each change of the variable to be monitored, and / or displaying the monitoring log in the variable order of multiple variables to be monitored.

[0158] In one embodiment, each change of each of the variables to be monitored corresponds to a monitoring log; the information processing device 800 is also configured to perform at least one of the following steps: display the total number of the monitoring logs; display the number of monitoring logs for each of the variables to be monitored.

[0159] In one embodiment, in response to a first preset instruction, determining a variable to be monitored from the one or more variables includes: in response to an edit trigger instruction for a target variable among the one or more variables, providing multiple controls for the target variable, the multiple controls including a monitoring control; in response to a trigger instruction for the monitoring control, determining the target variable as the variable to be monitored.

[0160] In one embodiment, the information processing device 800 is further configured to: create a variable graphic in the programming graphic group in response to a fourth preset instruction, and generate a variable corresponding to the variable graphic in the code combination.

[0161] In one embodiment, in response to a fourth preset instruction, creating a variable graphic in the programming graphic group, and generating variables corresponding to the variable graphic in the code combination, includes: in response to a fourth preset instruction, creating a variable graphic in the second programming graphic in the programming graphic group, and generating variables corresponding to the variable graphic in the code corresponding to the second programming graphic.

[0162] In one embodiment, the display of the change process information of the information to be monitored during the operation of the code combination includes: displaying the change process information of the variable to be monitored in the operation log of the code combination; not displaying the change process information of non-monitored variables in the operation log; the non-monitored variable is a variable among the one or more variables other than the variable to be monitored.

[0163] In one embodiment, the programming graphic group includes variable graphics corresponding to the one or more variables; the information processing device 800 is also configured to: display a monitoring logo in the variable graphic corresponding to the variable to be monitored, and / or display the variable graphic corresponding to the variable to be monitored with a third display parameter, and the third display parameter is different from the third display parameter of the variable graphic corresponding to the non-monitoring variable; the non-monitoring variable is a variable among the one or more variables other than the variable to be monitored.

[0164] In one embodiment, the second preset instruction includes at least one of the following: a test run instruction for the programming graphic group; a save instruction for the programming graphic group; a test instruction for a game map configured with the programming graphic group.

[0165] The specific details of each part of the above-mentioned device have been described in detail in the implementation method of the method part. The undisclosed details can be found in the implementation method of the method part, so they will not be repeated here.

[0166] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0167] The exemplary embodiments of the present disclosure also provide a computer program product, which includes a computer program, and the computer program implements the above method when executed by a processor.

[0168] In one embodiment, the computer program product may be a tangible product containing a computer program, such as a computer-readable storage medium storing a computer program. The readable storage medium may be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory (Flash), mechanical hard disk (HDD), solid-state drive (SSD), and the like. Exemplarily, the computer program product may be implemented as a non-volatile storage medium storing a computer program, such as a read-only memory, a NAND flash memory, and the like.

[0169] In one embodiment, the computer program product may be an intangible product including a computer program. Exemplarily, the computer program product may be implemented as a virtual digital product, such as a digital file storing an executable file, an installation package, etc. of the computer program.

[0170] The code of the computer program can be written in one or more programming languages. Programming languages ​​such as C language, Java, C++, etc. The program code can be executed entirely on the user computing device, or partially on the user computing device, or as a separate software package, or partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, such as a local area network (LAN), a wide area network (WAN), etc., or can be connected to an external computing device (e.g., an Internet connection provided by an operator).

[0171] The computer program can be carried or transmitted by electrical, magnetic, optical, electromagnetic, infrared and other signals. The electronic device can convert the signal carrying the computer program into a digital signal, and then run the computer program. When the computer program is running on the electronic device, its code is used to make the electronic device execute (more specifically, the processor of the electronic device can be executed) the method steps of various exemplary embodiments of the present disclosure, such as the above method can be executed, which includes the following steps: step S210, in the game editing stage, displaying a graphical programming interface in a graphical user interface; wherein the graphical programming interface includes a programming graphic group composed of one or more programming graphics; each programming graphic corresponds to a section of code, and the programming graphic group corresponds to a code combination formed by the code corresponding to one or more programming graphics; step S220, in response to the first preset instruction, determine the information to be monitored from the relevant information of the programming graphic group; step S230, in response to the second preset instruction, run the code combination; step S240, display the change process information of the information to be monitored during the operation of the code combination.

[0172] The above method steps are implemented through a computer program. The user can determine the information to be monitored from the relevant information of the programming graphic group through the first preset instruction. During the operation of the code combination, the information to be monitored is monitored and its change process information is displayed. This can more clearly reflect the execution status of the user's editing information. For example, by displaying the change process information of the variable, the execution status of the code for operations such as modifying the variable is reflected. The user can also verify whether the information to be monitored changes in the expected manner, which is helpful for the user to find the cause of the editing error.

[0173] The exemplary embodiments of the present disclosure also provide an electronic device. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as a computer program. The processor executes the method steps of various exemplary embodiments of the present disclosure by executing the executable instructions. In addition, the electronic device may also include a display for displaying a graphical user interface.

[0174] Reference below Fig. 9 , the electronic device is exemplarily described in the form of a general-purpose computing device. It should be understood that Fig. 9 The electronic device 900 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0175] like Fig. 9 As shown, the electronic device 900 may include: a processor 910 , a memory 920 , a bus 930 , an I / O (input / output) interface 940 , a network adapter 950 , and a display 960 .

[0176] The memory 920 may include a volatile memory, such as a RAM 921, a cache unit 922, and may also include a non-volatile memory, such as a ROM 923. The memory 920 may also include one or more program modules 924, such program modules 924 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or a combination thereof may include the implementation of a network environment. For example, the program module 924 may include each module in the above-mentioned device.

[0177] The processor 910 may include one or more processing units. For example, the processor 910 may include an AP (Application Processor), a modem processor, a GPU (Graphics Processing Unit), an ISP (Image Signal Processor), a controller, an encoder, a decoder, a DSP (Digital Signal Processor), a baseband processor and / or an NPU (Neural-Network Processing Unit) and other processing units.

[0178] The processor 910 can be used to execute executable instructions stored in the memory 920, such as the above method, which includes the following steps: step S210, in the game editing stage, displaying a graphical programming interface in the graphical user interface; wherein the graphical programming interface includes a programming graphic group composed of one or more programming graphics; each programming graphic corresponds to a section of code, and the programming graphic group corresponds to a code combination formed by the codes corresponding to one or more programming graphics; step S220, in response to a first preset instruction, determining the information to be monitored from the relevant information of the programming graphic group; step S230, in response to a second preset instruction, running the code combination; step S240, displaying the change process information of the information to be monitored during the running of the code combination.

[0179] By executing the above method steps through the processor 910, the user can determine the information to be monitored from the relevant information of the programming graphic group through the first preset instruction. During the operation of the code combination, the information to be monitored is monitored and its change process information is displayed. This can more clearly reflect the execution status of the user's editing information. For example, by displaying the change process information of the variable, the execution status of the code for operations such as modifying the variable is reflected. The user can also verify whether the information to be monitored changes in the expected manner, which is helpful for the user to find the cause of the editing error.

[0180] The bus 930 is used to realize the connection between different components of the electronic device 900, and may include a data bus, an address bus, and a control bus.

[0181] The electronic device 900 can communicate with one or more external devices 1000 (eg, a keyboard, a mouse, an external controller, etc.) through the I / O interface 940 .

[0182] The electronic device 900 can communicate with one or more networks through the network adapter 950. For example, the network adapter 950 can provide mobile communication solutions such as 3G / 4G / 5G, or provide wireless communication solutions such as wireless LAN, Bluetooth, near field communication, etc. The network adapter 950 can communicate with other modules of the electronic device 900 through the bus 930.

[0183] The electronic device 900 can display a graphical user interface through the display 960, such as displaying a game editing scene, a graphical programming interface, etc.

[0184] although Fig. 9 Not shown, other hardware and / or software modules may also be provided in the electronic device 900, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0185] As can be seen from the above, the technical solution of the present disclosure can be implemented as a method, an apparatus, a system, a computer program product, a storage medium, an electronic device, etc. Those skilled in the art can understand that various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software, such as being respectively referred to as a "circuit", "module" or "system".

[0186] It should be understood that the present disclosure is not limited to the specific method steps or structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from the scope thereof. Those skilled in the art will easily think of other embodiments based on the specific embodiments provided by the present disclosure. Therefore, the specific embodiments provided by the present disclosure are only exemplary, and the scope and spirit of the present disclosure are indicated by the claims, and any variations, uses or adaptive changes of the present disclosure should be covered, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the present disclosure.

Claims

1. An information processing method for game editing, characterized in that: The method comprises: In the game editing stage, a graphical programming interface is displayed in the graphical user interface; wherein the graphical programming interface includes a programming graphic group consisting of one or more programming graphics; each programming graphic corresponds to a section of code, and the programming graphic group corresponds to a code combination formed by the codes corresponding to the one or more programming graphics; In response to a first preset instruction, determining information to be monitored from relevant information of the programming graphic group; In response to a second preset instruction, executing the code combination; Display the change process information of the information to be monitored during the operation of the code combination.

2. The method according to claim 1, characterized in that The code combination includes one or more variables; the information to be monitored includes variables to be monitored; and the step of determining the information to be monitored from the relevant information of the programming graphic group in response to the first preset instruction includes: In response to a first preset instruction, the variable to be monitored is determined from the one or more variables.

3. The method according to claim 2, characterized in that The change process information of the variable to be monitored includes a monitoring log corresponding to the change of the variable to be monitored.

4. The method according to claim 3, characterized in that The monitoring log includes at least the following information: the variable name of the variable to be monitored, the variable value before the change, and the variable value after the change.

5. The method according to claim 3, characterized in that: The method further comprises: In response to a jump instruction for a target monitoring log in the monitoring log, a target programming graphic corresponding to the target monitoring log is displayed using a first display parameter, and / or the target programming graphic is displayed at a specified position in the graphical programming interface; wherein the target programming graphic corresponds to a target code in the code combination, and the target code is used to cause changes in the variable to be monitored corresponding to the target monitoring log; and the first display parameter is different from a second display parameter of a programming graphic other than the target programming graphic.

6. The method according to claim 5, characterized in that The information about the change process of the information to be monitored during the operation of the code combination is displayed, including: Displaying the monitoring log in the running log of the code combination; In response to a jump instruction for a target listening log in the listening log, displaying a target programming graphic corresponding to the target listening log using a first display parameter, and / or displaying the target programming graphic at a specified position in the graphical user interface, including: In response to a jump instruction for a target monitoring log in the monitoring log, jump from the running log to the graphical programming interface, and display the target programming graphic corresponding to the target monitoring log using a first display parameter, and / or display the target programming graphic at a specified position in the graphical programming interface.

7. The method according to claim 6, characterized in that In response to a jump instruction for a target listening log in the listening log, displaying a target programming graphic corresponding to the target listening log using a first display parameter, and / or displaying the target programming graphic at a specified position in the graphical programming interface, comprising: Provide jump controls; In response to a trigger instruction for the jump control, a target programming graphic corresponding to the target monitoring log is displayed using a first display parameter, and / or the target programming graphic is displayed at a designated position in the graphical programming interface.

8. The method according to claim 5, characterized in that The method further comprises: When the variable to be monitored is determined, a monitoring statement for monitoring the variable to be monitored is added to the code combination; During the running process of the code combination, the monitoring log is obtained by executing the monitoring statement, and the programming graph corresponding to the monitoring log is determined.

9. The method according to claim 8, characterized in that The adding of a monitoring statement for monitoring the variable to be monitored in the code combination includes: The first function in the code combination for modifying the variable to be monitored is replaced by a second function for modifying and monitoring the variable to be monitored.

10. The method according to claim 9, characterized in that The programming graph group includes variable graphs corresponding to the one or more variables; the method further includes: Determine a first programming graph in the programming graph group that includes a variable graph corresponding to the variable to be monitored; A first function for modifying the variable to be monitored is determined according to the code corresponding to the first programming graphic.

11. The method according to claim 8, characterized in that The step of obtaining the monitoring log by executing the monitoring statement and determining a programming graph corresponding to the monitoring log includes: In response to executing the monitoring statement, obtaining context information of the monitoring statement; Searching for modification information of the variable to be monitored in the context information of the monitoring statement, and generating the monitoring log according to the modification information; The corresponding variable modification code is determined in the code combination according to the modification information, and based on the correspondence between the pre-recorded programming graphics and the code segments in the code combination, the programming graphic corresponding to the variable modification code is determined to be the programming graphic corresponding to the monitoring log.

12. The method according to claim 11, characterized in that The searching the context information of the monitoring statement for the modification information of the variable to be monitored includes: The preset function name is searched in the context information of the monitoring statement, and the modification information of the variable to be monitored is obtained from the context information containing the preset function name.

13. The method according to claim 8, characterized in that In the case of determining the variable to be monitored, adding a monitoring statement for monitoring the variable to be monitored in the code combination includes: When the variable to be monitored is determined, in response to the second preset instruction, a monitoring statement for monitoring the variable to be monitored is added to the code combination.

14. The method according to claim 13, characterized in that The method further comprises: In response to the third preset instruction, the code combination before adding the monitoring statement is restored.

15. The method according to claim 14, characterized in that The third preset instruction includes at least one of the following: Cancel the instruction of the variable to be monitored; An upload instruction for a game map configured with the programming graphics group; the upload instruction is used to upload map data of the game map to a server, the map data including the code combination before adding the monitoring statement.

16. The method according to claim 4, characterized in that The display of the change process information of the variable to be monitored during the running process of the code combination includes: The monitoring log is displayed in the time sequence of each change of the variable to be monitored, and / or the monitoring log is displayed in the variable sequence of multiple variables to be monitored.

17. The method according to claim 4, characterized in that Each change of each of the variables to be monitored corresponds to a monitoring log; the method further includes at least one of the following steps: Display the total number of monitoring logs; The number of monitoring logs for each variable to be monitored is displayed.

18. The method according to claim 2, characterized in that The step of determining the variable to be monitored from the one or more variables in response to the first preset instruction includes: In response to an edit trigger instruction for a target variable among the one or more variables, providing a plurality of controls for the target variable, wherein the plurality of controls include a listening control; In response to a trigger instruction for the monitoring control, the target variable is determined as the variable to be monitored.

19. The method according to claim 2, characterized in that The method further comprises: In response to a fourth preset instruction, a variable graph is created in the programming graph group, and a variable corresponding to the variable graph is generated in the code combination.

20. The method according to claim 18, characterized in that In response to the fourth preset instruction, creating a variable graphic in the programming graphic group, and generating a variable corresponding to the variable graphic in the code combination, comprises: In response to a fourth preset instruction, a variable graphic is created in a second programming graphic in the programming graphic group, and a variable corresponding to the variable graphic is generated in a code corresponding to the second programming graphic.

21. The method according to claim 2, characterized in that The information about the change process of the information to be monitored during the operation of the code combination is displayed, including: The change process information of the variable to be monitored is displayed in the operation log of the code combination; the change process information of the non-monitored variable is not displayed in the operation log; the non-monitored variable is a variable other than the variable to be monitored in the one or more variables.

22. The method according to claim 2, characterized in that The programming graph group includes variable graphs corresponding to the one or more variables; the method further includes: A monitoring mark is displayed in the variable graph corresponding to the variable to be monitored, and / or the variable graph corresponding to the variable to be monitored is displayed with a third display parameter, wherein the third display parameter is different from the third display parameter of the variable graph corresponding to the non-monitoring variable; the non-monitoring variable is a variable among the one or more variables other than the variable to be monitored.

23. The method according to claim 1, characterized in that The second preset instruction includes at least one of the following: A test run instruction for the programming graphics group; A save instruction for the programming graphics group; Testing instructions for a game map configured with the programming graphics group.

24. An information processing device for game editing, characterized in that: The device comprises: A programming interface display module is configured to display a graphical programming interface in a graphical user interface during a game editing phase; wherein the graphical programming interface includes a programming graphic group consisting of one or more programming graphics; each programming graphic corresponds to a section of code, and the programming graphic group corresponds to a code combination formed by the codes corresponding to the one or more programming graphics; A monitoring setting module, configured to determine the information to be monitored from the relevant information of the programming graphic group in response to a first preset instruction; A code execution module, configured to execute the code combination in response to a second preset instruction; The information display module is configured to display the change process information of the information to be monitored during the operation of the code combination.

25. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 23 is implemented.

26. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 23 by executing the executable instructions.

Citation Information

Patent Citations

  • Form customization service realization method, form generation method, form customization service realization device and form generation system

    CN111427559A

  • Abnormality detection method and device and electronic equipment

    CN118079372A

  • Programming building block detection method and related device

    CN119088375A

  • Transitory salient attention capture to draw attention to digital document parts

    US20220284071A1