Graph programming processing method and device, program product and electronic equipment

By splicing and editing programming building blocks in the graphical user interface, the problem of fixed control parameters of programming building blocks in the prior art is solved, and higher editing freedom and work richness are achieved.

CN119002895APending Publication Date: 2024-11-22NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411294705.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the prior art, when users build programming building blocks through sub-building block nesting, the control parameters of a single programming building block are fixed and cannot be customized editing, resulting in low freedom of building block editing, insufficient works produced and low upper limit.

Method used

Display the graphical programming interface in the graphical user interface, generate building block combinations by splicing programming blocks, and respond to the user's parameter editing operation of the target programming blocks, flexibly adjust its control parameters to generate more complex game instructions.

Benefits of technology

It reduces the difficulty of game programming, enables users to participate in game creation more easily, and improves the richness and limit of works.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002895A_ABST
    Figure CN119002895A_ABST
Patent Text Reader

Abstract

The invention provides a graphic programming processing method and device, a computer program product and electronic equipment, and relates to the technical field of computers. The graphic programming processing method comprises the following steps: displaying a graphic programming interface in a graphic user interface, wherein one or more programming building blocks are added in the graphic programming interface; the one or more programming building blocks generate a building block combination in a splicing mode, and the building block combination is used for generating a game instruction executed in the game running process; in response to a parameter editing operation for the target programming building block, editing control parameters of the target programming building block, so that the target programming building block generates a building block combination based on the edited control parameters; wherein the target programming building block is a component in one or more programming building blocks. According to the method and the device, the user can flexibly edit the parameters of the programming building blocks, so that the richness and the upper limit of produced works are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In some games, in order to allow users to participate more deeply in the creation of the game, users are allowed to customize map logic, character actions, etc. through graphic programming.

[0003] In the related art, users usually construct programming blocks with complex logic by nesting sub-blocks. The control parameters of a single programming block are fixed, and users cannot perform custom editing. The block editing freedom is low, resulting in insufficient output and a low upper limit.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The present disclosure provides a graphic programming processing method, a graphic programming processing device, a computer program product and an electronic device, so as to at least to some extent solve the problems in the related art that the editing freedom of building blocks is low, resulting in insufficient output of works and a low upper limit.

[0006] According to a first aspect of the present disclosure, a graphical programming processing method is provided, the method comprising: displaying a graphical programming interface in a graphical user interface, wherein one or more programming building blocks are added to the graphical programming interface; the one or more programming building blocks are connected to generate a building block combination, wherein the building block combination is used to generate a game instruction executed during game operation; in response to a parameter editing operation on a target programming building block, a control parameter of the target programming building block is edited so that the target programming building block generates a building block combination based on the edited control parameter; wherein the target programming building block is a building block among the one or more programming building blocks.

[0007] According to a second aspect of the present disclosure, a graphical programming processing device is provided, the device comprising: a programming interface display module, for displaying a graphical programming interface in a graphical user interface, wherein one or more programming building blocks are added to the graphical programming interface; the one or more programming building blocks are connected to generate a building block combination, and the building block combination is used to generate game instructions executed during game operation; a building block parameter editing module, for editing the control parameters of the target programming building block in response to a parameter editing operation on the target programming building block, so that the target programming building block generates a building block combination based on the edited control parameters; wherein the target programming building block is a building block among the one or more programming building blocks.

[0008] 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 graphic programming processing method of the first aspect and possible implementation methods thereof are implemented.

[0009] 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 graphic programming processing method of the above-mentioned first aspect and its possible implementation method by executing the executable instructions.

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

[0011] During the above-mentioned graphic programming process, a graphic programming interface is displayed in a graphical user interface, and one or more programming blocks are added to the graphic programming interface; one or more programming blocks are spliced ​​to generate a block combination, and the block combination is used to generate game instructions executed during the game operation; in response to the parameter editing operation on the target programming block, the control parameters of the target programming block are edited so that the target programming block generates a block combination based on the edited control parameters; wherein the target programming block is a component in one or more programming blocks. On the one hand, the present disclosure generates a block combination by splicing programming blocks, and uses the block combination to generate game instructions executed during the game operation, thereby reducing the operational difficulty of game programming, allowing users to participate in the creation of the game more conveniently. On the other hand, the present disclosure achieves flexible editing of the control parameters of the programming blocks by responding to the parameter editing operation on the programming blocks, thereby improving the richness and upper limit of the output works. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 A flowchart showing a graphics programming processing method in this exemplary embodiment is shown;

[0013] Figure 2A As shown, a schematic diagram of the interface of a programming building block is provided;

[0014] Figure 2B A display schematic diagram of an editing control in this exemplary embodiment is shown;

[0015] Figure 2C A parameter editing sub-interface corresponding to a programming building block for setting a control effect in this exemplary embodiment is shown;

[0016] Figure 2D A parameter editing sub-interface corresponding to a programming building block for setting a light environment in this exemplary embodiment is shown;

[0017] Figure 2E A schematic diagram showing a display of a programming building block with added control parameters in this exemplary embodiment is shown;

[0018] Figure 3A A schematic diagram of an interface for creating custom control parameters in this exemplary embodiment is shown;

[0019] Figure 3B A schematic diagram of an interface including custom control parameters in this exemplary embodiment is shown;

[0020] Figure 3C A schematic diagram of an interface for managing custom control parameters in this exemplary embodiment is shown;

[0021] Figure 3D A schematic diagram of an interface for modifying custom control parameters in this exemplary embodiment is shown;

[0022] Figure 4 A custom parameter control flow chart in this exemplary embodiment is shown;

[0023] Figure 5A A schematic diagram showing a hidden control parameter in this exemplary embodiment;

[0024] Figure 5B A schematic diagram showing a display of a first compression control in this exemplary embodiment is shown;

[0025] Figure 5C A schematic diagram showing a display of a first expansion control in this exemplary embodiment is shown;

[0026] Figure 6 A flowchart of a single building block telescopic control in this exemplary embodiment is shown;

[0027] Fig. 7A A schematic diagram showing a hidden programming building block in this exemplary embodiment;

[0028] Figure 7B A schematic diagram showing a display of a second compression control in this exemplary embodiment is shown;

[0029] Figure 7C A schematic diagram showing a display of a second expansion control in this exemplary embodiment is shown;

[0030] Figure 8 A flowchart of a building block assembly telescopic control in this exemplary embodiment is shown;

[0031] Fig. 9 A structural block diagram of a graphics programming processing device in this exemplary embodiment is shown;

[0032] Fig.10 An electronic device for implementing the above-mentioned graphic programming processing method in this exemplary embodiment is shown. DETAILED DESCRIPTION

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

[0034] 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.

[0035] In the related art, it is necessary to construct programming blocks with complex logic by nesting sub-blocks. The control parameters of a single programming block are fixed, and users cannot perform custom editing. The block editing freedom is low, resulting in insufficient output and a low upper limit.

[0036] In view of one or more of the above problems, exemplary embodiments of the present disclosure provide a graphics programming processing method, a graphics programming processing device, a computer program product, and an electronic device.

[0037] In one embodiment of the present disclosure, the graphic programming processing method can be run on a local terminal device or a server. When the graphic programming processing method is run on a server, the graphic programming processing method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0038] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the running body of the game program and the game screen presentation body are separated. The storage and operation of the graphic programming processing method are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the game processing is performed by the cloud game server in the cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0039] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed and run by an electronic device in a conventional manner. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0040] In an optional embodiment, reference Figure 1 As shown, a flowchart of a graphics programming processing method is provided, which specifically includes the following steps S110 to S120:

[0041] Step S110, displaying a graphical programming interface in a graphical user interface, wherein one or more programming building blocks are added to the graphical programming interface; one or more programming building blocks are connected to generate a building block combination, and the building block combination is used to generate a game instruction executed during the game operation;

[0042] Step S120, in response to the parameter editing operation on the target programming block, edit the control parameters of the target programming block so that the target programming block generates a block combination based on the edited control parameters; wherein the target programming block is a block in one or more programming blocks.

[0043] Figure 1In the method shown, programming blocks are connected to generate block combinations, and the block combinations are used to generate game instructions executed during the game, which reduces the operational difficulty of game programming and enables users to participate in the creation of games more conveniently. By responding to parameter editing operations on programming blocks, flexible editing of programming block control parameters is achieved, thereby improving the richness and upper limit of the output works.

[0044] Below Figure 1 Provide detailed instructions for each step.

[0045] In step S110, a graphical programming interface is displayed in a graphical user interface, and one or more programming building blocks are added to the graphical programming interface; one or more programming building blocks are connected to generate a building block combination, and the building block combination is used to generate game instructions executed during the game running process.

[0046] The graphical programming interface is an interface provided in the graphical user interface for performing graphical programming.

[0047] Exemplarily, a graphical programming interface may be displayed in a graphical user interface when a game program is running to provide a corresponding editing function.

[0048] Exemplarily, when the programming program is run to provide corresponding programming functions, a graphical programming interface may be displayed in the graphical user interface.

[0049] Among them, programming blocks are a kind of visual programming element and the basic control of graphic programming. They allow users to create program codes by connecting these building blocks, including but not limited to event blocks, action blocks and other programming blocks that can be run in the game. Among them, event blocks can be used to control execution conditions, and action blocks can be used to control execution actions.

[0050] Among them, the building block combination is a component combination composed of multiple programming building blocks, which can form instructions that can be executed in the game, and its function is equivalent to program code.

[0051] Optionally, when the terminal device runs a game program, the graphical user interface can be controlled to display a graphical programming interface, so that the user can write map logic rules in the graphical programming interface, such as custom map logic, character actions, etc.

[0052] Optionally, one or more types of candidate programming blocks may be pre-created for use by the user. Exemplarily, in response to a programming block selection operation, one or more programming blocks may be determined from the candidate programming blocks and added to the graphical programming interface.

[0053] Optionally, a block combination can be formed in response to the splicing operation of the programming blocks added in the graphical programming interface, and the block combination can be used to generate game instructions executed during the game running process, so as to reduce the operational difficulty of game programming and enable users to participate in the creation of the game more conveniently.

[0054] Optionally, a programming building block may contain nested sub-building blocks. Figure 2A As shown, a schematic diagram of the interface of a programming building block is provided, in which a sub-building block for obtaining the coordinate function of a virtual character is nested, which can indicate that an explosion flame special effect is played at the coordinate of the virtual character 1, and the special effect lasts for 5 seconds.

[0055] In step S120, in response to a parameter editing operation on a target programming block, a control parameter of the target programming block is edited so that the target programming block generates a block combination based on the edited control parameter; wherein the target programming block is a block in one or more programming blocks.

[0056] Optionally, the target programming building block can also be a specific type of programming building block. Exemplarily, the target programming building block can be an action building block. It should be noted that in actual application, the target programming building block can also be other types of programming building blocks, and the present disclosure does not specifically limit this.

[0057] Optionally, the parameter editing operation may include a parameter adding operation, a parameter deleting operation, etc., so that the user can flexibly adjust the control parameters corresponding to the target programming building block.

[0058] Among them, the control parameter can be a preset control parameter or a custom control parameter, and the present disclosure does not specifically limit this.

[0059] In an optional embodiment, an editing control is displayed on the target programming block, and the above-mentioned editing of the control parameters of the target programming block in response to the parameter editing operation on the target programming block can be achieved through the following steps: generating a parameter editing sub-interface in response to the triggering operation of the editing control on the target programming block; editing the control parameters of the target programming block in response to the parameter editing operation in the parameter editing sub-interface.

[0060] Among them, the editing control can be used to edit the control parameters of the programming building blocks. For example, Figure 2B As shown, an editing control 201 may be displayed at the front end of the programming building block.

[0061] Among them, the parameter editing sub-interface can be used to edit the control parameters corresponding to the programming blocks, providing users with a convenient way to customize parameter editing.

[0062] Optionally, the parameter editing interface may display control parameters that have been added to the target programming block and candidate control parameters that have not been added, which may include but are not limited to control parameters of types such as preset control parameters and custom control parameters.

[0063] Specifically, in response to the triggering operation of the programming control, a parameter editing sub-interface corresponding to the target programming block can be generated, and in response to the parameter editing operation in the parameter editing sub-interface, the control parameters of the corresponding programming block can be edited. It should be noted that different programming blocks can correspond to different control parameters. For example, Figure 2C As shown, a parameter editing sub-interface corresponding to a programming block for setting a control effect is provided, which contains control parameters related to setting the control effect; Figure 2D As shown, a parameter editing sub-interface corresponding to a programming building block for setting a light environment is provided, which contains control parameters related to setting the light environment.

[0064] In an optional embodiment, the parameter editing sub-interface displays the control parameters that have not been added to the target programming block in a first state and displays the control parameters that have been added to the target programming block in a second state. The above-mentioned editing of the control parameters of the target programming block in response to the parameter editing operation in the parameter editing sub-interface can be achieved through the following steps: in response to the selection operation of the control parameter that has not been added, determining the first control parameter, and adding the first control parameter to the target programming block; in response to the selection operation of the control parameter that has been added, determining the second control parameter, and deleting the second control parameter from the control parameters that have been added to the target programming block.

[0065] Optionally, the parameter editing sub-interface may display the control parameters not added by the first editing block in the first state, and display the control parameters added by the first editing block in the second state, so that the user can distinguish them. The first state and the second state may be different display states, which may be set according to user needs, and the present disclosure does not specifically limit this.

[0066] The first control parameter refers to a control parameter to be added selected from control parameters not added to the target programming block, which may be one or more, and the present disclosure does not specifically limit this.

[0067] Optionally, the above-mentioned determination of the first control parameter in response to the selection operation of the unadded control parameter and adding the first control parameter to the target programming block can be achieved through the following steps: in response to the selection operation of the unadded control parameter in the parameter editing sub-interface, the selected control parameter is determined as the first control parameter, and in response to the triggering operation of the control determined in the parameter editing sub-interface, the first control parameter is added to the target programming block, so as to flexibly add the control parameters required by the target programming block.

[0068] For example, Figure 2C As shown, the two control parameters "Duration" and "Source" can be selected as the first control parameters to be added, and the following is obtained: Figure 2E The programming blocks shown have the corresponding control parameters added.

[0069] The second control parameter refers to a control parameter to be deleted selected from the control parameters added to the target programming block, which may be one or more, and the present disclosure does not specifically limit this.

[0070] Optionally, the above-mentioned determination of the second control parameter in response to the selection operation of the added control parameter, and deletion of the second control parameter from the control parameters already added to the target programming block can be achieved through the following steps: in response to the selection operation of the added control parameter in the parameter editing sub-interface, the selected control parameter is determined as the second control parameter, and in response to the triggering operation of determining the control in the parameter editing sub-interface, the second control parameter is deleted from the control parameters already added to the target programming block, so as to flexibly delete unnecessary control parameters of the target programming block.

[0071] Optionally, the parameter editing sub-interface may further include a cancel control, and in response to a touch operation of the cancel control, the selected first control parameter and the second control parameter may be canceled.

[0072] Optionally, the parameter editing sub-interface may also include a custom parameter creation control, such as Figure 3A As shown, a schematic diagram of an interface for creating a custom control parameter is provided. In response to a touch operation of a custom parameter creation control 301, a custom control parameter can be created. The created custom control parameter can be added to a target programming building block, such as Figure 3B The interface diagram of the provided custom control parameters is shown in the figure.

[0073] Optional, such as Figure 3B As shown, the parameter editing sub-interface may further include a custom parameter management control 302. In response to a touch operation of the custom parameter management control 302, a delete control may be generated at the associated position of each custom control parameter, and the custom parameter management control 302 may be switched to a completion confirmation control 303. The delete control is used to delete the created custom control parameter, and the completion confirmation control 303 is used to save and exit the custom parameter management. Figure 3C The interface diagram of the provided custom control parameters is shown. After the custom parameter management control is triggered, it can generate a corresponding custom control parameter modification sub-interface in response to the touch operation of the custom control parameter, so that the user can modify the parameter information corresponding to the custom control parameter, such as Figure 3D shown.

[0074] In an optional implementation, the control parameters corresponding to the target programming block are displayed on the target programming block, and in response to a change in the number of control parameters corresponding to the target programming block, the size of the target programming block can be adjusted according to the latest control parameters corresponding to the target programming block.

[0075] Exemplarily, the target programming block displays control parameters corresponding to the target programming block, and these control parameters can be arranged horizontally, such as Figure 2B , Figure 2E When the control parameters are arranged horizontally, the horizontal length of the programming block can be adjusted according to the latest control parameters corresponding to the target programming block in response to the change in the number of control parameters corresponding to the target programming block. It should be noted that in actual application, the programming blocks can also be arranged in other ways, such as vertical arrangement, which is not specifically limited in this disclosure.

[0076] Exemplarily, when a first control parameter is added to a target programming block, or a second control parameter is deleted from the control parameters that have been added to the target programming block, the number of control parameters corresponding to the target programming block will change. At this time, the size of the target programming block can be adaptively adjusted according to the latest control parameters corresponding to the target programming block, so that the user can view the control parameters of the programming block more intuitively. It is understandable that when a control parameter is added to a programming block, the length of the programming block will become longer; when a control parameter is deleted from a programming block, the length of the programming block will be shortened.

[0077] like Figure 4 As shown, a custom parameter control flow chart is provided, which may specifically include the following steps:

[0078] Step S401, displaying a graphical programming interface in a graphical user interface provided by running a game program, wherein one or more programming building blocks are added to the graphical programming interface;

[0079] Step S402, in response to a triggering operation of an editing control on a target programming block, generating a parameter editing sub-interface; wherein the target programming block is a block among the programming blocks added in the graphical programming interface;

[0080] Step S403, in response to a selection operation of a control parameter that has not been added in the parameter editing sub-interface, determining a first control parameter, and adding the first control parameter to a target programming block;

[0081] Step S404, in response to the selection operation of the added control parameter in the parameter editing sub-interface, determining the second control parameter, and deleting the second control parameter from the control parameters added to the target programming block.

[0082] Figure 4In the steps shown, through customized parameter control, freer parameter control is achieved in a single programming block, which improves the richness and upper limit of the output works.

[0083] In an optional implementation, when the control parameters corresponding to the target programming block are displayed on the target programming block, some of the control parameters corresponding to the target programming block may be hidden in response to a compression control operation on the target programming block to compress the size of the target programming block.

[0084] For example, in response to a compression control operation on a target programming block, one or more control parameters corresponding to the target programming block may be replaced with preset hidden symbols, and the size of the target programming block may be adaptively adjusted to improve the user operation experience.

[0085] For example, the number of hidden control parameters may be determined by program configuration. For example, if the hidden programming block is set to display 5 parameters, and if the programming block corresponds to 10 control parameters, then 5 control parameters may be hidden.

[0086] It should be noted that the compression control operation on the target programming building block is used to compress the size of the target programming building block and does not affect the function implemented by the target programming building block.

[0087] In an optional embodiment, the above-mentioned hiding of part of the control parameters corresponding to the target programming building block in response to the compression control operation on the target programming building block can be achieved by the following steps: in response to the compression control operation on the target programming building block, according to the arrangement order of the control parameters corresponding to the target programming building block, a third control parameter is determined from the control parameters corresponding to the target programming building block, and the third control parameter in the target programming building block is hidden.

[0088] The third control parameter refers to a control parameter that needs to be hidden and is determined from the control parameters corresponding to the target programming block. It can be one or more control parameters, and the present disclosure does not specifically limit this.

[0089] The control parameter object to be hidden, i.e., the third control parameter, can be associated with the arrangement order of the control parameters in the target programming building block. Figure 5A As shown, the control parameters on the first 1 to 4 bits and the control parameters on the last 10 bits can be retained, and the control parameters on the middle 5 to 9 bits can be hidden as the third control parameter.

[0090] By determining the control parameter objects to be hidden according to the arrangement order of the control parameters corresponding to the target programming building blocks, the target programming building blocks can be partially compressed.

[0091] In an optional embodiment, in response to a compression control operation on a target programming block, hiding part of the control parameters corresponding to the target programming block can be achieved by the following steps: in response to a size of the target programming block exceeding a first preset threshold, controlling a first compression control to be displayed at an associated position of the target programming block; in response to a touch operation of the first compression control, hiding part of the control parameters corresponding to the target programming block.

[0092] like Figure 5B As shown, a display schematic diagram of a first compression control is provided. When the control parameters are arranged horizontally, in response to the horizontal length of the target programming building block exceeding the first preset threshold, a first compression control 501 is displayed on the right side of the target programming building block, and the user can hide part of the control parameters corresponding to the target programming building block by clicking the first compression control 501.

[0093] By setting the first preset threshold, the first compression control is controlled to be displayed so that the user can compress the size of the programming building block when necessary.

[0094] In an optional implementation, in response to a touch operation of the first compression control, the field of view picture displayed in the graphical programming interface may be controlled and adjusted so that the first compression control is located at a preset position of the field of view picture.

[0095] Exemplarily, in response to a touch operation of the first compression control, the field of view picture displayed in the graphical programming interface may be controlled to be adjusted so that the first compression control is located at the center of the field of view picture.

[0096] When the control parameters are arranged horizontally, such as Figure 5A As shown, the field of view can be moved to the left in response to the touch operation of the first compression control.

[0097] When compression control is performed on a programming block, the field of view displayed in the graphical programming interface is adaptively adjusted so that the first compression control is located at the center of the field of view, so that the field of view is aligned with the edited programming block, and the user does not need to repeatedly adjust the field of view, thereby improving editing efficiency and experience.

[0098] In an optional embodiment, the above-mentioned hiding of part of the control parameters corresponding to the target programming block in response to the touch operation of the first compression control can be achieved through the following steps: in response to the touch operation of the first compression control, replacing part of the control parameters corresponding to the target programming block with a first preset hidden mark, and switching the first compression control to a first expansion control.

[0099] like Figure 5CAs shown, in response to the touch operation of the first compressed control, part of the control parameters corresponding to the target programming block can be replaced with the first preset hidden mark 502, so as to prompt the user that the control parameters are hidden at the location of the first preset hidden mark 502. Further, in response to the touch operation of the first compressed control, the first compressed control can be switched to the first expanded control 503, so that the user can expand the hidden control parameters as needed.

[0100] Optionally, in response to a touch operation on the first preset hidden mark 502, during the touch operation, the hidden control parameter may be displayed at a position associated with the first preset hidden mark 502, so that the user may temporarily view the hidden control parameter.

[0101] In an optional implementation, after the first compressed control is switched to the first expanded control, the control parameters hidden by the target programming block may be displayed in response to a touch operation of the first expanded control.

[0102] like Figure 5C As shown, a display schematic diagram of a first expansion control is provided. The user can expand and display the control parameters hidden by the target programming building block by clicking the first expansion control 503, thereby realizing the control and adjustment of the size of the target programming building block, allowing the user to freely control the extension and retraction of the programming building block, reducing operations irrelevant to the result during editing, and improving programming efficiency and editing experience.

[0103] like Figure 6 As shown, a flowchart of a single building block extension and retraction control is provided, which may specifically include the following steps:

[0104] Step S601, displaying a graphical programming interface in a graphical user interface provided by running a game program, wherein one or more programming building blocks are added to the graphical programming interface;

[0105] Step S602, in response to the size of the target programming block exceeding a first preset threshold, controlling to display a first compression control at a position associated with the target programming block; wherein the target programming block is a block among the programming blocks added in the graphical programming interface;

[0106] Step S603, in response to the touch operation of the first compressed control, part of the control parameters corresponding to the target programming block are replaced with the first preset hidden mark, and the first compressed control is switched to the first expanded control;

[0107] Step S604: in response to the touch operation of the first expansion control, the control parameters hidden by the target programming block are displayed.

[0108] Figure 6In the steps shown, the telescopic control of the programming blocks is implemented, which can reduce the operations irrelevant to the results during editing and improve the editing efficiency and editing experience.

[0109] In an optional implementation, in response to a splicing operation on programming blocks, the programming blocks may be spliced ​​to obtain a block combination.

[0110] Optionally, the programming building blocks can be spliced ​​vertically when being spliced, so that the building block combination becomes higher and larger in size.

[0111] Exemplarily, the programming building block may include a notch and a protrusion. The notch and the protrusion may be located at the upper and lower sides of the programming building block, respectively. In response to the splicing operation of the notch of one programming building block and the protrusion of another programming building block, the two programming building blocks may be spliced ​​together.

[0112] In an optional embodiment, in response to the splicing operation on the programming blocks, splicing the programming blocks to obtain the block combination can be achieved by the following steps: in response to the drag control operation on the first programming block in the graphical programming interface, controlling the first programming block to move in the graphical programming interface; in response to the position relationship between the first programming block and the second programming block in the graphical programming interface satisfying a preset position relationship, splicing the first programming block and the second programming block together up and down to form a block combination.

[0113] Exemplarily, the preset position relationship may be, for example, that the concave opening of the first programming block coincides with the convex opening of the second programming block, wherein the first programming block and the second programming block are different programming blocks in the graphical programming interface.

[0114] The user can adjust the position of the programming blocks by dragging the programming blocks in the graphical programming interface so as to splice the single programming blocks into a block combination.

[0115] In an optional implementation, part of the programming blocks in the building block combination may be hidden in response to a compression control operation on the building block combination.

[0116] For example, in response to a compression control operation on a building block combination, one or more programming building blocks in the building block combination may be replaced with a preset hidden symbol, and the size of the building block combination may be adaptively adjusted to improve the user operation experience.

[0117] Exemplarily, the number of hidden programming blocks can be determined by program configuration. For example, if the hidden block combination is set to display 4 programming blocks, if the block combination corresponds to 10 programming blocks, 6 programming blocks can be hidden.

[0118] It should be noted that the compression control operation on the building block combination is used to compress the size of the building block combination and does not affect the function implemented by the building block combination.

[0119] In an optional embodiment, the above-mentioned hiding of part of the programming blocks in the building block combination in response to the compression control operation on the building block combination can be achieved by the following steps: in response to the compression control operation on the building block combination, according to the splicing order of the programming blocks in the building block combination, the programming blocks to be hidden are determined from the programming blocks corresponding to the building block combination, and the programming blocks to be hidden in the building block combination are hidden.

[0120] The programming building block to be hidden refers to the programming building block that needs to be hidden determined from the programming building blocks corresponding to the building block combination, which may be one or more, and the present disclosure does not specifically limit this.

[0121] The programming building block objects that need to be hidden, i.e., the programming building blocks to be hidden, are associated with the order in which the programming building blocks are connected in the building block combination. Fig. 7A As shown, the programming blocks on the first 1 to 3 digits and the programming blocks on the last 10 digits can be retained, and the programming blocks on the middle 5 to 9 digits can be hidden as programming blocks to be hidden.

[0122] Through the splicing order of programming blocks, the programming block objects that need to be hidden are determined, so as to locally compress the block combination.

[0123] In an optional embodiment, the above-mentioned hiding of part of the programming blocks in the building block combination in response to the compression control operation on the building block combination can be achieved through the following steps: in response to the size of the building block combination exceeding a second preset threshold, controlling the display of a second compression control at an associated position of the building block combination; in response to the touch operation of the second compression control, hiding part of the programming blocks in the building block combination.

[0124] like Figure 7B As shown, a schematic diagram of displaying a second compression control is provided. When programming blocks are spliced ​​vertically, in response to the size of the block combination exceeding a second preset threshold, a second compression control 701 is displayed at the bottom of the block combination, and the user can hide part of the programming blocks in the block combination by clicking the second compression control 701.

[0125] By setting the second preset threshold, the second compression control is controlled to be displayed, so that the user can compress the size of the building block combination when necessary.

[0126] In an optional implementation, in response to a touch operation of the second compression control, the field of view picture displayed in the graphical programming interface may be controlled and adjusted so that the second compression control is located at a preset position of the field of view picture.

[0127] For example, in response to a touch operation of the second compression control, the field of view picture displayed in the graphical programming interface may be controlled to be adjusted so that the second compression control is located at the center of the field of view picture.

[0128] When programming blocks are connected vertically, Fig. 7A As shown, the field of view image can be moved upward in response to the touch operation of the second compression control.

[0129] When compression control is performed on a building block combination, the field of view displayed in the graphical programming interface is adaptively adjusted so that the second compression control is located in the center of the field of view, so that the field of view is aligned with the edited building block combination, and the user does not need to repeatedly adjust the field of view, thereby improving editing efficiency and experience.

[0130] In an optional embodiment, the above-mentioned hiding of part of the programming blocks in the building block combination in response to the touch operation of the second compression control can be achieved by the following steps: in response to the touch operation of the second compression control, replacing part of the programming blocks in the building block combination with a second preset hidden mark, and switching the second compression control to a second expansion control.

[0131] like Figure 7C As shown, in response to the touch operation of the second compression control, some programming blocks in the block combination can be replaced with the second preset hidden mark 702, so as to prompt the user that there are programming blocks hidden at the location of the second preset hidden mark 702. Further, in response to the touch operation of the second compression control, the second compression control can be switched to the second expansion control 703, so that the user can expand the hidden programming blocks as needed.

[0132] Optionally, in response to a touch operation on the second preset hidden mark 702, during the touch operation, the hidden programming building blocks may be displayed at the associated position of the second preset hidden mark 702, so that the user can temporarily view the hidden programming building blocks.

[0133] It should be noted that the first preset hidden mark and the second preset hidden mark can be set as needed, and the mark forms can be the same or different, and the present disclosure does not make specific limitations on this.

[0134] In an optional implementation, after the second compressed control is switched to the second expanded control, the programming building blocks hidden in the building block combination can also be displayed in response to a touch operation of the second expanded control.

[0135] like Figure 7CAs shown, a display schematic diagram of a second expansion control is provided. The user can expand and display the programming building blocks hidden in the building block combination by clicking the second expansion control 703, thereby realizing the control and adjustment of the size of the building block combination, allowing the user to freely control the expansion and contraction of the building block combination, reducing operations irrelevant to the results during editing, and improving programming efficiency and editing experience.

[0136] like Figure 8 As shown, a flowchart of building block combination telescopic control is provided, which may specifically include the following steps:

[0137] Step S801, displaying a graphical programming interface in a graphical user interface provided by running a game program, wherein a plurality of programming building blocks are added to the graphical programming interface, and these programming building blocks are connected to generate a building block combination;

[0138] Step S802, in response to the size of the building block combination exceeding a second preset threshold, controlling to display a second compression control at an associated position of the building block combination;

[0139] Step S803, in response to the touch operation of the second compressed control, some programming blocks in the block combination are replaced with second preset hidden marks, and the second compressed control is switched to a second expanded control;

[0140] Step S804, in response to the touch operation of the second expansion control, display the programming building blocks hidden in the building block combination.

[0141] Figure 8 In the steps shown, the expansion and contraction control of the building block combination is realized, which can reduce the operations irrelevant to the results during editing and improve the editing efficiency and editing experience.

[0142] The exemplary embodiment of the present disclosure also provides a graphics programming processing device, referring to Fig. 9 As shown, the graphic programming processing device 900 may include the following program modules:

[0143] The programming interface display module 910 is used to display a graphical programming interface in a graphical user interface, wherein one or more programming building blocks are added to the graphical programming interface; one or more programming building blocks are connected to generate a building block combination, and the building block combination is used to generate a game instruction executed during the game operation;

[0144] The block parameter editing module 920 is used to edit the control parameters of the target programming block in response to the parameter editing operation on the target programming block, so that the target programming block generates a block combination based on the edited control parameters; wherein the target programming block is a block in one or more programming blocks.

[0145] In an optional embodiment, based on the aforementioned scheme, an editing control is displayed on the target programming block, and the block parameter editing module 920 includes: an editing sub-interface generation module, which is used to generate a parameter editing sub-interface in response to a triggering operation of the editing control on the target programming block; and a control parameter editing module, which is used to edit the control parameters of the target programming block in response to the parameter editing operation in the parameter editing sub-interface.

[0146] In an optional embodiment, based on the aforementioned scheme, the parameter editing sub-interface displays the control parameters that have not been added to the target programming block in a first state and displays the control parameters that have been added to the target programming block in a second state, and the control parameter editing module can be configured to: in response to the selection operation of the control parameter that has not been added, determine the first control parameter and add the first control parameter to the target programming block; in response to the selection operation of the control parameter that has been added, determine the second control parameter and delete the second control parameter from the control parameters that have been added to the target programming block.

[0147] In an optional implementation, based on the aforementioned solution, the control parameters corresponding to the target programming block are displayed on the target programming block, and the graphic programming processing device 900 further includes: a size adjustment module, which is used to adjust the size of the target programming block in response to a change in the number of control parameters corresponding to the target programming block and according to the latest control parameters corresponding to the target programming block.

[0148] In an optional implementation, based on the aforementioned solution, the control parameters corresponding to the target programming block are displayed on the target programming block, and the graphic programming processing device 900 further includes: a control parameter hiding module, which is used to hide part of the control parameters corresponding to the target programming block in response to the compression control operation on the target programming block.

[0149] In an optional embodiment, based on the aforementioned scheme, the control parameter hiding module can be configured to: in response to a compression control operation on a target programming building block, determine a third control parameter from the control parameters corresponding to the target programming building block according to the arrangement order of the control parameters corresponding to the target programming building block, and hide the third control parameter in the target programming building block.

[0150] In an optional implementation, based on the aforementioned solution, the control parameter hiding module can be configured to: in response to the size of the target programming block exceeding a first preset threshold, control the display of a first compression control at an associated position of the target programming block; in response to a touch operation of the first compression control, hide part of the control parameters corresponding to the target programming block.

[0151] In an optional embodiment, based on the aforementioned scheme, the graphic programming processing device 900 further includes: a first screen adjustment module, which is used to control the adjustment of the field of view screen displayed in the graphic programming interface in response to the touch operation of the first compression control, so that the first compression control is located at a preset position of the field of view screen.

[0152] In an optional implementation, based on the above solution, the control parameter hiding module includes: a first compression control module, which is used to hide part of the control parameters corresponding to the target programming building block in response to the touch operation of the first compression control. The first compression control module can be configured to: in response to the touch operation of the first compression control, replace part of the control parameters corresponding to the target programming building block with a first preset hiding mark, and switch the first compression control to a first expansion control.

[0153] In an optional implementation, based on the aforementioned solution, after the first compressed control is switched to the first expanded control, the graphic programming processing device 900 further includes: a control parameter expansion module for displaying the control parameters hidden by the target programming block in response to the touch operation of the first expanded control.

[0154] In an optional implementation, based on the above solution, the graphic programming processing device 900 further includes: a programming building block splicing module, which is used to splice the programming building blocks in response to the splicing operation on the programming building blocks to obtain a building block combination.

[0155] In an optional embodiment, based on the aforementioned scheme, the programming block splicing module can be configured to: in response to a drag control operation on a first programming block in a graphical programming interface, control the first programming block to move in the graphical programming interface; in response to the positional relationship between the first programming block and the second programming block in the graphical programming interface satisfying a preset positional relationship, splice the first programming block and the second programming block together up and down to form a block combination.

[0156] In an optional implementation, based on the above solution, the graphic programming processing device 900 further includes: a programming block hiding module, which is used to hide part of the programming blocks in the block combination in response to the compression control operation on the block combination.

[0157] In an optional embodiment, based on the aforementioned scheme, the programming block hiding module can be configured to: in response to a compression control operation on a building block combination, determine the programming blocks to be hidden from the programming blocks corresponding to the building block combination according to the splicing order of the programming blocks in the building block combination, and hide the programming blocks to be hidden in the building block combination.

[0158] In an optional embodiment, based on the aforementioned scheme, the programming block hiding module can be configured to: in response to the size of the building block combination exceeding a second preset threshold, control the display of a second compression control at an associated position of the building block combination; in response to a touch operation of the second compression control, hide part of the programming blocks in the building block combination.

[0159] In an optional embodiment, based on the aforementioned scheme, the graphic programming processing device 900 further includes: a second screen adjustment module, which is used to control the adjustment of the field of view screen displayed in the graphic programming interface in response to the touch operation of the second compression control, so that the second compression control is located at a preset position of the field of view screen.

[0160] In an optional embodiment, based on the above solution, the programming block hiding module includes: a second compression control module, which is used to hide some programming blocks in the building block combination in response to the touch operation of the second compression control. The second compression control module can be configured to: in response to the touch operation of the second compression control, replace some programming blocks in the building block combination with a second preset hiding mark, and switch the second compression control to a second expansion control.

[0161] In an optional implementation, based on the aforementioned solution, after the second compressed control is switched to the second expanded control, the graphic programming processing device 900 further includes: a programming block expansion module, which is used to display the programming blocks hidden in the block combination in response to the touch operation of the second expanded control.

[0162] 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.

[0163] The exemplary embodiments of the present disclosure also provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the above-mentioned graphic programming processing method is implemented.

[0164] 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.

[0165] 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.

[0166] 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).

[0167] The computer program may be carried or transmitted via electrical, magnetic, optical, electromagnetic, infrared, or other signals. The electronic device may convert the signal carrying the computer program into a digital signal, thereby running the computer program. When the computer program is run on an electronic device, its code is used to enable the electronic device to execute (more specifically, the processor of the electronic device may execute) the method steps of various exemplary embodiments of the present disclosure. Exemplarily, the following steps may be included:

[0168] A graphical programming interface is displayed in the graphical user interface, wherein one or more programming building blocks are added to the graphical programming interface; one or more programming building blocks are connected to generate a building block combination, and the building block combination is used to generate game instructions executed during the game operation;

[0169] In response to a parameter editing operation on a target programming block, a control parameter of the target programming block is edited so that the target programming block generates a block combination based on the edited control parameter; wherein the target programming block is a block in one or more programming blocks.

[0170] In an optional implementation, based on the aforementioned scheme, an editing control is displayed on the target programming block, and in response to a parameter editing operation on the target programming block, the control parameters of the target programming block are edited, which can be achieved through the following steps: in response to a triggering operation of the editing control on the target programming block, a parameter editing sub-interface is generated; in response to the parameter editing operation in the parameter editing sub-interface, the control parameters of the target programming block are edited.

[0171] In an optional embodiment, based on the aforementioned scheme, the parameter editing sub-interface displays the control parameters that have not been added to the target programming block in a first state and displays the control parameters that have been added to the target programming block in a second state. In response to the parameter editing operation in the parameter editing sub-interface, the control parameters of the target programming block are edited, which can be achieved through the following steps: in response to the selection operation of the control parameter that has not been added, determine the first control parameter, and add the first control parameter to the target programming block; in response to the selection operation of the control parameter that has been added, determine the second control parameter, and delete the second control parameter from the control parameters that have been added to the target programming block.

[0172] In an optional implementation, based on the aforementioned solution, the control parameters corresponding to the target programming block are displayed on the target programming block, and the following steps may also be performed: in response to a change in the number of control parameters corresponding to the target programming block, the size of the target programming block is adjusted according to the latest control parameters corresponding to the target programming block.

[0173] In an optional implementation, based on the above solution, the control parameters corresponding to the target programming block are displayed on the target programming block, and the following steps may be performed: in response to a compression control operation on the target programming block, some control parameters corresponding to the target programming block are hidden.

[0174] In an optional implementation, based on the aforementioned scheme, in response to a compression control operation on a target programming block, some control parameters corresponding to the target programming block are hidden, which can be achieved by the following steps: in response to a compression control operation on a target programming block, according to an arrangement order of the control parameters corresponding to the target programming block, a third control parameter is determined from the control parameters corresponding to the target programming block, and the third control parameter in the target programming block is hidden.

[0175] In an optional implementation, based on the aforementioned solution, in response to a compression control operation on a target programming block, some control parameters corresponding to the target programming block are hidden, which can be achieved by the following steps: in response to a size of the target programming block exceeding a first preset threshold, a first compression control is controlled to be displayed at an associated position of the target programming block; in response to a touch operation of the first compression control, some control parameters corresponding to the target programming block are hidden.

[0176] In an optional embodiment, based on the above scheme, the following steps may also be performed: in response to the touch operation of the first compression control, control and adjust the field of view displayed in the graphical programming interface so that the first compression control is located at a preset position of the field of view.

[0177] In an optional embodiment, based on the aforementioned scheme, in response to the touch operation of the first compressed control, some control parameters corresponding to the target programming block are hidden, which can be achieved by the following steps: in response to the touch operation of the first compressed control, some control parameters corresponding to the target programming block are replaced with a first preset hidden mark, and the first compressed control is switched to a first expanded control.

[0178] In an optional implementation, based on the above solution, after the first compressed control is switched to the first expanded control, the following steps may be performed: in response to the touch operation of the first expanded control, the control parameters hidden by the target programming block are displayed.

[0179] In an optional implementation, based on the above solution, the following steps may be further performed: in response to a splicing operation on programming blocks, the programming blocks are spliced ​​to obtain a block combination.

[0180] In an optional embodiment, based on the aforementioned scheme, in response to a splicing operation on programming blocks, the programming blocks are spliced ​​to obtain a block combination, which can be achieved by the following steps: in response to a drag control operation on a first programming block in a graphical programming interface, the first programming block is controlled to move in the graphical programming interface; in response to the positional relationship between the first programming block and the second programming block in the graphical programming interface satisfying a preset positional relationship, the first programming block and the second programming block are spliced ​​together up and down to form a block combination.

[0181] In an optional implementation, based on the above solution, the following steps may be further performed: in response to a compression control operation on the building block combination, some programming building blocks in the building block combination are hidden.

[0182] In an optional embodiment, based on the aforementioned scheme, in response to a compression control operation on a building block combination, some programming blocks in the building block combination are hidden, which can be achieved by the following steps: in response to a compression control operation on the building block combination, according to the splicing order of the programming blocks in the building block combination, the programming blocks to be hidden are determined from the programming blocks corresponding to the building block combination, and the programming blocks to be hidden in the building block combination are hidden.

[0183] In an optional embodiment, based on the aforementioned scheme, in response to a compression control operation on the building block combination, some programming blocks in the building block combination are hidden, which can be achieved by the following steps: in response to the size of the building block combination exceeding a second preset threshold, controlling the display of a second compression control at an associated position of the building block combination; in response to a touch operation of the second compression control, hiding some programming blocks in the building block combination.

[0184] In an optional embodiment, based on the aforementioned solution, the following steps may also be performed: in response to a touch operation of the second compression control, control and adjust the field of view displayed in the graphical programming interface so that the second compression control is located at a preset position of the field of view.

[0185] In an optional embodiment, based on the aforementioned scheme, in response to the touch operation of the second compressed control, some programming blocks in the building block combination are hidden, which can be achieved by the following steps: in response to the touch operation of the second compressed control, some programming blocks in the building block combination are replaced with a second preset hidden mark, and the second compressed control is switched to a second expanded control.

[0186] In an optional implementation, based on the above solution, after the second compressed control is switched to the second expanded control, the following steps may be performed: in response to the touch operation of the second expanded control, the programming building blocks hidden in the building block combination are displayed.

[0187] In the above steps, by splicing programming blocks to generate block combinations, and using the block combinations to generate game instructions executed during the game, the operational difficulty of game programming is reduced, allowing users to participate in the creation of games more conveniently; by responding to parameter editing operations on programming blocks, flexible editing of programming block control parameters is achieved, thereby improving the richness and upper limit of the output works.

[0188] The exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-mentioned graphic programming processing method. The electronic device may include a processor and a memory. The memory stores executable instructions of the processor, such as program code. The processor executes the method in the exemplary embodiment by executing the executable instructions. In addition, the electronic device may also include a display for displaying a graphical user interface.

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

[0190] like Fig.10 As shown, the electronic device 1000 may include: a processor 1010 , a memory 1020 , a bus 1030 , an I / O (input / output) interface 1040 , a network adapter 1050 , and a display 1060 .

[0191] The memory 1020 may include a volatile memory, such as a RAM 1021, a cache unit 1022, and may also include a non-volatile memory, such as a ROM 1023. The memory 1020 may also include one or more program modules 1024, such program modules 1024 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 1024 may include each module in the above-mentioned device.

[0192] The processor 1010 may include one or more processing units. For example, the processor 1010 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), etc.

[0193] The processor 1010 may be configured to execute executable instructions stored in the memory 1020 , such as executing any one or more method steps in the exemplary embodiment.

[0194] Exemplarily, the processor 1010 may perform the following steps:

[0195] A graphical programming interface is displayed in the graphical user interface, wherein one or more programming building blocks are added to the graphical programming interface; one or more programming building blocks are connected to generate a building block combination, and the building block combination is used to generate game instructions executed during the game operation;

[0196] In response to a parameter editing operation on a target programming block, a control parameter of the target programming block is edited so that the target programming block generates a block combination based on the edited control parameter; wherein the target programming block is a block in one or more programming blocks.

[0197] In an optional implementation, based on the aforementioned scheme, an editing control is displayed on the target programming block, and in response to a parameter editing operation on the target programming block, the control parameters of the target programming block are edited, which can be achieved through the following steps: in response to a triggering operation of the editing control on the target programming block, a parameter editing sub-interface is generated; in response to the parameter editing operation in the parameter editing sub-interface, the control parameters of the target programming block are edited.

[0198] In an optional embodiment, based on the aforementioned scheme, the parameter editing sub-interface displays the control parameters that have not been added to the target programming block in a first state and displays the control parameters that have been added to the target programming block in a second state. In response to the parameter editing operation in the parameter editing sub-interface, the control parameters of the target programming block are edited, which can be achieved through the following steps: in response to the selection operation of the control parameter that has not been added, determine the first control parameter, and add the first control parameter to the target programming block; in response to the selection operation of the control parameter that has been added, determine the second control parameter, and delete the second control parameter from the control parameters that have been added to the target programming block.

[0199] In an optional implementation, based on the aforementioned solution, the control parameters corresponding to the target programming block are displayed on the target programming block, and the following steps may also be performed: in response to a change in the number of control parameters corresponding to the target programming block, the size of the target programming block is adjusted according to the latest control parameters corresponding to the target programming block.

[0200] In an optional implementation, based on the above solution, the control parameters corresponding to the target programming block are displayed on the target programming block, and the following steps may be performed: in response to a compression control operation on the target programming block, some control parameters corresponding to the target programming block are hidden.

[0201] In an optional implementation, based on the aforementioned scheme, in response to a compression control operation on a target programming block, some control parameters corresponding to the target programming block are hidden, which can be achieved by the following steps: in response to a compression control operation on a target programming block, according to an arrangement order of the control parameters corresponding to the target programming block, a third control parameter is determined from the control parameters corresponding to the target programming block, and the third control parameter in the target programming block is hidden.

[0202] In an optional implementation, based on the aforementioned solution, in response to a compression control operation on a target programming block, some control parameters corresponding to the target programming block are hidden, which can be achieved by the following steps: in response to a size of the target programming block exceeding a first preset threshold, a first compression control is controlled to be displayed at an associated position of the target programming block; in response to a touch operation of the first compression control, some control parameters corresponding to the target programming block are hidden.

[0203] In an optional embodiment, based on the above scheme, the following steps may also be performed: in response to the touch operation of the first compression control, control and adjust the field of view displayed in the graphical programming interface so that the first compression control is located at a preset position of the field of view.

[0204] In an optional embodiment, based on the aforementioned scheme, in response to the touch operation of the first compressed control, some control parameters corresponding to the target programming block are hidden, which can be achieved by the following steps: in response to the touch operation of the first compressed control, some control parameters corresponding to the target programming block are replaced with a first preset hidden mark, and the first compressed control is switched to a first expanded control.

[0205] In an optional implementation, based on the above solution, after the first compressed control is switched to the first expanded control, the following steps may be performed: in response to the touch operation of the first expanded control, the control parameters hidden by the target programming block are displayed.

[0206] In an optional implementation, based on the above solution, the following steps may be further performed: in response to a splicing operation on programming blocks, the programming blocks are spliced ​​to obtain a block combination.

[0207] In an optional embodiment, based on the aforementioned scheme, in response to a splicing operation on programming blocks, the programming blocks are spliced ​​to obtain a block combination, which can be achieved by the following steps: in response to a drag control operation on a first programming block in a graphical programming interface, the first programming block is controlled to move in the graphical programming interface; in response to the positional relationship between the first programming block and the second programming block in the graphical programming interface satisfying a preset positional relationship, the first programming block and the second programming block are spliced ​​together up and down to form a block combination.

[0208] In an optional implementation, based on the above solution, the following steps may be further performed: in response to a compression control operation on the building block combination, some programming building blocks in the building block combination are hidden.

[0209] In an optional embodiment, based on the aforementioned scheme, in response to a compression control operation on a building block combination, some programming blocks in the building block combination are hidden, which can be achieved by the following steps: in response to a compression control operation on the building block combination, according to the splicing order of the programming blocks in the building block combination, the programming blocks to be hidden are determined from the programming blocks corresponding to the building block combination, and the programming blocks to be hidden in the building block combination are hidden.

[0210] In an optional embodiment, based on the aforementioned scheme, in response to a compression control operation on the building block combination, some programming blocks in the building block combination are hidden, which can be achieved by the following steps: in response to the size of the building block combination exceeding a second preset threshold, controlling the display of a second compression control at an associated position of the building block combination; in response to a touch operation of the second compression control, hiding some programming blocks in the building block combination.

[0211] In an optional embodiment, based on the aforementioned solution, the following steps may also be performed: in response to a touch operation of the second compression control, control and adjust the field of view displayed in the graphical programming interface so that the second compression control is located at a preset position of the field of view.

[0212] In an optional embodiment, based on the aforementioned scheme, in response to the touch operation of the second compressed control, some programming blocks in the building block combination are hidden, which can be achieved by the following steps: in response to the touch operation of the second compressed control, some programming blocks in the building block combination are replaced with a second preset hidden mark, and the second compressed control is switched to a second expanded control.

[0213] In an optional implementation, based on the above solution, after the second compressed control is switched to the second expanded control, the following steps may be performed: in response to the touch operation of the second expanded control, the programming building blocks hidden in the building block combination are displayed.

[0214] In the above steps, by splicing programming blocks to generate block combinations, and using the block combinations to generate game instructions executed during the game, the operational difficulty of game programming is reduced, allowing users to participate in the creation of games more conveniently; by responding to parameter editing operations on programming blocks, flexible editing of programming block control parameters is achieved, thereby improving the richness and upper limit of the output works.

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

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

[0217] The electronic device 1000 can communicate with one or more networks through the network adapter 1050. For example, the network adapter 1050 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 1050 can communicate with other modules of the electronic device 1000 through the bus 1030.

[0218] The electronic device 1000 may display a graphical user interface and the like through the display 1060 .

[0219] although Fig.10Not shown, other hardware and / or software modules may also be provided in the electronic device 1000, including but not limited to: a display, a microcode, a device driver, a redundant processor, an external disk drive array, a RAID (Redundant Arrays of Independent Disks) system, a tape drive, and a data backup storage system.

[0220] 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.

[0221] It will be appreciated by those skilled in the art that various aspects of the present disclosure may be implemented as a system, method or program product. Therefore, various aspects of the present disclosure may 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 aspects, which may be collectively referred to herein as a "circuit", "module" or "system". Those skilled in the art will readily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any variations, uses or adaptive changes of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and implementation are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0222] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A graphics programming processing method, It is characterized in that The method comprises: Displaying a graphical programming interface in a graphical user interface, wherein one or more programming building blocks are added to the graphical programming interface; the one or more programming building blocks are connected to generate a building block combination, and the building block combination is used to generate a game instruction executed during the game operation; In response to a parameter editing operation on a target programming block, a control parameter of the target programming block is edited so that the target programming block generates a block combination based on the edited control parameter; wherein the target programming block is a block among the one or more programming blocks.

2. The method according to claim 1, It is characterized in that An editing control is displayed on the target programming building block, and in response to a parameter editing operation on the target programming building block, a control parameter of the target programming building block is edited, including: In response to a triggering operation of the editing control on the target programming building block, generating a parameter editing sub-interface; In response to the parameter editing operation in the parameter editing sub-interface, the control parameters of the target programming building block are edited.

3. The method according to claim 2, It is characterized in that The parameter editing sub-interface displays the control parameters that are not added to the target programming block in a first state and displays the control parameters that are added to the target programming block in a second state, and in response to the parameter editing operation in the parameter editing sub-interface, the control parameters of the target programming block are edited, including: In response to the selection operation of the unadded control parameter, determining a first control parameter, and adding the first control parameter to the target programming building block; In response to the selection operation of the added control parameter, a second control parameter is determined, and the second control parameter is deleted from the control parameters added to the target programming building block.

4. The method according to claim 1, It is characterized in that The target programming block displays a control parameter corresponding to the target programming block, and the method further includes: In response to a change in the number of control parameters corresponding to the target programming building block, the size of the target programming building block is adjusted according to the latest control parameters corresponding to the target programming building block.

5. The method according to claim 1, It is characterized in that The target programming block displays a control parameter corresponding to the target programming block, and the method further includes: In response to the compression control operation on the target programming building block, part of the control parameters corresponding to the target programming building block are hidden.

6. The method according to claim 5, It is characterized in that In response to the compression control operation on the target programming building block, hiding part of the control parameters corresponding to the target programming building block includes: In response to the compression control operation on the target programming building block, a third control parameter is determined from the control parameters corresponding to the target programming building block according to the arrangement order of the control parameters corresponding to the target programming building block, and the third control parameter in the target programming building block is hidden.

7. The method according to claim 5, It is characterized in that In response to the compression control operation on the target programming building block, hiding part of the control parameters corresponding to the target programming building block includes: In response to the size of the target programming building block exceeding a first preset threshold, controlling to display a first compression control at a position associated with the target programming building block; In response to the touch operation of the first compression control, part of the control parameters corresponding to the target programming building block are hidden.

8. The method according to claim 7, It is characterized in that The method further comprises: In response to the touch operation of the first compression control, the field of view picture displayed in the graphical programming interface is controlled to be adjusted so that the first compression control is located at a preset position of the field of view picture.

9. The method according to claim 7, It is characterized in that The step of hiding part of the control parameters corresponding to the target programming block in response to the touch operation of the first compression control includes: In response to the touch operation of the first compressed control, part of the control parameters corresponding to the target programming block are replaced with a first preset hidden mark, and the first compressed control is switched to a first expanded control.

10. The method according to claim 9, It is characterized in that After switching the first compressed control to a first expanded control, the method further includes: In response to the touch operation of the first expansion control, the control parameters hidden by the target programming block are displayed.

11. The method according to claim 1, It is characterized in that The method further comprises: In response to the splicing operation on the programming building blocks, the programming building blocks are spliced ​​to obtain a building block combination.

12. The method according to claim 11, It is characterized in that In response to the splicing operation on the programming building blocks, splicing the programming building blocks to obtain a building block combination includes: In response to a drag control operation on a first programming block in the graphical programming interface, controlling the first programming block to move in the graphical programming interface; In response to the positional relationship between the first programming building block and the second programming building block in the graphic programming interface satisfying a preset positional relationship, the first programming building block and the second programming building block are spliced ​​together up and down to form a building block combination.

13. The method according to claim 1, It is characterized in that The method further comprises: In response to a compression control operation on the building block combination, some programming building blocks in the building block combination are hidden.

14. The method according to claim 13, It is characterized in that In response to the compression control operation on the building block combination, hiding part of the programming building blocks in the building block combination includes: In response to the compression control operation on the building block combination, the programming blocks to be hidden are determined from the programming blocks corresponding to the building block combination according to the splicing order of the programming blocks in the building block combination, and the programming blocks to be hidden in the building block combination are hidden.

15. The method according to claim 13, It is characterized in that In response to the compression control operation on the building block combination, hiding part of the programming building blocks in the building block combination includes: In response to the size of the building block combination exceeding a second preset threshold, controlling to display a second compression control at an associated position of the building block combination; In response to the touch operation of the second compression control, some programming blocks in the block combination are hidden.

16. The method according to claim 15, It is characterized in that The method further comprises: In response to the touch operation of the second compression control, the field of view picture displayed in the graphical programming interface is controlled to be adjusted so that the second compression control is located at a preset position of the field of view picture.

17. The method according to claim 15, It is characterized in that The step of hiding part of the programming building blocks in the building block combination in response to the touch operation of the second compression control comprises: In response to the touch operation of the second compressed control, some programming blocks in the building block combination are replaced with second preset hidden marks, and the second compressed control is switched to a second expanded control.

18. The method according to claim 17, It is characterized in that After switching the second compressed control to a second expanded control, the method further includes: In response to the touch operation of the second expansion control, the hidden programming building blocks in the building block combination are displayed.

19. A graphics programming processing device, It is characterized in that The device comprises: A programming interface display module, used to display a graphical programming interface in a graphical user interface, wherein one or more programming building blocks are added to the graphical programming interface; the one or more programming building blocks are connected to generate a building block combination, and the building block combination is used to generate a game instruction executed during the game operation; A block parameter editing module is used to edit the control parameters of a target programming block in response to a parameter editing operation on the target programming block, so that the target programming block generates a block combination based on the edited control parameters; wherein the target programming block is a block among the one or more programming blocks.

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

21. An electronic device, It is characterized in that include: processor; as well as 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 18 by executing the executable instructions.