Visual simulation method, system, device and medium for automatic operation parameters
By generating and binding preset formulas, creating configuration instances and performing confrontation simulations, the problem of inefficiency and intuition of game parameter verification is solved, improving verification efficiency and reducing the threshold for developers to test.
Patent Information
- Application Number
- CN202111521327.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2041-12-13
AI Technical Summary
In the prior art, there are problems of inefficiency and unintuitiveness in game parameter verification and lack of effective solutions.
By generating preset formulas and binding them to the formula body, creating configuration instances and adjusting the basic parameter values, setting up the battle instruction set for confrontation simulation, and obtaining simulation data.
It improves the efficiency of game parameter simulation verification, reduces the threshold for game developers to test game parameters, and provides a more intuitive verification process.
Smart Images

Figure CN114392557B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game parameter testing, and in particular to a method, system, device and medium for visually simulating automatic operation parameters. Background Art
[0002] Game parameter design cannot just stay at the theoretical level, but needs to be combined with actual games and verified in user experience feedback. As a game manufacturer, before launching a game product, it is necessary to predict the possible user experience feedback, that is, to test the designed game parameters to verify whether they can achieve the expected goals.
[0003] Currently, there are two main solutions to verify game design before users use it. One is to load the designed game parameters into the game through a program, and the tester will perform simulation tests; the other is to manually write code to simulate and obtain the final data table information. The former is relatively accurate, but it takes a lot of manpower and time to obtain enough data; the latter is slightly less accurate than the former, there is no intuitive experience, and the implementation threshold is very high.
[0004] Currently, no effective solution has been proposed for the inefficient and unintuitive problems of game parameter verification in related technologies. Summary of the invention
[0005] The embodiments of the present application provide a method, system, device and medium for visual simulation of automatic operation parameters, so as to at least solve the problems of inefficiency and unintuitiveness in game parameter verification in related technologies.
[0006] In a first aspect, an embodiment of the present application provides a method for visually simulating automatic operation parameters, the method comprising:
[0007] Generate a number of preset formulas according to the designed basic game parameters and operation logic, and bind the preset formulas to the formula bodies one by one;
[0008] Creating several configuration instances, and adding the formula body to the corresponding configuration instances;
[0009] Adjust the basic parameter values of the preset formula corresponding to the formula body to obtain the configuration parameters of the configuration instance, and set the operation logic of the configuration parameters in the configuration instance;
[0010] A combat instruction set is set, and different configuration instances are controlled by the combat instruction set to perform confrontation simulation and obtain simulation data.
[0011] In some embodiments, adjusting the basic parameter value of the preset formula corresponding to the formula body to obtain the configuration parameters of the configuration instance includes:
[0012] According to the number of configuration parameters required, if the number is greater than a preset threshold, the basic parameter values of the preset formulas corresponding to the formula bodies are adjusted in batches to obtain the configuration parameters of the configuration instance, and the configuration parameters are stored in a parameter library;
[0013] If the number is less than a preset threshold, the basic parameter value of the preset formula corresponding to the formula body is adjusted separately to obtain the configuration parameters of the configuration instance.
[0014] In some embodiments, the operation logic of setting the configuration parameters in the configuration instance includes:
[0015] Determine whether to execute the same configuration parameter, and if so, set a repeat logic to repeatedly execute the configuration parameter in the configuration instance;
[0016] If not, an incremental logic is set to execute a configuration parameter stored in the parameter library of the configuration instance within each preset time period, and the execution is switched in sequence according to the storage order.
[0017] In some embodiments, a plurality of preset formulas are generated according to the designed basic game parameters and operation logic, and the preset formulas are bound to the formula bodies one by one, including:
[0018] Creating a parameter layer according to the parameter names and parameter values of the designed basic game parameters, creating a calculation layer according to the parameter layer and the operation logic, and generating a preset formula in the calculation layer;
[0019] In the calculation layer, the preset formula is bound to the formula body one by one.
[0020] In some embodiments, after setting the operation logic of the configuration parameters in the configuration instance, the method further includes:
[0021] Set the running speed of the configuration instance for adversarial simulation.
[0022] In some embodiments, setting a combat instruction set, and controlling different configuration instances to perform confrontation simulation by the combat instruction set includes:
[0023] The combat instruction sets are respectively bound to the configuration instances, and the bound configuration instances are controlled by the combat instruction sets to perform confrontation simulation, wherein the control includes starting the confrontation simulation, pausing the confrontation simulation, and resetting the confrontation simulation.
[0024] In some embodiments, after obtaining the simulation data, the method further includes:
[0025] Obtaining basic game parameters and operation logic that meet the expected game objectives based on the simulation data;
[0026] Creating a parameter layer according to the parameter names and parameter values of the basic game parameters; creating a game configuration calculation layer and a secondary calculation layer according to the parameter layer and the operation logic, and storing the corresponding parameter layer and secondary calculation layer in the game configuration calculation layer;
[0027] Export the game configuration calculation layer as a json game configuration file.
[0028] In a second aspect, an embodiment of the present application provides a visual simulation system for automatic operation parameters, the system comprising a formula area module and an example area module;
[0029] The formula area module generates a number of preset formulas according to the designed basic game parameters and operation logic, and binds the preset formulas to the formula bodies one by one;
[0030] The instance area module creates several configuration instances and adds the formula body to the corresponding configuration instances;
[0031] The instance area module adjusts the basic parameter values of the preset formula corresponding to the formula body, obtains the configuration parameters of the configuration instance, and sets the operation logic of the configuration parameters in the configuration instance;
[0032] The instance area module sets a combat instruction set, and controls different configuration instances through the combat instruction set to perform confrontation simulation and obtain simulation data.
[0033] In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for visual simulation of automatic operation parameters as described in the first aspect above is implemented.
[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the visual simulation method of automatic operation parameters as described in the first aspect above.
[0035] Compared with the related art, the embodiments of the present application provide a method, system, device and medium for visual simulation of automatic operation parameters, which generates several preset formulas according to the designed basic game parameters and operation logic, and binds the preset formulas to the formula bodies one by one; creates several configuration instances, and adds the formula bodies to the corresponding configuration instances; adjusts the basic parameter values of the preset formulas corresponding to the formula bodies to obtain the configuration parameters of the configuration instances, and sets the operation logic of the configuration parameters in the configuration instances; sets a combat instruction set, and controls different configuration instances through the combat instruction set to perform confrontation simulation and obtain simulation data, which solves the problems of inefficiency and non-intuitiveness of game parameter verification in the related art, improves the efficiency of game parameter simulation verification, and lowers the threshold for game developers to test game parameters. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0037] Figure 1 is a flowchart of the steps of a visual simulation method of automatic operation parameters according to an embodiment of the present application;
[0038] Figure 2 It is a schematic diagram of storing basic game parameters and outputting configuration files according to the operation logic.
[0039] Figure 3 is a structural block diagram of a visual simulation system for automatic operation parameters according to an embodiment of the present application;
[0040] Figure 4 It is a schematic diagram of the internal structure of an electronic device according to an embodiment of the present application.
[0041] Description of the accompanying drawings: 31. Formula area module; 32. Example area module. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0043] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0044] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those of ordinary skill in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0045] Unless otherwise defined, the technical terms or scientific terms involved in this application should be understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "a", "a", "the" and the like involved in this application do not indicate a quantitative limitation, and may represent the singular or plural. The terms "include", "comprise", "have" and any of their variations involved in this application are intended to cover non-exclusive inclusions; for example, a process, method, system, product or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may also include steps or units that are not listed, or may also include other steps or units inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects before and after are in an "or" relationship. The terms "first", "second", "third", etc. involved in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0046] The present application embodiment provides a method for visual simulation of automatic operation parameters. Figure 1 is a flowchart of the steps of the visual simulation method of automatic operation parameters according to an embodiment of the present application, such as Figure 1As shown, the method comprises the following steps:
[0047] Step S102, generating a number of preset formulas according to the designed basic game parameters and operation logic, and binding the preset formulas to the formula bodies one by one;
[0048] Specifically, a parameter layer is created according to the parameter names and parameter values of the designed basic game parameters, a calculation layer is created according to the parameter layer and the operation logic, and a preset formula is generated in the calculation layer;
[0049] For example, based on the parameter name "attack" and the parameter value "10", create the parameter layer "attack = 10". Similarly, you can create the parameter layer "level = 1" and the parameter layer "defense = 5". Then, based on the operation logic "attack minus defense equals basic damage", create the calculation layer "basic damage", and generate the formula "basic damage = attack - defense" in this calculation layer. Based on the operation logic "basic damage multiplied by level equals player damage", create the calculation layer "player damage", and generate the formula "player damage = basic damage * level" in this calculation layer.
[0050] In the calculation layer, the formula "Player damage = basic damage * level" is bound to the formula body "Player damage".
[0051] In addition, the parameter layer, calculation layer, and formula body can be renamed, and as can be seen above, the created calculation layers can actually be nested layer by layer.
[0052] Step S104, creating several configuration instances, and adding the formula body to the corresponding configuration instances;
[0053] Specifically, for example, create a configuration instance "Player 1" and a configuration instance "Monster 1". Add the formula body "Player Damage" and the formula body "Player Health" to the configuration instance "Player 1"; add the formula body "Monster Damage" and the formula body "Monster Health" to the configuration instance "Monster 1".
[0054] Step S106, adjusting the basic parameter values of the preset formula corresponding to the formula body, obtaining the configuration parameters of the configuration instance, and setting the operation logic of the configuration parameters in the configuration instance;
[0055] Specifically, for example, the formula body "Player Damage" of the configuration instance "Player 1" corresponds to the formula "Player Damage = Basic Damage * Level". By adjusting the value of "Level", the configuration parameters of the configuration instance "Player 1" can be obtained, and then the operating logic of the configuration parameters can be set.
[0056] Step S108, setting a combat instruction set, and controlling different configuration instances through the combat instruction set to perform a confrontation simulation to obtain simulation data.
[0057] Specifically, a combat instruction set is set, and the combat instruction set is bound to the configuration instance "Player 1" and the configuration instance "Monster 1" respectively. The combat instruction set is used to control the bound configuration instance "Player 1" and the configuration instance "Monster 1" to perform a confrontation simulation, and the control includes starting the confrontation simulation, pausing the confrontation simulation, and resetting the confrontation simulation.
[0058] In addition, the combat instruction set can also control multiple configuration instances for confrontation simulation, such as "Player 1"'s confrontation target is "Monster 1", "Monster 1"'s confrontation target is "Player 2", and "Player 2"'s confrontation target is "Monster 2".
[0059] Through steps S102 to S108 in the embodiment of the present application, the problems of inefficiency and unintuitiveness in game parameter verification in related technologies are solved, the efficiency of game parameter simulation verification is improved, and the threshold for game developers to test game parameters is lowered.
[0060] In some embodiments, step S106, adjusting the basic parameter value of the preset formula corresponding to the formula body to obtain the configuration parameters of the configuration instance includes:
[0061] According to the number of required configuration parameters, if the number is greater than a preset threshold, the basic parameter values of the preset formulas corresponding to the formula bodies are adjusted in batches to obtain the configuration parameters of the configuration instance, and the configuration parameters are stored in the parameter library;
[0062] If the number is less than the preset threshold, the basic parameter value of the preset formula corresponding to the formula body is adjusted separately to obtain the configuration parameters of the configuration instance.
[0063] Specifically, for example, the formula body "Player Damage" of the configuration instance "Player 1" corresponds to the formula "Player Damage = Basic Damage * Level". By adjusting the value of "Level", the configuration parameters of the configuration instance "Player 1" can be obtained.
[0064] If the number of required configuration parameters is greater than the preset threshold, that is, the number of times the "level" is adjusted is large, the values of the "level" can be adjusted in batches to obtain a large number of configuration parameters, and these configuration parameters are stored in the parameter library.
[0065] If the number of required configuration parameters is greater than the preset threshold, that is, the number of times the "level" is adjusted is small, the value of the "level" can be adjusted separately to obtain a single configuration parameter.
[0066] In some embodiments, step S106, setting the operation logic of the configuration parameters in the configuration instance includes:
[0067] Determine whether to execute the same configuration parameters. If so, set the repetition logic to repeatedly execute the configuration parameters in the configuration instance.
[0068] If not, an incremental logic is set to execute a configuration parameter stored in the parameter library of the configuration instance within each preset time period, and the execution is switched in sequence according to the storage order.
[0069] In some of the embodiments, after setting the running logic of the configuration parameters in the configuration instance, the method further includes: setting the running speed of the configuration instance for the adversarial simulation.
[0070] Specifically, for example, when configuring the instance "Player 1" and the instance "Monster 1" to perform a confrontation simulation, the running speed of the entire confrontation simulation can be controlled by separately setting the attack speed of "Player 1" and separately setting the attack speed of "Monster 1".
[0071] In some embodiments, after obtaining the simulation data, the method further includes:
[0072] Obtain basic game parameters and operation logic that meet the expected game goals based on simulation data;
[0073] Create a parameter layer according to the parameter names and parameter values of the basic game parameters; create a game configuration calculation layer and a secondary calculation layer according to the parameter layer and the operation logic, and store the corresponding parameter layer and secondary calculation layer in the game configuration calculation layer;
[0074] Export the game configuration calculation layer as a json game configuration file.
[0075] Specifically, an example is given below: basic game parameters and operation logic that meet the expected goals of the game are obtained based on simulation data.
[0076] Figure 2 It is a schematic diagram of storing basic game parameters and outputting configuration files according to the operation logic, such as Figure 2 As shown, according to the parameter name "attack" and the parameter value "10", the parameter layer "attack = 10" is created. Similarly, the parameter layer (Va) "level = 1" and the parameter layer "defense = 5" can be created. Then according to the operation logic "attack minus defense equals basic damage, basic damage multiplied by level equals player damage", the game configuration calculation layer (Lf) "player damage" and the secondary calculation layer (Lf) "basic damage" are created, and the parameter layer "level = 1" and the secondary calculation layer "basic damage" are stored in the game configuration calculation layer. Among them, the secondary calculation layer "basic damage" stores the parameter layers "attack = 10" and "defense = 5". It should be noted that the parameter layer or calculation layer must be stored in another calculation layer, which needs to rely on the formula calculation carrier.
[0077] Export the game configuration calculation layer as a json game configuration file. The json game configuration file is directly used to configure the game parameters.
[0078] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0079] The present application embodiment provides a visual simulation system for automatic operation parameters. Figure 3 is a structural block diagram of a visual simulation system for automatic operation parameters according to an embodiment of the present application, such as Figure 3 As shown, the system includes a formula area module 31 and an example area module 32;
[0080] The formula area module 31 generates a number of preset formulas according to the designed basic game parameters and operation logic, and binds the preset formulas to the formula bodies one by one;
[0081] The instance area module 32 creates several configuration instances and adds the formula bodies to the corresponding configuration instances;
[0082] The instance area module 32 adjusts the basic parameter values of the preset formula corresponding to the formula body, obtains the configuration parameters of the configuration instance, and sets the operation logic of the configuration parameters in the configuration instance;
[0083] The instance area module 32 sets a combat instruction set, and controls different configuration instances through the combat instruction set to perform confrontation simulation and obtain simulation data.
[0084] Through the formula area module 31 and the example area module 32 in the embodiment of the present application, the problems of inefficiency and unintuitiveness in game parameter verification in related technologies are solved, the efficiency of game parameter simulation verification is improved, and the threshold for game developers to test game parameters is lowered.
[0085] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0086] This embodiment further provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0087] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0088] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0089] S1, create a preset formula and bind it to the formula body;
[0090] S2, add the formula body to the configuration instance;
[0091] S3, changing the basic parameters of the formula corresponding to the formula body to obtain the configuration parameters;
[0092] S4, conduct adversarial simulation between configuration instances based on configuration parameters.
[0093] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0094] In addition, in combination with the visual simulation method of automatic operation parameters in the above embodiments, the present application embodiment can provide a storage medium for implementation. The storage medium stores a computer program; when the computer program is executed by a processor, any visual simulation method of automatic operation parameters in the above embodiments is implemented.
[0095] In one embodiment, a computer device is provided, which may be a terminal. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a visual simulation method of automatic operation parameters is implemented. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball, or touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0096] In one embodiment, Figure 4 is a schematic diagram of the internal structure of an electronic device according to an embodiment of the present application, such as Figure 4 As shown, an electronic device is provided, which may be a server, and its internal structure diagram may be as shown in Figure 4As shown. The electronic device includes a processor, a network interface, an internal memory and a non-volatile memory connected through an internal bus, wherein the non-volatile memory stores an operating system, a computer program and a database. The processor is used to provide computing and control capabilities, the network interface is used to communicate with an external terminal through a network connection, the internal memory is used to provide an environment for the operation of the operating system and the computer program, the computer program is executed by the processor to realize a visual simulation method of automatic operation parameters, and the database is used to store data.
[0097] Those skilled in the art will understand that Figure 4 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0098] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0099] Those skilled in the art should understand that the technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0100] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A visual simulation method for automatic operation parameters, characterized in that: The method comprises: A parameter layer is created according to the parameter names and parameter values of the designed basic game parameters, a calculation layer is created according to the parameter layer and the operation logic, and a preset formula is generated in the calculation layer; and the preset formula is bound to the formula body one by one in the calculation layer; Creating several configuration instances, and adding the formula body to the corresponding configuration instances; The step of creating a plurality of configuration instances and adding the formula body to the corresponding configuration instance includes: creating a configuration first instance player and a configuration first instance monster, adding the formula body player damage and the formula body player health to the configuration first instance player; adding the formula body monster damage and the formula body monster health to the configuration first instance monster; Adjust the basic parameter value of the preset formula corresponding to the formula body to obtain the configuration parameters of the configuration instance, set the operation logic of the configuration parameters in the configuration instance, and set the operation speed of the configuration instance for the confrontation simulation to control the simulation duration of the entire confrontation simulation; A combat instruction set is set, and the combat instruction set is respectively bound to the configuration instance, and the bound configuration instance is controlled by the combat instruction set to perform a confrontation simulation. The control includes starting the confrontation simulation, pausing the confrontation simulation, and resetting the confrontation simulation to obtain simulation data.
2. The method according to claim 1, characterized in that The basic parameter values of the preset formula corresponding to the formula body are adjusted to obtain the configuration parameters of the configuration instance, including: According to the number of configuration parameters required, if the number is greater than a preset threshold, the basic parameter values of the preset formulas corresponding to the formula bodies are adjusted in batches to obtain the configuration parameters of the configuration instance, and the configuration parameters are stored in a parameter library; If the number is less than a preset threshold, the basic parameter value of the preset formula corresponding to the formula body is adjusted separately to obtain the configuration parameters of the configuration instance.
3. The method according to claim 1, characterized in that The operation logic of setting the configuration parameters in the configuration instance includes: Determine whether to execute the same configuration parameter, and if so, set a repeat logic to repeatedly execute the configuration parameter in the configuration instance; If not, an incremental logic is set to execute a configuration parameter stored in the parameter library of the configuration instance within each preset time period, and the execution is switched in sequence according to the storage order.
4. The method according to claim 1, characterized in that: After obtaining the simulation data, the method further includes: Obtaining basic game parameters and operation logic that meet the expected game objectives based on the simulation data; Creating a parameter layer according to the parameter names and parameter values of the basic game parameters; creating a game configuration calculation layer and a secondary calculation layer according to the parameter layer and the operation logic, and storing the corresponding parameter layer and secondary calculation layer in the game configuration calculation layer; Export the game configuration calculation layer as a json game configuration file.
5. A visual simulation system for automatic operation parameters, characterized in that: The system includes a formula area module and an example area module; The formula area module creates a parameter layer according to the parameter names and parameter values of the designed basic game parameters, creates a calculation layer according to the parameter layer and the operation logic, and generates a preset formula in the calculation layer; Binding the preset formula to the formula body one by one in the calculation layer; The instance area module creates several configuration instances and adds the formula body to the corresponding configuration instances, specifically including: creating a configuration first instance player and a configuration first instance monster, adding the formula body player damage and the formula body player health to the configuration first instance player; adding the formula body monster damage and the formula body monster health to the configuration first instance monster; The instance area module adjusts the basic parameter value of the preset formula corresponding to the formula body, obtains the configuration parameters of the configuration instance, sets the operation logic of the configuration parameters in the configuration instance, and sets the operation speed of the configuration instance for the confrontation simulation to control the simulation duration of the entire confrontation simulation; The instance area module sets a combat instruction set, binds the combat instruction set to the configuration instance respectively, and controls the bound configuration instance to perform confrontation simulation through the combat instruction set. The control includes starting confrontation simulation, pausing confrontation simulation and resetting confrontation simulation to obtain simulation data.
6. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the visual simulation method of automatic operation parameters according to any one of claims 1 to 4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the visual simulation method of automatic operation parameters according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Game testing method, related device and storage medium
CN111274151A
Nemesis characters, nemesis forts, social vendettas and followers in computer games
US20160279522A1