Game scene parameter configuration method and device, equipment and storage medium
By introducing an expression editing interface into the game, players are allowed to use expressions composed of constants, operators and variables to configure the character attribute parameters of the game scene, which solves the problem in the existing technology that players cannot configure character attributes, and improves the game experience and Editing efficiency.
Patent Information
- Application Number
- CN202410646184.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-10-15
AI Technical Summary
In existing game technology, players cannot configure character attribute parameters in the game scene, resulting in poor game experience and greater limitations.
Provides a parameter configuration method for game scenes, displays the game editing interface through the graphical user interface, allows players to configure target attribute parameters, and uses the expression editing interface to determine the value of the target attribute parameter using an expression composed of constants, operators, and variables. Enhance players’ customization capabilities.
It improves the player's editing efficiency and game experience, and provides a flexible configuration method, allowing players to customize expressions based on basic constant operation logic, with low requirements and low start-up cost.
Smart Images

Figure CN118767435A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of game technology, and in particular to a method, device, equipment and storage medium for configuring parameters of a game scene. Background Art
[0002] With the development of Internet technology, games have become an indispensable part of people's lives. People usually choose games for entertainment during leisure and entertainment.
[0003] There are some gameplays 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 player's desired shape or desired terrain.
[0004] However, the character attribute parameters in the game scene are generally preset by the system. Players can only configure the terrain or appearance of the game scene, but cannot configure the character attribute parameters in the game scene, which leads to limitations in the player's generation of game scenes and affects the player's gaming experience. Summary of the invention
[0005] The purpose of this application is to provide a method, device, equipment and storage medium for configuring parameters of a game scene in order to address the deficiencies in the above-mentioned prior art and solve the problem of poor player gaming experience in the prior art.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for configuring parameters of a game scene, the method comprising:
[0008] Displaying, on the graphical user interface, a game editing interface corresponding to a game scene editing phase provided by running the editor program, wherein the game editing interface includes a game scene to be edited, wherein the game scene to be edited includes a scene component, and wherein the scene component is configured to generate a corresponding virtual object during a game running phase;
[0009] In response to a configuration instruction for an attribute parameter, determine a target attribute parameter according to the configuration instruction;
[0010] Controlling display of a parameter editing interface corresponding to the target attribute parameter, wherein the parameter editing interface is used to edit an expression;
[0011] 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;
[0012] During the game running phase, the parameter value of the target attribute parameter is determined based on the game behavior in the game scene and the target expression.
[0013] In a second aspect, another embodiment of the present application provides a device for configuring parameters of a game scene, the device comprising: a display module, a determination module and a calculation module, wherein:
[0014] The display module is used to display, on the graphical user interface, a game editing interface corresponding to the game scene editing stage provided by running the editor program, wherein the game editing interface includes a game scene to be edited, and the game scene to be edited includes a scene component, and the scene component is configured to generate a corresponding virtual object during the game running stage;
[0015] The determination module is used to respond to a configuration instruction for an attribute parameter and determine a target attribute parameter according to the configuration instruction;
[0016] The display module is specifically used to control and display a parameter editing interface corresponding to the target attribute parameter, and the parameter editing interface is used to edit the expression;
[0017] The determination module is specifically used to respond to the editing operation input through the parameter editing interface, determine and display the target expression, wherein the expression is composed of at least one of the following objects: a constant, an operator, and a variable;
[0018] The calculation module is used to determine the parameter value of the target attribute parameter based on the game behavior in the game scene and the target expression during the game running stage.
[0019] In the third aspect, another embodiment of the present application 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, when the parameter configuration device for the game scene is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.
[0020] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.
[0021] The beneficial effect of the present application is: by adopting the parameter configuration method of the game scene provided by the present application, the player can determine the target attribute parameter among multiple attribute parameters, and then 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 through the editing operation input by the player in the parameter editing interface. The player can determine the parameter value of the target attribute parameter based on the target expression in real time during the game running stage by setting or adjusting the target expression by himself. The target expression is composed of constants, operators or variables. The player only needs to understand the basic constant operation logic to realize the customized editing of the target expression, which improves the player's editing efficiency, has low requirements for players, and has a low cost for players to get started, and provides players with a flexible way to configure the target attribute parameters, thereby improving the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 A flowchart of a method for configuring parameters of a game scene provided in one embodiment of the present application;
[0024] Figure 2 A schematic diagram of a graphical user interface provided in one embodiment of the present application;
[0025] Figure 3 A schematic diagram of a graphical user interface provided by another embodiment of the present application;
[0026] Figure 4 A schematic diagram of a graphical user interface provided by another embodiment of the present application;
[0027] Figure 5 A schematic diagram of a graphical user interface provided by another embodiment of the present application;
[0028] Figure 6 A flowchart of a method for configuring parameters of a game scene provided by another embodiment of the present application;
[0029] Figure 7 A flowchart of a method for configuring parameters of a game scene provided by another embodiment of the present application;
[0030] Figure 8 A flowchart of a method for configuring parameters of a game scene provided by another embodiment of the present application;
[0031] Fig. 9 A schematic diagram of a graphical user interface provided by another embodiment of the present application;
[0032] Fig.10 A schematic diagram of a graphical user interface provided by another embodiment of the present application;
[0033] Fig.11 A schematic diagram of a graphical user interface provided by another embodiment of the present application;
[0034] Fig.12 A schematic diagram of the structure of a parameter configuration device for a game scene provided in one embodiment of the present application;
[0035] Fig.13 A schematic diagram of the structure of a parameter configuration device for a game scene provided in one embodiment of the present application;
[0036] Fig.14 A schematic diagram of the structure of a parameter configuration device for a game scene provided by another embodiment of the present application;
[0037] Fig.15 A schematic diagram of the structure of a parameter configuration device for a game scene provided in one embodiment of the present application. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments.
[0039] The components of the embodiments of the present application generally described and shown in the drawings herein may be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0040] In one embodiment of the present application, the parameter configuration method of the game scene can be run on a local terminal device or a server. When the parameter configuration method of the game scene is run 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.
[0041] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the parameter configuration method of the game scene are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the player side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0042] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0043] In addition, the flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of this application, and can also remove one or more operations from the flowchart.
[0044] The following is an explanation of a parameter configuration method for a game scene provided in an embodiment of the present application in combination with a number of specific application examples. Figure 1 A flowchart of a method for configuring parameters of a game scene provided by an embodiment of the present application is provided, wherein a graphical user interface provided by running a game program is provided by a terminal, wherein the game program includes an editor program, such as Figure 1 As shown, the method includes:
[0045] Step 101: Displaying a game editing interface corresponding to a game scene editing phase provided by running an editor program on a graphical user interface.
[0046] The game editing interface includes a game scene to be edited, and the game scene to be edited includes a scene component, and the scene component is configured to generate a corresponding virtual object during the game running stage.
[0047] In an embodiment of the present application, a player may, for example, edit a game scene to be edited in a graphical user interface. The editing method includes, but is not limited to, editing scene components in the game scene to be edited. The editing method may, for example, be to build the terrain in the game scene by combining or splicing scene components preset in the game; or, edit the functions or other properties of each scene component in the game scene; or, edit the properties of virtual objects in the game scene, including, but not limited to, upgrade experience properties, skill damage properties, etc. The specific content that a player can edit in the game scene and the editing method may be flexibly adjusted according to user needs and are not limited to those given in the above embodiments.
[0048] In an embodiment of the present application, players can edit the game scene in the game scene editing stage to generate an applicable game scene, that is, the present application provides a gameplay in which players can customize the game scene. Players can build their own game scenes according to personal preferences. The built game scenes can be entered by the players themselves or provided to other players of the game, thereby increasing the diversity of the gameplay within the game. Players can customize the gameplay by building virtual scenes, providing more playability to players.
[0049] Step 102: respond to a configuration instruction for an attribute parameter and determine a target attribute parameter according to the configuration instruction.
[0050] In an embodiment of the present application, the configuration instruction for the attribute parameter may be, for example, a configuration instruction for the attribute parameter of a virtual object, including but not limited to the attribute configuration for upgrading experience of a virtual object, or a configuration instruction for a target skill among multiple skills of a virtual object; Figure 2 A schematic diagram of a graphical user interface provided by an embodiment of the present application, such as Figure 2As shown, for example, a player can trigger a setting instruction in the game, and a setting interface will pop up in the graphical user interface. The player can select a rule design in the setting interface to display the corresponding attribute parameters under the rule design on one side of the setting interface. The display mode of multiple attribute parameters can be, for example, an option display mode, a setting display mode, or a switch control display mode, etc.; the player can complete the setting of the rules in the game scene in the setting interface, and the attribute parameters of each rule include but are not limited to, for example, setting the health value of the virtual object, the game duration, the game mode (timing mode / clearance mode / monster fighting mode, etc.), the points rule, the elimination rule, the resurrection rule, etc.; it should be understood that the above embodiment is only an exemplary description, and the content and details displayed in the specific setting interface can be flexibly adjusted according to user needs or game needs, and are not limited to the above embodiment.
[0051] Continue as Figure 2 As shown, for example, if the player determines that the target attribute parameter is the level parameter among multiple attribute parameters in the rule setting interface, then the opening state of the level rule is set to on, and an editing 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 editing method, and the detailed setting of the corresponding editing method, etc. The player can complete the editing of the target attribute parameter in the editing list.
[0052] Step 103: Control and display the parameter editing interface corresponding to the target attribute parameter.
[0053] Among them, the parameter editing interface is used to edit the expression.
[0054] Continue as Figure 2 As shown, for example, if the player selects the formula editing mode in the editing mode, then in response to the determination operation of the formula editing mode in the editing mode for the target attribute parameter, the parameter editing interface corresponding to the target attribute parameter is controlled to be displayed. For example, in response to the player's trigger operation for adjusting the parameter, the parameter editing interface corresponding to the level rule is controlled to be displayed. Constant objects, operator objects and variable objects are provided in the parameter editing interface. The player can realize the combination of various objects through selection operations among multiple objects, and realize the editing of the expression through the arrangement and combination of various objects.
[0055] Figure 3 A schematic diagram of a graphical user interface provided by another embodiment of the present application, such as Figure 3 As shown, the display mode of the parameter editing interface can be, for example, in response to the determination operation on the target attribute parameter, switching the game editing interface displayed on the graphical user interface to the parameter editing interface; that is, the display mode of the parameter editing interface corresponding to the level rule can be, for example, displaying a parameter editing pop-up window, and the parameter editing pop-up window has the highest display level, and the player can, for example, Figure 2 Select the target attribute parameter and confirm that the editing mode is the formula editing mode, then confirm the display of the parameter editing pop-up window.
[0056] or, Figure 4 This is a schematic diagram of a graphical user interface provided by another embodiment of the present application. The display mode of the parameter editing interface can be, for example, in response to a determination operation on a target attribute parameter, controlling the display of the parameter editing interface at a preset position in the game editing interface, such as Figure 4 As shown, multiple attribute types can be displayed on one side of the graphical user interface, and in response to the player's selection operation of the target attribute parameter in the multiple attribute types, the target attribute parameter corresponding to the selection operation is determined, wherein the target attribute parameter can be highlighted, for example, or displayed in a preset display color, or as shown in FIG. Figure 4 As shown, the outer border of the target attribute parameter is bolded, for example Figure 4 The target attribute parameter is "role", and the outer border corresponding to the "role" control is thicker than the outer borders of other unselected attribute types. After the target attribute parameter is determined, the parameter editing interface corresponding to the target attribute parameter will be directly displayed on one side of the graphical user interface, and 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 drawings are only exemplary descriptions, and the display method, display position and specific content of the specific parameter editing interface can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiments.
[0057] Step 104: In response to the editing operation input through the parameter editing interface, determine and display the target expression.
[0058] The expression consists of at least one of the following objects: constants, operators, and variables.
[0059] In some possible embodiments, at least one parameter variable is displayed on the editing interface, and at least one variable parameter displayed on the editing interface is determined according to the parameter type of the target attribute parameter. Figure 3 As shown, the parameter editing interface includes: an expression editing area, a first area, and a second area; wherein, the second area may be displayed on the right side of the editing interface, for example, and parameter variables and a parameter type list are displayed in the second area. The player may select a target attribute parameter type from multiple parameter types, and then the parameter variable list will display multiple parameter variables under the target attribute parameter type selected by the player.
[0060] The first area in the graphical user interface can, for example, be set between the expression editing area and the second area. The way for the user to input the target expression can, for example, be: in response to an operator / constant selection operation input through the first area, a first object component is displayed in the expression editing area, and the first object component is a first object component 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, and the second object component is a second object component determined based on the variable selection operation; and the target expression is generated according to the positional relationship between the first object component, the second object component, and the first object component and the second object component in the expression editing area.
[0061] In an embodiment of the present application, a plurality of candidate operators and constants are displayed in the first area, for example, wherein the plurality of candidate operators may be displayed in an operator list, for example, the constants may be displayed in a constant list or a constant control, and the first object component may be determined, for example, in response to a determination operation for a target operator / constant among the plurality of candidate operators, by displaying the first object component in the expression editing area; wherein the first object component is a component corresponding to the target operator / constant.
[0062] In an embodiment of the present application, the second area displays: multiple candidate variables; the method for determining the second object component can, for example, be to display the second object component in the expression editing area in response to a determination operation on the target variable among the multiple candidate variable parameters; wherein the second object component is a component corresponding to the target variable.
[0063] That is to say, in the embodiments of the present application, based on the player's selection operation of the target object among multiple objects, the components corresponding to the target object corresponding to the selection operation are displayed in the expression editing area. The display position of each target object in the expression editing area can be determined according to the order of the player's selection operations. The target object selected first is at the front part of the expression editing area, and the target object selected later is at the back part of the expression. The player can flexibly configure the target expression according to his own needs.
[0064] For example, the player first selects a constant, and then the constant component is displayed in the formula editing area. The player can, for example, 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 to 30, and then the player selects the "X" operator in the operator list, then the "X" component is displayed in the formula editing area, and then the player selects "Skill Level", "X", "(", "Skill Damage Value", "+", "156", ")", "÷", "2" in the parameter variable, operator list or constant in turn. At this time, the formula editing area will display components such as "30", "X", "Skill Level", "X", "(", "Skill Damage Value", "+", "156", ")", "÷", "2" respectively.
[0065] Continue as Figure 3 As shown, a formula preview area will be displayed below the formula editing area, and the formula preview area can fully display the corresponding expression "30X Skill Level X (Skill Damage + 156) / 2" in the current formula editing area. It should be understood that the above embodiment is only an exemplary description, and the display positions of the formula editing area, formula preview area and variable parameters in the specific parameter editing interface can be flexibly adjusted according to user needs, and are not limited to those given in the above embodiment.
[0066] In some other possible embodiments, the display position of each component in the formula editing area may also be determined according to the player's dragging 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 a drag operation continuous with the selection operation. The position of the first object component moves with the movement of the drag operation. After the player drags the first object component to the formula editing area, the position of the current 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 drag operation can be ended 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, for example It can be determined that the current selection operation is invalid, and the first object component will not be displayed in the formula editing area; similarly, the player can also select variable parameters in the second area in the same way, and in response to a drag operation continuous with the player's selection operation in the second area, generate and display the second object component, and determine the display position of the second object component in the formula editing area according to the end position of the drag operation. It should be understood that the above embodiment is only an exemplary description. The display position of each object component in the formula editing area can be determined according to the player's determined operation order, or according to the end position of the player's drag operation. The specific method for determining the display position of each object component can be flexibly adjusted according to user needs and is not limited to the above embodiment.
[0067] In the embodiments of the present application, variables are attribute parameters configured by scene components provided by the system, wherein the attribute parameters include at least one of the following: preset attribute parameters, custom attribute parameters. Variables are dynamic variables, and the values of the variables change with the progress of the game; that is, dynamic variables are variables that change in real time according to the current level of the virtual object in the game, for example, virtual objects of different levels have different skill damage values corresponding to the same skill, or the skill damage values corresponding to different virtual objects of the same level may be different, or the skill release ranges corresponding to different skills may be different, or the skill consumption corresponding to different skills may be different, or the cooling time corresponding to different skills may be different. The specific content of the specific variable is determined according to the game settings and is not limited to the above embodiments. In this way, our edited target expression has a dynamic effect, that is, the parameter value of the edited target attribute parameter can be dynamically determined according to the current changes in the variable.
[0068] Step 105: During the game running phase, the parameter value of the target attribute parameter is determined based on the game behavior and the target expression in the game scene.
[0069] Among them, game behaviors include but are not limited to the current level of the controlled virtual object, the remaining attribute values of the controlled virtual object, the attribute values of the scene components, etc. For example, if the target attribute parameter is upgrade experience, then 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 attribute parameter is the damage value corresponding to a certain skill, then 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.
[0070] By adopting the parameter configuration method of the game scene provided by the present application, after the player determines the target attribute parameter among multiple attribute parameters, the parameter editing interface corresponding to the target attribute parameter is controlled to be displayed on the graphical user interface, and the target expression edited by the player is determined and displayed through the editing operation input by the player in the parameter editing interface. The player can determine the parameter value of the target attribute parameter based on the target expression in real time during the game running stage by setting or adjusting the target expression by himself. The target expression is composed of constants, operators or variables. The player only needs to understand the basic constant operation logic to realize the customized editing of the target expression, which improves the player's editing efficiency, has low requirements for players, and has a low cost for players to get started. It provides players with a flexible way to configure the target attribute parameters, thereby improving the player's gaming experience.
[0071] Figure 5 This is a schematic diagram of a graphical user interface provided by another embodiment of the present application. Figure 6 A schematic diagram of a graphical user interface provided by another embodiment of the present application, such as Figure 5 As shown, for example, if the player selects the list editing mode in the editing mode, then in response to the confirmation operation of the list editing mode in the editing mode for the target attribute parameter, for example, in response to the player's confirmation operation on the adjustment parameter control, the list parameter editing interface corresponding to the target attribute parameter is controlled to be displayed; Figure 6 As shown, the list parameter editing interface includes multiple character attributes to be configured. For example, if the player currently sets the level cap to 20, the list parameter editing interface includes an editing list corresponding to each experience level from 0 to 20. Each experience in the editing list is arranged according to preset rules and displayed in the list parameter editing interface. For example, each row displays 2 experience parameter editing boxes, and each page displays 5 rows of experience parameter editing boxes. If the current page does not display all experience parameter editing boxes, other experience parameter editing boxes can be folded, and the player can view other folded experience parameter editing boxes by sliding in the editing list.
[0072] 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 of the target attribute parameter, the list parameter editing interface corresponding to the target attribute parameter can be controlled to display; the list parameter editing interface includes multiple character attributes to be configured; in response to the editing operation input for each character attribute to be configured, the parameters corresponding to each character attribute are determined; in the game running stage, based on the current character attributes of the controlled virtual objects in the game scene, the parameter values corresponding to the current character attributes are determined.
[0073] Still taking the upgrade experience as the target attribute parameter as an example, the player can, for example, 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's settings, for example, the target experience value increases with the level, and 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 there is a problem with the experience value entered, and the player needs to modify the input experience value; in response to the determination operation of saving the control in the experience edit box, it is determined to save the currently set experience value as the experience value rule in the game scene to be edited. During the game running process, based on Based on the current character attributes of the controlled virtual object, such as level, etc., determine the parameter value corresponding to the current character attribute. For example, if the current level of the controlled virtual character is 2, then according to the preset parameter editing list, determine the experience value when the level is 2 as the target experience value, that is, determine the experience value when the level is 2 as the experience value required for the current controlled virtual object to upgrade. 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 at level 2 until the experience value is greater than or equal to the target experience value. It should be understood that the above embodiment is only an exemplary description, 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, etc. The determination of the specific target attribute parameter, as well as the arrangement and display method of each parameter to be edited in the parameter editing box, etc., can be flexibly adjusted according to user needs and are not limited to the above embodiment.
[0074] Optionally, based on the above embodiment, the embodiment of the present application may also provide a parameter configuration method for a game scene. The implementation process of the above method is illustrated below in conjunction with the accompanying drawings. Figure 7 A flowchart of a method for configuring parameters of a game scene provided by another embodiment of the present application is shown as follows: Figure 7 As shown, the method may also include:
[0075] Step 111: In response to a first operation on a target object component in the expression editing area, enter an adjustment state.
[0076] Among them, the position of each component in the expression editing area can be adjusted, and the first operation can be, for example, a long press operation; or, an adjustment control can be set in the expression editing area, and the first operation is triggered in response to a click operation on the adjustment control, and the control enters an adjustment state after clicking the adjustment control; or, the first operation can also be triggered in response to a preset shortcut key or a preset shortcut, or, for example, can also be input by the player through voice, for example, the player says "adjust the formula", then the control can enter the adjustment state; for example, taking the first operation as a long press operation as an example, for example, when the player long presses a target object component among multiple object components in the expression editing area, the expression editing area is triggered to enter the adjustment state, and the positions of each component in the expression editing area can be adjusted in the adjustment state.
[0077] In some possible embodiments, after entering the adjustment state, the display mode of each component in the expression editing area can be, for example, a display mode different from the normal display mode. For example, in the editing state, each component can be displayed with shaking, or each component can be displayed in gray, or each component can be displayed in a display color different from the normal display mode. The display mode of each component in the specific adjustment state can be flexibly adjusted according to user needs. It only needs to allow players to intuitively understand that they are currently in an adjustment state based on the display mode of each component, and is not limited to the above embodiments.
[0078] Step 112: In response to the second operation on the target object component, adjust the position of the target object component in the expression editing area.
[0079] In some possible embodiments, the second operation may be, for example, a drag operation on the target object component; or, a position adjustment control may be set in the expression editing area, such as a forward move control (for example, a left arrow) or a backward move control (for example, a right arrow). The second operation may be determined by the player clicking the target position adjustment control after determining the target object component that needs to be adjusted. The determination is based on the type of the target position adjustment control and the number of clicks on the target position adjustment control. For example, if the player clicks the forward move control twice, it means that the target object component needs to be exchanged with the two adjacent object components on the left so that the target object component moves forward two units; if the target object component moves forward one unit and is already located at the first component in the expression editing area, there is no need to move forward any further. It should be understood that the above embodiments are only exemplary descriptions, and the specific operation type and operation method of the second operation can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments.
[0080] Taking the second operation as the dragging operation as an example, in the adjustment state, the player can, for example, select and drag the target object component, so that the target object component moves in the expression editing area according to the player's dragging operation, and determines the adjusted position of the target object component according to the end position of the dragging operation. This setting method allows the player to adjust the input expression even if he has entered an expression in the formula editing area, so as to obtain the adjusted expression based on the adjustment result.
[0081] In an embodiment of the present application, the expression editing area also includes an expression preview area, which 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 move operation on the target object component in the expression editing area, the target expression displayed in the expression preview area is synchronously updated; the player can view the target expression in the expression preview area in real time, and based on the target expression in the expression preview area, intuitively check whether the current target expression is the target expression required by the player. If not, the player can adjust the target expression through adjustment operations in the expression editing area until the adjusted target expression meets the player's requirements.
[0082] In some possible embodiments, in order to ensure the availability of the target expression, for example, before generating the target expression, it is also necessary to verify the expression in the expression editing area; the verification method can, for example, be to verify the expression to determine whether there is a calculation error in the expression; the calculation error can, for example, be: whether there is an operator usage error, for example, the operator " / " cannot be followed by the constant 0; or, whether there are functional operators adjacent, for example, the operator adjacent to the operator "X" is "-"; or, whether there is no operator set between two constant components, or no operator set between two variable parameter components, etc. It should be understood that the specific method of determining the calculation error can be flexibly adjusted according to user needs, and is not limited to the above-mentioned embodiments.
[0083] If there is no error in the expression, it is determined that the expression passes the verification; if there is an error in the expression, it is determined that the expression fails the verification.
[0084] If the verification result indicates a pass, a target expression is generated according to the positional relationship between the first object component, the second object component, and the first object component and the second object component in the expression editing area; if the verification result indicates a fail, an error indication is fed back.
[0085] In some possible embodiments, the method of feeding back an error indication may be, for example, feeding back an error in the form of a pop-up window; or, it may be to display an error prompt message at the highest display level on a graphical user interface; or, it may be to verify the expression in real time. If the expression is wrong, for example, the expression may be displayed in red, highlighted, or highlighted in other ways in the formula preview area; or, it may be to display a prompt message in a highlighted manner at a preset position on the parameter editing interface. The prompt message may be, for example, "There is an error in the formula, please modify it" to prompt the player that the current expression is wrong and ask the player to modify the expression. If there is no error in the modified expression, the expression in the formula preview area is displayed in a normal manner. It should be understood that the above embodiments are only exemplary descriptions, and the specific error indication feedback method and feedback content can be flexibly adjusted according to user needs and are not limited to those given in the above embodiments.
[0086] Continue as Figure 3 As shown, for example, the parameter editing interface includes a saving component, and the location of the saving component can be, for example, a preset location at the bottom of the parameter editing interface. In response to a trigger operation on the saving component, the target expression is saved as a custom formula; the saved custom formula can be saved on the client, and the player can directly select the saved target custom formula from the custom formulas when configuring expressions corresponding to other attribute types next time, and on the basis of the target custom formula, for example, add other variables, operators, constants, etc.; or, the target custom formula can be modified based on the target custom formula to obtain expressions corresponding to other attribute types required by the player; it should be understood that the above embodiments are only exemplary descriptions, and the specific saving of custom formulas and the application of the saved custom formulas in subsequent game processes can be flexibly adjusted according to user needs, and are not limited to the above embodiments.
[0087] In the examples of the present application, continue as Figure 3As shown, for example, the variable parameters in the second area include custom expressions. During the editing process of the expression, for example, in response to a determination operation on a first expression in at least one custom expression, a plurality of third object components corresponding to the first expression can be displayed in the expression editing area, wherein the number of the third object components is determined according to the operators, constants, and variable parameters included in the first expression, and the positions between the plurality of third object components are adjustable. 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 components or the constant values based on the plurality of third object components, or can also perform deletion operations between 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 the target expression; or, after configuring the expression, the player can nest the first expression in the configured expression to obtain the target expression. The specific generation method or adjustment method of the target expression can be flexibly adjusted according to user needs and is not limited to the above-mentioned embodiments.
[0088] Continue as Figure 3 As shown, the expression editing area includes a value rule setting area, which responds to the selection operation of multiple preset rules in the value rule to determine the target rule corresponding to the target expression; for example, the player can determine the value rule as rounding, at this time, the method for determining the target attribute parameter value is to calculate it according to the target expression, and the value after rounding the calculation result is the parameter value corresponding to the target attribute parameter; or, the value rule can also be, for example, rounding up / rounding down, retaining one decimal place, or retaining two decimal places, etc. The setting of specific value rules can be determined according to the player's preset requirements for the target attribute parameter value, and is not limited to the above-mentioned embodiments. 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. This setting method makes the player's setting of the target expression more detailed, further improves the accuracy of the player's configuration of the target attribute parameters, and improves the player's gaming experience.
[0089] Optionally, based on the above embodiment, the embodiment of the present application may also provide a parameter configuration method for a game scene. The implementation process of the above method is illustrated below in conjunction with the accompanying drawings. Figure 8 A flowchart of a method for configuring parameters of a game scene provided by another embodiment of the present application is shown as follows: Figure 8 As shown, the method may also include:
[0090] Step 121: In response to a logic editing instruction for a target skill, control the display of a logic editing interface for the target skill.
[0091] In some possible embodiments, for example, after determining a target skill among multiple skills, the player may control the display of a logic editing interface for the target skill in response to a logic editing operation for the target skill; in other possible embodiments, for example, the player may select an editing logic for the target skill in the logic editing interface for the game scene to be edited, and then further modify the target editing logic for the target skill in the logic component for the target skill; it should be understood that the above embodiments are merely illustrative, and how the specific player determines and triggers the logic editing interface for the target skill can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0092] Step 122: In response to the editing operation input through the logic editing interface, determine and display the target logic for the target skill.
[0093] Among them, the target logic is composed of at least one logic component; at least one logic component includes a formula logic component, and the formula logic component is configured to associate the target expression with the target skill.
[0094] Fig. 9 A schematic diagram of a graphical user interface provided by another embodiment of the present application, such as Fig. 9As shown, the logic editing interface includes a logic editing area and a logic control area. The logic editing area is displayed in the middle of the graphical user interface, and the logic control area can be displayed on the right side of the graphical user interface. The logic control area displays various logic controls in the form of a list, and 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 trigger operation on the logic control area, a target logic component is displayed in the logic editing area, wherein the target logic component is a logic component generated according to the target logic control determined in the logic control area; the target logic component includes, for example, preset values of the target logic and parameters to be configured in the target logic, and the preset values are displayed in the logic group. At the corresponding position in the component, the parameter to be configured is displayed at the corresponding position in the logic component in the form of an input box, for example. When no parameter is entered in the input box, the input box can display the parameter type of the parameter to be input that supports configuration in the input box, for example: real number, arbitrary value, skill, level, etc.; in response to the editing operation on the target logic component, determine and display the edited target logic component; according to the target logic component in the logic editing area, determine and display the target logic for the target skill; and according to multiple logic components in the logic editing area, preset values in each logic component and the association relationship between parameter values, determine the target logic of the target skill, so as to realize the player's customized configuration of the target logic of the target skill, so that the logic of the target skill can be flexibly adjusted according to the player's configuration operation.
[0095] Continue as Fig. 9 As shown, for example, the content of the target logic component after configuration in the current logic editing area is "Set the attack attribute of the *** skill to Formula 1", that is, the method for determining the attack attribute value of the *** skill is set in the target logic component, and it is clarified that the attack attribute value of the *** skill is determined according to Formula 1. The determination of the specific attack attribute value of the *** skill needs to consider the current values corresponding to the variables, operators or constants included in Formula 1.
[0096] Step 123: During the game running phase, the parameter value of the target skill is determined based on the game behavior and the target expression in the game scene.
[0097] For example, when a player releases a 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 and the target expression in the game scene.
[0098] That is to say, the above method can associate the target expression with the target skill by associating the target expression with the target logic, so as to determine the skill value corresponding to the target skill during the game running stage according to the target expression, thereby further improving the flexibility and playability of the player's application process and improving the stickiness between the player and the game.
[0099] In an embodiment of the present application, 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, display at least one expression object, wherein the editing operation in the formula logic component may, for example, be triggered by an input operation on a formula input box in a 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 for the expression object corresponding to the target expression, control the display of an identifier corresponding to the expression object in the formula logic component, that is, control the display of the identifier corresponding to the expression in the formula input box in the formula editing component, that is, display the corresponding expression content.
[0100] Fig.10 This is a schematic diagram of a graphical user interface provided by another embodiment of the present application. The triggering method of the editing operation may be, for example, in response to the player's Fig. 9 In response to an input operation of a formula input box in a formula editing component, at least one inputtable object type control is displayed on the right side of a graphical user interface, and in response to a confirmation operation of a formula control in a plurality of inputtable object type controls, such as Fig.10 As shown, the display content in the logic control area is switched, and the corresponding formula list under the formula control is displayed in the logic control area. The formula list includes multiple expression objects that players can select. In response to the confirmation operation on the expression object, the expression object corresponding to the selection operation is displayed in the formula logic component.
[0101] Fig.11 A schematic diagram of a graphical user interface provided by another embodiment of the present application, such as Fig.11As shown, for example, in response to the player confirming the setting of the props in the setting interface, a prop list can be displayed on the setting interface to display multiple configurable virtual props. In response to the player's selection of a target virtual prop from the multiple configurable virtual props, for example, after confirming "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 skills, the editing of the casting skills and the editing of the performance of the target virtual prop. After the user determines the target content to be configured, for example, in the preset configuration area below the content to be configured, the target content to be configured of the target virtual prop can be configured with a formula, including but not limited to the configuration of the formula name, the configuration of the formula expression, the deletion or addition of the formula and other operations.
[0102] By configuring the formula of the target content to be configured of the target virtual prop, an association relationship can be established between the configured expression and the target content to be configured of the target virtual prop. For example, the player can configure a corresponding formula for the basic skill of prop 1, and can also configure a corresponding formula for the casting skill of target prop 2, so that during the game, according to the game behavior and the pre-configured formula, when the player releases the basic skill of target prop 1, for example, the basic skill value corresponding to target prop 1 can be determined; it should be understood that the above embodiment is only an exemplary description, and the display position of each area on the specific graphical user interface and the content displayed on the graphical user interface can be flexibly adjusted according to user needs, and are not limited to the above embodiment.
[0103] The target type selected in the graphical user interface ( Fig.11 ), the selected virtual prop ( Fig.11 "Props 1" in the ) and the selected content to be configured ( Fig.11 The "Basic" type on the right side of the middle interface) for example can be displayed in a way that is different from other unselected content, including but not limited to highlighted display, bold border display, or display in a display color that is different from other unselected content. The specific display method can be flexibly adjusted according to user needs and is not limited to the above embodiments.
[0104] Compared with the prior art method of editing game scenes through program codes or editing game scenes through in-game building block programming, the method provided by the present application not only provides a visual expression editing method, but also greatly improves the efficiency of user editing of expressions and reduces the operating costs of players.
[0105] In order to intuitively reflect the beneficial effects of the parameter configuration method of the game scene provided by the present application, the following takes an embodiment as an example to explain the operation steps of the method of editing the game scene by programming building blocks in the game in the prior art and the operation steps of the present application. Fig.12 A schematic diagram of a graphical user interface provided by another embodiment, such as Fig.12 As shown in (a), for example, under the building block programming logic, if the player needs to edit the killing experience value for the virtual object 1, for example, firstly, he needs to drag a building block logic to the editing game scene, and then set the constant component, operator component and variable component in the building 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, and nests the "get...current level" component in the "convert to real number" component, and sets "..." as "trigger role" in the "get...current level" component; at this time, the setting of the killing experience value for the virtual object 1 is completed, and the killing experience value for the virtual object 1 is determined to be "30X current level"; it can be seen that the player needs to complete 6 editing operations on the building block logic to complete the editing of the killing experience value of the virtual object 1.
[0106] like Fig.12 As shown in (b), in the application scenario of the parameter configuration method of the game scene provided by the present application, the player can, for example, directly select the constant and the operator "X" in the first area in sequence, and then select "Current Level" in the second area to configure the killing experience value of the virtual object 1. The configuration result is "30X Current Level". It can be seen that the operation process of the method provided by the present application is more efficient and more intuitive than the existing technology. Fig.12 (a) and Fig.12 As shown in (b), in the prior art, the editing method using building block logic requires players to review the specific content of the building block logic repeatedly before they can understand it. However, the method provided by the present application allows players to understand the expressions edited very intuitively, greatly improving the editing efficiency and visualization of the editing.
[0107] By adopting the parameter configuration method of the game scene provided by the present application, the player can not only configure the scene components of the game scene to be configured, but also customize some parameters in the game scene to be configured. The configuration method includes but is not limited to configuration based on formulas, or configuration parameter by parameter, so as to achieve comprehensive configuration of the game scene to be configured. In addition, the target expression configured by the player can also be saved in the client or server, so that the next time the player configures other game scenes, or performs logical configuration of virtual objects in the current game scene, the player can directly use the saved target expression, or modify it based on the saved target expression to obtain the target expression expected by the player; the player can also apply the target expression in the logical configuration process of some skills to achieve flexible use of the target expression in the game, which greatly enriches the player's operability, improves the player's gaming experience, and enriches the player's playability in the game.
[0108] The following is an explanation of the parameter configuration device of the game scene provided by the present application in conjunction with the accompanying drawings. The parameter configuration device of the game scene can execute the above Figure 1-Figure 12 The parameter configuration method of any game scene, its specific implementation and beneficial effects are referred to above and will not be repeated below.
[0109] Fig.13 This is a schematic diagram of the structure of a parameter configuration device for a game scene provided in an embodiment of the present application, such as Fig.13 As shown, the device includes: a display module 201, a determination module 202 and a calculation module 203, wherein:
[0110] The display module 201 is used to display a game editing interface corresponding to the game scene editing stage provided by running the editor program on a graphical user interface, wherein the game editing interface includes a game scene to be edited, and the game scene to be edited includes a scene component, and the scene component is configured to generate a corresponding virtual object during the game running stage;
[0111] A determination module 202, for responding to a configuration instruction for an attribute parameter and determining a target attribute parameter according to the configuration instruction;
[0112] Display module 201, specifically used to control and display the parameter editing interface corresponding to the target attribute parameter, the parameter editing interface is used to edit the expression;
[0113] The determination module 202 is specifically used to respond to the editing operation input through the parameter editing interface, determine and display the target expression, wherein the expression is composed of at least one of the following objects: a constant, an operator, and a variable;
[0114] The calculation module 203 is used to determine the parameter value of the target attribute parameter based on the game behavior and the target expression in the game scene during the game running stage.
[0115] Optionally, the variable is an attribute parameter configured by a scene component provided by the system, wherein the attribute parameter includes at least one of the following: a preset attribute parameter and a custom attribute parameter.
[0116] Optionally, the variable is a dynamic variable.
[0117] Optionally, the value of the variable changes as the game progresses.
[0118] Optionally, at least one variable parameter is displayed on the editing interface, and the display module 201 is specifically used to display at least one variable parameter on the editing interface. The determination module 202 is specifically used to determine at least one variable parameter displayed on the editing interface according to the parameter type of the target attribute parameter.
[0119] Optionally, the display module 201 is specifically configured to control the display of a parameter editing interface at a preset position in the game editing interface in response to a determination operation on a target attribute parameter.
[0120] Optionally, the display module 201 is specifically configured to switch the game editing interface displayed on the graphical user interface to a parameter editing interface in response to a determination operation on a target attribute parameter.
[0121] Optionally, the parameter editing interface includes: an expression editing area, a first area, and a second area; a display module 201, specifically used 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;
[0122] The determination module 202 is specifically used to generate a 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.
[0123] Optionally, the first area displays: multiple candidate operators / constants; a display module 201, specifically used to display a first object component in the expression editing area in response to a determination operation for a target operator / constant among the multiple candidate operators; wherein the first object component is a component corresponding to the target operator / constant.
[0124] Optionally, the second area displays: multiple candidate variables; a display module 201, specifically used to display a second object component in the expression editing area in response to a determination operation on a target variable among multiple candidate variable parameters; wherein the second object component is a component corresponding to the target variable.
[0125] Optionally, the determination 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 to adjust a position of the target object component in the expression editing area in response to a second operation on the target object component.
[0126] Optionally, the determination module 202 is specifically used to verify the expression in the expression editing area; if the verification result indicates a pass, a target expression is generated based on the positional relationship between the first object component, the second object component, and the first object component and the second object component in the expression editing area; if the verification result indicates a fail, an error indication is fed back.
[0127] Optionally, the determination module 202 is specifically used to verify the expression and 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.
[0128] Optionally, based on the above embodiment, the embodiment of the present application may also provide a parameter configuration device for a game scene, as follows in conjunction with the accompanying drawings: Fig.13 The implementation process of the given device is described by way of example. Fig.14 This is a schematic diagram of the structure of a parameter configuration device for a game scene provided by another embodiment of the present application. The parameter editing interface includes: a saving component, such as Fig.14 As shown, the device further includes: a saving module 204, which is used to save the target expression as a custom formula in response to a trigger operation on the saving component.
[0129] Optionally, the variable parameters in the second area include custom expressions, and the display module 201 is specifically used to display multiple third object components corresponding to the first expression in the expression editing area in response to a determination operation on the first expression in at least one custom expression.
[0130] Optionally, the display module 201 is specifically configured to synchronously update the target expression displayed in the expression preview area according to the move operation on the target object component in the expression editing area.
[0131] Optionally, the expression editing area includes: a value rule setting area, and a determination module 202, which is specifically used to determine a target rule corresponding to the target expression in response to a selection operation on a plurality of preset rules in the value rule.
[0132] 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 of the formula editing mode in the editing mode of the target attribute parameter.
[0133] 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 of the list editing mode in the editing mode of the target attribute parameter; the list parameter editing interface includes a plurality of role attributes to be configured;
[0134] The determination module 202 is specifically used to determine the parameters corresponding to each character attribute in response to the editing operation input for each character attribute to be configured; during the game running stage, based on the current character attribute of the virtual object controlled by the game scene, the parameter value corresponding to the current character attribute is determined.
[0135] Optionally, the display module 201 is specifically used to control the display of a logic editing interface for the target skill in response to a logic editing instruction for the target skill; 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; at least one logic component includes a formula logic component; the formula logic component is configured to associate a target expression with the target skill;
[0136] The determination module 202 is specifically used to determine the parameter value of the target skill based on the game behavior and the target expression in the game scene during the game running stage.
[0137] Optionally, the logic editing interface includes a logic editing area and a logic control area, and the display module 201 is specifically used to display the target logic component in the logic editing area in response to a trigger operation on the logic control area; wherein the target logic component is a logic component generated according to the target logic control determined in the logic control area;
[0138] The determination module 202 is specifically configured to determine and display the edited target logic component in response to the 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.
[0139] Optionally, the display module 201 is specifically used to respond to the editing operation on the formula logic 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 a list, and the list displays multiple edited expression objects;
[0140] In response to a selection instruction for an expression object corresponding to a target expression, the control displays an identifier corresponding to the expression object in the formula logic component.
[0141] By using the parameter configuration device for the game scene provided by the present application, after the player determines the target attribute parameter from multiple attribute parameters, the parameter editing interface corresponding to the target attribute parameter is controlled to be displayed on the graphical user interface, and the target expression edited by the player is determined and displayed in the parameter editing interface through the editing operation input by the player. The player can determine the parameter value of the target attribute parameter based on the target expression in real time during the game running stage by setting or adjusting the target expression by himself. The target expression is composed of constants, operators or variables. The player only needs to understand the basic constant operation logic to realize the customized editing of the target expression, which improves the player's editing efficiency, has low requirements for players, and has a low cost for players to get started, and provides players with a flexible way to configure the target attribute parameters, thereby improving the player's gaming experience.
[0142] The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more microprocessors, or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0143] Fig.15 This is a structural diagram of a parameter configuration device for a game scene provided in one embodiment of the present application. The parameter configuration device for the game scene can be integrated into a terminal device or a chip of the terminal device.
[0144] like Fig.15 As shown, the parameter configuration device of the game scene includes: a processor 501, a bus 502 and a storage medium 503.
[0145] The processor 501 is used to store programs. The processor 501 calls the program stored in the storage medium 503 to execute the above Figure 1-Figure 12 Corresponding method embodiments.
[0146] Specifically, the processor 501 executes the above-mentioned game scene parameter configuration method, including:
[0147] Displaying, on the graphical user interface, a game editing interface corresponding to a game scene editing phase provided by running the editor program, wherein the game editing interface includes a game scene to be edited, wherein the game scene to be edited includes a scene component, and wherein the scene component is configured to generate a corresponding virtual object during a game running phase;
[0148] In response to a configuration instruction for an attribute parameter, determine a target attribute parameter according to the configuration instruction;
[0149] Controlling display of a parameter editing interface corresponding to the target attribute parameter, wherein the parameter editing interface is used to edit an expression;
[0150] 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;
[0151] During the game running phase, the parameter value of the target attribute parameter is determined based on the game behavior in the game scene and the target expression.
[0152] In some embodiments, the variable is an attribute parameter configured by a scene component provided by the system, wherein the attribute parameter includes at least one of the following: a preset attribute parameter and a custom attribute parameter.
[0153] In some embodiments, the variable is a dynamic variable.
[0154] In some embodiments, the value of the variable changes as the game progresses.
[0155] In some embodiments, at least one variable parameter is displayed on the editing interface, and before executing the control to display the parameter editing interface corresponding to the target attribute parameter, the processor 501 is further configured to execute:
[0156] At least one variable parameter displayed on the editing interface is determined according to the parameter type of the target attribute parameter.
[0157] In some embodiments, when executing the control to display the parameter editing interface corresponding to the target attribute parameter, the processor 501 is further configured to execute:
[0158] Control to display the parameter editing interface at a preset position in the game editing interface.
[0159] In some embodiments, when executing the control to display the parameter editing interface corresponding to the target attribute parameter, the processor 501 is further configured to execute:
[0160] The game editing interface displayed on the graphical user interface is switched to the parameter editing interface.
[0161] In some embodiments, the parameter editing interface includes: an expression editing area, a first area, and a second area; when the processor 501 executes the editing operation in response to input through the parameter editing interface and determines and displays the target expression, it is also used to execute:
[0162] 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;
[0163] 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;
[0164] 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.
[0165] In some embodiments, the first region displays: a plurality of candidate operators / constants; when the processor 501 performs the operator / constant selection operation in response to the operator / constant selection operation input through the first region and displays the first object component in the expression editing region, it is further configured to perform:
[0166] In response to a determination operation on the target operator / constant among the multiple candidate operators, a first object component is displayed in the expression editing area; wherein the first object component is a component corresponding to the target operator / constant.
[0167] In some embodiments, the second region displays: a plurality of candidate variables; the processor 501 executes the variables as attribute parameters of the scene component configuration provided by the system; in response to the variable selection operation input through the second region, when the second object component is displayed in the expression editing region, it is also used to execute:
[0168] In response to a determination operation on a target variable among the plurality of candidate variable parameters, a second object component is displayed in the expression editing area; wherein the second object component is a component corresponding to the target variable.
[0169] In some embodiments, the processor 501 is further configured to execute:
[0170] In response to a first operation on a target object component in the expression editing area, entering an adjustment state;
[0171] In response to a second operation on a target object component, a position of the target object component in the expression editing area is adjusted.
[0172] In some embodiments, when the processor 501 generates 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, it is further configured to execute:
[0173] Verifying the expression in the expression editing area;
[0174] If the verification result indicates a 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 area;
[0175] If the verification result indicates failure, an error indication is fed back.
[0176] In some embodiments, when executing the verification of the expression in the expression editing area, the processor 501 is further configured to execute:
[0177] Verifying the expression to determine whether there is a calculation error in the expression;
[0178] If not, it is determined that the expression passes the verification;
[0179] If there is an error, it is determined that the expression has failed validation.
[0180] In some embodiments, the parameter editing interface includes: a saving component, and the processor 501 is further configured to execute:
[0181] In response to a trigger operation on a save component, the target expression is saved as a custom formula.
[0182] In some embodiments, the processor 501 includes a custom expression in the variable parameter in the second area, and in response to the variable parameter selection operation input through the second area, when the second object component is displayed in the expression editing area, it is further configured to execute:
[0183] In response to a determination operation on a first expression in at least one custom expression, a plurality of third object components corresponding to the first expression are displayed in the expression editing area.
[0184] In some embodiments, the expression editing area also includes an expression preview area, and the processor 501 is further configured to execute:
[0185] According to the moving operation on the target object component in the expression editing area, the target expression displayed in the expression preview area is synchronously updated.
[0186] In some embodiments, the expression editing area includes: a value rule setting area, and the processor 501 is further used to execute:
[0187] In response to a selection operation on a plurality of preset rules in the value-taking rules, a target rule corresponding to the target expression is determined.
[0188] In some embodiments, when the processor 501 executes the control of displaying the parameter editing interface corresponding to the target attribute parameter in response to the determination operation on the target attribute parameter, it is further configured to execute:
[0189] In response to a determination operation of a formula editing mode in the editing mode of the target attribute parameter, a parameter editing interface corresponding to the target attribute parameter is controlled to be displayed.
[0190] In some embodiments, the processor 501 is further configured to execute:
[0191] In response to a determination operation of a list editing mode in the editing mode of the target attribute parameter, controlling to display a list parameter editing interface corresponding to the target attribute parameter; the list parameter editing interface includes a plurality of role attributes to be configured;
[0192] In response to the edit operation input for each to-be-configured role attribute, determining a parameter corresponding to each role attribute;
[0193] During the game running phase, based on the current character attributes of the controlled virtual object in the game scene, the parameter values corresponding to the current character attributes are determined.
[0194] In some embodiments, the processor 501 is further configured to execute:
[0195] In response to a logic editing instruction for a target skill, controlling display of a logic editing interface for the target skill;
[0196] In response to an editing operation input through the logic editing interface, determining and displaying a target logic for the target skill; wherein the target logic is composed of at least one logic component; the at least one logic component includes a formula logic component, and the formula logic component is configured to associate the target expression with the target skill;
[0197] When the processor 501 determines the parameter value of the target attribute parameter based on the game behavior in the game scene and the target expression during the game running phase, it is also used to execute:
[0198] During the game running phase, the parameter value of the target skill is determined based on the game behavior in the game scene and the target expression.
[0199] In some embodiments, the logic editing interface includes a logic editing area and a logic control area. When the processor 501 performs the editing operation in response to input through the logic editing interface and determines and displays the target logic for the target skill, it is also used to perform:
[0200] In response to a trigger operation on the logic control area, displaying a target logic component in the logic editing area, wherein the target logic component is a logic component generated according to a target logic control determined in the logic control area;
[0201] In response to an editing operation on the target logic component, determining and displaying an edited target logic component;
[0202] According to the target logic component in the logic editing area, the target logic for the target skill is determined and displayed.
[0203] In some embodiments, the target logic component is a formula logic component, and the processor 501, when executing the response to the editing operation on the target logic component, determines and displays the edited target logic component, is further configured to execute:
[0204] In response to an edit operation on 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 includes an expression object corresponding to the target expression: displaying a list, wherein a plurality of edited expression objects are displayed in the list;
[0205] In response to a selection instruction for the expression object corresponding to the target expression, the control displays an identifier corresponding to the expression object in the formula logic component.
[0206] By using the parameter configuration device for the game scene provided by the present application, after the player determines the target attribute parameter among multiple attribute parameters, the parameter editing interface corresponding to the target attribute parameter is controlled to be displayed on the graphical user interface, and the target expression edited by the player is determined and displayed through the editing operation input by the player in the parameter editing interface. The player can determine the parameter value of the target attribute parameter based on the target expression in real time during the game running stage by setting or adjusting the target expression by himself. The target expression is composed of constants, operators or variables. The player only needs to understand the basic constant operation logic to realize the customized editing of the target expression, which improves the player's editing efficiency, has low requirements for players, and has a low cost for players to get started. It provides players with a flexible way to configure the target attribute parameters, thereby improving the player's gaming experience.
[0207] Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program that, when executed by a processor, executes an embodiment corresponding to the above method.
[0208] The specific processor performs the steps of the parameter configuration method of the game scene as described above, including:
[0209] Displaying, on the graphical user interface, a game editing interface corresponding to a game scene editing phase provided by running the editor program, wherein the game editing interface includes a game scene to be edited, wherein the game scene to be edited includes a scene component, and wherein the scene component is configured to generate a corresponding virtual object during a game running phase;
[0210] In response to a configuration instruction for an attribute parameter, determine a target attribute parameter according to the configuration instruction;
[0211] Controlling display of a parameter editing interface corresponding to the target attribute parameter, wherein the parameter editing interface is used to edit an expression;
[0212] 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;
[0213] During the game running phase, the parameter value of the target attribute parameter is determined based on the game behavior in the game scene and the target expression.
[0214] In some embodiments, the variable is an attribute parameter configured by a scene component provided by the system, wherein the attribute parameter includes at least one of the following: a preset attribute parameter and a custom attribute parameter.
[0215] In some embodiments, the variable is a dynamic variable.
[0216] In some embodiments, the value of the variable changes as the game progresses.
[0217] In some embodiments, at least one variable parameter is displayed on the editing interface, and before the processor executes the control to display the parameter editing interface corresponding to the target attribute parameter, it is further configured to execute:
[0218] At least one variable parameter displayed on the editing interface is determined according to the parameter type of the target attribute parameter.
[0219] In some embodiments, when the processor executes the control to display the parameter editing interface corresponding to the target attribute parameter, it is also used to execute:
[0220] Control to display the parameter editing interface at a preset position in the game editing interface.
[0221] In some embodiments, when the processor executes the control to display the parameter editing interface corresponding to the target attribute parameter, it is also used to execute:
[0222] The game editing interface displayed on the graphical user interface is switched to the parameter editing interface.
[0223] In some embodiments, the parameter editing interface includes: an expression editing area, a first area, and a second area; when the processor executes the editing operation in response to input through the parameter editing interface and determines and displays the target expression, it is also used to execute:
[0224] 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;
[0225] 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;
[0226] 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.
[0227] In some embodiments, the first region displays: a plurality of candidate operators / constants; when the processor performs the operator / constant selection operation in response to the operator / constant selection operation input through the first region and displays the first object component in the expression editing region, it is further configured to perform:
[0228] In response to a determination operation on the target operator / constant among the multiple candidate operators, a first object component is displayed in the expression editing area; wherein the first object component is a component corresponding to the target operator / constant.
[0229] In some embodiments, the second region displays: a plurality of candidate variables; the processor executes the variables as property parameters of the scene component configuration provided by the system; and in response to the variable selection operation input through the second region, when the second object component is displayed in the expression editing region, it is further used to execute:
[0230] In response to a determination operation on a target variable among the plurality of candidate variable parameters, a second object component is displayed in the expression editing area; wherein the second object component is a component corresponding to the target variable.
[0231] In some embodiments, the processor is further configured to perform:
[0232] In response to a first operation on a target object component in the expression editing area, entering an adjustment state;
[0233] In response to a second operation on a target object component, a position of the target object component in the expression editing area is adjusted.
[0234] In some embodiments, when the processor generates 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, it is further configured to execute:
[0235] Verifying the expression in the expression editing area;
[0236] If the verification result indicates a 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 area;
[0237] If the verification result indicates failure, an error indication is fed back.
[0238] In some embodiments, when executing the verification of the expression in the expression editing area, the processor is further configured to execute:
[0239] Verifying the expression to determine whether there is a calculation error in the expression;
[0240] If not, it is determined that the expression passes the verification;
[0241] If there is an error, it is determined that the expression has failed validation.
[0242] In some embodiments, the parameter editing interface includes: a saving component, and the processor is further configured to execute:
[0243] In response to a trigger operation on a save component, the target expression is saved as a custom formula.
[0244] In some embodiments, the processor includes a custom expression in the variable parameter in the second area, and in response to the variable parameter selection operation input through the second area, when the second object component is displayed in the expression editing area, the processor is further configured to execute:
[0245] In response to a determination operation on a first expression in at least one custom expression, a plurality of third object components corresponding to the first expression are displayed in the expression editing area.
[0246] In some embodiments, the expression editing area also includes an expression preview area, and the processor is further configured to execute:
[0247] According to the moving operation on the target object component in the expression editing area, the target expression displayed in the expression preview area is synchronously updated.
[0248] In some embodiments, the expression editing area includes: a value rule setting area, and the processor is further configured to execute:
[0249] In response to a selection operation on a plurality of preset rules in the value-taking rules, a target rule corresponding to the target expression is determined.
[0250] In some embodiments, when the processor executes the control of displaying the parameter editing interface corresponding to the target attribute parameter in response to the determination operation on the target attribute parameter, it is further configured to execute:
[0251] In response to a determination operation of a formula editing mode in the editing mode of the target attribute parameter, a parameter editing interface corresponding to the target attribute parameter is controlled to be displayed.
[0252] In some embodiments, the processor is further configured to perform:
[0253] In response to a determination operation of a list editing mode in the editing mode of the target attribute parameter, controlling to display a list parameter editing interface corresponding to the target attribute parameter; the list parameter editing interface includes a plurality of role attributes to be configured;
[0254] In response to the edit operation input for each to-be-configured role attribute, determining a parameter corresponding to each role attribute;
[0255] During the game running phase, based on the current character attributes of the controlled virtual object in the game scene, the parameter values corresponding to the current character attributes are determined.
[0256] In some embodiments, the processor is further configured to perform:
[0257] In response to a logic editing instruction for a target skill, controlling display of a logic editing interface for the target skill;
[0258] In response to an editing operation input through the logic editing interface, determining and displaying a target logic for the target skill; wherein the target logic is composed of at least one logic component; the at least one logic component includes a formula logic component, and the formula logic component is configured to associate the target expression with the target skill;
[0259] When the processor determines the parameter value of the target attribute parameter based on the game behavior in the game scene and the target expression during the game running phase, it is also used to execute:
[0260] During the game running phase, the parameter value of the target skill is determined based on the game behavior in the game scene and the target expression.
[0261] In some embodiments, the logic editing interface includes a logic editing area and a logic control area. When the processor executes the editing operation in response to input through the logic editing interface and determines and displays the target logic for the target skill, it is also used to execute:
[0262] In response to a trigger operation on the logic control area, displaying a target logic component in the logic editing area, wherein the target logic component is a logic component generated according to a target logic control determined in the logic control area;
[0263] In response to an editing operation on the target logic component, determining and displaying an edited target logic component;
[0264] According to the target logic component in the logic editing area, the target logic for the target skill is determined and displayed.
[0265] In some embodiments, the target logic component is a formula logic component, and the processor, when executing the step of determining and displaying the edited target logic component in response to the editing operation on the target logic component, is further configured to execute:
[0266] In response to an edit operation on 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 includes an expression object corresponding to the target expression: displaying a list, wherein a plurality of edited expression objects are displayed in the list;
[0267] In response to a selection instruction for the expression object corresponding to the target expression, the control displays an identifier corresponding to the expression object in the formula logic component.
[0268] By using the storage medium provided by the present application, after determining the target attribute parameter among multiple 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 through the editing operation input by the player in the parameter editing interface. The player can determine the parameter value of the target attribute parameter based on the target expression in real time during the game running stage by setting or adjusting the target expression by himself. 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 player's editing efficiency, has low requirements for players, and has a low cost for players to get started. It provides players with a flexible way to configure the target attribute parameters, thereby improving the player's gaming experience.
[0269] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0270] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0271] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0272] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.
Claims
1. A method for configuring parameters of a game scene, characterized in that: Providing, through a terminal, a graphical user interface provided by running a game program, wherein the game program includes an editor program, and the method includes: Displaying, on the graphical user interface, a game editing interface corresponding to a game scene editing phase provided by running the editor program, wherein the game editing interface includes a game scene to be edited, wherein the game scene to be edited includes a scene component, and wherein the scene component is configured to generate a corresponding virtual object during a game running phase; In response to a configuration instruction for an attribute parameter, determine a target attribute parameter according to the configuration instruction; Controlling display of a parameter editing interface corresponding to the target attribute parameter, wherein the parameter editing interface is used to edit 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; During the game running phase, the parameter value of the target attribute parameter is determined based on the game behavior in the game scene and the target expression.
2. The method according to claim 1, characterized in that The variables are property parameters configured by the scene component provided by the system, wherein the property parameters include at least one of the following: preset property parameters and custom property parameters.
3. The method according to claim 1, characterized in that The variable is a dynamic variable.
4. The method according to claim 3, characterized in that The value of the variable changes as the game progresses.
5. The method according to claim 1, characterized in that At least one variable parameter is displayed on the editing interface. Before the control displays the parameter editing interface corresponding to the target attribute parameter, the method further includes: At least one variable parameter displayed on the editing interface is determined according to the parameter type of the target attribute parameter.
6. The method according to claim 1, characterized in that The control displays a parameter editing interface corresponding to the target attribute parameter, including: Control to display the parameter editing interface at a preset position in the game editing interface.
7. The method according to claim 1, characterized in that The control displays a parameter editing interface corresponding to the target attribute parameter, including: The game editing interface displayed on the graphical user interface is switched to the parameter editing interface.
8. The method according to claim 1, characterized in that The parameter editing interface includes: an expression editing area, a first area, and a second area; the response to the editing operation input through the parameter editing interface, determining and displaying the target expression, includes: 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; 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.
9. The method according to claim 8, characterized in that Displayed in the first area are: a plurality of candidate operators / constants; In response to the operator / constant selection operation input through the first area, displaying the first object component in the expression editing area includes: In response to a determination operation for a target operator / constant among the multiple candidate operators, a first object component is displayed in the expression editing area; wherein the first object component is a component corresponding to the target operator / constant.
10. The method according to claim 8, characterized in that Displayed in the second area are: a plurality of candidate variables; the variables are attribute parameters of the scene component configuration provided by the system; In response to the variable selection operation input through the second area, displaying the second object component in the expression editing area includes: In response to a determination operation on a target variable among the plurality of candidate variable parameters, a second object component is displayed in the expression editing area; wherein the second object component is a component corresponding to the target variable.
11. The method according to claim 8, characterized in that The method further comprises: In response to a first operation on a target object component in the expression editing area, entering an adjustment state; In response to a second operation on a target object component, a position of the target object component in the expression editing area is adjusted.
12. The method according to claim 8, characterized in that The 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 area comprises: Verifying the expression in the expression editing area; If the verification result indicates a 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 area; If the verification result indicates failure, an error indication is fed back.
13. The method according to claim 12, characterized in that The verifying the expression in the expression editing area includes: Verifying the expression to determine whether there is a calculation error in the expression; If not, it is determined that the expression passes the verification; If there is an error, it is determined that the expression has failed validation.
14. The method according to claim 8, characterized in that The parameter editing interface includes: a saving component, and the method further includes: In response to a trigger operation on a save component, the target expression is saved as a custom formula.
15. The method according to claim 8, characterized in that The variable parameters in the second area include a custom expression, and in response to the 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 at least one custom expression, a plurality of third object components corresponding to the first expression are displayed in the expression editing area.
16. The method according to claim 11, characterized in that The expression editing area also includes an expression preview area, and the method further includes: According to the moving operation on the target object component in the expression editing area, the target expression displayed in the expression preview area is synchronously updated.
17. The method according to claim 8, characterized in that 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-taking rules, a target rule corresponding to the target expression is determined.
18. The method according to claim 1, characterized in that The control displays the parameter editing interface corresponding to the target attribute parameter, including: In response to a determination operation of a formula editing mode in the editing mode of the target attribute parameter, a parameter editing interface corresponding to the target attribute parameter is controlled to be displayed.
19. The method according to claim 1, wherein: The method further comprises: In response to a determination operation of a list editing mode in the editing mode of the target attribute parameter, controlling to display a list parameter editing interface corresponding to the target attribute parameter; the list parameter editing interface includes a plurality of role attributes to be configured; In response to the edit operation input for each to-be-configured role attribute, determining a parameter corresponding to each role attribute; During the game running phase, based on the current character attributes of the controlled virtual object in the game scene, the parameter values corresponding to the current character attributes are determined.
20. The method of claim 1, wherein: The method further comprises: In response to a logic editing instruction for a target skill, controlling display of a logic editing interface for the target skill; In response to an editing operation input through the logic editing interface, determining and displaying a target logic for the target skill; wherein the target logic is composed of at least one logic component; the at least one logic component includes a formula logic component, and the formula logic component is configured to associate the target expression with the target skill; In the game running stage, based on the game behavior in the game scene and the target expression, determining the parameter value of the target attribute parameter includes: During the game running phase, the parameter value of the target skill is determined based on the game behavior in the game scene and the target expression.
21. The method of claim 20, wherein: The logic editing interface includes a logic editing area and a logic control area. The response to the editing operation input through the logic editing interface, determining and displaying the target logic for the target skill, includes: In response to a trigger operation on the logic control area, displaying a target logic component in the logic editing area, wherein the target logic component is a logic component generated according to a target logic control determined in the logic control area; In response to an editing operation on the target logic component, determining and displaying an edited target logic component; According to the target logic component in the logic editing area, the target logic for the target skill is determined and displayed.
22. The method according to claim 21, characterized in that The target logic component is a formula logic component, and in response to an editing operation on the target logic component, determining and displaying the edited target logic component includes: In response to the editing operation on the formula logic 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 a list, and the list displays multiple edited expression objects In response to a selection instruction for the expression object corresponding to the target expression, the control displays an identifier corresponding to the expression object in the formula logic component.
23. A device for configuring parameters of a game scene, characterized in that: The device comprises: a display module, a determination module and a calculation module, wherein: The display module is used to display a game editing interface corresponding to the game scene editing stage provided by running the editor program on a graphical user interface, wherein the game editing interface includes a game scene to be edited, wherein the game scene to be edited includes a scene component, and the scene component is configured to generate a corresponding virtual object during the game running stage; The determination module is used to respond to a configuration instruction for an attribute parameter and determine a target attribute parameter according to the configuration instruction; The display module is specifically used to control and display a parameter editing interface corresponding to the target attribute parameter, and the parameter editing interface is used to edit the expression; The determination module is specifically used to respond to the editing operation input through the parameter editing interface, determine and display the target expression, wherein the expression is composed of at least one of the following objects: a constant, an operator, and a variable; The calculation module is used to determine the parameter value of the target attribute parameter based on the game behavior in the game scene and the target expression during the game running stage.
24. A parameter configuration device for a game scene, characterized in that: The device includes: a processor, a storage medium and a bus, the storage medium stores machine-readable instructions executable by the processor, and when the parameter configuration of the game scene...the device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the method described in any one of claims 1 to 22 above.
25. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 22 is executed.
Citation Information
Cited By
Parameter configuration method, apparatus and device for game scene, and storage medium
WO2025241719A1
