Game configuration method and device and electronic equipment
By splitting the game into core components and public components, and adapting to new scenarios through simple configuration, the problems of high cost and low efficiency of game development in the existing technology are solved, and flexible and simple game configuration and efficient development process are achieved. .
Patent Information
- Application Number
- CN202411554579.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-25
AI Technical Summary
The development of existing games is carried out in a single node mode, resulting in the need to write a large amount of code in different marketing scenarios, increasing development costs and reducing development efficiency.
Split the game into a structure of core components and public components, and make the game core components suitable for new scenarios through simple configuration of game parameters, and then generate game data with existing game public components.
It realizes the flexibility and simplicity of game configuration methods, reduces the workload and development costs of developers, and improves the development efficiency of games.
Smart Images

Figure CN119499662A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a game configuration method, configuration device and electronic equipment. Background Art
[0002] Currently, it is a common marketing method to attract users to participate in online activities by operating games. When the marketing effect is good, the organizer usually wants to continue to reuse similar games in other marketing scenarios. However, in different marketing scenarios, the elements used in the game need to be different, which requires developers to "transform" the game for secondary development in order to adapt to the development needs in different marketing scenarios.
[0003] However, existing game development is carried out in a single-node mode, which means that the entire game needs to be modified and adapted by writing code. As games are reused, the amount of code developed is increasing due to different development requirements in different marketing scenarios. Therefore, this method of writing a large amount of code leads to high development costs and low development efficiency for similar games. Summary of the invention
[0004] In view of this, the purpose of this application is to provide a game configuration method, configuration device and electronic device, which splits the game into a game structure of core components and common components. When there is a need to reuse similar games, the existing game core components can be used to make them suitable for new scenarios through simple configuration of game parameters, and then combined with the existing game common components to generate game data. In this way, the game configuration method can be made more flexible and simple, reducing the workload and development costs of developers and improving the development efficiency of games.
[0005] The embodiment of the present application provides a game configuration method, which provides a graphical user interface through a terminal device, wherein the graphical user interface displays a game editing interface, and the game editing interface includes a game component selection area and a game process display area; the method includes:
[0006] In response to a component selection operation for a game core component in the game component selection area, a target game core component of a game to be constructed is selected from a pre-built game core component library, and the target game core component is placed in the game process display area; wherein each game core component is used to indicate a core gameplay of a type of game;
[0007] In response to a configuration operation on the target game core component, configuring a game parameter of the target game core component;
[0008] In response to a component selection operation for a game common component in the game component selection area, a target game common component of a game to be constructed is selected from a pre-constructed game common component library, and the target game common component is placed in the game process display area; wherein the game common component is used to indicate a common process for operating various types of games;
[0009] In response to a jump configuration operation between any two target game components, configure jump relationship data between any two target game components; the target game components include a target game core component and a target game common component;
[0010] In response to a save operation on the game editing interface, the target game core component, the target game common component and the jump relationship data are taken as game data of the game to be constructed and saved.
[0011] Further, in response to the configuration operation for the target game core component, configuring the game parameters of the target game core component includes:
[0012] In response to a trigger operation on the target game core component, a game component configuration interface is displayed in the graphical user interface; wherein the game component configuration interface includes a component configuration area; and the game parameter items of the target game core component available for configuration are displayed in the component configuration area;
[0013] In response to a configuration operation on the game parameter item, determining a game parameter corresponding to the game parameter item;
[0014] The game engine corresponding to the target game core component is called, and the original game parameters of the target game core component are adjusted according to the game parameters.
[0015] Furthermore, the method further comprises:
[0016] In response to a trigger operation on the target game common component, a game component configuration interface is displayed in the graphical user interface; wherein the game component configuration interface includes a component configuration area; the component configuration area displays webpage parameter items of the target game common component that are available for configuration;
[0017] In response to the configuration operation on the webpage parameter item, determining the webpage parameter corresponding to the webpage parameter item;
[0018] A web page editor is called to configure the target web page corresponding to the target game common component according to the web page parameters.
[0019] Further, the webpage parameter item includes: a display element item; the game component configuration interface also includes a component preview area; the response to the configuration operation on the webpage parameter item, determining the webpage parameter corresponding to the webpage parameter item includes:
[0020] In response to a trigger operation on the display element item, displaying a library of web page elements that can be displayed in the target web page in the component configuration area;
[0021] In response to a selection operation on a web page element in the web page element library, determining a target web page element included in the target web page;
[0022] In response to the configuration operation for the target web page element, a web page parameter of the target web page element in the target web page is determined, and a page effect of the target web page is displayed in real time in the component preview area.
[0023] Further, the web page parameters include jump parameters; and in response to the configuration operation on the target web page element, determining the web page parameters of the target web page element in the target web page includes:
[0024] In response to a first configuration operation on the target webpage element, enabling a jump function of the target webpage element;
[0025] In response to a second configuration operation on the target web page element, determining a jump type of the target web page element;
[0026] When the jump type is a jump within the operating game, the jump relationship data is read to determine the associated target game component that has a jump relationship with the target game common component;
[0027] In response to a selection operation on the associated target game component, a jump address of the target web page element is determined according to the selected associated target game component.
[0028] Further, the webpage parameter item includes: a verification rule item; and in response to the configuration operation on the webpage parameter item, determining the webpage parameter corresponding to the webpage parameter item includes:
[0029] In response to a trigger operation on the verification rule item, enabling an entry verification function of the target webpage, and displaying candidate verification items in the component configuration area;
[0030] In response to the configuration operation for the candidate verification entry, the verification rule of the target web page is configured to determine whether to allow access to the target web page by comparing the game running data of the user terminal with the verification rule during the game running process.
[0031] Further, the webpage parameter item includes: a pop-up rule item; and in response to the configuration operation on the webpage parameter item, determining the webpage parameter corresponding to the webpage parameter item includes:
[0032] In response to the configuration operation for the pop-up rule item, the pop-up rules in the target web page are determined, so that a pop-up window is displayed by comparing the game operation data of the user terminal with the pop-up rules during the game operation; wherein the pop-up window rules include the conditions for obtaining a reward pop-up window, a reward prompt, and a prompt for not obtaining a reward pop-up window.
[0033] Furthermore, the method further comprises:
[0034] A game link is generated based on the game data of the game to be constructed, so that the user terminal obtains the game data and runs the game through the game link.
[0035] The embodiment of the present application also provides a game configuration device, which provides a graphical user interface through a terminal device, and displays a game editing interface in the graphical user interface, and the game editing interface includes a game component selection area and a game process display area; the device includes:
[0036] A core component selection module, for selecting a target game core component of a game to be constructed from a pre-built game core component library in response to a component selection operation for a game core component in the game component selection area, and placing the target game core component in the game process display area; wherein each game core component is used to indicate a core gameplay of a type of game;
[0037] A parameter configuration module, configured to configure game parameters of the target game core component in response to a configuration operation on the target game core component;
[0038] A common component selection module, for responding to a component selection operation for a game common component in the game component selection area, selecting a target game common component for a game to be constructed from a pre-constructed game common component library, and placing the target game common component in the game process display area; wherein the game common component is used to indicate a common process for operating various types of games;
[0039] A jump configuration module, configured to configure jump relationship data between any two target game components in response to a jump configuration operation between any two target game components; the target game components include a target game core component and a target game common component;
[0040] The saving module is used to respond to the saving operation on the game editing interface and save the target game core components, the target game common components and the jump relationship data as the game data of the game to be constructed.
[0041] An embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the game configuration method as described above are performed.
[0042] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the game configuration method as described above are executed.
[0043] The embodiments of the present application provide a game configuration method, configuration device, and electronic device, which split the game into a game structure of core components and common components. When there is a need to reuse similar games, the existing game core components can be used to make them suitable for new scenarios through simple configuration of game parameters, and then the game data can be generated by combining the existing game common components. In this way, the game configuration method can be made more flexible and simple, reducing the workload and development costs of developers and improving the development efficiency of games.
[0044] Among them, by calling the game engine corresponding to the game core component, the original game parameters can be adjusted according to the configured game parameters. In this way, when there is a need to reuse similar games, based on the use of existing game core components, users only need to perform simple configuration operations on the game parameters to make it suitable for new scenarios and realize code-free game generation.
[0045] In addition, the solution of the present application also provides a custom configuration method for game common components. Through the game structure of game common components + game core components, users can freely choose combinations, reduce the granularity of game development, and improve the flexibility of game configuration. By calling the web editor, the display elements, verification rules, and pop-up rules in the web page corresponding to the game common components can be simply and flexibly configured.
[0046] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0048] Figure 1 One of the flow charts of a game configuration method provided in an embodiment of the present application is shown;
[0049] Figure 2 A schematic diagram of a game editing interface provided by an embodiment of the present application is shown;
[0050] Figure 3 A second flowchart of a game configuration method provided in an embodiment of the present application is shown;
[0051] Figure 4 A schematic diagram of the structure of a game configuration device provided in an embodiment of the present application is shown;
[0052] Figure 5 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0053] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0054] Research has found that currently, operating games to attract users to participate in online activities is a common marketing method. When the marketing effect is good, the organizer usually wants to continue to reuse similar games in other marketing scenarios. However, in different marketing scenarios, the elements used in the game need to be different, which requires developers to "transform" the game for secondary development in order to adapt to the development needs of different marketing scenarios.
[0055] However, existing game development is carried out in a single-node mode, which means that the entire game needs to be modified and adapted by writing code. As games are reused, the amount of code developed is increasing due to different development requirements in different marketing scenarios. Therefore, this method of writing a large amount of code leads to high development costs and low development efficiency for similar games.
[0056] Based on this, an embodiment of the present application provides a game configuration method to make the game configuration method more flexible and simple, reduce the workload and development costs of developers, and improve the development efficiency of the game.
[0057] See also Figure 1 and Figure 2 , Figure 1 One of the flowcharts of a game configuration method provided in an embodiment of the present application; Figure 2 A schematic diagram of a game editing interface provided by an embodiment of the present application. The present application provides a graphical user interface through a terminal device. By triggering a game configuration request in the graphical user interface, a game editing interface can be displayed in the graphical user interface. For example, a user can create a blank content package template to carry the game to be built; the cover image, name, and description information of the content package template can be set, and then the game configuration request can be triggered by a confirmation operation. Figure 2 As shown in , the game editing interface includes a game component selection area 2a and a game process display area 2b. Figure 1 As shown in , the game configuration method provided in the embodiment of the present application includes:
[0058] S101. In response to a component selection operation for a game core component in the game component selection area, a target game core component for a game to be constructed is selected from a pre-built game core component library, and the target game core component is placed in the game process display area.
[0059] like Figure 2 As shown in the figure, a pre-built game core component library is displayed in the game component selection area 2a; the game core component library includes at least one game core component, and each game core component is used to indicate the core gameplay of a type of game. For example, the "memory type" game core component indicates a game whose core gameplay is a memory test type.
[0060] In specific implementation, the component selection operation for the game core components in the game component selection area can be triggered by dragging and dropping the game components to select the target game core components of the game to be constructed; the component selection operation can also be triggered by the mouse, keyboard, voice, etc. Among them, the target game core components can be one or more, that is, the game finally constructed can be a single game, or it can be obtained by combining multiple games in sequence. Afterwards, in response to the component selection operation, the selected target game core component is placed in the game process display area 2b.
[0061] S102. In response to a configuration operation for the target game core component, configure game parameters of the target game core component.
[0062] Here, the game parameters include the game values designed when the game is running. By changing the game parameters, the difficulty of the game can be affected, but it has nothing to do with the game type, that is, it will not change the core gameplay of the game. For example, the game parameters may include the global game duration, clearance conditions, clearance rewards, and level settings. In addition, the UI design and display elements of the game interface can also be configured.
[0063] In a possible implementation, step S102 may include:
[0064] In response to a trigger operation on the target game core component, a game component configuration interface is displayed in the graphical user interface; in response to a configuration operation on the game parameter item, a game parameter corresponding to the game parameter item is determined; and a game engine corresponding to the target game core component is called to adjust the original game parameters of the target game core component according to the game parameters.
[0065] In the specific implementation, this component can be triggered by double-clicking the target game core component, and then the game component configuration interface is displayed in the graphical user interface. Among them, the game component configuration interface includes a component configuration area; the game parameter items of the target game core component that can be configured are displayed in the component configuration area; corresponding to the above example, the game parameter items may include global game duration items, clearance conditions items, clearance reward items, and level setting items. In one example, clearance condition items: the clearance number reaches x levels or more for a successful clearance, and x is the game parameter that needs to be configured. For each game parameter item in the target game core component, a default original game parameter can be set for user reference. After the user modifies the original parameters through the configuration operation, the game parameters entered or selected by the user in the game component configuration interface can be determined according to the configuration operation. Afterwards, the game parameters are passed in by calling the game engine, and the original game parameters in the source code are modified accordingly.
[0066] In this way, when there is a need to reuse similar games, existing core game components can be used. Users only need to perform simple configuration operations on game parameters to make it suitable for new scenarios and achieve codeless game generation, thereby reducing the workload and development costs of developers and improving game development efficiency.
[0067] S103. In response to a component selection operation on a game common component in the game component selection area, a target game common component for a game to be constructed is selected from a pre-constructed game common component library, and the target game common component is placed in the game process display area.
[0068] like Figure 2 As shown in , a game common component library is also displayed in the game component selection area 2a; the game common component library includes at least one game common component, and the game common component is used to indicate the common process of operating various types of games. It should be noted that when operating any type of game, in addition to operating the core web page of the game, a front-end guide page, a middle reward page, and a result page after the game are also required, which are the common processes of operating various types of games. The embodiment of the present application summarizes and investigates multiple types of games, extracts the common processes of at least two types of games, forms an independent game common component, and then constructs a game common component library. In this way, by splitting the game into a game structure of core components and common components, users can freely choose combinations, reduce the granularity of game development, and improve the flexibility of configuring games.
[0069] In specific implementation, the component selection operation for the game common components in the game component selection area can be triggered by dragging and dropping the game components to select the target game common components of the game to be built; the component selection operation can also be triggered by the mouse, keyboard, voice, etc. Among them, the target game core component can be one or more, and then, in response to the component selection operation, the selected target game core component is placed in the game process display area 2b.
[0070] S104: In response to a jump configuration operation between any two target game components, configure jump relationship data between any two target game components.
[0071] Here, the target game component includes a target game core component and a target game common component. That is, the user can configure the jump relationship between two target game core components, the jump relationship between target game common components, and the jump relationship between any target game core component and any target game common component.
[0072] like Figure 2As shown, the user can trigger the jump configuration operation by drawing a directed line segment connecting two components. The two ends of the line segment represent any two target game components, and the arrow direction of the line segment represents the jump direction.
[0073] S105. In response to a save operation on the game editing interface, the target game core component, the target game common component and the jump relationship data are saved as game data of the game to be constructed.
[0074] In this step, the user can trigger the save operation in the game editing interface to save the configured target game core components, target game common components and jump relationship data to obtain the game data of the game to be built. At the same time, the entry game component of the entire game can also be specified, so that when the game is run based on the game data, the game can be run sequentially starting from the entry game component.
[0075] Furthermore, the method further includes: generating a game link based on the game data of the game to be constructed, so that the user terminal obtains the game data and runs the game through the game link. Specifically, rendering and displaying pages according to the configured game common components, jumping between pages corresponding to the components, and providing game content in corresponding scenarios according to the configured game core components, and finally obtaining the game result.
[0076] Furthermore, in the solution provided in the embodiment of the present application, the user can also personalize the common components of the game. Figure 3 , Figure 3 This is a second flowchart of a game configuration method provided in an embodiment of the present application. Figure 3 As shown in , the game configuration method also includes:
[0077] S201. In response to a triggering operation on the target game common component, a game component configuration interface is displayed in the graphical user interface.
[0078] In specific implementation, the target game common component can be triggered by double-clicking the component, and then the game component configuration interface is displayed in the graphical user interface. The game component configuration interface includes a component configuration area; the component configuration area displays web page parameter items of the target game common component that can be configured.
[0079] S202: In response to a configuration operation on the webpage parameter item, determine a webpage parameter corresponding to the webpage parameter item.
[0080] S203, calling a webpage editor to configure a target webpage corresponding to the target game common component according to the webpage parameters.
[0081] In a specific implementation, the webpage parameter item may include at least one of the following items: a display element item, a verification rule item, and a verification rule item. In response to the configuration operation for the webpage parameter item, the webpage parameter corresponding to the webpage parameter item input or selected by the user in the game component configuration interface may be determined, and then a webpage editor (such as an H5 webpage editor) may be called to configure the target webpage page corresponding to the target game public component according to the webpage parameter. In addition, the game component configuration interface may also include a component preview area to display the configuration effect of the target webpage page in real time.
[0082] More specifically, for the display element item, the step S202 may include: in response to a trigger operation on the display element item, displaying a library of web page elements that can be displayed in the target web page in the component configuration area; in response to a selection operation on a web page element in the web page element library, determining a target web page element included in the target web page; in response to a configuration operation on the target web page element, determining a web page parameter of the target web page element in the target web page, and displaying the page effect of the target web page in real time in the component preview area.
[0083] Here, web page elements refer to visual display elements in the page, such as background images, input boxes, submit buttons, slider verification, etc. Web page parameters may include display effect parameters of display elements, such as size, position, color, and style. Through the selection operation, the target web page elements that should be included in the target web page can be selected from the web page element library; and the layout of the display elements of the target web page elements can be designed through the configuration operation to determine the web page parameters of the target web page elements in the target web page. At the same time, the component preview area displays the page effect of the target web page in real time according to the web page parameters, so that users can intuitively observe whether the design effect of the web page meets expectations, and then make adjustments in time to improve development efficiency.
[0084] In a possible implementation manner, the web page parameters include jump parameters; the web page parameters of the target web page element in the target web page may be determined in the following manner:
[0085] First, in response to a first configuration operation on the target web page element, a jump function of the target web page element is enabled, so that in the configured target web page, the user can jump to other web pages through the jump function by triggering the target web page element.
[0086] Afterwards, in response to a second configuration operation for the target web page element, the jump type of the target web page element is determined; the jump types include jumping within the operating game (i.e. jumping between multiple pages of the operating game), jumping within the activity (i.e. leaving the current operating game and jumping to other activities), external link jumping (i.e. leaving the current operating game and jumping to an external link address), etc.
[0087] When the jump type is a jump within an operating game, for the target game public component for which the web page parameter item is configured, other target game components that have a jump relationship with the target game public component in the game process display area can be determined by reading the previously configured jump relationship data, and used as associated target game components of the target game component, and the associated target game components can be displayed in the drop-down bar of the jump address item of the target web page element.
[0088] Finally, in response to a selection operation on an associated target game component in the jump address item, a jump address of the target web page element is determined according to the selected associated target game component.
[0089] In this way, in the configured target web page, the user can access the web page corresponding to the jump address by triggering the target web page element, thereby realizing the in-game jump under the control of the web page element.
[0090] For the verification rule item, step S202 may include: in response to a trigger operation for the verification rule item, enabling an entry verification function of the target web page, and displaying candidate verification items in the component configuration area;
[0091] In response to the configuration operation for the candidate verification entry, the verification rule of the target web page is configured to determine whether to allow access to the target web page by comparing the game running data of the user terminal with the verification rule during the game running process.
[0092] Among them, candidate verification items may include user qualifications, activity time, game time, number of games, lottery time and number of lottery, etc. By configuring verification rules, during the game operation process, the game operation data of the user terminal is compared to see whether it meets the verification rules. If it meets the rules, the user is allowed to enter the target web page, which can realize the smooth operation of the game and prevent users without permission or users whose game data do not meet the conditions from entering the page.
[0093] For the pop-up rule item, step S202 may include: in response to the configuration operation for the pop-up rule item, determining the pop-up rule in the target web page, so as to display a pop-up by comparing the game running data of the user terminal with the pop-up rule during the game running process.
[0094] The pop-up window rules include the conditions for obtaining a reward pop-up window, reward prompts, and prompts for not obtaining a reward pop-up window. By configuring the pop-up window rules, during the game operation process, the game operation data of the user terminal is compared to see whether it meets the pop-up window rules, and the corresponding pop-up window is displayed to improve the interactivity of the game.
[0095] The game configuration method provided by the embodiment of the present application provides a graphical user interface through a terminal device, and a game editing interface is displayed in the graphical user interface. The game editing interface includes a game component selection area and a game process display area; the method includes: in response to a component selection operation for a game core component in the game component selection area, selecting a target game core component of a game to be constructed from a pre-built game core component library, and placing the target game core component in the game process display area; wherein each game core component is used to indicate the core gameplay of a type of game; in response to a configuration operation for a target game core component, configuring the game parameters of the target game core component; in response to a configuration operation for a game component The component selection operation of the game common component in the component selection area selects the target game common component of the game to be constructed from the pre-built game common component library, and places the target game common component in the game process display area; wherein the game common component is used to indicate the common process of operating various types of games; in response to the jump configuration operation between any two target game components, the jump relationship data between any two target game components is configured; the target game component includes a target game core component and a target game common component; in response to the save operation on the game editing interface, the target game core component, the target game common component and the jump relationship data are used as the game data of the game to be constructed and saved.
[0096] By splitting the game into core components and common components, when there is a need to reuse similar games, the existing core components of the game can be used to adapt it to new scenarios through simple configuration of game parameters, and then combined with the existing common components of the game to generate game data. In this way, the configuration of the game can be made more flexible and simple, reducing the workload and development costs of developers and improving the efficiency of game development.
[0097] See also Figure 4 , Figure 4 A schematic diagram of the structure of a game configuration device provided in an embodiment of the present application. A graphical user interface is provided through a terminal device, and a game editing interface is displayed in the graphical user interface. The game editing interface includes a game component selection area and a game process display area; Figure 4 As shown in , the game configuration device 400 includes:
[0098] The core component selection module 410 is used to select a target game core component of the game to be constructed from a pre-built game core component library in response to a component selection operation for the game core component in the game component selection area, and place the target game core component in the game process display area; wherein each game core component is used to indicate a core gameplay of a type of game;
[0099] A parameter configuration module 420, configured to configure game parameters of the target game core component in response to a configuration operation on the target game core component;
[0100] The common component selection module 430 is used to select a target game common component of the game to be constructed from a pre-built game common component library in response to a component selection operation for the game common component in the game component selection area, and place the target game common component in the game process display area; wherein the game common component is used to indicate a common process for operating various types of games;
[0101] The jump configuration module 440 is used to configure the jump relationship data between any two target game components in response to the jump configuration operation between any two target game components; the target game components include the target game core component and the target game common component;
[0102] The saving module 450 is used to respond to the saving operation on the game editing interface and save the target game core components, the target game common components and the jump relationship data as the game data of the game to be constructed.
[0103] Further, when the parameter configuration module 420 is used to configure the game parameters of the target game core component in response to the configuration operation for the target game core component, the parameter configuration module is used to:
[0104] In response to a trigger operation on the target game core component, a game component configuration interface is displayed in the graphical user interface; wherein the game component configuration interface includes a component configuration area; and the game parameter items of the target game core component available for configuration are displayed in the component configuration area;
[0105] In response to a configuration operation on the game parameter item, determining a game parameter corresponding to the game parameter item;
[0106] The game engine corresponding to the target game core component is called, and the original game parameters of the target game core component are adjusted according to the game parameters.
[0107] Furthermore, the parameter configuration module 420 is also used to:
[0108] In response to the configuration operation on the webpage parameter item, determining the webpage parameter corresponding to the webpage parameter item;
[0109] A web page editor is called to configure the target web page corresponding to the target game common component according to the web page parameters.
[0110] Further, the webpage parameter item includes: a display element item; the game component configuration interface also includes a component preview area; when the parameter configuration module 420 is used to respond to the configuration operation for the webpage parameter item and determine the webpage parameter corresponding to the webpage parameter item, the parameter configuration module 420 is used to:
[0111] In response to a trigger operation on the display element item, displaying a library of web page elements that can be displayed in the target web page in the component configuration area;
[0112] In response to a selection operation on a web page element in the web page element library, determining a target web page element included in the target web page;
[0113] In response to the configuration operation for the target web page element, a web page parameter of the target web page element in the target web page is determined, and a page effect of the target web page is displayed in real time in the component preview area.
[0114] Further, the web page parameters include jump parameters; when the parameter configuration module 420 is used to determine the web page parameters of the target web page element in the target web page in response to the configuration operation on the target web page element, the parameter configuration module 420 is used to:
[0115] In response to a first configuration operation on the target webpage element, enabling a jump function of the target webpage element;
[0116] In response to a second configuration operation on the target web page element, determining a jump type of the target web page element;
[0117] When the jump type is a jump within the operating game, the jump relationship data is read to determine the associated target game component that has a jump relationship with the target game common component;
[0118] In response to a selection operation on the associated target game component, a jump address of the target web page element is determined according to the selected associated target game component.
[0119] Further, the webpage parameter item includes: a verification rule item; when the parameter configuration module 420 is used to determine the webpage parameter of the target webpage element in the target webpage page in response to the configuration operation for the target webpage element, the parameter configuration module 420 is used to:
[0120] In response to a trigger operation on the verification rule item, enabling an entry verification function of the target webpage, and displaying candidate verification items in the component configuration area;
[0121] In response to the configuration operation for the candidate verification entry, the verification rule of the target web page is configured to determine whether to allow access to the target web page by comparing the game running data of the user terminal with the verification rule during the game running process.
[0122] Further, the webpage parameter item includes: a pop-up rule item; when the parameter configuration module 420 is used to respond to the configuration operation on the target webpage element and determine the webpage parameter of the target webpage element in the target webpage page, the parameter configuration module 420 is used to:
[0123] In response to the configuration operation for the pop-up rule item, the pop-up rules in the target web page are determined, so that a pop-up window is displayed by comparing the game operation data of the user terminal with the pop-up rules during the game operation; wherein the pop-up window rules include the conditions for obtaining a reward pop-up window, a reward prompt, and a prompt for not obtaining a reward pop-up window.
[0124] Furthermore, the game configuration device 400 further includes: a generation module (not shown in the figure); the generation module is used to:
[0125] A game link is generated based on the game data of the game to be constructed, so that the user terminal obtains the game data and runs the game through the game link.
[0126] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5 As shown in , the electronic device 500 includes a processor 510 , a memory 520 and a bus 530 .
[0127] The memory 520 stores machine-readable instructions executable by the processor 510. When the electronic device 500 is running, the processor 510 communicates with the memory 520 via the bus 530. When the machine-readable instructions are executed by the processor 510, the above-mentioned Figure 1 as well as Figure 3The specific implementation of the steps of the game configuration method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0128] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 as well as Figure 3 The specific implementation of the steps of the game configuration method in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0129] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0130] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0131] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0132] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0133] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0134] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A game configuration method, characterized in that: Providing a graphical user interface through a terminal device, wherein the graphical user interface displays a game editing interface, wherein the game editing interface includes a game component selection area and a game process display area; the method includes: In response to a component selection operation for a game core component in the game component selection area, a target game core component of a game to be constructed is selected from a pre-built game core component library, and the target game core component is placed in the game process display area; wherein each game core component is used to indicate a core gameplay of a type of game; In response to a configuration operation on the target game core component, configuring a game parameter of the target game core component; In response to a component selection operation for a game common component in the game component selection area, a target game common component of a game to be constructed is selected from a pre-constructed game common component library, and the target game common component is placed in the game process display area; wherein the game common component is used to indicate a common process for operating various types of games; In response to a jump configuration operation between any two target game components, configure jump relationship data between any two target game components; the target game components include a target game core component and a target game common component; In response to a save operation on the game editing interface, the target game core component, the target game common component and the jump relationship data are taken as game data of the game to be constructed and saved.
2. The method according to claim 1, characterized in that In response to the configuration operation for the target game core component, configuring the game parameters of the target game core component includes: In response to a trigger operation on the target game core component, a game component configuration interface is displayed in the graphical user interface; wherein the game component configuration interface includes a component configuration area; and the game parameter items of the target game core component available for configuration are displayed in the component configuration area; In response to a configuration operation on the game parameter item, determining a game parameter corresponding to the game parameter item; The game engine corresponding to the target game core component is called, and the original game parameters of the target game core component are adjusted according to the game parameters.
3. The method according to claim 1, characterized in that The method further comprises: In response to a trigger operation on the target game common component, a game component configuration interface is displayed in the graphical user interface; wherein the game component configuration interface includes a component configuration area; the component configuration area displays webpage parameter items of the target game common component that are available for configuration; In response to the configuration operation on the webpage parameter item, determining the webpage parameter corresponding to the webpage parameter item; A web page editor is called to configure the target web page corresponding to the target game common component according to the web page parameters.
4. The method according to claim 3, characterized in that The webpage parameter item includes: a display element item; the game component configuration interface also includes a component preview area; the response to the configuration operation on the webpage parameter item, determining the webpage parameter corresponding to the webpage parameter item, includes: In response to a trigger operation on the display element item, displaying a library of web page elements that can be displayed in the target web page in the component configuration area; In response to a selection operation on a web page element in the web page element library, determining a target web page element included in the target web page; In response to the configuration operation for the target web page element, a web page parameter of the target web page element in the target web page is determined, and a page effect of the target web page is displayed in real time in the component preview area.
5. The method according to claim 4, characterized in that The webpage parameters include jump parameters; and in response to the configuration operation on the target webpage element, determining the webpage parameters of the target webpage element in the target webpage page includes: In response to a first configuration operation on the target webpage element, enabling a jump function of the target webpage element; In response to a second configuration operation on the target web page element, determining a jump type of the target web page element; When the jump type is a jump within the operating game, the jump relationship data is read to determine the associated target game component that has a jump relationship with the target game common component; In response to a selection operation on the associated target game component, a jump address of the target web page element is determined according to the selected associated target game component.
6. The method according to claim 3, characterized in that The webpage parameter item includes: a verification rule item; the response to the configuration operation on the webpage parameter item, determining the webpage parameter corresponding to the webpage parameter item, includes: In response to a trigger operation on the verification rule item, enabling an entry verification function of the target webpage, and displaying candidate verification items in the component configuration area; In response to the configuration operation for the candidate verification entry, the verification rule of the target web page is configured to determine whether to allow access to the target web page by comparing the game running data of the user terminal with the verification rule during the game running process.
7. The method according to claim 3, characterized in that The webpage parameter item includes: a pop-up rule item; the response to the configuration operation on the webpage parameter item, determining the webpage parameter corresponding to the webpage parameter item, includes: In response to the configuration operation for the pop-up rule item, the pop-up rules in the target web page are determined, so that a pop-up window is displayed by comparing the game operation data of the user terminal with the pop-up rules during the game operation; wherein the pop-up window rules include the conditions for obtaining a reward pop-up window, a reward prompt, and a prompt for not obtaining a reward pop-up window.
8. The method according to claim 1, characterized in that The method further comprises: A game link is generated based on the game data of the game to be constructed, so that the user terminal obtains the game data and runs the game through the game link.
9. A game configuration device, characterized in that: A graphical user interface is provided through a terminal device, wherein the graphical user interface displays a game editing interface, wherein the game editing interface includes a game component selection area and a game process display area; the device includes: A core component selection module, for selecting a target game core component of a game to be constructed from a pre-built game core component library in response to a component selection operation for a game core component in the game component selection area, and placing the target game core component in the game process display area; wherein each game core component is used to indicate a core gameplay of a type of game; A parameter configuration module, configured to configure game parameters of the target game core component in response to a configuration operation on the target game core component; A common component selection module, for responding to a component selection operation for a game common component in the game component selection area, selecting a target game common component for a game to be constructed from a pre-constructed game common component library, and placing the target game common component in the game process display area; wherein the game common component is used to indicate a common process for operating various types of games; A jump configuration module, configured to configure jump relationship data between any two target game components in response to a jump configuration operation between any two target game components; the target game components include a target game core component and a target game common component; The saving module is used to respond to the saving operation on the game editing interface and save the target game core components, the target game common components and the jump relationship data as the game data of the game to be constructed.
10. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the game configuration method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Visualized game logic editing method and system
CN108021363A
Game editing method and device, game running method and device and computer equipment
CN114661284A
Checkpoint editing method and checkpoint editor
CN118593993A
Gaming platform for the development and execution of customized games and game components
US20140087355A1