Parameter configuration method, apparatus and device for game scene, and storage medium
The graphical user interface editor allows players to configure target attribute parameters for game scenes. By using expressions composed of constants, operators, and variables, it solves the problem that players cannot customize character attributes, thus improving the gaming experience and editing efficiency.
Patent Information
- Application Number
- PCT/CN2025/086723
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-05-22
- Filing Date
- 2025-04-01
- Publication Date
- 2025-11-27
AI Technical Summary
In existing technologies, players cannot customize character attribute parameters within the game scene, resulting in a poor gaming experience.
This paper provides a method for configuring parameters in a game scene. Through a graphical user interface editor, players can configure target attribute parameters and determine the parameter values of the target attribute parameters using expressions composed of constants, operators, and variables.
It improves players' editing efficiency and gaming experience, provides flexible configuration options, allows players to customize target attribute parameters, and reduces the learning curve.
Smart Images

Figure CN2025086723_27112025_PF_FP_ABST
Abstract
Description
Parameter configuration method, device and equipment of game scene and storage medium
[0001] Cross-reference of related applications
[0002] The present application claims priority to the Chinese patent application No. 202410646184.2, filed on May 22, 2024, and entitled "Parameter configuration method, device and equipment of game scene and storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0003] The present disclosure relates to the technical field of games, in particular, to a parameter configuration method, device and equipment of game scene and storage medium. BACKGROUND
[0004] With the development of Internet technology, games have become an essential part of people's lives. People often choose games for entertainment in their leisure time.
[0005] There are some play methods in the prior art that can open the configuration of the game scene to the player side. The player can build his own game scene in the game according to his own preferences to generate a game scene with the desired shape or terrain of the player.
[0006] However, the character attribute parameters in the game scene are generally pre-set by the system, and the player can only configure the terrain or appearance of the game scene. The character attribute parameters in the game scene cannot be configured, which leads to the limitation of the player generating the game scene and affects the player's game experience. SUMMARY
[0007] The purpose of the present disclosure is to provide a parameter configuration method, device and equipment of game scene and storage medium to solve the problem of poor game experience of the player in the prior art in view of the deficiencies of the prior art.
[0008] To achieve the above purpose, the technical solutions adopted by the embodiments of the present disclosure are as follows:
[0009] In a first aspect, an embodiment of the present disclosure provides a parameter configuration method of game scene, the method comprising:
[0010] displaying a game editing interface corresponding to a game scene editing stage provided by running the editor program through the graphical user interface, the game editing interface comprising a game scene to be edited, the game scene to be edited comprising scene components, the scene components being configured to generate corresponding virtual objects in a game running stage;
[0011] in response to a configuration instruction for attribute parameters, determining target attribute parameters according to the configuration instruction;
[0012] The display module is specifically configured to control display of a parameter editing interface corresponding to the target attribute parameter, the parameter editing interface being used for editing an expression.
[0013] The determination module is specifically configured to determine and display a target expression in response to an editing operation input through the parameter editing interface, wherein the expression is composed of at least one of the following objects: a constant, an operator, and a variable.
[0014] In a game running stage, the calculation module is configured to determine a parameter value of the target attribute parameter based on a game behavior in the game scene and the target expression.
[0015] In a second aspect, another embodiment of the present disclosure provides a parameter configuration device for a game scene, the device comprising: a display module, a determination module, and a calculation module, wherein:
[0016] The display module is configured to display, on the graphical user interface, a game editing interface corresponding to a game scene editing stage provided by running the editor program, the game editing interface comprising a game scene to be edited, the game scene to be edited comprising a scene component, the scene component being configured to generate a corresponding virtual object in a game running stage.
[0017] The determination module is configured to determine a target attribute parameter according to a configuration instruction for an attribute parameter in response to the configuration instruction.
[0018] The display module is specifically configured to control display of a parameter editing interface corresponding to the target attribute parameter, the parameter editing interface being used for editing an expression.
[0019] The determination module is specifically configured to determine and display a target expression in response to an editing operation input through the parameter editing interface, wherein the expression is composed of at least one of the following objects: a constant, an operator, and a variable.
[0020] The calculation module is configured to determine a parameter value of the target attribute parameter based on a game behavior in the game scene and the target expression in a game running stage.
[0021] In a third aspect, another embodiment of the present disclosure provides a parameter configuration device for a game scene, comprising: a processor, a storage medium, and a bus, the storage medium storing machine readable instructions executable by the processor, the processor and the storage medium communicating through the bus when the parameter configuration device for the game scene is running, and the processor executing the machine readable instructions to perform the steps of the method according to any one of the first aspect.
[0022] In a fourth aspect, another embodiment of the present disclosure provides a storage medium, wherein the storage medium stores a computer program, and the computer program, when executed by a processor, performs the steps of the method of any one of the above first aspect.
[0023] The present disclosure has the beneficial effects that: by using the game scene parameter configuration method provided by the present disclosure, the player can determine the target attribute parameter in multiple attribute parameters, control the parameter editing interface corresponding to the target attribute parameter to be displayed on the graphical user interface, and determine and display the target expression edited by the player in the parameter editing interface through the editing operation input by the player. The player can set or adjust the target expression to determine the parameter value of the target attribute parameter in real time based on the target expression during the game running stage. The target expression is composed of constants, operators or variables. The player only needs to understand the basic constant operation logic to realize the custom editing of the target expression, which improves the editing efficiency of the player, has low requirements for the player, has low player learning cost, provides a flexible configuration way for the player to configure the target attribute parameter, and improves the game experience of the player. BRIEF DESCRIPTION OF DRAWINGS
[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be considered as a limitation to the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.
[0025] FIG. 1 is a flow diagram of a game scene parameter configuration method provided by one of the embodiments of the present disclosure;
[0026] FIG. 2 is an interface diagram of a graphical user interface provided by one of the embodiments of the present disclosure;
[0027] FIG. 3 is an interface diagram of a graphical user interface provided by one of the embodiments of the present disclosure;
[0028] FIG. 4 is an interface diagram of a graphical user interface provided by one of the embodiments of the present disclosure;
[0029] FIG. 5 is an interface diagram of a graphical user interface provided by one of the embodiments of the present disclosure;
[0030] FIG. 6 is a flow diagram of a game scene parameter configuration method provided by one of the embodiments of the present disclosure;
[0031] FIG. 7 is a flow diagram of a game scene parameter configuration method provided by one of the embodiments of the present disclosure;
[0032] FIG. 8 is a flow diagram of a method for configuring parameters of a game scene according to an embodiment of the present disclosure;
[0033] FIG. 9 is an interface diagram of a graphical user interface according to an embodiment of the present disclosure;
[0034] FIG. 10 is an interface diagram of a graphical user interface according to an embodiment of the present disclosure;
[0035] FIG. 11 is an interface diagram of a graphical user interface according to an embodiment of the present disclosure;
[0036] FIG. 12 is a structural diagram of an apparatus for configuring parameters of a game scene according to an embodiment of the present disclosure;
[0037] FIG. 13 is a structural diagram of an apparatus for configuring parameters of a game scene according to an embodiment of the present disclosure;
[0038] FIG. 14 is a structural diagram of an apparatus for configuring parameters of a game scene according to an embodiment of the present disclosure;
[0039] FIG. 15 is a structural diagram of an apparatus for configuring parameters of a game scene according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0040] In order to make the objects, technical solutions, and advantages of the embodiments of the present disclosure clearer, the following will be used to clearly and completely describe the technical solutions in the embodiments of the present disclosure with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only some but not all of the embodiments of the present disclosure.
[0041] The components of the embodiments of the present disclosure generally described and illustrated in the accompanying drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed present disclosure, but merely represents selected embodiments of the present disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative work are within the scope of the present disclosure.
[0042] The method for configuring parameters of a game scene in an embodiment of the present disclosure can run on a local terminal device or a server. When the method for configuring parameters of a game scene runs on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0043] In an optional embodiment, various cloud applications can be run under the cloud interaction system, for example, cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the running mode of cloud games, the running subject of the game program and the presentation subject of the game picture are separated, and the storage and running of the parameter configuration method of the game scene are completed on the cloud game server. The client device is used for receiving and sending data and presenting the game picture. For example, the client device can be a display device close to the player side with a data transmission function, such as a mobile terminal, a television, a computer, a palm computer, etc. However, the cloud game server in the cloud end performs information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server, the cloud game server runs the game according to the operation instructions, encodes and compresses the game picture and other data, returns the data to the client device through the network, and finally decodes and outputs the game picture through the client device.
[0044] In an optional embodiment, taking games as an example, the local terminal device stores a game program and is used for presenting a game picture. The local terminal device is used for interacting with the player through a graphical user interface, that is, a conventional game program is downloaded and installed on an electronic device and is run. The way in which the local terminal device provides the graphical user interface to the player can include various ways, for example, the graphical user interface can be rendered and displayed on the display screen of the terminal, or the graphical user interface can be provided to the player through holographic projection. For example, the local terminal device can include a display screen used for presenting a graphical user interface including a game picture and a processor used for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
[0045] In addition, the flowchart used in the disclosure shows the operations implemented according to some embodiments of the disclosure. It should be understood that the operations of the flowchart can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flowchart or one or more operations can be removed from the flowchart under the guidance of the disclosure.
[0046] The game scene parameter configuration method provided by the embodiments of the disclosure will be explained in combination with a plurality of specific application examples. FIG. 1 is a flowchart of a game scene parameter configuration method provided by an embodiment of the disclosure. The terminal provides a graphical user interface provided by running a game program, and the game program includes an editor program. As shown in FIG. 1, the method includes the following steps.
[0047] Step 101: Display a game editing interface corresponding to a game scene editing stage provided by running an editor program on a graphical user interface.
[0048] The game editing interface includes a game scene to be edited, and the game scene to be edited includes scene components configured to generate corresponding virtual objects in a game running stage.
[0049] In an embodiment of the present disclosure, a player may, for example, edit the game scene to be edited within a graphical user interface, and the editing manner includes but is not limited to editing the scene components in the game scene to be edited. For example, the player may build a terrain in the game scene by combining or splicing the scene components preset in the game. Alternatively, the player may edit the functions or other attributes of the scene components in the game scene, or edit the attributes of the virtual objects in the game scene, including but not limited to the experience attributes, skill damage attributes, etc. The specific content that the player may edit in the game scene and the editing manner may be flexibly adjusted according to the user needs, and are not limited to the above embodiments.
[0050] In an embodiment of the present disclosure, the player may edit the game scene in the game scene editing stage to generate an applicable game scene, that is, the present disclosure provides a game play in which the player may customize and edit the game scene. The player may build his / her own game scene according to personal preferences. The built game scene may be entered by the player himself / herself or provided for other players of the game to enter, thereby improving the diversity of the game play. The player may customize the game play by building the virtual scene, and more playability is provided for the player.
[0051] Step 102: in response to the configuration instruction for the attribute parameter, determining a target attribute parameter according to the configuration instruction.
[0052] In the embodiments of the present disclosure, the configuration instruction for the attribute parameter may be, for example, a configuration instruction for a virtual object attribute parameter, including but not limited to attribute configuration of virtual object upgrade experience, or configuration instruction of a target skill in multiple skills of a virtual object. FIG. 2 is an interface schematic diagram of a graphical user interface provided by an embodiment of the present disclosure. As shown in FIG. 2, the player may, for example, trigger a setting instruction in the game, at which time a setting interface will pop up in the graphical user interface. The player may select rule design in the setting interface to display corresponding attribute parameters of the rule design on one side of the setting interface. The display mode of multiple attribute parameters may be, for example, an option display mode, a setting display mode, or a switch control display mode, etc. The player may complete the setting of rules in the game scene in the setting interface. The attribute parameters of each rule include but are not limited to, for example, setting the health value of a virtual object, game duration, game mode (timing mode / pass mode / monster mode, etc.), score rule, elimination rule, revival rule, etc. It should be understood that the above embodiments are only exemplary descriptions. The content displayed in the setting interface and details may be flexibly adjusted according to user needs or game needs, and are not limited by the above embodiments.
[0053] Continuing as shown in FIG. 2, for example, if the player determines that the target attribute parameter in the multiple attribute parameters in the rule setting interface is the level parameter, the opening state of the level rule is set to be opened at this time, and the edit list for the level rule is displayed below the level rule, including but not limited to the setting of the highest level, the selection of the edit mode, and the detail setting of the corresponding edit mode, etc. The player may complete the editing of the target attribute parameter in the edit list.
[0054] Step 103: Control to display a parameter edit interface corresponding to the target attribute parameter.
[0055] The parameter edit interface is used to edit an expression.
[0056] Continuing as shown in FIG. 2, for example, the player selects the edit mode as the formula edit mode in the edit mode. In response to the determination operation of the formula edit mode in the edit mode for the target attribute parameter, the parameter edit interface corresponding to the target attribute parameter is controlled to be displayed. For example, in response to the trigger operation of the player for the adjustment parameter, the parameter edit interface corresponding to the level rule is controlled to be displayed. The constant object, the operator object and the variable object are provided in the parameter edit interface. The player may combine the objects by selection operation in the multiple objects, and edit the expression by permutation and combination of the objects.
[0057] FIG. 3 is a schematic diagram of an interface of a graphical user interface according to another embodiment of the present disclosure. As shown in FIG. 3, the display manner of the parameter editing interface may, for example, be switching the game editing interface displayed on the graphical user interface to the parameter editing interface in response to a determination operation on the target attribute parameter. That is, the display manner of the parameter editing interface corresponding to the level rule may, for example, be displaying a parameter editing pop-up window, and the parameter editing pop-up window has the highest display level. The player may, for example, select the target attribute parameter in FIG. 2 and determine that the editing manner is the formula editing manner, and then determine the display of the parameter editing pop-up window.
[0058] Alternatively, FIG. 4 is a schematic diagram of an interface of a graphical user interface according to another embodiment of the present disclosure. The display manner of the parameter editing interface may, for example, be controlling the display of the parameter editing interface at a preset position in the game editing interface in response to a determination operation on the target attribute parameter. As shown in FIG. 4, a plurality of attribute types may be displayed on one side of the graphical user interface. In response to a selection operation of the player on the target attribute parameter in the plurality of attribute types, the target attribute parameter corresponding to the selection operation is determined. The target attribute parameter may, for example, be highlighted or displayed in a preset display color, or as shown in FIG. 4, the outer border of the target attribute parameter is displayed in bold. For example, in FIG. 4, the target attribute parameter is “character”, and the outer border of the “character” control is thicker than the outer borders of the outer borders of the other attribute types that are not selected. After the target attribute parameter is determined, the parameter editing interface corresponding to the target attribute parameter is directly displayed on one side of the graphical user interface. The player can directly edit the target attribute parameter in the parameter editing interface. It should be understood that the above embodiments and the above figures are only exemplary, and the display manner, display position, and specific content of the parameter editing interface may be flexibly adjusted according to the needs of the user, and are not limited to the above embodiments.
[0059] Step 104: determining and displaying the target expression in response to the editing operation input through the parameter editing interface.
[0060] The expression is composed of at least one of the following objects: a constant, an operator, and a variable.
[0061] In some possible embodiments, at least one parameter variable is displayed on the editing interface. According to the parameter type of the target attribute parameter, at least one variable parameter displayed on the editing interface is determined. As shown in FIG. 3, the parameter editing interface includes an expression editing area, a first area, and a second area. The right side of the editing interface may, for example, display the second area. The second area displays a parameter variable and a parameter type list. The player may, for example, select a target attribute parameter type from the plurality of parameter types. Subsequently, the parameter variable list displays a plurality of parameter variables of the target attribute parameter type selected by the player.
[0062] The first area in the graphical user interface may be arranged between the expression editing area and the second area, for example. The manner in which the user inputs the target expression may be, for example, that, in response to an operator / constant selection operation input through the first area, a first object component is displayed in the expression editing area, the first object component being determined based on the operator / constant selection operation; in response to a variable selection operation input through the second area, a second object component is displayed in the expression editing area, the second object component being determined based on the variable selection operation; and the target expression is generated according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing area.
[0063] In an embodiment of the present disclosure, a plurality of candidate operators and constants are displayed in the first area, for example. The plurality of candidate operators may be displayed in an operator list, for example, and the constants may be displayed in a constant list or a constant control, for example. The first object component may be determined, for example, in response to a determination operation for a target operator / constant in the plurality of candidate operators, and the first object component is displayed in the expression editing area. The first object component is a component corresponding to the target operator / constant.
[0064] In an embodiment of the present disclosure, a plurality of candidate variables are displayed in the second area. The second object component may be determined, for example, in response to a determination operation for a target variable in the plurality of candidate variables, and the second object component is displayed in the expression editing area. The second object component is a component corresponding to the target variable.
[0065] That is, in an embodiment of the present disclosure, a component corresponding to a target object corresponding to a selection operation of the player in the plurality of objects is displayed in the expression editing area according to the selection operation of the player. The display positions of the target objects in the expression editing area may be determined according to the order of the selection operations of the player, for example. The target object selected first is displayed at a front part of the expression editing area, and the target object selected last is displayed at a rear part of the expression editing area. The player may flexibly configure the target expression according to his / her own needs.
[0066] For example, if the player first selects a constant, then the constant component is displayed in the formula editing area, the player can select the constant component in the formula editing area to edit the constant value of the constant component, for example, the player edits the constant value of the constant component as 30, then the player selects the "X" operator in the operator list, then the "X" component is displayed in the formula editing area, then the player selects "skill level", "X", "(", "skill damage value", "+", "156", ")", "÷", "2" in the parameter variable, the operator list or the constant in sequence, at this time, the formula editing area displays the components of "30", "X", "skill level", "X", "(", "skill damage value", "+", "156", ")", "÷", "2" in sequence.
[0067] Continuing as shown in FIG. 3, the formula preview area is also displayed below the formula editing area, for example, the formula preview area can display the expression "30X skill level X (skill damage + 156) / 2" corresponding to the current formula editing area. It should be understood that the above embodiment is only an example, and the display positions of the formula editing area, the formula preview area and the variable parameters in the specific parameter editing interface can be flexibly adjusted according to the user's needs, and are not limited to the above embodiment.
[0068] In some other possible embodiments, the display positions of the components in the formula editing area can also be determined according to the player's drag operation, for example, after the player selects a constant / operator in the first area, a first object component is generated and displayed in response to the continuous drag operation after the selection operation, the position of the first object component moves following the movement of the drag operation, after the player drags the first object component to the formula editing area, the current position of the first object component in the formula editing area is determined and previewed according to the current position of the drag operation, if the player is satisfied with the current position of the first object component, the player can end the drag operation to display the first object component at the end position of the drag operation in the formula editing area; if the drag operation is outside the formula editing area, it is determined that the current selection operation is invalid, and the first object component is not displayed in the formula editing area; similarly, the player can select a variable parameter in the second area in the same way, a second object component is generated and displayed in response to the continuous drag operation after the player selects the variable parameter in the second area, and the display position of the second object component in the formula editing area is determined according to the end position of the drag operation. It should be understood that the above embodiment is only an example, and the display positions of the object components in the formula editing area can be determined according to the player's determination operation sequence, or can be determined according to the end position of the player's drag operation, and the determination method of the display positions of the object components can be flexibly adjusted according to the user's needs, and is not limited to the above embodiment.
[0069] In the embodiments of the present disclosure, the variable is a property parameter of the scenario component configuration provided by the system, wherein the property parameter comprises at least one of a preset property parameter and a customized property parameter. The variable is a dynamic variable, and the value of the variable changes with the change of the game progress. That is, the dynamic variable is a variable that changes in real time according to the current level of a virtual object in the game and the like, for example, the skill damage value corresponding to the same skill is different for virtual objects of different levels, or the skill damage value corresponding to the same level is different for different virtual objects, or the skill release range corresponding to different skills can be different, or the skill consumption corresponding to different skills can be different, or the cooling time corresponding to different skills can be different, and the specific content of the specific variable is determined according to the game setting and is not limited to the embodiments given above. In this way, the target expression edited by us has a dynamic effect, that is, the parameter value of the target property parameter being edited can be dynamically determined according to the current change of the variable.
[0070] Step 105: In the game running stage, the parameter value of the target property parameter is determined based on the game behavior in the game scenario and the target expression.
[0071] The game behavior includes but is not limited to the current level of the controlled virtual object, the remaining property value of the controlled virtual object, the property value of the scenario component, and the like. For example, if the target property parameter is the upgrade experience, the parameter value corresponding to the current upgrade experience can be determined according to the preset formula in the target expression and the current value corresponding to the variable parameter; if the target property parameter is the damage value corresponding to a skill, the damage value corresponding to the current skill can be determined according to the preset formula in the target expression and the current value corresponding to each variable parameter in the formula.
[0072] With the parameter configuration method of the game scenario provided by the present disclosure, after the player determines the target property parameter in the plurality of property parameters, the player can control the display of the parameter editing interface corresponding to the target property parameter on the graphical user interface, and determine and display the target expression edited by the player in the parameter editing interface through the editing operation input by the player. The player can set or adjust the target expression to determine the parameter value of the target property parameter in real time based on the target expression in the game running stage. The target expression is composed of constants, operators or variables, and the player only needs to understand the basic constant operation logic to realize the custom editing of the target expression, thereby improving the editing efficiency of the player, and the requirement for the player is low, the player's learning cost is low, and the player is provided with a flexible way to configure the target property parameter, thereby improving the game experience of the player.
[0073] FIG. 5 is a schematic diagram of an interface of a graphical user interface according to another embodiment of the present disclosure, and FIG. 6 is a schematic diagram of an interface of a graphical user interface according to another embodiment of the present disclosure. As shown in FIG. 5, for example, the player selects the list editing mode as the editing mode in the editing mode, and in response to the determination operation of the list editing mode in the editing mode for the target attribute parameter, for example, in response to the confirmation operation of the player for the adjustment parameter control, the list parameter editing interface corresponding to the target attribute parameter is displayed. As shown in FIG. 6, the list parameter editing interface includes a plurality of to-be-configured role attributes. For example, if the player currently sets the upper limit of the level to 20, the editing list corresponding to each experience of 0-20 levels is included in the list parameter editing interface. Each experience in the editing list is arranged and displayed in the list parameter editing interface according to a preset rule. For example, 2 experience parameter editing boxes are displayed in each row, and 5 rows of experience parameter editing boxes are displayed in each page. If all the experience parameter editing boxes are not displayed on the current page, the other experience parameter editing boxes can be folded. The player can view the other folded experience parameter editing boxes by sliding operation in the editing list.
[0074] If the player needs to edit the target experience parameter editing box, for example, in response to the determination operation of the list editing mode in the editing mode for the target attribute parameter, the list parameter editing interface corresponding to the target attribute parameter is displayed. The list parameter editing interface includes a plurality of to-be-configured role attributes. In response to the editing operation input for each to-be-configured role attribute, the parameter corresponding to each role attribute is determined. In the game running stage, the parameter value corresponding to the current role attribute is determined based on the current role attribute of the game scene controlled virtual object.
[0075] Still taking the target attribute parameter of upgrade experience as an example, the player can click the input box behind the target experience parameter edit box to input the target experience value. In some possible embodiments, in order to ensure the accuracy of the player setting, for example, the target experience value is higher and higher with the increase of the level, the experience value of the higher level needs to be greater than the experience value of the lower level, otherwise the player will be prompted that the input experience value has a problem, and the player needs to modify the input experience value. In response to the determination operation of the save control in the experience edit box, it is determined that the saved experience value is the experience value rule in the to-be-edited game scene. During the game running process, the parameter value corresponding to the current role attribute of the controlled virtual object is determined based on the current role attribute of the controlled virtual object, for example, the level. For example, if the current level of the controlled virtual object is 2, the experience value of the level 2 is determined as the target experience value according to the preset parameter edit list, that is, the experience value of the level 2 is determined as the experience value required for the current controlled virtual object to upgrade, and if the experience value of the current controlled virtual object is greater than or equal to the target experience value, the current controlled virtual object can be upgraded from level 2 to level 3. If the experience value of the current controlled virtual object is less than the target experience value, the current controlled virtual object remains level 2 unchanged until the experience value is greater than or equal to the target experience value. It should be understood that the above embodiments are only exemplary, and the specific target attribute parameter can also be the skill damage value of the target skill or the skill release distance of the player. The determination of the specific target attribute parameter and the arrangement and display mode of each to-be-edited parameter in the parameter edit box can be flexibly adjusted according to the user's needs, and is not limited to the above embodiments.
[0076] Optionally, on the basis of the above embodiments, the embodiments of the present disclosure can also provide a parameter configuration method of a game scene. The implementation process of the above method will be exemplarily described below in combination with the accompanying drawings. FIG. 7 is a flowchart of a parameter configuration method of a game scene provided by another embodiment of the present disclosure. As shown in FIG. 7, the method can further include:
[0077] Step 111: in response to the first operation on the target object component in the expression edit area, enter the adjustment state.
[0078] The positions of the components in the expression editing area can be adjusted, the first operation can be, for example, a long press operation; or, adjustment controls can be provided in the expression editing area, the first operation is triggered in response to a click operation on the adjustment controls, and the control enters the adjustment state after the adjustment controls are clicked; or, the first operation can be triggered in response to a preset shortcut key or a preset shortcut, or can be input by the player through voice, for example, the player says "adjust formula", and the control can enter the adjustment state; for example, the first operation is a long press operation, for example, when the player long presses a target object component in the plurality of object components in the expression editing area, the expression editing area enters the adjustment state, and the positions of the components in the expression editing area can be adjusted in the adjustment state.
[0079] In some possible embodiments, the display mode of each component in the expression editing area after entering the adjustment state can be, for example, a display mode different from the normal display mode, for example, each component can be displayed in a shaking manner in the adjustment state, or each component can be displayed in a grayed manner, or each component can be displayed in a display color different from the normal display mode, and the display mode of each component in the adjustment state can be flexibly adjusted according to user needs, as long as the player can intuitively determine that the current state is the adjustment state according to the display mode of each component, and the above embodiments are not limiting.
[0080] Step 112: adjusting the position of the target object component in the expression editing area in response to a second operation on the target object component.
[0081] In some possible embodiments, the second operation can be, for example, a drag operation on the target object component; or, position adjustment controls can be provided in the expression editing area, for example, a forward movement control (which can be, for example, a left arrow) and a backward movement control (which can be, for example, a right arrow), and the second operation can be a click operation of the player on the target position adjustment control after determining the target object component that needs to be adjusted, and the determination is determined according to the type of the target position adjustment control and the number of clicks of the target position adjustment control, for example, if the player clicks the forward movement control twice, it means that the target object component needs to be exchanged with the two object components adjacent to the left to move the target object component forward by two units; if the target object component moves forward by one unit, it is located at the first component in the expression editing area, and there is no need to move forward; it should be understood that the above embodiments are only exemplary, and the operation type and operation mode of the second operation can be flexibly adjusted according to user needs, and the above embodiments are not limiting.
[0082] For example, in the adjustment state, the player can select and drag the target object component, so that the target object component moves in the expression editing area according to the player's drag operation, and the position of the target object component after adjustment is determined according to the end position of the drag operation. In this way, the player can adjust the input expression even if the player inputs the expression in the formula editing area, so as to obtain an adjusted expression based on the adjustment result.
[0083] In an embodiment of the present disclosure, the expression editing area further includes an expression preview area, the expression preview area is used to preview the expression in the expression editing area, and the expression content displayed in the expression preview area is synchronized with the expression in the expression editing area. That is, according to the movement operation of the target object component in the expression editing area, the target expression displayed in the expression preview area is updated synchronously. The player can view the target expression in the expression preview area in real time, and intuitively view whether the current target expression is the target expression required by the player according to the target expression in the expression preview area. If not, the player can adjust the target expression through the adjustment operation in the expression editing area until the target expression after adjustment meets the requirements of the player.
[0084] In some possible embodiments, in order to ensure the availability of the target expression, the expression in the expression editing area needs to be verified before the target expression is generated, for example. The verification manner can be, for example, verifying the expression to determine whether there is a calculation error in the expression. The calculation error can be, for example, whether there is an operator usage error, such as not being able to be a constant 0 after the operator “ / ”; or whether there are adjacent functional operators, such as the operator “-” adjacent to the operator “X”; or whether no operator is set between two constant components or no operator is set between two variable parameter components. It should be understood that the specific manner of determining the calculation error can be flexibly adjusted according to the needs of the user, and is not limited to the above embodiments.
[0085] If the expression does not have errors, it is determined that the expression passes the verification. If the expression has errors, it is determined that the expression fails the verification.
[0086] If the verification result indicates pass, the target expression is generated according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing area. If the verification result indicates fail, an error indication is fed back.
[0087] In some possible embodiments, the manner of feeding back the error indication may, for example, be in the form of a pop-up window; or, may be displaying error prompt information on the graphical user interface in the highest display level; or, may be real-time verification of the expression, if the expression is incorrect, the expression may, for example, be displayed in red, highlighted, or highlighted in other ways in the formula preview area; or, may be displaying prompt information in a highlighted manner at a preset position on the parameter editing interface, the prompt information may, for example, be "there is an error in the formula, please modify", to prompt the player that the current expression is incorrect, and the player needs to modify the expression, if the modified expression is correct, the expression in the formula preview area is displayed in a normal display manner; it should be understood that the above embodiments are only exemplary, and the feedback manner and content of the error indication can be flexibly adjusted according to the user's needs, and are not limited to the above embodiments.
[0088] Continuing as shown in FIG. 3, the parameter editing interface includes a save component, for example, the position of the save component may, for example, be at a preset position below the parameter editing interface, in response to a trigger operation on the save component, the target expression is saved as a custom formula; the saved custom formula can be saved on the client, the next time the player configures an expression corresponding to other attribute types, the player may, for example, directly select the saved target custom formula from the custom formula, and add other variables, operators, constants, etc. on the basis of the target custom formula; or, the target custom formula can be modified, and other attribute types corresponding to the expression needed by the player are obtained on the basis of the target custom formula; it should be understood that the above embodiments are only exemplary, and the specific saving of the custom formula and the application of the saved custom formula in the subsequent game process can be flexibly adjusted according to the user's needs, and are not limited to the above embodiments.
[0089] In the embodiment of the present disclosure, as shown in FIG. 3, for example, the custom expression is included in the variable parameter in the second area, during the editing process of the expression, for example, in response to the determination operation on the first expression in the at least one custom expression, a plurality of third object components corresponding to the first expression are displayed in the expression editing area, wherein the number of third object components is determined according to the operators, constants and variable parameters included in the first expression, the positions of the plurality of third object components are adjustable, and the player can directly generate a target expression based on the plurality of third object components corresponding to the first expression; or the player can also adjust the positions between the plurality of third object components or the constant values based on the plurality of third object components, or can also perform a deletion operation on the plurality of third groups to obtain a modified target expression; or the player can also nest other expressions in the custom expression in the first expression to obtain a target expression; or the player can also nest the first expression in the configured expression to obtain a target expression after configuring the expression. The generation mode or adjustment mode of the specific target expression can be flexibly adjusted according to the user's needs, and is not limited to the above embodiment.
[0090] As shown in FIG. 3, the expression editing area includes a value rule setting area, in response to the selection operation on the plurality of preset rules in the value rule, the target rule corresponding to the target expression is determined; for example, the player can determine that the value rule is rounding, at this time, the determination mode of the target attribute parameter value is that the value is obtained according to the calculation of the target expression, and the parameter value corresponding to the target attribute parameter is the value obtained by rounding the calculation result; or the value rule can also be rounding up / down, retaining one digit after the decimal point, or retaining two digits after the decimal point, etc. The specific setting of the value rule can be determined according to the preset requirement of the player on the target attribute parameter value, and is not limited to the above embodiment. The setting of the value rule is to further process the calculation result of the target expression, so that the calculation result of the target expression is determined according to the value rule set by the player. Such a setting mode makes the player's setting of the target expression more detailed, further improves the accuracy of the player's configuration of the target attribute parameter, and improves the player's game experience.
[0091] Optionally, based on the above embodiment, the present embodiment can also provide a parameter configuration method of a game scene, which will be described below in combination with the implementation process of the above method. FIG. 8 is a flowchart of a parameter configuration method of a game scene provided by another embodiment of the present disclosure. As shown in FIG. 8, the method can further include:
[0092] Step 121: in response to a logic editing instruction for the target skill, a logic editing interface for the target skill is displayed.
[0093] In some possible embodiments, the player may, for example, after determining the target skill in the plurality of skills, control the display of the logic editing interface of the target skill in response to the logic editing operation for the target skill; in some other possible embodiments, the player may, for example, in the logic editing interface for the game scene to be edited, for example, select the editing logic for the target skill, and then further modify the target editing logic of the target skill in the logic component for the target skill; it should be understood that the above embodiments are only exemplary, and how the player determines and triggers the logic editing interface of the target skill can be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0094] Step 122: determining and displaying the target logic for the target skill in response to the editing operation input through the logic editing interface.
[0095] The target logic is composed of at least one logic component; the at least one logic component includes a formula logic component configured to associate the target expression with the target skill.
[0096] FIG. 9 is a schematic diagram of an interface of a graphical user interface provided by another embodiment of the present disclosure, as shown in FIG. 9, the logic editing interface includes a logic editing region and a logic control region, the logic editing region is displayed, for example, in the middle position of the graphical user interface, the logic control region may, for example, be displayed on the right side of the graphical user interface, the logic control region displays, for example, in the form of a list, various logic controls, the logic controls include but are not limited to action controls, event controls, condition controls, control controls, value controls, variable controls, formula controls, custom controls, etc.; in response to a triggering operation for the logic control region, a target logic component is displayed in the logic editing region, wherein the target logic component is a logic component generated according to a target logic control determined from the logic control region; the target logic component includes, for example, a preset value of the target logic and a to-be-configured parameter in the target logic, the preset value is displayed, for example, at a corresponding position in the logic component, and the to-be-configured parameter is displayed, for example, in the form of an input box at a corresponding position in the logic component; when no parameter is input in the input box, the input box may, for example, display the parameter type of the to-be-input parameter supported by the input box, for example: real number, arbitrary value, skill, level, etc.; in response to an editing operation for the target logic component, a modified target logic component is determined and displayed; according to the target logic component in the logic editing region, the target logic for the target skill is determined and displayed; and according to the association relationship between the preset values and the parameter values in the plurality of logic components in the logic editing region, the target logic of the target skill is determined, so as to enable the player to customize and configure the target logic of the target skill, and enable the logic of the target skill to be flexibly adjusted according to the configuration operation of the player.
[0097] Continuing as shown in FIG. 9, for example, the content of the configured target logic component in the current logic editing area is "set the attack attribute of *** skill to formula 1", that is, the target logic component sets the determination manner of the attack attribute value of *** skill, and it is clear that the attack attribute value of *** skill is determined according to formula 1. The determination of the attack attribute value of *** skill needs to consider the corresponding current values of variables, operators or constants included in formula 1.
[0098] Step 123: In the game running stage, determine the parameter value of the target skill based on the game behavior in the game scene and the target expression.
[0099] For example, when the player releases the target skill, the player can control the controlled virtual object to release the target skill based on the target logic corresponding to the target skill and the game behavior in the game scene, such as the game behavior of the controlled virtual object or the game behavior of the scene component, or the game behavior of other virtual objects in the game scene, and determine the parameter value of the target skill based on the game behavior in the game scene and the target expression.
[0100] That is, by associating the target expression with the target skill in the form of associating the target expression with the target logic, the above method can determine the skill value of the target skill corresponding to the target expression in the game running stage according to the target expression, and further improve the flexibility and playability in the application process of the player, and improve the stickiness between the player and the game.
[0101] In an embodiment of the present disclosure, when the target logic component is a formula logic component, the step of determining and displaying the edited target logic component may, for example, be: in response to an editing operation on the formula logic component, displaying at least one expression object, wherein the editing operation on the formula logic component may, for example, be triggered by an input operation on a formula input box in the formula editing component, the expression object is an object corresponding to the expression, and the at least one expression object includes an expression object corresponding to the target expression; in response to a selection instruction on the expression object corresponding to the target expression, control to display an identifier corresponding to the expression object in the formula logic component, that is, control to display the identifier corresponding to the expression in the formula input box in the formula editing component, that is, display the corresponding expression content.
[0102] FIG. 10 is a schematic diagram of an interface of a graphical user interface provided by another embodiment of the present disclosure, for example, the trigger mode of the editing operation can be that, in response to the input operation of the player in FIG. 9 on the formula input box in the formula editing component, at least one inputtable object type control is displayed on the right side of the graphical user interface, and in response to the confirmation operation on the formula control in the plurality of inputtable object type controls, the display content in the logic control area is switched, and the corresponding formula list under the formula control in the logic control area is displayed, and the formula list includes a plurality of expression objects selectable by the player, and in response to the determination operation on the expression object, the expression object corresponding to the selection operation is displayed in the formula logic component.
[0103] FIG. 11 is a schematic diagram of an interface of a graphical user interface provided by another embodiment of the present disclosure, as shown in FIG. 11, for example, in response to the determination of the player on the setting of the prop in the setting interface, the prop list can be displayed on the setting interface to display a plurality of configurable virtual props, and in response to the selection of the target virtual prop by the player from the plurality of configurable virtual props, for example, in response to the determination on “prop 1”, the configurable content of the target virtual prop can be displayed on one side of the graphical user interface, including but not limited to the editing of the basic skill of the target virtual prop, the editing of the casting skill, and the editing of the performance. After the user determines the target to be configured content, for example, the formula configuration of the target to be configured content of the target virtual prop can be performed in the preset configuration area below the target to be configured content, including but not limited to the configuration of the name of the formula, the configuration of the expression of the formula, the deletion or addition of the formula, and the like.
[0104] Through the formula configuration of the target to be configured content of the target virtual prop, the configured expression can be associated with the target to be configured content of the target virtual prop, for example, the player can configure the corresponding formula for the basic skill of prop 1, or configure the corresponding formula for the casting skill of target prop 2, so as to determine the basic skill value of target prop 1 according to the game behavior and the preconfigured formula during the game process when the player releases the basic skill of target prop 1. It should be understood that the above embodiments are only exemplary descriptions, and the display positions of the individual areas on the graphical user interface and the contents displayed on the graphical user interface can be flexibly adjusted according to the needs of the user, and are not limited to the above embodiments.
[0105] The selected target type (the "prop" type in FIG. 11) in the graphical user interface, the selected target virtual prop (the "prop 1" in FIG. 11), and the selected to-be-configured content (the "base" type on the right side of the interface in FIG. 11) can be displayed in a manner that is distinguished from other unselected contents, for example, including but not limited to highlighted display, thickened border display, or display in a display color that is distinguished from other unselected contents. The specific display manner can be flexibly adjusted according to user needs, and is not limited to the above embodiments.
[0106] The method provided by the present disclosure not only provides a visual expression editing method, but also greatly improves the efficiency of user editing of expressions and reduces the operation cost of players, relative to the prior art of editing a game scene through program code or editing a game scene through in-game block programming.
[0107] To intuitively reflect the beneficial effects brought by the parameter configuration method of the game scene provided by the present disclosure, the following takes one embodiment as an example to explain and describe the operation steps of the prior art of editing a game scene through in-game block programming and the operation steps of the present disclosure. FIG. 12 is an interface schematic diagram of a graphical user interface provided by another embodiment. As shown in FIG. 12(a), for example, under the block programming logic, if a player needs to edit the kill experience value for virtual object 1, the player first needs to drag a block logic into the edited game scene, secondly sets a constant component, an operator component, and a variable component in the block logic, for example, the player configures the constant as "30" in the constant component, configures the operator as "X" in the operator component, configures the "convert to real number" component in the variable component, nests the "get … current level" component in the "convert to real number" component, and sets "…" as "triggered character" in the "get … current level" component. At this time, the setting of the kill experience value for virtual object 1 is completed, and it is determined that the kill experience value for virtual object 1 is "30X current level". As can be seen, the player needs to edit the block logic for 6 times to complete the editing of the kill experience value for virtual object 1.
[0108] As shown in FIG. 12(b), in the application scenario of the parameter configuration method of the game scene provided in the present disclosure, the player can directly select the constant, the operator "X", and then select "current level" in the second area in sequence, for example, to configure the kill experience value of the virtual object 1, and the configuration result is "30Xcurrent level". As can be seen, the operation process is more efficient and more intuitive by using the method provided in the present disclosure, compared with the prior art. As shown in FIG. 12(a) and FIG. 12(b), the player needs to repeatedly check to understand the specific content of the building block logic by using the editing method of the prior art, while the expression edited by the player can be understood very intuitively by using the method provided in the present disclosure, which greatly improves the editing efficiency and visualization of the player.
[0109] By using the parameter configuration method of the game scene provided in the present disclosure, the player can not only configure the scene components of the game scene to be configured, but also can customize the configuration of part of the parameters in the game scene to be configured during the configuration process of the game scene to be configured. The configuration method includes but is not limited to formula-based configuration or parameter-by-parameter configuration, so as to realize the comprehensive configuration of the game scene to be configured. In addition, the target expression configured by the player can be saved in the client or the server, so that the player can directly use the saved target expression or modify the saved target expression to obtain the target expression expected by the player when configuring other game scenes or configuring the logic of the virtual object in the current game scene next time. The player can also apply the target expression in the logic configuration process of part of the skills, realize the flexible use of the target expression in the game, greatly enrich the operability of the player, improve the game experience of the player, and enrich the playability of the player in the game.
[0110] The game scene parameter configuration device provided in the present disclosure is explained and described below in combination with the drawings. The game scene parameter configuration device can execute any of the game scene parameter configuration methods of FIG. 1-FIG. 12. The specific implementation and advantages are referred to the above description, and will not be described hereinafter.
[0111] FIG. 13 is a structural schematic diagram of the game scene parameter configuration device provided in an embodiment of the present disclosure. As shown in FIG. 13, the device includes a display module 201, a determination module 202, and a calculation module 203, wherein:
[0112] The display module 201 is configured to display the game editing interface corresponding to the game scene editing stage provided by running the editor program on the graphical user interface. The game editing interface includes the game scene to be edited, and the game scene to be edited includes scene components. The scene components are configured to generate corresponding virtual objects in the game running stage.
[0113] The determining module 202 is configured to determine the target attribute parameter according to the configuration instruction in response to the configuration instruction for the attribute parameter;
[0114] The display module 201 is specifically configured to control display of a parameter editing interface corresponding to the target attribute parameter, and the parameter editing interface is used for editing an expression.
[0115] The determining module 202 is specifically configured to determine and display the target expression in response to an editing operation input through the parameter editing interface, and the expression is composed of at least one of the following objects: a constant, an operator, and a variable.
[0116] The calculating module 203 is configured to determine a parameter value of the target attribute parameter based on a game behavior in a game scene and the target expression in a game running stage.
[0117] Optionally, the variable is an attribute parameter of a scene component configured by the system, and the attribute parameter includes at least one of the following: a preset attribute parameter and a custom attribute parameter.
[0118] Optionally, the variable is a dynamic variable.
[0119] Optionally, the value of the variable changes with the progress of the game.
[0120] Optionally, the editing interface displays at least one variable parameter, the display module 201 is specifically configured to display at least one variable parameter on the editing interface, and the determining module 202 is specifically configured to determine the at least one variable parameter displayed on the editing interface according to a parameter type of the target attribute parameter.
[0121] Optionally, the display module 201 is specifically configured to control display of the parameter editing interface at a preset position in a game editing interface in response to a determination operation for the target attribute parameter.
[0122] Optionally, the display module 201 is specifically configured to switch the game editing interface displayed on the graphical user interface to the parameter editing interface in response to the determination operation for the target attribute parameter.
[0123] Optionally, the parameter editing interface includes an expression editing area, a first area, and a second area, the display module 201 is specifically configured to display a first object component in the expression editing area in response to an operator / constant selection operation input through the first area, the first object component being a first object component determined based on the operator / constant selection operation, and display a second object component in the expression editing area in response to a variable selection operation input through the second area, the second object component being a second object component determined based on the variable selection operation.
[0124] The determining module 202 is specifically configured to generate the target expression according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing area.
[0125] Optionally, the first region displays a plurality of candidate operators / constants; the displaying module 201 is specifically configured to display the first object component in the expression editing area in response to a determination operation on a target operator / constant in the plurality of candidate operators; and the first object component is a component corresponding to the target operator / constant.
[0126] Optionally, the second region displays a plurality of candidate variables; the displaying module 201 is specifically configured to display the second object component in the expression editing area in response to a determination operation on a target variable in the plurality of candidate variable parameters; and the second object component is a component corresponding to the target variable.
[0127] Optionally, the determining module 202 is specifically configured to enter an adjustment state in response to a first operation on a target object component in the expression editing area; and adjust the position of the target object component in the expression editing area in response to a second operation on the target object component.
[0128] Optionally, the determining module 202 is specifically configured to verify the expression in the expression editing area; if the verification result indicates that the verification is passed, generate the target expression according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing area; and if the verification result indicates that the verification is not passed, feed back an error indication.
[0129] Optionally, the determining module 202 is specifically configured to verify the expression, and determine whether there is a calculation error in the expression; if not, determine that the expression passes the verification; and if there is an error, determine that the expression does not pass the verification.
[0130] Optionally, on the basis of the above-mentioned embodiments, the embodiments of the present disclosure can also provide a parameter configuration device of a game scene, and the implementation process of the device given in the above-mentioned FIG. 13 will be exemplarily described in combination with the accompanying drawings. FIG. 14 is a structural schematic diagram of a parameter configuration device of a game scene provided by another embodiment of the present disclosure. The parameter editing interface includes a saving component. As shown in FIG. 14, the device further includes a saving module 204 configured to save the target expression as a custom formula in response to a triggering operation on the saving component.
[0131] Optionally, the variable parameters in the second region include a custom expression, and the displaying module 201 is specifically configured to display a plurality of third object components corresponding to the first expression in the expression editing area in response to a determination operation on the first expression in the at least one custom expression.
[0132] Optionally, the display module 201 is specifically configured to update the target expression displayed in the expression preview area in synchronization according to the movement operation in the expression editing area for the target object component.
[0133] Optionally, the expression editing area comprises a value rule setting area, and the determination module 202 is specifically configured to determine the target rule corresponding to the target expression in response to a selection operation for a plurality of preset rules in the value rule.
[0134] Optionally, the display module 201 is specifically configured to control the display of a parameter editing interface corresponding to the target attribute parameter in response to a determination operation in the formula editing mode in the editing mode for the target attribute parameter.
[0135] Optionally, the display module 201 is specifically configured to control the display of a list parameter editing interface corresponding to the target attribute parameter in response to a determination operation in the list editing mode in the editing mode for the target attribute parameter; the list parameter editing interface comprises a plurality of to-be-configured role attributes.
[0136] The determination module 202 is specifically configured to determine the parameter corresponding to each role attribute in response to an editing operation input for each to-be-configured role attribute; and determine the parameter value corresponding to the current role attribute based on the current role attribute of the game scene controlled virtual object in the game running stage.
[0137] Optionally, the display module 201 is specifically configured to control the display of a logic editing interface for the target skill in response to a logic editing instruction for the target skill; and determine and display the target logic for the target skill in response to an editing operation input through the logic editing interface; wherein the target logic is composed of at least one logic component; the at least one logic component comprises a formula logic component; and the formula logic component is configured to associate the target expression with the target skill.
[0138] The determination module 202 is specifically configured to determine the parameter value of the target skill based on the game behavior in the game scene and the target expression in the game running stage.
[0139] Optionally, the logic editing interface comprises a logic editing area and a logic control area, and the display module 201 is specifically configured to display the target logic component in the logic editing area in response to a trigger operation for the logic control area; wherein the target logic component is a logic component generated according to the target logic control determined from the logic control area.
[0140] The determining module 202 is specifically configured to determine and display the edited target logic component in response to an editing operation on the target logic component, and determine and display the target logic for the target skill according to the target logic component in the logic editing area.
[0141] Optionally, the displaying module 201 is specifically configured to display at least one expression object in response to an editing operation on the formula logic component, wherein the expression object is an object corresponding to an expression, and the at least one expression object includes an expression object corresponding to the target expression: display a list, and display a plurality of edited expression objects in the list.
[0142] In response to a selection instruction on the expression object corresponding to the target expression, control is performed to display the identifier corresponding to the expression object in the formula logic component.
[0143] With the parameter configuration device for a game scene provided in the present disclosure, a player can determine a target attribute parameter in a plurality of attribute parameters, control a parameter editing interface corresponding to the target attribute parameter to be displayed on a graphical user interface, and determine and display a target expression edited by the player in the parameter editing interface through an editing operation input by the player. The player can set or adjust the target expression to determine a parameter value of the target attribute parameter based on the target expression in a game running stage in real time. The target expression is composed of a constant, an operator, or a variable. The player only needs to understand basic constant operation logic to realize custom editing of the target expression, which improves the editing efficiency of the player, has low requirements on the player, has low player onboarding costs, provides a flexible configuration manner for the player to configure the target attribute parameter, and thus improves the game experience of the player.
[0144] The above modules can be one or more integrated circuits configured to implement the above methods, for example, one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs), etc. For another example, when a certain module above is implemented in the form of a processing element scheduling program code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor that can invoke program code. For another example, the modules can be integrated together to be implemented in the form of a system on a chip (SOC).
[0145] FIG. 15 is a structural schematic diagram of a game scene parameter configuration device provided by an embodiment of the present disclosure, which can be integrated into a terminal device or a chip of a terminal device.
[0146] As shown in FIG. 15, the game scene parameter configuration device includes a processor 501, a bus 502 and a storage medium 503.
[0147] The processor 501 is configured to store a program, and the processor 501 invokes the program stored in the storage medium 503 to execute the method embodiments corresponding to FIGS. 1-12.
[0148] The processor 501 executes the steps of the game scene parameter configuration method described above, including:
[0149] The game editing interface includes a to-be-edited game scene, and the to-be-edited game scene includes a scene component configured to generate a corresponding virtual object in a game running stage;
[0150] In response to a configuration instruction for an attribute parameter, a target attribute parameter is determined according to the configuration instruction;
[0151] A parameter editing interface corresponding to the target attribute parameter is controlled to be displayed, and the parameter editing interface is used to edit an expression;
[0152] In response to an editing operation input through the parameter editing interface, a target expression is determined and displayed, and the expression is composed of at least one of the following objects: a constant, an operator and a variable;
[0153] In a game running stage, a parameter value of the target attribute parameter is determined based on a game behavior in the game scene and the target expression.
[0154] In some embodiments, the variable is a property parameter of a scene component configured by a system, and the property parameter includes at least one of the following: a preset property parameter and a custom property parameter.
[0155] In some embodiments, the variable is a dynamic variable.
[0156] In some embodiments, the value of the variable changes with the change of a game process.
[0157] In some embodiments, at least one variable parameter is displayed on the editing interface, and before the processor 501 executes the control to display the parameter editing interface corresponding to the target attribute parameter, the processor 501 is further configured to execute:
[0158] According to a parameter type of the target attribute parameter, at least one variable parameter displayed on the editing interface is determined.
[0159] In some embodiments, the processor 501, when performing the control to display the parameter editing interface corresponding to the target attribute parameter, is further configured to perform:
[0160] Control the parameter editing interface to be displayed at a preset position in the game editing interface.
[0161] In some embodiments, the processor 501, when performing the control to display the parameter editing interface corresponding to the target attribute parameter, is further configured to perform:
[0162] Switch the game editing interface displayed on the graphical user interface to the parameter editing interface.
[0163] In some embodiments, the parameter editing interface includes an expression editing area, a first area, and a second area; and the processor 501, when performing the determination and display of the target expression in response to the editing operation input through the parameter editing interface, is further configured to perform:
[0164] In response to an operator / constant selection operation input through the first area, display a first object component in the expression editing area, the first object component being a first object component determined based on the operator / constant selection operation.
[0165] In response to a variable selection operation input through the second area, display a second object component in the expression editing area, the second object component being a second object component determined based on the variable selection operation.
[0166] According to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing area, generate the target expression.
[0167] In some embodiments, the first area displays a plurality of candidate operators / constants; and the processor 501, when performing the display of the first object component in the expression editing area in response to the operator / constant selection operation input through the first area, is further configured to perform:
[0168] In response to a determination operation for the target operator / constant in the plurality of candidate operators, display a first object component in the expression editing area; wherein the first object component is a component corresponding to the target operator / constant.
[0169] In some embodiments, the second region displays a plurality of candidate variables; the processor 501 is configured to execute the attribute parameters of the scenario component configuration provided by the variables in response to a variable selection operation input through the second region; and in response to the display of the second object component in the expression editing region, the processor 501 is further configured to execute:
[0170] In response to a determination operation on a target variable in the plurality of candidate variable parameters, the processor 501 is configured to display a second object component in the expression editing region; wherein the second object component is a component corresponding to the target variable.
[0171] In some embodiments, the processor 501 is further configured to execute:
[0172] In response to a first operation on a target object component in the expression editing region, the processor 501 is configured to enter an adjustment state;
[0173] In response to a second operation on the target object component, the processor 501 is configured to adjust the position of the target object component in the expression editing region.
[0174] In some embodiments, in executing the target expression according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing region, the processor 501 is further configured to execute:
[0175] Verify the expression in the expression editing region;
[0176] If the verification result indicates pass, generate the target expression according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing region;
[0177] If the verification result indicates fail, feed back an error indication.
[0178] In some embodiments, in executing the verification of the expression in the expression editing region, the processor 501 is further configured to execute:
[0179] Verify the expression to determine whether there is a calculation error in the expression;
[0180] If not, determine that the expression passes the verification;
[0181] If there is an error, determine that the expression fails the verification.
[0182] In some embodiments, the parameter editing interface includes a save component, and the processor 501 is further configured to execute:
[0183] In response to a triggering operation for the save component, save the target expression as a custom formula.
[0184] In some embodiments, the processor 501 includes a custom expression in the execution of the variable parameter in the second area, and in response to a variable parameter selection operation input through the second area, when displaying the second object component in the expression editing area, the processor 501 is further configured to execute:
[0185] In response to a determination operation for a first expression in at least one custom expression, display a plurality of third object components corresponding to the first expression in the expression editing area.
[0186] In some embodiments, the expression editing area further includes an expression preview area, and the processor 501 is further configured to execute:
[0187] According to a moving operation in the expression editing area for the target object component, synchronously update the target expression displayed in the expression preview area.
[0188] In some embodiments, the expression editing area includes a value rule setting area, and the processor 501 is further configured to execute:
[0189] In response to a selection operation for a plurality of preset rules in the value rule, determine the target rule corresponding to the target expression.
[0190] In some embodiments, the processor 501, in response to the determination operation for the target attribute parameter, when controlling the display of the parameter editing interface corresponding to the target attribute parameter, is further configured to execute:
[0191] In response to a determination operation for a formula editing mode in the editing mode of the target attribute parameter, control the display of the parameter editing interface corresponding to the target attribute parameter.
[0192] In some embodiments, the processor 501 is further configured to execute:
[0193] In response to a determination operation for a list editing mode in the editing mode of the target attribute parameter, control the display of the list parameter editing interface corresponding to the target attribute parameter; the list parameter editing interface includes a plurality of to-be-configured role attributes.
[0194] In response to an editing operation input for each to-be-configured role attribute, determine the parameter corresponding to each role attribute.
[0195] In the game running stage, based on the current role attribute of the game scene controlled virtual object, determine the parameter value corresponding to the current role attribute.
[0196] In some embodiments, the processor 501 is further configured to perform:
[0197] in response to the logical editing instruction for the target skill, control display of a logical editing interface for the target skill;
[0198] in response to an editing operation input through the logical editing interface, determine and display target logic for the target skill; wherein the target logic is composed of at least one logical component; the at least one logical component includes a formula logical component configured to associate the target expression with the target skill;
[0199] When the processor 501 performs the determining of the parameter value of the target attribute parameter based on the game behavior in the game scene and the target expression in the game running phase, it is further configured to perform:
[0200] in the game running phase, determine the parameter value of the target skill based on the game behavior in the game scene and the target expression.
[0201] In some embodiments, the logical editing interface includes a logical editing area and a logical control area, and when the processor 501 performs the determining and displaying of the target logic for the target skill in response to the editing operation input through the logical editing interface, it is further configured to perform:
[0202] in response to a trigger operation for the logical control area, display a target logical component in the logical editing area, wherein the target logical component is a logical component generated according to a target logical control determined from the logical control area;
[0203] in response to an editing operation for the target logical component, determine and display an edited target logical component;
[0204] determine and display the target logic for the target skill according to the target logical component in the logical editing area.
[0205] In some embodiments, the target logical component is a formula logical component, and when the processor 501 performs the determining and displaying of the edited target logical component in response to the editing operation for the target logical component, it is further configured to perform:
[0206] in response to the editing operation for the formula logical component, display at least one expression object, wherein the expression object is an object corresponding to the expression, and the at least one expression object includes an expression object corresponding to the target expression: display list, and display a plurality of edited expression expression objects in the list;
[0207] In response to a selection instruction for an expression object corresponding to the target expression, the identification corresponding to the expression object is controlled to be displayed in the formula logic component.
[0208] With the parameter configuration device of the game scene provided by the present disclosure, the player can determine a target attribute parameter in multiple attribute parameters, control a parameter editing interface corresponding to the target attribute parameter to be displayed on a graphical user interface, and determine and display a target expression edited by the player through an editing operation input by the player in the parameter editing interface. The player can set or adjust the target expression to determine a parameter value of the target attribute parameter in real time based on the target expression during a game running stage. The target expression is composed of a constant, an operator, or a variable. The player only needs to understand basic constant operation logic to achieve custom editing of the target expression, which improves the editing efficiency of the player, has low requirements for the player, has low player onboarding costs, provides a flexible way for the player to configure the target attribute parameter, and thus improves the game experience of the player.
[0209] Optionally, the present disclosure also provides a program product, for example, a storage medium, which stores a computer program including a program that performs the above-mentioned method corresponding to the embodiments when executed by a processor.
[0210] The specific processor executes the steps of the above-mentioned parameter configuration method of the game scene, which includes:
[0211] The graphical user interface displays a game editing interface corresponding to a game scene editing stage provided by running the editor program. The game editing interface includes a game scene to be edited, and the game scene to be edited includes a scene component configured to generate a corresponding virtual object in a game running stage.
[0212] In response to a configuration instruction for an attribute parameter, a target attribute parameter is determined according to the configuration instruction.
[0213] A parameter editing interface corresponding to the target attribute parameter is controlled to be displayed. The parameter editing interface is used to edit an expression.
[0214] In response to an editing operation input through the parameter editing interface, a target expression is determined and displayed. The expression is composed of at least one of the following objects: a constant, an operator, and a variable.
[0215] In a game running stage, a parameter value of the target attribute parameter is determined based on a game behavior in the game scene and the target expression.
[0216] In some embodiments, the variable is an attribute parameter configured by a scene component provided by a system, and the attribute parameter includes at least one of the following: a preset attribute parameter and a custom attribute parameter.
[0217] In some embodiments, the variable is a dynamic variable.
[0218] In some embodiments, the value of the variable changes with the change of the game progress.
[0219] In some embodiments, the editing interface displays at least one variable parameter, and the processor, before executing the control to display the parameter editing interface corresponding to the target attribute parameter, is further configured to execute:
[0220] According to the parameter type of the target attribute parameter, determine at least one variable parameter displayed on the editing interface.
[0221] In some embodiments, the processor, when executing the control to display the parameter editing interface corresponding to the target attribute parameter, is further configured to execute:
[0222] Control to display the parameter editing interface at a preset position in the game editing interface.
[0223] In some embodiments, the processor, when executing the control to display the parameter editing interface corresponding to the target attribute parameter, is further configured to execute:
[0224] Switch the game editing interface displayed on the graphical user interface to the parameter editing interface.
[0225] In some embodiments, the parameter editing interface includes an expression editing area, a first area, and a second area, and the processor, when executing the control to determine and display a target expression in response to an editing operation input through the parameter editing interface, is further configured to execute:
[0226] In response to an operator / constant selection operation input through the first area, display a first object component in the expression editing area, the first object component being a first object component determined based on the operator / constant selection operation;
[0227] In response to a variable selection operation input through the second area, display a second object component in the expression editing area, the second object component being a second object component determined based on the variable selection operation;
[0228] According to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing area, generate the target expression.
[0229] In some embodiments, the first region displays a plurality of candidate operators / constants; the processor, when executing the operation of displaying the first object component in the expression editing region in response to the input of the operator / constant selection operation through the first region, is further configured to execute:
[0230] the operation of displaying the first object component in the expression editing region in response to the determination operation on the target operator / constant in the plurality of candidate operators; wherein the first object component is a component corresponding to the target operator / constant.
[0231] In some embodiments, the second region displays a plurality of candidate variables; the processor, when executing the operation of providing the attribute parameter of the scene component configured by the system for the variable, is further configured to execute:
[0232] the operation of displaying the second object component in the expression editing region in response to the determination operation on the target variable in the plurality of candidate variable parameters; wherein the second object component is a component corresponding to the target variable.
[0233] In some embodiments, the processor is further configured to execute:
[0234] the operation of entering the adjustment state in response to the first operation on the target object component in the expression editing region;
[0235] the operation of adjusting the position of the target object component in the expression editing region in response to the second operation on the target object component.
[0236] In some embodiments, the processor, when executing the operation of generating the target expression according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing region, is further configured to execute:
[0237] the operation of verifying the expression in the expression editing region;
[0238] if the verification result indicates pass, generating the target expression according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing region;
[0239] if the verification result indicates fail, feeding back an error indication.
[0240] In some embodiments, the processor, when executing the operation of verifying the expression in the expression editing region, is further configured to execute:
[0241] verifying the expression, to determine whether there is a calculation error in the expression;
[0242] if not, determining that the expression passes the verification;
[0243] if there is an error, determining that the expression fails the verification.
[0244] In some embodiments, the parameter editing interface comprises a save component, and the processor is further configured to perform:
[0245] in response to a triggering operation on the save component, save the target expression as a custom formula.
[0246] In some embodiments, the processor includes a custom expression in the variable parameter in the second region, and the processor, in response to the variable parameter selection operation input through the second region, is further configured to perform:
[0247] in response to a determination operation on a first expression in the at least one custom expression, display a plurality of third object components corresponding to the first expression in the expression editing region.
[0248] In some embodiments, the expression editing region further comprises an expression preview region, and the processor is further configured to perform:
[0249] in accordance with a movement operation on the target object component in the expression editing region, synchronously update the target expression displayed in the expression preview region.
[0250] In some embodiments, the expression editing region comprises a value rule setting region, and the processor is further configured to perform:
[0251] in response to a selection operation on a plurality of preset rules in the value rule, determine a target rule corresponding to the target expression.
[0252] In some embodiments, the processor, in response to the determination operation on the target attribute parameter, is further configured to perform:
[0253] in response to a determination operation on a formula editing mode in the editing mode of the target attribute parameter, control the display of the parameter editing interface corresponding to the target attribute parameter.
[0254] In some embodiments, the processor is further configured to perform:
[0255] In response to a determination operation for a list editing mode in the editing mode of the target attribute parameter, a list parameter editing interface corresponding to the target attribute parameter is displayed; the list parameter editing interface includes a plurality of to-be-configured role attributes;
[0256] In response to an editing operation input for each to-be-configured role attribute, a parameter corresponding to each role attribute is determined;
[0257] In the game running stage, a parameter value corresponding to the current role attribute is determined based on the current role attribute of the game scene controlled virtual object.
[0258] In some embodiments, the processor is further configured to perform:
[0259] In response to a logical editing instruction for a target skill, a logical editing interface for the target skill is displayed;
[0260] In response to an editing operation input through the logical editing interface, target logic for the target skill is determined and displayed; the target logic is composed of at least one logic component; the at least one logic component includes a formula logic component configured to associate the target expression with the target skill;
[0261] The processor, when determining a parameter value of a target attribute parameter based on a game behavior in the game scene and the target expression in the game running stage, is further configured to perform:
[0262] In the game running stage, a parameter value of the target skill is determined based on a game behavior in the game scene and the target expression.
[0263] In some embodiments, the logical editing interface includes a logical editing area and a logical control area, and the processor, when determining and displaying target logic for the target skill in response to an editing operation input through the logical editing interface, is further configured to perform:
[0264] In response to a trigger operation for the logical control area, a target logic component is displayed in the logical editing area, wherein the target logic component is a logic component generated according to a target logic control determined from the logical control area;
[0265] In response to an editing operation for the target logic component, an edited target logic component is determined and displayed;
[0266] Target logic for the target skill is determined and displayed according to the target logic component in the logical editing area.
[0267] In some embodiments, the target logic component is a formula logic component, and the processor, in response to the editing operation on the target logic component, determines and displays the edited target logic component, is further configured to perform:
[0268] In response to the editing operation on the formula logic component, display at least one expression object corresponding to the expression, wherein the expression object is an object corresponding to the expression, and the at least one expression object includes an expression object corresponding to the target expression: display a list, and display a plurality of edited expression objects in the list;
[0269] In response to a selection instruction on the expression object corresponding to the target expression, control the display of an identifier corresponding to the expression object in the formula logic component.
[0270] With the storage medium provided by the present disclosure, after the player determines the target attribute parameter in the plurality of attribute parameters, the player can control the display of the parameter editing interface corresponding to the target attribute parameter on the graphical user interface, and determine and display the target expression edited by the player in the parameter editing interface through the editing operation input by the player. The player can set or adjust the target expression to determine the parameter value of the target attribute parameter in real time based on the target expression during the game running stage. The target expression is composed of constants, operators or variables. The player only needs to understand the basic constant operation logic to realize the custom editing of the target expression, improve the editing efficiency of the player, and has low requirements on the player. The player has low learning cost, provides a flexible configuration method for the player to configure the target attribute parameter, and improves the game experience of the player.
[0271] In several embodiments provided by the present disclosure, it should be understood that the disclosed apparatus and method can be implemented in other manners. For example, the embodiments of the apparatus described above are merely schematic; for example, the division of the units is only a logical function division; there can be another division manner in actual implementation; for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between the units can be indirect couplings or communication connections through some interfaces, devices or units, and can be electrical, mechanical or in other forms.
[0272] The units described as separated components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. In actual implementation, some or all of the units can be selected according to actual needs to achieve the purposes of the embodiments of the present disclosure.
[0273] In addition, each functional unit in various embodiments of the present disclosure can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware, or in the form of hardware plus software function unit.
[0274] The integrated unit implemented in the form of software function unit can be stored in a computer readable storage medium. The software function unit stored in the storage medium includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute part of the steps of the method described in various embodiments of the present disclosure. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, and various media that can store program codes.
Claims
1. A parameter configuration method of a game scene, a graphical user interface provided by running a game program is provided by a terminal, the game program comprises an editor program, and the method comprises: displaying, in the graphical user interface, a game editing interface corresponding to a game scene editing stage provided by running the editor program, the game editing interface comprising a game scene to be edited, and the game scene to be edited comprising scene components configured to generate corresponding virtual objects in a game running stage; in response to a configuration instruction for an attribute parameter, determining a target attribute parameter according to the configuration instruction; controlling display of a parameter editing interface corresponding to the target attribute parameter, the parameter editing interface being used for editing an expression; in response to an editing operation input through the parameter editing interface, determining and displaying a target expression, wherein the expression is composed of at least one of the following objects: a constant, an operator, and a variable; in the game running stage, determining a parameter value of the target attribute parameter based on a game behavior in the game scene and the target expression.
2. The method of claim 1, wherein, The variable is a property parameter of a scene component configured by a system, and the property parameter comprises at least one of the following: a preset property parameter and a custom property parameter.
3. The method of claim 1, wherein, The variable is a dynamic variable.
4. The method of claim 3, wherein, The value of the variable changes with the progress of the game.
5. The method of claim 1, wherein, Before the controlling display of the parameter editing interface corresponding to the target attribute parameter, the method further comprises: determining at least one variable parameter displayed on the editing interface according to a parameter type of the target attribute parameter.
6. The method of claim 1, wherein, The controlling display of the parameter editing interface corresponding to the target attribute parameter comprises: controlling display of the parameter editing interface at a preset position in the game editing interface.
7. The method of claim 1, wherein, The controlling display of the parameter editing interface corresponding to the target attribute parameter comprises: switching the game editing interface displayed on the graphical user interface to the parameter editing interface.
8. The method of claim 1, wherein, The parameter editing interface comprises an expression editing area, a first area, and a second area; and the determining and displaying of the target expression in response to the editing operation input through the parameter editing interface comprises: in response to an operator / constant selection operation input through the first area, displaying a first object component in the expression editing area, the first object component being a first object component determined based on the operator / constant selection operation; in response to a variable selection operation input through the second area, displaying a second object component in the expression editing area, the second object component being a second object component determined based on the variable selection operation; generating the target expression according to the first object component, the second object component, and a positional relationship between the first object component and the second object component in the expression editing area.
9. The method of claim 8, wherein, A plurality of candidate operators / constants are displayed in the first area. The displaying of the first object component in the expression editing area in response to the operator / constant selection operation input through the first area comprises: In response to a determination operation on a target operator / constant in the plurality of candidate operators, display a first object component in the expression editing area; wherein the first object component is a component corresponding to the target operator / constant.
10. The method of claim 8, wherein, The second area displays a plurality of candidate variables; the variables are attribute parameters of a scene component configuration provided by the system; In response to a variable selection operation input through the second area, display a second object component in the expression editing area, including: In response to a determination operation on a target variable in the plurality of candidate variables, display a second object component in the expression editing area; wherein the second object component is a component corresponding to the target variable.
11. The method of claim 8, wherein, The method further includes: In response to a first operation on a target object component in the expression editing area, enter an adjustment state; In response to a second operation on the target object component, adjust the position of the target object component in the expression editing area.
12. The method of claim 8, wherein, The target expression is generated according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing area, including: Verify the expression in the expression editing area; If the verification result indicates pass, generate the target expression according to the first object component, the second object component, and the positional relationship between the first object component and the second object component in the expression editing area; If the verification result indicates fail, feed back an error indication.
13. The method of claim 12, wherein, The verification of the expression in the expression editing area includes: Verify the expression to determine whether there is a calculation error in the expression; If not, determine that the expression passes the verification; If there is an error, determine that the expression fails the verification.
14. The method of claim 8, wherein, The parameter editing interface includes a save component, and the method further includes: In response to a trigger operation on the save component, save the target expression as a custom formula.
15. The method of claim 8, wherein, The variable parameters in the second area include custom expressions, and in response to a variable parameter selection operation input through the second area, displaying a second object component in the expression editing area includes: In response to a determination operation on a first expression in the at least one custom expression, display a plurality of third object components corresponding to the first expression in the expression editing area.
16. The method of claim 11, wherein, The expression editing area further includes an expression preview area, and the method further includes: According to a movement operation on the target object component in the expression editing area, synchronously update the target expression displayed in the expression preview area.
17. The method of claim 8, wherein, The expression editing area includes a value rule setting area, and the method further includes: In response to a selection operation on a plurality of preset rules in the value rule, determine a target rule corresponding to the target expression.
18. The method of claim 1, wherein, The control displays the parameter editing interface corresponding to the target attribute parameter, including: In response to a determination operation on a formula editing mode in an editing mode of the target attribute parameter, control the display of the parameter editing interface corresponding to the target attribute parameter.
19. The method of claim 1, wherein, The method further comprises: in response to a determination operation of a list editing mode in the editing mode for the target attribute parameter, controlling display of a list parameter editing interface corresponding to the target attribute parameter; the list parameter editing interface comprises a plurality of to-be-configured role attributes; in response to an editing operation input for each to-be-configured role attribute, determining a parameter corresponding to each role attribute; in a game running stage, based on a current role attribute of a controlled virtual object in the game scene, determining a parameter value corresponding to the current role attribute.
20. The method of claim 1, wherein, The method further comprises: in response to a logical editing instruction for a target skill, controlling display of a logical editing interface for the target skill; in response to an editing operation input through the logical editing interface, determining and displaying target logic for the target skill; wherein the target logic is composed of at least one logic component; the at least one logic component comprises a formula logic component configured to associate the target expression with the target skill; in the game running stage, based on a game behavior in the game scene and the target expression, determining a parameter value of the target attribute parameter, comprising: in a game running stage, based on a game behavior in the game scene and the target expression, determining a parameter value of the target skill.
21. The method of claim 20, wherein, The logical editing interface comprises a logical editing area and a logical control area, and the response to the editing operation input through the logical editing interface to determine and display the target logic for the target skill comprises: in response to a trigger operation for the logical control area, displaying a target logic component in the logical editing area, wherein the target logic component is a logic component generated according to a target logic control determined from the logical control area; in response to an editing operation for the target logic component, determining and displaying an edited target logic component; determining and displaying the target logic for the target skill according to the target logic component in the logical editing area.
22. The method of claim 21, wherein, The target logic component is a formula logic component, and the response to the editing operation for the target logic component to determine and display the edited target logic component comprises: in response to the editing operation for the formula logic component, displaying at least one expression object, wherein the expression object is an object corresponding to the expression, and the at least one expression object comprises an expression object corresponding to the target expression: a display list, and a plurality of edited expression expression objects are displayed in the list in response to a selection instruction for the expression object corresponding to the target expression, controlling display of an identifier corresponding to the expression object in the formula logic component.
23. A device for parameter configuration of a game scene, the device comprising: The display module, the determination module and the calculation module, wherein: the display module is configured to display, on a graphical user interface, a game editing interface corresponding to a game scene editing stage provided by running an editor program, the game editing interface comprising a to-be-edited game scene, the to-be-edited game scene comprising a scene component, the scene component being configured to generate a corresponding virtual object in a game running stage; The determining module is configured to determine a target attribute parameter according to a configuration instruction for the attribute parameter in response to the configuration instruction. The display module is specifically configured to control display of a parameter editing interface corresponding to the target attribute parameter, the parameter editing interface being used for editing an expression. The determining module is specifically configured to determine and display a target expression in response to an editing operation input through the parameter editing interface, the expression being composed of at least one of a constant, an operator, and a variable. The calculating module is configured to determine a parameter value of the target attribute parameter based on a game behavior in the game scene and the target expression in a game running stage.
24. A parameter configuration device for a game scene, the device comprising: A processor, a storage medium, and a bus, the storage medium storing machine readable instructions executable by the processor, the processor and the storage medium communicating through the bus when the game scene parameter configuration device is running, the processor executing the machine readable instructions to perform the method of any one of claims 1-22.
25. A storage medium, the storage medium storing a computer program, the computer program being executed by a processor to perform the method of any one of claims 1-22.
Citation Information
Patent Citations
Editing method and device for UI interface in game, electronic equipment and storage medium
CN117839221A
Game editing method and device and electronic equipment
CN117899493A
Game scene parameter configuration method and device, equipment and storage medium
CN118767435A
Method and device for converting user interface of functional diagram editor
JP1993120363A
Method for visual manipulations of all kinds of programming objects
US20140223413A1