Game material generation method and device, readable medium and electronic equipment
By triggering material editing operations on the game editing page and displaying independently run material editing pages, users can generate game materials in a visual way, solving the problem of game developers needing to write code in the existing technology, realizing code-free development, and improving efficiency and multiplexing rate.
Patent Information
- Application Number
- CN202310810231.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-03
- Publication Date
- 2025-01-03
AI Technical Summary
In the prior art, game developers need to write code to create game props and other content, which leads to the need to learn professional knowledge and spend a lot of time, which affects the development efficiency.
It provides a game material generation method, which runs independently by displaying the game editing page and the material editing page. Users can generate game material on the visual material editing page to realize code-free game material development.
It reduces the technical requirements for game developers, simplifies the game material development process, improves development efficiency, and improves the reuse rate of game material.
Smart Images

Figure CN119236414A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular, to a method, device, readable medium and electronic device for generating game materials. Background Art
[0002] With the development of computer technology, more and more games have emerged. The diversity of game content such as game scenes and props allows players to better enjoy the fun of the game.
[0003] In the related art, the production of game content such as game props requires game developers to implement it through code writing. According to this method, not only do game developers need to learn professional code writing knowledge, but also it takes a lot of manpower and time, thus affecting development efficiency. Summary of the invention
[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0005] In a first aspect, the present disclosure provides a method for generating game materials, the method comprising:
[0006] Displaying a game editing page, wherein the game editing page is used for a user to edit a target game;
[0007] In response to a material editing operation triggered on the game editing page, displaying a material editing page, wherein the material editing page is used for the user to edit a single game material, and the material editing page runs independently of the game editing page in a sandbox manner;
[0008] In response to a configuration operation on a first game material in the material editing page, the first game material is processed to obtain a target game material.
[0009] In a second aspect, the present disclosure provides a game material generation device, the device comprising:
[0010] A first display module, used to display a game editing page, wherein the game editing page is used for a user to edit a target game;
[0011] A second display module is used to display a material editing page in response to a material editing operation triggered on the game editing page, wherein the material editing page is used for the user to edit a single game material, and the material editing page runs independently of the game editing page in a sandbox manner;
[0012] The game material generation module is used to process the first game material in response to the configuration operation of the first game material in the material editing page to obtain the target game material.
[0013] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of any one of the methods described in the first aspect.
[0014] In a fourth aspect, the present disclosure provides an electronic device, including:
[0015] a storage device having a computer program stored thereon;
[0016] A processing device is used to execute the computer program in the storage device to implement the steps of any one of the methods in the first aspect. Display a game editing page, wherein the game editing page is used for a user to edit a target game;
[0017] Through the above technical solution, in response to the material editing operation triggered on the game editing page, the material editing page can be displayed, and then in response to the configuration operation of the first game material on the material editing page, the first game material can be processed to obtain the target game material, wherein the material editing page is used for users to edit a single game material, and the material editing page runs independently of the game editing page in a sandbox manner. Thus, game materials can be generated on the visual material editing page to achieve code-free game material development. Compared with the method of generating game materials by writing code, it not only reduces the technical requirements for game developers, but also reduces the complexity of operations in the game material development process, thereby improving development efficiency.
[0018] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings:
[0020] Figure 1 is a flowchart of a method for generating game materials according to an exemplary embodiment of the present disclosure;
[0021] Figure 2 It is a schematic diagram of jumping from a game editing page to a material editing page according to an exemplary embodiment of the present disclosure;
[0022] Figure 3is a schematic diagram of displaying preset game materials on a material editing page according to an exemplary embodiment of the present disclosure;
[0023] Figure 4 is a schematic diagram of a material editing page display component library provided according to an exemplary embodiment of the present disclosure;
[0024] Figure 5 A schematic diagram of displaying logical connection lines on a material editing page according to an exemplary embodiment of the present disclosure;
[0025] Figure 6 is a block diagram of a game material generating device provided according to an exemplary embodiment of the present disclosure;
[0026] Figure 7 It is a structural diagram of an electronic device provided according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0030] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0031] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0032] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0033] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0034] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0035] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0036] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0037] At the same time, it is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0038] As mentioned in the background art, in the related art, if you want to create game content such as game props, you need game developers to do it through code writing. In this way, not only do game developers need to learn professional code writing knowledge, but they also need to spend a lot of manpower and time, thus affecting development efficiency.
[0039] In view of this, the embodiments of the present disclosure provide a game material generation method, device, readable medium and electronic device, so that game materials can be generated on a visual material editing page to achieve code-free game material development. Compared with the method of generating game materials by writing code, it not only reduces the technical requirements for game developers, but also reduces the operational complexity in the game material development process, thereby improving development efficiency.
[0040] The embodiments of the present disclosure are further explained below with reference to the accompanying drawings.
[0041] First of all, it should be understood that the game material generation method provided in the embodiment of the present disclosure can be applied to mobile terminal devices such as mobile phones. As a result, users can generate game materials in a visual way on mobile terminal devices such as mobile phones, thereby improving the development efficiency of game materials. Alternatively, the game material generation method provided in the embodiment of the present disclosure can be applied to non-mobile terminal devices such as desktop computers, and the present disclosure implementation does not limit this.
[0042] Figure 1 is a flowchart of a method for generating game materials according to an exemplary embodiment of the present disclosure. Figure 1 , the method comprising:
[0043] S101: Display the game editing page.
[0044] Among them, the game editing page is used for users to edit the target game.
[0045] S102: In response to a material editing operation triggered on a game editing page, displaying a material editing page.
[0046] Among them, the material editing page is used for users to edit a single game material, and the material editing page runs independently from the game editing page in a sandbox manner.
[0047] It should be noted that the game material can be the material used to construct the game object in the game scene, or it can be the material used to constitute the logical component associated with the game object, and the disclosed embodiment does not impose any restrictions on this. Among them, the game scene can be a two-dimensional game scene, a three-dimensional game scene, or a game scene of other dimensions. The game object can be a scene object, a prop, a mechanism, a special effect, a sound, and other game objects. The logical component is used to enable the game object to realize various functions and performances, such as determining the appearance and behavior of the game object.
[0048] It should be understood that in the game scene, scene objects refer to objects that build or decorate the game scene and do not interact with the player, props refer to weapons and other items that provide game assistance to the player, and mechanisms refer to objects that can interact with the player and create gameplay after the interaction, such as treasure chests or small turrets that can be deployed by the player.
[0049] S103: In response to the configuration operation on the first game material in the material editing page, the first game material is processed to obtain a target game material.
[0050] It is worth mentioning that the material editing page runs independently in a sandbox manner. The material editing page and the game editing page do not interfere with each other. The generated game materials can be packaged separately and can not only be applied to the game scene currently edited on the game editing page, but also saved in the material library for use in other game scenes, thereby improving the reuse rate of game materials.
[0051] By adopting the above method, game materials can be generated on the visual material editing page to realize code-free game material development. Compared with the method of generating game materials by writing code, it not only reduces the technical requirements for game developers, but also reduces the complexity of operations in the game development process and improves development efficiency. In addition, the generated game materials can be used in different game scenes, with a high reuse rate.
[0052] In a possible implementation, in response to a material editing operation triggered on a game editing page, displaying the material editing page may be: in response to a material creation operation triggered on the game editing page, displaying the material editing page. Or, in response to a material conversion operation triggered on target display content in the game editing page, converting the target display content into a first game material, and in response to an editing operation triggered on the first game material, displaying the material editing page.
[0053] For example, refer to Figure 2 In response to a material creation operation triggered on the game editing page, such as clicking a "New Material" button, a blank material editing page may be displayed. In response to a material conversion operation triggered by target display content in the game editing page, such as double-clicking the target display content, right-clicking to select a material conversion option, etc., the target display content may be converted into a first game material, and then in response to an editing operation triggered on the first game material, such as clicking a material editing button, right-clicking to select a material editing option, etc., a material editing page with the target display content may be displayed. The embodiments of the present disclosure do not impose any restrictions on this.
[0054] In a possible implementation, displaying the material editing page may be: controlling other contents in the game editing page except the target display content to be displayed in a first preset display style, and controlling the target display content to be displayed in a second preset display style to display the material editing page, wherein the first preset display style is different from the second preset display style.
[0055] For example, continue to refer to Figure 2, in the material editing page, control the other contents in the game editing page except the target display content to be displayed in the first preset display style, and control the target display content to be displayed in the second preset display style, wherein the first preset display style may be a virtual display, and the second preset display style may be a high-definition display, or the first preset display style may be displayed in the first brightness, and the second preset display style may be displayed in the second brightness (the first brightness is lower than the second brightness), and the first preset display style and the second preset display style may be default, or display styles may be provided for users to choose, and the disclosed embodiment does not impose any restrictions on this. In this way, not only can the interference of other contents be avoided when the target display content is processed, so that the user can focus on the target display content itself, but also the user can observe the connection between the target display content and other contents, and avoid the generated game materials from not matching with other contents. Of course, other contents except the target display content may not be displayed, which can be set according to the needs, or display options may be provided for users to choose, and the disclosed embodiment does not impose any restrictions on this.
[0056] In a possible implementation, in response to a configuration operation on a first game material in a material editing page, processing the first game material may be: in response to a selection operation on the first game material in the material editing page, determining that the first game material is in a selected state; in response to a material selection operation on a preset game material in the material editing page, determining a second game material corresponding to the material selection operation; and processing the first game material based on the second game material.
[0057] For example, the preset game material can be a material stored in the resource library for constructing game objects in the game scene, or a material stored in the component library for constituting logical components associated with game objects. The entrance to the resource library and the component library can be provided on the material editing page, such as Figure 2 The "Resource Library" and "Component Library" buttons shown in FIG. 20 respond to the user's click operation on the "Resource Library" or "Component Library" to display the corresponding preset game materials in the material editing page, for example, in the form of a pop-up box, layer, etc. Figure 3 As shown, the material editing page is divided into a first display area and a second display area, wherein the first display area is used to display the resource library and the component library, and the second display area is used to display the game material to be configured, and the embodiment of the present disclosure does not impose any limitation on this.
[0058] For example, when creating a new game material, one or more materials can be directly selected from the resource library for configuration, and the selected materials can be displayed in the material editing page. Alternatively, the first material can be selected from the resource library and displayed in the material editing page, and then the second material can be selected from the resource library and displayed in the material editing page. Or when the first material is converted from the target game content, the first material is displayed in the material editing page, and then the second material is selected from the resource library and displayed in the material editing page. And the first material can be selected on the material editing page first, and then the second material can be selected from the resource library, indicating that the second material is a newly added material of the first material. When targeting multiple materials, materials can be synthesized to obtain a new material, such as encapsulating multiple game props into a more complex game prop. And multiple materials can be materials of different dimensions, such as adding special effects materials and sound materials to prop materials to obtain a new prop material with more complex functions.
[0059] In a possible implementation, for the material selected in the material editing page, a component material can also be selected from the component library for material processing. Accordingly, in response to the material selection operation of the preset game material in the material editing page, the second game material corresponding to the material selection operation is determined, and the first game material is processed according to the second game material. It can be: in response to the material selection operation of the preset component material in the material editing page, the target component material corresponding to the material selection operation is determined, and the target component material and the logical connection line associated with the target component material are displayed in the material editing page. The logical connection line is used to establish the game control logic between the target component material and other game materials. In response to the move operation of moving the logical connection line to the first game material, the game control logic between the first game material and the target component material is established.
[0060] For example, refer to Figure 4 , the user can select a component material from the component library. The component material can be a rotation component that controls the rotation of a game object, a deformation component that controls the deformation of a game object, etc. Taking the rotation component as an example, the target component material corresponding to the material selection operation is displayed in the material editing page as well as the logical connection line associated with the target component material. Then, in response to the move operation of moving the logical connection line to the first game material, a game control logic is established between the first game material and the rotation component. Furthermore, the first game material can establish a game control logic with multiple component materials, and the game control logic can also be established between component materials. The embodiments of the present disclosure do not impose any restrictions on this.
[0061] For example, displaying the logic connection lines associated with the target component material may be: in response to the selection operation of the target component material, displaying the logic control associated with the target component material, and then in response to the triggering operation of the target component material, displaying the logic connection lines associated with the target component material. The logic control may be displayed in the form of an in-arrow or an out-arrow, for example. The in-arrow form may indicate that the logic connection line corresponding to the logic control is used by other game components to control the logic of the target component material, and the out-arrow form may indicate that the logic connection line corresponding to the logic control is used by the target component material to control the logic of other game components.
[0062] For example, in response to a triggering operation on a target component material, displaying the logical connection lines associated with the target component material may be: in response to a selection operation on the target component material, displaying the attribute information of the target component material, and displaying the logical controls associated with the target component material in a preset display area around at least one attribute information, and then in response to a triggering operation on the target logical controls in the preset display area, displaying the logical connection lines associated with the target component material.
[0063] For example, one end of the logic connection line is connected to the logic control, and in response to a move operation of moving the logic connection line to the first game material, a game control logic between the first game material and the target component material is established. It can be: in response to a move operation of moving the other end of the logic connection line to the target component material, a game control logic between the target component material and the first game material is established.
[0064] For example, after the game control logic between the first game material and the target component material is established, the logic connection line may be displayed between the first game material and the target component material.
[0065] In a possible implementation, the first game material is processed according to the second game material, which may be: displaying a property panel and an editing control of the second game material, the property panel being used to display property information of the second game material, the editing control being used for allowing a user to edit the property information displayed in the property panel, displaying a property editing page in response to a triggering operation on the editing control, and adjusting the property information of the second game material displayed in the property panel in response to a property configuration operation in the property editing page.
[0066] For example, refer to Figure 5Taking the rotation component as an example, the rotation component includes attribute information such as rotation angle, rotation time, rotation duration, object material, object color, etc. In actual applications, the attribute information can be set according to the characteristics and requirements of the game component or game object, and the embodiments of the present disclosure do not impose any restrictions on this. In addition, editing control of attribute information is also provided. The attribute information of the game material displayed in the attribute panel can be adjusted through the editing control, which is convenient for users to adjust the attributes of the game material in the attribute panel, such as adding a rotation angle of the rotation component of a game object. In addition, in response to the user's attribute configuration operation in the attribute editing page, the configured game material can be synchronously displayed in the material editing page, so that the user can intuitively feel the adjustment effect, and it is also convenient for users to modify the game material.
[0067] In a possible implementation, an input control for configuring a logic control interface for the second game material is displayed in the property editing page, and the logic control interface is used for the user to configure the control logic of the second game material on other game materials or the control logic of other game materials on the second game material. Accordingly, in response to the configuration operation in the property editing page, the property information of the second game material displayed in the property panel is adjusted to: in response to the input operation on the input control, the target logic control interface corresponding to the input operation is obtained, and the interface configuration page for the target logic control interface is displayed; in response to the interface configuration operation in the interface configuration page, the target property information corresponding to the target logic control interface is determined, and the target logic control interface is displayed in the property panel according to the target property information.
[0068] For example, the property editing page displays an input control for configuring a logic control interface for the game material. The logic control interface can be an output interface for the user to configure the control logic of the second game material on other game materials or an input interface for the control logic of other game materials on the second game material, so as to facilitate the second game material to establish a logic control relationship with other game materials through the logic control interface. Taking the second game material as a rotating component as an example, the logic control interface of the rotation angle of the rotating component is set as an input interface, and other game materials can input the rotation angle parameter through the input interface, thereby controlling the rotating component to rotate with the input rotation angle parameter. Taking the second game material as a mechanism material as an example, the mechanism material provides an input interface for triggering the mechanism, and other game materials can control the activation of the mechanism material through the input interface, or the mechanism material provides an output interface for outputting the rotation angle after the mechanism is triggered, etc. The embodiments of the present disclosure do not impose any restrictions on this.
[0069] In a possible implementation, in response to a configuration operation on the first game material in the material editing page, after the first game material is processed to obtain the target game material, the method further includes: in response to a save operation on the target game material, displaying an update inquiry page, the update inquiry page being used to ask the user whether to apply the modification operation on the first game material to similar game materials in the target game, the similar game materials being the same as the first game material, and in response to a confirmation update operation triggered in the update inquiry page, replacing the similar game materials in the target game with the target game materials.
[0070] For example, in response to a configuration operation on a first game material in a material editing page, after the first game material is processed to obtain a target game material, the target game material can be packaged and saved in a resource library, and an update inquiry page can be displayed. If the user triggers a confirmation update operation, similar game materials in the target game are replaced with the target game materials. For example, the first game material is used in Games 1 and 2. After the first game material in Game 1 is processed to obtain the target game material, you can choose to update the first game material in Game 1 to the target game material (i.e., not apply it to similar game materials), or you can choose to update the first game materials in both Games 1 and 2 to the target game material (i.e., apply it to similar game materials).
[0071] For example, an update synchronization function may also be provided, that is, with user authorization, the user's material publishing, updating and other operations are automatically detected, and similar game materials are then updated and maintained in other games created by the user.
[0072] Through the game material generation method provided by the present disclosure, the user can click the preset control of the new game material in the game editing page to enter the material editing page, or select part of the game content in the game editing page to convert the selected game content into game material through the preset conversion control, and then click the preset material editing button to enter the material editing page of the sandbox mode. Then the user can choose to select object materials from the resource library to combine materials to obtain new materials, such as adding models, special effects, etc., or select component materials from the component library to process the object materials. The back end will nest and combine multiple game materials of different dimensions through a complex data structure to obtain new game materials, thereby increasing the modularity and integrity of game editing. In addition, the property panel of the game material can also customize the input / output port, thereby opening the function corresponding to the input / output port to the outside of the sandbox. In addition, after saving the new game material, the user can find the saved game material in his own resource library, and then can repeatedly use the game material across scenes. In addition, the same game material can also be updated and maintained according to the edited game material.
[0073] Based on the same concept, the embodiment of the present disclosure also provides a game material generation device, such as Figure 6 As shown, the game material generating device 600 may include:
[0074] The first display module 601 is used to display a game editing page, where the game editing page is used for a user to edit a target game;
[0075] A second display module 602 is used to display a material editing page in response to a material editing operation triggered on the game editing page, wherein the material editing page is used for the user to edit a single game material, and the material editing page runs independently of the game editing page in a sandbox manner;
[0076] The game material generation module 603 is used to process the first game material in response to the configuration operation of the first game material in the material editing page to obtain the target game material.
[0077] Optionally, the second display module 602 is used for:
[0078] In response to a material creation operation triggered on the game editing page, displaying the material editing page; or,
[0079] In response to a material conversion operation triggered on target display content in the game editing page, the target display content is converted into the first game material, and in response to an editing operation triggered on the first game material, the material editing page is displayed.
[0080] Optionally, the second display module 602 is used for:
[0081] Control the other contents in the game editing page except the target display content to be displayed in a first preset display style, and control the target display content to be displayed in a second preset display style to display the material editing page, wherein the first preset display style is different from the second preset display style.
[0082] Optionally, the game material generation module 603 may include:
[0083] a selection module, configured to determine that the first game material is in a selected state in response to a selection operation on the first game material in the material editing page;
[0084] The processing module is used to respond to a material selection operation on a preset game material in the material editing page, determine a second game material corresponding to the material selection operation, and process the first game material according to the second game material.
[0085] Optionally, the processing module is used to:
[0086] In response to a material selection operation on a preset component material in the material editing page, a target component material corresponding to the material selection operation is determined, and the target component material and a logic connection line associated with the target component material are displayed in the material editing page, wherein the logic connection line is used to establish a game control logic between the target component material and other game materials;
[0087] In response to a move operation of moving the logic connection line to the first game material, a game control logic between the first game material and the target component material is established.
[0088] Optionally, the processing module is used to:
[0089] Displaying a property panel and an editing control of the second game material, wherein the property panel is used to display the property information of the second game material, and the editing control is used for allowing a user to edit the property information displayed in the property panel;
[0090] In response to a triggering operation on the editing control, displaying a property editing page;
[0091] In response to the property configuration operation in the property editing page, the property information of the second game material displayed in the property panel is adjusted.
[0092] Optionally, the property editing page displays an input control for configuring a logic control interface for the second game material, the logic control interface is used for a user to configure the control logic of the second game material on other game materials or the control logic of the other game materials on the second game material, and the processing module is used to:
[0093] In response to an input operation on the input control, acquiring a target logic control interface corresponding to the input operation, and displaying an interface configuration page for the target logic control interface;
[0094] In response to the interface configuration operation in the interface configuration page, target attribute information corresponding to the target logical control interface is determined, and the target logical control interface is displayed in the attribute panel according to the target attribute information.
[0095] Optionally, after the first game material is processed in response to the configuration operation on the first game material in the material editing page to obtain the target game material, the game material generating device 600 may further include:
[0096] an inquiry module, configured to display an update inquiry page in response to a save operation on the target game material, wherein the update inquiry page is configured to inquire the user whether to apply the modification operation on the first game material to similar game materials in the target game, the similar game materials being the same as the first game material;
[0097] An update module is used to replace the similar game materials in the target game with the target game materials in response to a confirmation update operation triggered in the update inquiry page.
[0098] Regarding the game material generating device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0099] Based on the same concept, an embodiment of the present disclosure further provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processing device, the steps of the above-mentioned game material generation method are implemented.
[0100] Based on the same concept, an embodiment of the present disclosure further provides an electronic device, including:
[0101] a storage device having a computer program stored thereon;
[0102] A processing device is used to execute the computer program in the storage device to implement the steps of the above-mentioned game material generation method.
[0103] Reference below Figure 7 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0104] like Figure 7As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0105] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0106] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0107] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0108] In some embodiments, any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) can be used for communication, and can be interconnected with any form or medium of digital data communication (e.g., communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), internets (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
[0109] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0110] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays a game editing page, which is used for a user to edit a target game; in response to a material editing operation triggered on the game editing page, displays a material editing page, which is used for the user to edit a single game material, and the material editing page runs independently of the game editing page in a sandbox manner; in response to a configuration operation on a first game material in the material editing page, processes the first game material to obtain a target game material.
[0111] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0112] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0113] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, limit the module itself.
[0114] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0115] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0116] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0117] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0118] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Claims
1. A method for generating game materials, characterized in that: The method comprises: Displaying a game editing page, wherein the game editing page is used for a user to edit a target game; In response to a material editing operation triggered on the game editing page, displaying a material editing page, wherein the material editing page is used for the user to edit a single game material, and the material editing page runs independently of the game editing page in a sandbox manner; In response to a configuration operation on a first game material in the material editing page, the first game material is processed to obtain a target game material.
2. The method according to claim 1, characterized in that: The step of displaying a material editing page in response to a material editing operation triggered on the game editing page includes: In response to a material creation operation triggered on the game editing page, displaying the material editing page; or, In response to a material conversion operation triggered on target display content in the game editing page, the target display content is converted into the first game material, and in response to an editing operation triggered on the first game material, the material editing page is displayed.
3. The method according to claim 2, characterized in that The displaying of the material editing page includes: Control the other contents in the game editing page except the target display content to be displayed in a first preset display style, and control the target display content to be displayed in a second preset display style to display the material editing page, wherein the first preset display style is different from the second preset display style.
4. The method according to any one of claims 1 to 3, characterized in that: In response to the configuration operation on the first game material in the material editing page, processing the first game material includes: In response to a selection operation on the first game material in the material editing page, determining that the first game material is in a selected state; In response to a material selection operation on a preset game material in the material editing page, a second game material corresponding to the material selection operation is determined, and the first game material is processed according to the second game material.
5. The method according to claim 4, characterized in that In response to a material selection operation on a preset game material in the material editing page, determining a second game material corresponding to the material selection operation, and processing the first game material according to the second game material, comprises: In response to a material selection operation on a preset component material in the material editing page, a target component material corresponding to the material selection operation is determined, and the target component material and a logic connection line associated with the target component material are displayed in the material editing page, wherein the logic connection line is used to establish a game control logic between the target component material and other game materials; In response to a move operation of moving the logic connection line to the first game material, a game control logic between the first game material and the target component material is established.
6. The method according to claim 4, characterized in that The processing of the first game material according to the second game material includes: Displaying a property panel and an editing control of the second game material, wherein the property panel is used to display the property information of the second game material, and the editing control is used for allowing a user to edit the property information displayed in the property panel; In response to a triggering operation on the editing control, displaying a property editing page; In response to the property configuration operation in the property editing page, the property information of the second game material displayed in the property panel is adjusted.
7. The method according to claim 6, characterized in that The property editing page displays an input control for configuring a logic control interface for the second game material, the logic control interface is used for a user to configure the control logic of the second game material on other game materials or the control logic of the other game materials on the second game material, and the response to the configuration operation in the property editing page, adjusting the property information of the second game material displayed in the property panel, includes: In response to an input operation on the input control, acquiring a target logic control interface corresponding to the input operation, and displaying an interface configuration page for the target logic control interface; In response to the interface configuration operation in the interface configuration page, target attribute information corresponding to the target logical control interface is determined, and the target logical control interface is displayed in the attribute panel according to the target attribute information.
8. The method according to any one of claims 1 to 3, characterized in that: After the first game material is processed in response to the configuration operation on the material editing page to obtain the target game material, the method further includes: In response to a save operation on the target game material, an update inquiry page is displayed, wherein the update inquiry page is used to inquire the user whether to apply the modification operation on the first game material to similar game materials in the target game, wherein the similar game materials are the same as the first game material; In response to a confirmation update operation triggered in the update inquiry page, the similar game material in the target game is replaced with the target game material.
9. A game material generating device, characterized in that: The device comprises: A first display module, used to display a game editing page, wherein the game editing page is used for a user to edit a target game; A second display module is used to display a material editing page in response to a material editing operation triggered on the game editing page, wherein the material editing page is used for the user to edit a single game material, and the material editing page runs independently of the game editing page in a sandbox manner; The game material generation module is used to process the first game material in response to the configuration operation of the first game material in the material editing page to obtain the target game material.
10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processing device, the steps of the method described in any one of claims 1 to 8 are implemented.
11. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 8.
