Game content generation method and device, readable medium and electronic equipment

By displaying game components and logical connection lines on the game editing page, no-code game development is achieved, and the problem of low game development efficiency in the existing technology is solved, improving game development efficiency and simplifying the operation process.

CN119248259APending Publication Date: 2025-01-03BEIJING ZITIAO NETWORK TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310809129.6
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

Technical Problem

In the prior art, game development requires game developers to learn complex code writing knowledge, and the control logic between game components is complex, resulting in low game development efficiency.

Method used

By displaying game components and logical connection lines on the visual game editing page, users can establish control logic between game components through drag and drop operations, realizing code-free game development.

Benefits of technology

It reduces the technical requirements for game developers, simplifies the game development process, improves game development efficiency, and reduces operation complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248259A_ABST
    Figure CN119248259A_ABST
Patent Text Reader

Abstract

The invention relates to a game content generation method and device, a readable medium and electronic device.The method comprises the steps that a game editing page is displayed, and a to-be-edited first game component and a to-be-edited second game component are displayed in the game editing page; in response to a selection operation on the first game component, a logic connecting line associated with the first game component is displayed, and the logic connecting line is used for establishing game control logic between the first game component and other game components displayed in the game editing page; and in response to a moving operation of moving the logic connecting line to the second game component, establishing game control logic between the first game component and the second game component to obtain target game content. According to the technical scheme, the game content can be generated on the visual game editing page, so that code-free game development is realized; in addition, when the game content is generated, game control logic between the game components can be established through the control logic connecting line, and the game development efficiency is 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 method, device, readable medium and electronic device for generating game content. Background Art

[0002] With the development of computer technology, more and more games have emerged.

[0003] In the related art, if you want to make a game, you need to use code to write game developers to implement the control logic between the game components. In this way, on the one hand, game developers need to learn professional code writing knowledge, and on the other hand, if the control logic between game components is complex, it will take a lot of manpower and time, thus affecting the efficiency of game development. 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 content, the method comprising:

[0006] Displaying a game editing page, wherein the game editing page displays a first game component and a second game component to be edited;

[0007] In response to a selection operation on the first game component, a logic connection line associated with the first game component is displayed, wherein the logic connection line is used to establish a game control logic between the first game component and other game components displayed in the game editing page;

[0008] In response to a moving operation of moving the logic connection line to the second game component, a game control logic between the first game component and the second game component is established to obtain target game content.

[0009] In a second aspect, the present disclosure provides a game content generation device, comprising:

[0010] A first display module, used for displaying a game editing page, wherein the game editing page displays a first game component and a second game component to be edited;

[0011] A second display module, configured to display a logic connection line associated with the first game component in response to a selection operation on the first game component, wherein the logic connection line is used to establish a game control logic between the first game component and other game components displayed in the game editing page;

[0012] The game content generation module is used to establish a game control logic between the first game component and the second game component in response to a moving operation of moving the logic connection line to the second game component, so as to obtain target game content.

[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 the method 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 the method described in the first aspect.

[0017] Through the above technical solution, game content can be generated on a visual game editing page to achieve code-free game development and reduce the technical requirements for game developers. In addition, when generating game content on a visual game editing page, the game control logic between game components can be established through control logic connection lines. Compared with the related technology of establishing game control logic between game components based on complex code logic, the operation complexity in the game development process is reduced and the game development efficiency is improved.

[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 content according to an exemplary embodiment of the present disclosure;

[0021] Figure 2 is a schematic diagram of displaying preset game components in a preset area of ​​a game editing page according to an exemplary embodiment of the present disclosure;

[0022] Figure 3 It is a schematic diagram of a logic control corresponding to different attributes of a game component displayed on a game editing page according to an exemplary embodiment of the present disclosure;

[0023] Figure 4 is a schematic diagram of displaying a logic configuration page on a game editing page according to an exemplary embodiment of the present disclosure;

[0024] Figure 5 is a schematic diagram of displaying logical connection lines on a game editing page according to an exemplary embodiment of the present disclosure;

[0025] Figure 6 is another schematic diagram of displaying logical connection lines on a game editing page according to an exemplary embodiment of the present disclosure;

[0026] Figure 7 is a block diagram of a game content generating device provided according to an exemplary embodiment of the present disclosure;

[0027] Figure 8 It is a structural diagram of an electronic device provided according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

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

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

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

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

[0032] 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".

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

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

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

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

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

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

[0039] As mentioned in the background technology, in the related art, if you want to make a game, you need to use code to write the control logic between the game components. In this way, on the one hand, the game developers need to learn professional code writing knowledge, and on the other hand, if the control logic between the game components is complex, it will take a lot of manpower and time, thus affecting the efficiency of game development.

[0040] In view of this, the embodiments of the present disclosure provide a game content generation method, device, readable medium and electronic device, which generate game content on a visual game editing page to achieve code-free game development and reduce the technical requirements for game developers. In addition, when generating game content on a visual game editing page, the game control logic between game components can be established by controlling logic connection lines, which reduces the operational complexity in the game development process and improves game development efficiency.

[0041] The embodiments of the present disclosure are further explained below with reference to the accompanying drawings.

[0042] Figure 1 is a flowchart of a method for generating game content according to an exemplary embodiment of the present disclosure, referring to Figure 1 , the game content generation method may include the following steps:

[0043] S101: Displaying a game editing page, in which a first game component and a second game component to be edited are displayed.

[0044] First of all, it should be understood that the game content generation method provided by the embodiment of the present disclosure can be applied to mobile terminal devices such as mobile phones and / or non-mobile terminal devices such as desktop computers, so that users can perform visual game production on mobile terminal devices such as mobile phones and / or non-mobile terminal devices such as desktop computers, thereby improving game development efficiency. For example, a preset application software can be installed on a mobile terminal device / non-mobile terminal device. When a user needs to make a game, he clicks on the application software. The mobile terminal device / non-mobile terminal device responds to the user's click operation and displays a game editing page on the display screen of the mobile terminal device / non-mobile terminal device. The user can make a game in the game editing page, thereby realizing visual editing of the game.

[0045] In a possible implementation, the preset application software may include a component mode and a building mode. Among them, the component mode is used to establish game control logic for at least two game components by connecting them to obtain game content. Among them, the game component can be a component with a single logic control function, such as a rotating component that controls other game components to rotate, a mobile component that controls other game components to move, etc. The building mode is used to make games through game materials encapsulated with complex game logic, such as making games through mechanical materials pre-encapsulated with game interaction logic. After the user clicks on the preset application software to enter the application software, if the application software is in building mode, the user operates the mode switching control, the mobile terminal device / non-mobile terminal device responds to the selection operation, the application software switches from the building mode to the component mode, and the mobile terminal device / non-mobile terminal device displays the game editing page.

[0046] It should also be understood that the displayed game editing page can be a game editing page in a two-dimensional scene, a game editing page in a three-dimensional scene, or a game editing page in other dimensional scenes, and the present disclosed embodiment does not impose any limitations on this.

[0047] It should also be understood that the first game component and the second game component to be edited in the game editing page can be the same or different, and the embodiment of the present disclosure does not impose any restrictions on this. In addition, the first game component and the second game component to be edited in the game editing page can be imported from the outside or from the inside, or can be customized settings of the first game component and the second game component, and the embodiment of the present disclosure does not impose any restrictions on this.

[0048] For example, when the first game component and the second game component to be edited are imported from the inside, multiple preset game components may be displayed in a preset area of ​​the game editing page, and a preset game component may be imported into the game editing page by clicking, long pressing or dragging a preset game component among the multiple preset game components, and displayed on the game editing page. When the first game component and the second game component to be edited are imported from the outside, an import control may be displayed in another preset area of ​​the game editing page, and the import control may be triggered to import the game component that is not pre-set in the game editing page into the game editing page and display it. Among them, the operation that triggers the import control may be a single-click operation, a long-press operation or a sliding operation, and the disclosed embodiment does not impose any restrictions on this. When the first game component and the second game component are generated in a customized manner, a game component editing control may be displayed in a preset area of ​​the game editing page, and the game component editing page may be displayed in another preset area of ​​the game editing page by clicking or long pressing the game component editing control, and the corresponding configuration operation may be performed on the game component editing page to obtain the corresponding game component. Among them, the game component editing page can run independently of the game editing page in a sandbox manner, so that the game component editing page and the game editing page do not interfere with each other. The generated game components can be packaged separately and can not only be applied to the game scene currently edited by the game editing page, but also saved in the game component library for use in other game scenes, thereby improving the reuse rate of game components.

[0049] In a possible implementation, performing corresponding configuration operations on a game component editing page may be: in response to a selection operation on a first game component in the game component editing page, determining that the first game component is in a selected state; in response to a component selection operation on a preset game component in the game component editing page, determining a second game component corresponding to the component selection operation; and processing the first game component according to the second game component.

[0050] For example, the preset game component can be a component stored in the resource library for constructing a game object in the game scene, or a logical component stored in the component library for constituting a game object association. The resource library and the component library entrance can be provided on the game component editing page, and in response to the user's click operation on the resource library or the component library entrance, the corresponding preset game component is displayed in the game component editing, for example, in the form of a pop-up box, layer, etc. The game component editing page can also be 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 embodiments of the present disclosure do not impose any restrictions on this.

[0051] For example, when creating a new game component, one or more components can be directly selected from the resource library for configuration, and the selected components can be displayed in the game component editing page. Alternatively, the first component can be selected from the resource library and displayed in the game component editing page, and then the second component can be selected from the resource library and displayed in the game component editing page. Or when the first component is converted from the target game content, the first component is displayed in the game component editing page, and then the second component is selected from the resource library and displayed in the game component editing page. And the first component can be selected in the game component editing page first, and then the second component can be selected from the resource library, indicating that the second component is a newly added component of the first component. When targeting multiple components, component synthesis can be performed to obtain a new component, such as encapsulating multiple game props into a more complex game prop. And multiple components can be components of different dimensions, such as adding special effects components and sound components to the prop component to obtain a new prop component with more complex functions.

[0052] In a possible implementation, the displayed game editing page may be a game editing page in a three-dimensional scene. Furthermore, the game components to be edited displayed in the game editing page are generated in an internal import manner, that is, a preset component control may be displayed in a preset area of ​​the game editing page, and by triggering the component control, multiple preset game components are displayed, and then by performing operations such as clicking, long pressing, or dragging each game component, each game component is displayed in the game editing interface. Among them, the operation of triggering the component control may be a click operation or a long pressing operation, and the embodiments of the present disclosure do not impose any restrictions on this.

[0053] That is, according to one embodiment of the present disclosure, displaying a game editing page may include:

[0054] Display the game editing page in the 3D scene;

[0055] Accordingly, the game content generation method may further include:

[0056] Display multiple preset game components; in response to a selection operation on a first game component among the multiple preset game components, display a two-dimensional first game component in a game editing page; in response to a selection operation on a second game component among the multiple preset game components, display a two-dimensional second game component in the game editing page.

[0057] For example, Figure 2 As shown, in the game editing page in the 3D scene, a preset component control is displayed at the bottom, namely Figure 2 The logic library in the game editor is triggered by clicking or long pressing, so that multiple preset game components are displayed in the form of floating layers on the game editing page, that is, Figure 2The first game component, the second game component and the Nth game component in the game editing page are displayed. Afterwards, in response to a selection operation of any game component among the plurality of preset game components, the two-dimensional game component can be displayed in the game editing page. Thus, visual game editing in a three-dimensional scene can be realized.

[0058] The selection operation may be a click operation, a long press operation, or a drag operation, which is not limited in the present disclosure. In a possible implementation, a game component may be dragged from a preset area to a three-dimensional scene and displayed accordingly.

[0059] In addition, in order to generate corresponding game content based on the position information of each game component in the three-dimensional scene, in a possible implementation, after the game components are imported into the three-dimensional scene, corresponding three-dimensional position coordinates can also be generated and / or displayed for each game component, so as to clarify the position of each game component and the relative position between each game component, thereby facilitating the generation of position-related game content.

[0060] S102: In response to a selection operation on a first game component, a logic connection line associated with the first game component is displayed, where the logic connection line is used to establish a game control logic between the first game component and other game components displayed in the game editing page.

[0061] The selection operation may be a click operation or a long press operation on the first game component, and the disclosed embodiment does not impose any restrictions on this. In a possible implementation, the first game component is selected by performing a click operation on the first game component. It should be understood that if no other operations are performed on the game editing page after the click operation is performed, the first game component is in a selected state. In this case, the logical connection line associated with the first game component is displayed, so that the game control logic between the first game component and other game components displayed in the game editing page is established through the logical connection line.

[0062] In a possible implementation, in response to the selection operation of the first game component, displaying the logical connection line associated with the first game component may include:

[0063] In response to a selection operation on the first game component, a logic control associated with the first game component is displayed; in response to a trigger operation on the logic control, a logic connection line associated with the first game component is displayed.

[0064] The triggering operation of the logic control may be a long press operation or a drag operation, and the embodiment of the present disclosure does not impose any limitation on this. In a possible implementation, a logic control is dragged to display a corresponding logic connection line.

[0065] It should be understood that the game control logic between game components may include control logic and controlled logic, that is, a game component can control other game components to produce corresponding actions, and can also be controlled by other game components to produce corresponding actions. For example, when triggering game component A to control game component B to produce an action, game component A corresponds to the control logic, and game component B corresponds to the controlled logic. Therefore, in order to clarify the role that a game component should play in the game control logic, that is, whether it belongs to the control logic or the controlled logic, this embodiment is intuitively displayed by setting corresponding logic controls for the game components, so that game developers can quickly and accurately generate corresponding game control logic according to the logic controls of each game component.

[0066] In a possible implementation, displaying the logic control widget associated with the first game component may include:

[0067] Displaying a first logic control and / or a second logic control associated with a first game component, wherein the display styles of the first logic control and the second logic control are different. Accordingly, in response to a triggering operation on the logic control, displaying a logic connection line associated with the first game component may include: in response to a triggering operation on the first logic control, displaying a first logic connection line associated with the first game component, the first logic connection line being used to establish a game control logic of the first game component over other game components; and / or, in response to a triggering operation on the second logic control, displaying a second logic connection line associated with the first game component, the second logic connection line being used to establish a game control logic of other game components over the first game component.

[0068] That is to say, the disclosed embodiment provides two logic controls for the control logic and controlled logic of the game components. In practical applications, the corresponding logic controls can be triggered according to the game production requirements, so as to more conveniently establish the control logic between the game components. Among them, the control logic of the first game component over other game components can be realized through the first logic control, and the controlled logic of the first game component can be realized through the second logic control.

[0069] It should be understood that the logical control can be represented by a control name or a control identifier, and the present disclosure does not impose any restrictions on this. In a possible implementation, the logical control can be represented by a control identifier, for example, a left arrow " " indicates the first logic control of the control logic, with a right arrow " " represents the second logic control of the controlled logic.

[0070] In another possible implementation, in response to the selection operation of the first game component, displaying the logical connection line associated with the first game component may include:

[0071] In response to a selection operation on a first game component, attribute information of the first game component is displayed, and a logic control associated with the first game component is displayed in a preset display area around at least one attribute information; in response to a triggering operation on a target logic control in the preset display area, a logic connection line associated with the first game component is displayed.

[0072] It should be understood that a game component can generally have multiple different attributes, and the control logic corresponding to different attributes can be the same or different. Therefore, in order to make full use of the different attributes of the game components to create richer game content, this embodiment displays the attribute information of the game component and the corresponding logic control when the game component is selected, so that the game developer can generate different game control logic according to the different attributes of each game component. For example, Figure 3 As shown, by selecting the game component "Comparator" in the game editing page, corresponding to Figure 3 "☆" in the game editing page is used to display the attribute information of the "Comparator" in a floating layer on the right side of the game editing page, where the attribute information may include six attributes: "Execute", "Enable", "A value", "B value", "If true" and "If false", and the corresponding logic control is displayed on the left side of each attribute information. Among them, the logic controls of the four attributes of "Execute", "Enable", "A value" and "B value" in the attribute information are the same, which are the second logic controls representing the controlled logic; the logic controls of the two attributes of "If true" and "If false" in the attribute information are the same, which are the first logic controls representing the control logic. In this way, different game control logics can be generated according to the different attributes of each game component to better adapt to different game production scenarios.

[0073] S103: In response to the moving operation of moving the logic connection line to the second game component, a game control logic between the first game component and the second game component is established to obtain target game content.

[0074] In a possible implementation, one end of the logic connection line is connected to the logic control, and accordingly, in response to a moving operation of moving the logic connection line to the second game component, establishing a game control logic between the first game component and the second game component may include:

[0075] In response to a moving operation of moving the other end of the logic connection line to the second game component, a game control logic between the first game component and the second game component is established.

[0076] It should be understood that a game content contains a large number of game components, and each game component can generally be connected to the logical controls of multiple game components. In order to facilitate timely discovery of whether the connection between the game component and the logical control is accurate, this embodiment connects one end of the logical connection line to the logical control, and moves the other end of the logical connection line to the corresponding game component to establish the game control logic between the game components, so as to intuitively display the connection establishment process between the game component and the logical control, so as to reduce the probability of deviation in game content due to errors in the connection between the game component and the logical control.

[0077] In a possible implementation, in order to further reduce the probability of deviation in game content due to connection errors between the game component and the logic control, when the other end of the logic connection line moves to the second game component or a preset area around the second game component, the display style of the second game component can be changed to prompt the game developer that the current logic control will establish a game control logic with the second game component whose display style has changed. Changing the display style of the second game component can be changing the color information of the second game component, or changing the size information of the second game component, or changing the shape information of the second game component, and the disclosed embodiment does not impose any restrictions on this.

[0078] In a possible implementation, in response to a moving operation of moving the logic connection line to the second game component, establishing a game control logic between the first game component and the second game component may include:

[0079] In response to a move operation of moving the logic connection line to the second game component, a logic configuration page corresponding to the logic connection line is displayed; in response to a configuration operation on the logic configuration page, control logic parameters corresponding to the configuration operation are obtained, and based on the control logic parameters, a game control logic between the first game component and the second game component is established.

[0080] It should be understood that the game control logic between game components refers to the control logic and the controlled logic. Specifically, the control logic is to control other game components to produce corresponding actions, and the controlled logic is to be controlled by other game components to produce corresponding actions. Establishing the game control logic between game components means that the second game component connected by the logic connection line is configured with corresponding control logic parameters, so that when the first game component is triggered, the second game component is controlled to produce corresponding actions according to the configured control logic parameters, or the second game component is triggered according to the configured control logic parameters to control the first game component to produce actions. Therefore, when the logic connection line is moved to the second game component, it is also necessary to configure the corresponding control logic parameters for the second game component to establish the game control logic between the first game component and the second game component.

[0081] Among them, configuring the corresponding control logic parameters for the second game component can be to display multiple preset control logic parameters and the control logic parameter values ​​corresponding to each control logic parameter on the logic configuration page, and configure the control logic parameters of the second game component by modifying the control logic parameter values ​​corresponding to each control logic parameter; or it can be to display multiple preset control logic parameters on the logic configuration page, click or long press a preset control logic parameter to display the control logic parameter value corresponding to the control logic parameter, and click the corresponding control logic parameter value to configure the control logic parameters of the second game component. It should be understood that this is a schematic description and does not constitute a limitation on the scheme. In a possible implementation, configuring the corresponding control logic parameters for the second game component can be as follows Figure 4 As shown, Figure 4 The box in the figure represents the game component "touch component", and the circle represents the game component "point light component". Figure 4 When the logic connection line of the attribute "When touch starts" of the "Touch component" is moved to the "Point light component", a logic configuration page is displayed. The logic configuration page displays the attributes of the "Point light component", that is, the control logic parameters of the "Point light component", including "Enable", "Color", "Illumination range" and "Light intensity", etc., and this attribute can be controlled by the "Button component". After clicking the "Color" attribute, the control logic parameters corresponding to the "Color" attribute are displayed, including "[0] White", "[1] Black", "[2] Red", "[3] Green" and "[4] Blue", etc. By selecting the corresponding control logic parameters, the game control logic between the game components is established. That is, by clicking the "Button component", the "Point light component" generates red light.

[0082] It should be understood that the second game component may include multiple attribute information, and different attributes play different roles in different game control logics, that is, the same attribute of the second game component may be a control logic or a controlled logic in different game control logics. In a complete game control logic, there are only two types of control logic and controlled logic. Therefore, in a possible implementation, only part of the attributes of the second game component may be displayed in the logic configuration page, and the game control logic of the displayed part of the attributes is opposite to the game control logic of the first game component, so as to avoid errors in the configuration of the game control logic and improve the configuration efficiency of the game control logic.

[0083] In a possible implementation, after establishing the game control logic between the first game component and the second game component, the game content generation method may further include:

[0084] The logical connection line is displayed between the first game component and the second game component.

[0085] It should be understood that when generating game content, especially when generating complex game content, there will be multiple game components in the game editing page, and different game control logics will be established between the multiple game components. In order to facilitate the clarification of the game control logic between the various game components, this embodiment displays the logic connection lines in the game editing interface to clearly and intuitively display the game control logic between the game components according to the logic connection lines. Figure 5 As shown, Figure 5 The box in the middle represents the game component "Touch Component". Figure 5 The circle in the figure represents the game component "Point Light Component". Figure 5 The connecting lines in the figure represent logical connecting lines. Figure 5 The arrows in the figure represent the game control logic, that is, by triggering the "touch component" to control the "point light source component" to produce corresponding actions.

[0086] In a possible implementation, if the game editing page displays the property information of the first game component / the second game component, and the preset display area around the property information displays the logic control associated with the game component, the logic connection line between the first game component and the second game component can be displayed in the following manner: one end of the logic connection line is connected to the logic control, and the other end of the logic connection line is connected to the second game component / the first game component. Figure 6 As shown, Figure 6 The box in the middle represents the game component "Touch Component". Figure 6 The circle in the figure represents the game component "point light source component", and the property information of the "touch component" is displayed on the game editing page. One end of the logic connection line is connected to the logic control corresponding to the property "touch start", and the other end of the logic connection line is connected to the "point light source component". When the hiding and displaying operation of the property information of the first game component is triggered, that is, the property information of the first game component is controlled not to be displayed on the game editing page, the display method of the logic connection line between the first game component and the second game component can be as follows: Figure 5 As shown, that is, a logical connection line is displayed between the "point light source component" and the "touch component" to indicate that the "point light source component" can be controlled by controlling the "touch component".

[0087] In summary, through the above-mentioned game content generation method, game content can be generated on a visual game editing page to achieve code-free game development and reduce the technical requirements for game developers; in addition, when generating game content on a visual game editing page, the game control logic between game components can be established through control logic connection lines. Compared with the related art of establishing game control logic between game components based on complex code logic, the operation complexity in the game development process is reduced and the game development efficiency is improved.

[0088] Based on the same concept, the embodiment of the present disclosure also provides a game content generation device, such as Figure 7 As shown, the game content generating device 700 may include:

[0089] A first display module 701 is used to display a game editing page, wherein the game editing page displays a first game component and a second game component to be edited;

[0090] A second display module 702 is used to display a logic connection line associated with the first game component in response to a selection operation on the first game component, wherein the logic connection line is used to establish a game control logic between the first game component and other game components displayed in the game editing page;

[0091] The game content generation module 703 is used to establish a game control logic between the first game component and the second game component in response to a moving operation of moving the logic connection line to the second game component, and obtain target game content.

[0092] In a possible implementation, the second display module 702 may include:

[0093] A first display unit, configured to display a logic control associated with the first game component in response to a selection operation on the first game component;

[0094] The second display unit is used to display the logical connection line associated with the first game component in response to the triggering operation of the logical control.

[0095] In a possible implementation, the second display module 702 may include:

[0096] A third display unit is used to display the attribute information of the first game component in response to the selection operation of the first game component, and display the logic control associated with the first game component in a preset display area around at least one of the attribute information;

[0097] The fourth display unit is used to display the logical connection line associated with the first game component in response to the triggering operation of the target logical control in the preset display area.

[0098] In a possible implementation manner, one end of the logic connection line is connected to the logic control, and accordingly, the game content generation module 703 may include:

[0099] The first control logic establishing unit is used to establish a game control logic between the first game component and the second game component in response to a moving operation of moving the other end of the logic connection line to the second game component.

[0100] In a possible implementation, the first display unit or the third display unit may include:

[0101] A first display subunit, used for displaying a first logic control and / or a second logic control associated with the first game component, wherein the display styles of the first logic control and the second logic control are different;

[0102] Accordingly, the second display unit or the fourth display unit may include:

[0103] A second display subunit is used to display a first logic connection line associated with the first game component in response to a triggering operation on the first logic control, and the first logic connection line is used to establish a game control logic of the first game component over the other game components; and / or, in response to a triggering operation on the second logic control, display a second logic connection line associated with the first game component, and the second logic connection line is used to establish a game control logic of the other game components over the first game component.

[0104] In a possible implementation manner, the game content generating device 700 may further include:

[0105] The first display module is used to display the logical connection line between the first game component and the second game component.

[0106] In a possible implementation, the game content generation module 703 may include:

[0107] A fifth display unit, configured to display a logic configuration page corresponding to the logic connection line in response to a moving operation of moving the logic connection line to the second game component;

[0108] The second control logic establishing unit is used to obtain control logic parameters corresponding to the configuration operation in response to the configuration operation on the logic configuration page, and establish the game control logic between the first game component and the second game component according to the control logic parameters.

[0109] In a possible implementation, the first display module 701 may include:

[0110] A sixth display unit, used to display a game editing page in a three-dimensional scene;

[0111] Accordingly, the game content generating device 700 may further include:

[0112] A third display module, used to display multiple preset game components;

[0113] a fourth display module, configured to display a two-dimensional first game component in the game editing page in response to a selection operation on the first game component among the plurality of preset game components;

[0114] A fifth display module is used to display a two-dimensional second game component in the game editing page in response to a selection operation on the second game component among the plurality of preset game components.

[0115] Regarding the game content 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.

[0116] 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 content generation method are implemented.

[0117] Based on the same concept, the present disclosure also provides an electronic device, including:

[0118] a storage device having a computer program stored thereon;

[0119] A processing device is used to execute the computer program in the storage device to implement the steps of the above-mentioned game content generation method.

[0120] Reference below Figure 8 , 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 8 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.

[0121] like Figure 8As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0122] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 800 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.

[0123] 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 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

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

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

[0126] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0127] 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, in which a first game component and a second game component to be edited are displayed; in response to a selection operation on the first game component, a logical connection line associated with the first game component is displayed, and the logical connection line is used to establish a game control logic between the first game component and other game components displayed in the game editing page; in response to a move operation of moving the logical connection line to the second game component, a game control logic between the first game component and the second game component is established to obtain target game content.

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

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

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

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

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

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

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

[0135] 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 content, characterized in that: The method comprises: Displaying a game editing page, wherein the game editing page displays a first game component and a second game component to be edited; In response to a selection operation on the first game component, a logic connection line associated with the first game component is displayed, wherein the logic connection line is used to establish a game control logic between the first game component and other game components displayed in the game editing page; In response to a moving operation of moving the logic connection line to the second game component, a game control logic between the first game component and the second game component is established to obtain target game content.

2. The method according to claim 1, characterized in that In response to the selection operation of the first game component, displaying the logical connection line associated with the first game component includes: In response to a selection operation on the first game component, displaying a logic control associated with the first game component; In response to a triggering operation on the logic control, a logic connection line associated with the first game component is displayed.

3. The method according to claim 1, characterized in that In response to the selection operation of the first game component, displaying the logical connection line associated with the first game component includes: In response to a selection operation on the first game component, displaying attribute information of the first game component, and displaying a logic control associated with the first game component in a preset display area around at least one of the attribute information; In response to a triggering operation on a target logic control in the preset display area, a logic connection line associated with the first game component is displayed.

4. The method according to claim 2 or 3, characterized in that: One end of the logic connection line is connected to the logic control, and in response to the moving operation of moving the logic connection line to the second game component, the game control logic between the first game component and the second game component is established, including: In response to a moving operation of moving the other end of the logic connection line to the second game component, a game control logic between the first game component and the second game component is established.

5. The method according to claim 2 or 3, characterized in that: The display of the logic control widget associated with the first game component includes: Displaying a first logic control and / or a second logic control associated with the first game component, wherein the display styles of the first logic control and the second logic control are different; The step of displaying the logic connection line associated with the first game component in response to the triggering operation on the logic control comprises: In response to a triggering operation on the first logic control, a first logic connection line associated with the first game component is displayed, and the first logic connection line is used to establish a game control logic of the first game component over the other game components; and / or, in response to a triggering operation on the second logic control, a second logic connection line associated with the first game component is displayed, and the second logic connection line is used to establish a game control logic of the other game components over the first game component.

6. The method according to any one of claims 1 to 3, characterized in that After establishing the game control logic between the first game component and the second game component, the method further includes: The logical connection line is displayed between the first game component and the second game component.

7. The method according to any one of claims 1 to 3, characterized in that In response to the moving operation of moving the logic connection line to the second game component, establishing the game control logic between the first game component and the second game component comprises: In response to a moving operation of moving the logic connection line to the second game component, displaying a logic configuration page corresponding to the logic connection line; In response to the configuration operation on the logic configuration page, a control logic parameter corresponding to the configuration operation is obtained, and a game control logic between the first game component and the second game component is established according to the control logic parameter.

8. The method according to any one of claims 1 to 3, characterized in that The display of the game editing page includes: Display the game editing page in the 3D scene; The method further comprises: Display multiple preset game components; In response to a selection operation of a first game component among the plurality of preset game components, displaying the first game component in two dimensions in the game editing page; In response to a selection operation of a second game component from among the plurality of preset game components, a two-dimensional second game component is displayed in the game editing page.

9. A game content generating device, characterized in that: include: A first display module, used for displaying a game editing page, wherein the game editing page displays a first game component and a second game component to be edited; A second display module, configured to display a logic connection line associated with the first game component in response to a selection operation on the first game component, wherein the logic connection line is used to establish a game control logic between the first game component and other game components displayed in the game editing page; The game content generation module is used to establish a game control logic between the first game component and the second game component in response to a moving operation of moving the logic connection line to the second game component, so as to obtain target game content.

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.