Virtual object special effect logic editing method and device, equipment and medium

By parsing configuration files to generate a configuration database, logic configuration and special effects configuration are performed, solving the problem of low efficiency in configuration file editing and achieving efficient and accurate editing of special effects logic information.

CN119002885BActive Publication Date: 2026-04-17HANGZHOU WIZARD GAME TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HANGZHOU WIZARD GAME TECH CO LTD
Filing Date
2024-04-01
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

In existing technologies, the editing efficiency of special effects logic information in configuration files is low, which can easily lead to errors in logic information and make it impossible to ensure that the format is completely correct.

Method used

By receiving the configuration file, parsing it to obtain the configuration database, determining the selected objects in the imported file, generating visual basic logic information, adjusting parameters according to parameter modification information, obtaining alternative special effects actions, configuring special effects actions, and finally generating a configuration editing file.

Benefits of technology

It improves the efficiency and accuracy of editing feature logic information in configuration files, and enables efficient parameter adjustment and special effects configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002885B_ABST
    Figure CN119002885B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, device, and medium for editing virtual object special effects logic. The method includes: receiving a configuration file and parsing it to obtain a configuration database; determining a selected object corresponding to selected information in an imported file; performing logical configuration on the selected object according to the configuration database to generate visual basic logical information; adjusting the parameters of the basic logical information according to parameter modification information; obtaining candidate special effects actions for the selected object from the configuration database; configuring special effects actions on the adjusted basic logical information according to action selection information; editing the configuration information in the configuration database; and generating a configuration editing file. This method can parse the configuration file to obtain a configuration database and perform logical configuration on the selected object, generating visual basic logical information for efficient parameter adjustment and special effects action configuration, thus improving the efficiency and accuracy of editing the characteristic logical information in the configuration file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, device, and medium for editing the logic of virtual object special effects. Background Technology

[0002] Applications need to record their logic execution code through configuration files during runtime, and this code controls the execution logic of virtual objects within the program. However, existing configuration files contain complex business logic and related data. Manually rewriting the special effects logic information in these files can easily lead to errors and cannot guarantee the correct format of the logic information. Therefore, existing methods suffer from low editing efficiency when editing the characteristic logic information in configuration files. Summary of the Invention

[0003] This invention provides a method, apparatus, device, and medium for editing virtual object special effects logic, aiming to solve the problem of low editing efficiency in existing methods when editing characteristic logic information in configuration files.

[0004] In a first aspect, embodiments of the present invention provide a method for editing the logic of virtual object special effects, wherein the method includes:

[0005] Receive the configuration file and parse it to obtain the corresponding configuration database;

[0006] Receive selection information and determine the selected object in the import file that corresponds to the selection information; the import file is a pre-imported file.

[0007] The selected object is logically configured according to the configuration database to generate visual basic logical information;

[0008] Obtain parameter modification information fed back based on the basic logic information, and adjust the parameters of the basic logic information according to the parameter modification information;

[0009] Retrieve alternative special effects actions that match the selected object from the configuration database;

[0010] Obtain action selection information fed back from the candidate special effects actions, and configure special effects actions for the basic logic information after parameter adjustment based on the action selection information;

[0011] The configuration information of the configuration database is edited based on the basic logic information configured for special effects actions, so as to generate a corresponding configuration editing file based on the edited configuration database.

[0012] Secondly, embodiments of the present invention also provide a virtual object special effects logic editing apparatus, wherein the apparatus is used to execute the virtual object special effects logic editing method as described in the first aspect above, and the apparatus includes:

[0013] The configuration file parsing unit is used to receive configuration files and parse them to obtain the corresponding configuration database.

[0014] The selected object determination unit is used to receive selection information and determine the selected object in the imported file that corresponds to the selection information; the imported file is a pre-imported file.

[0015] A basic logic information acquisition unit is used to perform logical configuration on the selected object according to the configuration database to generate visualized basic logic information;

[0016] The parameter adjustment unit is used to obtain parameter modification information fed back based on the basic logic information, and to adjust the parameters of the basic logic information according to the parameter modification information;

[0017] The alternative special effects action acquisition unit is used to acquire alternative special effects actions that match the selected object from the configuration database;

[0018] The special effects action configuration unit is used to obtain action selection information fed back from the candidate special effects actions, and to configure special effects actions on the basic logic information after parameter adjustment based on the action selection information.

[0019] The configuration editing file generation unit is used to edit the configuration information of the configuration database according to the basic logic information after the special effects action is configured, so as to generate a corresponding configuration editing file according to the edited configuration database.

[0020] Thirdly, embodiments of the present invention also provide a computer device, wherein the device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0021] Memory, used to store computer programs;

[0022] When a processor executes a program stored in memory, it implements the steps of the virtual object special effects logic editing method described in the first aspect above.

[0023] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the virtual object special effects logic editing method as described in the first aspect above.

[0024] This invention provides a method, apparatus, device, and medium for editing virtual object special effects logic. The method includes: receiving a configuration file and parsing it to obtain a configuration database; determining a selected object corresponding to selected information in an imported file; performing logical configuration on the selected object according to the configuration database to generate visual basic logical information; adjusting the parameters of the basic logical information according to parameter modification information; obtaining candidate special effects actions for the selected object from the configuration database; configuring special effects actions on the adjusted basic logical information according to action selection information; editing the configuration information in the configuration database; and generating a configuration editing file. This method can parse the configuration file to obtain a configuration database and perform logical configuration on the selected object, generating visual basic logical information for efficient parameter adjustment and special effects action configuration, thus improving the efficiency and accuracy of editing the characteristic logical information in the configuration file. Attached Figure Description

[0025] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 A flowchart illustrating the method for editing the logic of virtual object special effects provided in this embodiment of the invention;

[0027] Figure 2 The following is an application effect diagram of the virtual object special effects logic editing device provided in the embodiments of the present invention;

[0028] Figure 3 A schematic block diagram of a virtual object special effects logic editing device provided in an embodiment of the present invention;

[0029] Figure 4 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. Detailed Implementation

[0030] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0031] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0032] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0033] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0034] Please see Figure 1 As shown in the figure, an embodiment of this invention provides a method for editing the logic of virtual object special effects. This method is applied to a terminal device and is executed by application software installed in the terminal device. The terminal device can be a laptop, desktop computer, tablet computer, or mobile phone, etc. Figure 1 As shown, the method includes steps S110 to S170.

[0035] S110: Receive the configuration file and parse it to obtain the corresponding configuration database.

[0036] It receives configuration files and parses them to obtain the corresponding configuration database. It can receive configuration files input by the user, which can be in XML format. The configuration file contains the business logic for each virtual object in the application. It can parse the received configuration file, thereby categorizing and organizing the parameters contained within it to obtain the configuration database.

[0037] In a specific embodiment, step S110 includes the following sub-steps: classifying projects by type according to the project information corresponding to the projects in the configuration file; and logically organizing the project information according to the logical relationship corresponding to the project information to generate a configuration database containing hierarchical project information.

[0038] Specifically, you can retrieve the project information corresponding to the items contained in the configuration file. The items in the configuration file can be object names, attributes, key-value pairs, etc. Each virtual object corresponds to an object name. Each object name contains one or more attributes, and each attribute contains one or more key-value pairs. Therefore, each item's information is the specific name string corresponding to the object name, the attribute information corresponding to the attribute, and the key-value pairs containing the key values. For example, if the object name is "ABC", the virtual object corresponding to the object name "ABC" includes two display attributes: "size" and "color". The display attribute "size" contains two key-value pairs: "length-600" and "width-300". The "600" in the key-value pair "length-600" is the key value.

[0039] The category of each project can be determined based on its project information. For example, a name string belongs to the category of "object name," attribute information belongs to the category of "attribute," and key-value pairs belong to the category of "key-value pair." After classifying projects by type, the attributes contained in the object name, and the corresponding key-value pairs, can be logically organized based on the logical relationships between different project categories to generate hierarchical project information. Object names serve as the first-level structure in this hierarchical project information, attributes as the second-level structure, and key-value pairs as the third-level structure. Each object name corresponds to a set of hierarchical project information, and the hierarchical project information of all object names in the configuration file is combined to form the configuration database.

[0040] S120. Receive selection information and determine the selected object in the import file that corresponds to the selection information; the import file is a pre-imported file.

[0041] The system receives selection information and identifies the selected object corresponding to the selection information in the imported file; the imported file is a pre-imported file. The user can import the imported file into the terminal device and input the corresponding selection information, which is a virtual object selected by the user from the virtual objects contained in the imported file.

[0042] S130. Logically configure the selected object according to the configuration database to generate visual basic logical information.

[0043] Logically configure the selected object according to the configuration database to generate basic visual logical information. The selected object is merely a virtual object that can be displayed on a display device. To enable the virtual object to change its display color, shape, or display state (such as changing from a normal display state to a blinking display state) based on user operations during program execution, logical configuration can be performed on the selected object according to the generated configuration database. To facilitate user editing, logical configuration generates basic visual logical information corresponding to the selected object. The obtained basic logical information is as follows: Figure 2 As shown in the diagram, the root node contains the name of the virtual object to be controlled; the condition logic node is a specific judgment logic in the logic flow framework diagram, and the specific content in the condition is the initial key value of the corresponding logic parameter.

[0044] In a specific embodiment, step S130 includes the following sub-steps: obtaining the logical judgment rule corresponding to the selected object from the configuration database; generating a corresponding logical flow framework diagram based on the logical judgment rule; obtaining the initial key value corresponding to each logical parameter in the logical judgment rule from the configuration database; and filling the initial key value of the logical parameter into the corresponding key value area in the logical flow framework diagram to obtain the basic logical information.

[0045] Specifically, based on the object name of the selected object, a set of hierarchical project information corresponding to the selected object can be retrieved from the configuration database. The attributes contained in the project information of the hierarchical structure can be filtered to obtain the attribute information corresponding to the "logical rule" attribute in the project information of the hierarchical structure, which can be used as the logical judgment rule corresponding to the selected object.

[0046] Generate the corresponding logical flow framework diagram based on the judgments in the logical judgment rules. The judgments can be Reverse Polish Notation. For example, the judgment in a certain logical judgment rule is (a>=b && c>=d).

[0047] The initial key values ​​corresponding to each logical parameter in the judgment logic are further obtained from the configuration database. For example, if the logical judgment rule above contains logical parameters a, b, c, and d, the key values ​​of the key-value pairs corresponding to the four logical parameters can be obtained from the configuration database as the initial key values ​​corresponding to each logical parameter. The obtained initial key values ​​of the logical parameters are then filled into the corresponding key-value areas in the above logical flow framework diagram to obtain the complete basic logical information.

[0048] S140. Obtain parameter modification information fed back based on the basic logic information, and adjust the parameters of the basic logic information according to the parameter modification information.

[0049] The system acquires parameter modification information fed back based on the basic logic information and adjusts the parameters of the basic logic information accordingly. After viewing the basic logic information, the user can modify the initial key values ​​of the logic parameters in the basic logic information, thereby forming parameter modification information. The user terminal can then receive the fed-back parameter modification information and adjust the corresponding initial key values ​​in the basic logic information according to the parameter modification information.

[0050] In a specific embodiment, step S140 includes the following sub-steps: determining the target logic parameter that matches the basic logic information based on the modification item in the parameter modification information; modifying the initial key value of the target logic parameter based on the modification value in the parameter modification information, so as to realize parameter adjustment of the basic logic information.

[0051] Specifically, the parameter modification information may contain one or more modification items. The corresponding logical parameter in the basic logic information can be determined as the target logical parameter based on the modification items in the parameter modification information. Furthermore, by modifying the initial key value of the target logical parameter according to the modification value in the parameter modification information, parameter adjustment can be achieved on the initial key value in the basic logic information.

[0052] S150. Obtain alternative special effects actions that match the selected object from the configuration database.

[0053] The system retrieves alternative special effects actions that match the selected object from the configuration database. After adjusting the parameters of the basic logic information, alternative special effects actions that match the selected object can be retrieved from the configuration database. When the logical judgment rule executes a judgment and obtains a "yes" or "no" judgment result, a corresponding special effect action needs to be executed. Therefore, the system retrieves the attribute information corresponding to the "judgment special effect action" attribute from the configuration database according to the logical judgment rule of the selected object. Based on the attribute information of the "judgment special effect action", alternative special effects actions corresponding to each judgment result are determined. Each judgment result can contain at least one alternative special effect action in the configuration database. For example, alternative special effects actions can be color switching, zooming in, highlighting, blinking, etc.

[0054] S160. Obtain the action selection information fed back by the candidate special effects actions, and configure the special effects actions for the basic logic information after parameter adjustment based on the action selection information.

[0055] The system obtains action selection information based on the candidate special effects actions, and configures special effects actions for the basic logic information after parameter adjustment based on the action selection information. The user views the candidate special effects actions corresponding to each judgment result in the basic logic information after parameter adjustment, and selects one based on the candidate special effects action to generate action selection information. The terminal device receives the feedback action selection information and configures special effects actions for the basic logic information after parameter adjustment based on the action selection information. That is, based on the action selection information, a unique candidate special effect action corresponding to each judgment result is determined as the target special effect action. Therefore, each judgment result has one and only one target special effect action. By sequentially determining the target special effect action corresponding to each judgment result, the configuration of special effects actions for the basic logic information is completed. For example, Figure 2 The binding type in the value logic node shown is also the corresponding target effect action.

[0056] S170. Based on the basic logic information configured after the special effects action is configured, the configuration database is edited to generate a corresponding configuration editing file based on the edited configuration database.

[0057] The configuration database is edited based on the basic logic information configured for special effects actions, to generate a corresponding configuration editing file. Furthermore, editing the configuration database based on the basic logic information configured for special effects actions involves adjusting the corresponding configuration values ​​in the database. This adjustment includes adding, deleting, and modifying data information. The process of adjusting the corresponding configuration values ​​in the database is equivalent to editing the configuration information. After editing the configuration database, a corresponding configuration editing file can be generated based on the edited database. The configuration information contained in the configuration editing file corresponds to the edited configuration database.

[0058] In a specific embodiment, step S170 includes the following sub-steps: extracting logical parameter values ​​from the basic logical information; editing and adjusting the corresponding configuration information in the configuration database according to the logical parameter values ​​to obtain the edited configuration database; and generating a corresponding configuration editing file based on the hierarchical project information in the configuration database.

[0059] Specifically, corresponding logical parameter values ​​can be extracted from the basic logical information. These logical parameter values ​​include the adjusted key values ​​of the target logical parameters and the name of the target special effect action corresponding to each judgment result in the logical judgment rules. The configuration information in the configuration database is then edited and adjusted based on the obtained logical parameter values; that is, the original configuration information in the configuration database is replaced with the extracted logical parameter values, resulting in an edited configuration database. Based on the project information of the hierarchical structure corresponding to each virtual object in the configuration database, a new configuration editing file is generated. The configuration editing file, compared to the configuration file, modifies some of the configuration information in the configuration file; the specific operation of generating the configuration editing file is the reverse operation of parsing the configuration file. By generating the configuration editing file, the application can synchronously update its configuration on multiple platforms (such as Flash, Unity, and H5), thereby improving the efficiency and accuracy of editing the configuration file.

[0060] The virtual object special effects logic editing method disclosed in the above embodiments includes: receiving a configuration file and parsing it to obtain a configuration database; determining the selected object corresponding to the selected information in the imported file; performing logical configuration on the selected object according to the configuration database to generate visual basic logical information; adjusting the parameters of the basic logical information according to parameter modification information; obtaining alternative special effects actions for the selected object from the configuration database; configuring special effects actions on the adjusted basic logical information according to action selection information; editing the configuration information in the configuration database; and generating a configuration editing file. This method can parse the configuration file to obtain a configuration database and perform logical configuration on the selected object, generating visual basic logical information to efficiently adjust parameters and configure special effects actions, thus improving the efficiency and accuracy of editing the characteristic logical information in the configuration file.

[0061] This invention also provides a virtual object effects logic editing device, which can be configured in a terminal device and is used to execute any embodiment of the aforementioned virtual object effects logic editing method. Specifically, please refer to... Figure 3 , Figure 3 This is a schematic block diagram of a virtual object special effects logic editing device provided in an embodiment of the present invention.

[0062] like Figure 3 As shown, the virtual object special effects logic editing device 100 includes a configuration file parsing unit 110, a selected object determination unit 120, a basic logic information acquisition unit 130, a parameter adjustment unit 140, a candidate special effects action acquisition unit 150, a special effects action configuration unit 160, and a configuration editing file generation unit 170.

[0063] The configuration file parsing unit 110 is used to receive the configuration file and parse it to obtain the corresponding configuration database.

[0064] The selected object determination unit 120 is used to receive selection information and determine the selected object corresponding to the selection information in the imported file; the imported file is a pre-imported file.

[0065] The basic logic information acquisition unit 130 is used to perform logical configuration on the selected object according to the configuration database to generate visualized basic logic information.

[0066] The parameter adjustment unit 140 is used to obtain parameter modification information fed back based on the basic logic information, and to adjust the parameters of the basic logic information based on the parameter modification information.

[0067] The alternative special effects action acquisition unit 150 is used to acquire alternative special effects actions that match the selected object from the configuration database.

[0068] The special effects action configuration unit 160 is used to obtain action selection information fed back from the candidate special effects actions, and to configure special effects actions based on the basic logic information after parameter adjustment according to the action selection information.

[0069] The configuration editing file generation unit 170 is used to edit the configuration information of the configuration database according to the basic logic information after the special effects action is configured, so as to generate a corresponding configuration editing file according to the edited configuration database.

[0070] The virtual object special effects logic editing device provided in this embodiment of the invention applies the above-described virtual object special effects logic editing method. It receives a configuration file and parses it to obtain a configuration database. It determines the selected object corresponding to the selected information in the imported file, performs logical configuration on the selected object according to the configuration database to generate visual basic logical information, adjusts the parameters of the basic logical information according to parameter modification information, obtains candidate special effects actions for the selected object from the configuration database, configures special effects actions on the adjusted basic logical information according to action selection information, edits the configuration information in the configuration database, and generates a configuration editing file. This method can parse the configuration file to obtain a configuration database and perform logical configuration on the selected object, generating visual basic logical information for efficient parameter adjustment and special effects action configuration, thus improving the efficiency and accuracy of editing the characteristic logical information in the configuration file.

[0071] The aforementioned virtual object special effects logic editing device can be implemented as a computer program, which can, for example, Figure 4 It runs on the computer device shown.

[0072] Please see Figure 4, Figure 4 This is a schematic block diagram of a computer device provided in an embodiment of the present invention. The computer device can be a terminal device used to execute a virtual object effects logic editing method to edit the characteristic logic information of virtual objects in a configuration file.

[0073] See Figure 4 The computer device 500 includes a processor 502, a memory, and a communication interface 505 connected via a communication bus 501. The memory may include a storage medium 503 and internal memory 504.

[0074] The storage medium 503 may store the operating system 5031 and the computer program 5032. When the computer program 5032 is executed, it enables the processor 502 to execute virtual object special effects logic editing methods. The storage medium 503 may be a volatile storage medium or a non-volatile storage medium.

[0075] The processor 502 provides computing and control capabilities to support the operation of the entire computer device 500.

[0076] The internal memory 504 provides an environment for the computer program 5032 in the storage medium 503 to run. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the virtual object special effects logic editing method.

[0077] This communication interface 505 is used for network communication, such as providing data transmission. Those skilled in the art will understand that... Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device 500 to which the present invention is applied. The specific computer device 500 may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0078] The processor 502 is used to run the computer program 5032 stored in the memory to implement the corresponding functions in the above-mentioned virtual object special effects logic editing method.

[0079] Those skilled in the art will understand that Figure 4 The embodiments of the computer device shown do not constitute a limitation on the specific configuration of the computer device. In other embodiments, the computer device may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. For example, in some embodiments, the computer device may include only memory and a processor. In such embodiments, the structure and function of the memory and processor are different from those shown. Figure 4 The embodiments shown are consistent and will not be repeated here.

[0080] It should be understood that, in this embodiment of the invention, the processor 502 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0081] In another embodiment of the invention, a computer-readable storage medium is provided. This computer-readable storage medium may be volatile or non-volatile. The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps included in the virtual object special effects logic editing method described above.

[0082] Those skilled in the art will readily understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.

[0083] In the embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Units with the same function may be grouped into one unit. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, or it may be an electrical, mechanical, or other form of connection.

[0084] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of the embodiments of the present invention, depending on actual needs.

[0085] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0086] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a computer-readable storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned computer-readable storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks.

[0087] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A method for editing the logic of virtual object special effects, characterized in that, The method includes: Receive the configuration file and parse it to obtain the corresponding configuration database; Receive selection information and determine the selected object in the import file that corresponds to the selection information; the import file is a pre-imported file. The selected object is logically configured according to the configuration database to generate visual basic logical information; Obtain parameter modification information fed back based on the basic logic information, and adjust the parameters of the basic logic information according to the parameter modification information; Retrieve alternative special effects actions that match the selected object from the configuration database; Obtain action selection information fed back from the candidate special effects actions, and configure special effects actions for the basic logic information after parameter adjustment based on the action selection information; The configuration information of the configuration database is edited based on the basic logic information after the special effects action is configured, so as to generate a corresponding configuration editing file based on the edited configuration database; The process of receiving the configuration file and parsing it to obtain the corresponding configuration database includes: The projects are categorized according to the project information in the configuration file to determine the category to which the project belongs; the project consists of object name, attribute, and key-value pair; the project information consists of the specific name string corresponding to the object name, the attribute information corresponding to the attribute, and the key-value pair. The project information is logically organized according to the logical relationship corresponding to the project information to generate a configuration database containing hierarchical project information, including: logically organizing the project information based on the logical relationship between different types of projects to generate hierarchical project information, with the object name as the first-level structure in the hierarchical project information, the attribute as the second-level structure in the hierarchical project information, and the key-value pair as the third-level structure in the hierarchical project information, and each object name corresponding to a set of hierarchical project information; The step of logically configuring the selected object according to the configuration database to generate visual basic logical information includes: Retrieve the logical judgment rules corresponding to the selected object from the configuration database; Generate the corresponding logical flow framework diagram based on the logical judgment rules; Retrieve the initial key values ​​corresponding to each logical parameter in the logical judgment rule from the configuration database; The initial key values ​​of the logic parameters are filled into the corresponding key value areas in the logic flow framework diagram to obtain the basic logic information.

2. The virtual object special effects logic editing method according to claim 1, characterized in that, The step of adjusting the parameters of the basic logic information according to the parameter modification information includes: Based on the modification items in the parameter modification information, determine the target logic parameter that matches the basic logic information; The initial key value of the target logic parameter is modified according to the modification value in the parameter modification information, so as to realize the parameter adjustment of the basic logic information.

3. The virtual object special effects logic editing method according to claim 1, characterized in that, The step of editing the configuration database based on the basic logic information configured according to the special effects actions, and generating a corresponding configuration editing file based on the edited configuration database, includes: Extract logical parameter values ​​from the basic logical information; The configuration information in the configuration database is edited and adjusted according to the logical parameter values ​​to obtain the edited configuration database; The corresponding configuration editing file is generated based on the project information of the hierarchical structure in the configuration database.

4. A virtual object special effects logic editing device, characterized in that, The apparatus is used to execute the virtual object special effects logic editing method as described in any one of claims 1-3, the apparatus comprising: The configuration file parsing unit is used to receive the configuration file and parse it to obtain the corresponding configuration database. The selected object determination unit is used to receive selection information and determine the selected object in the imported file that corresponds to the selection information; the imported file is a pre-imported file. A basic logic information acquisition unit is used to perform logical configuration on the selected object according to the configuration database to generate visualized basic logic information; The parameter adjustment unit is used to obtain parameter modification information fed back based on the basic logic information, and to adjust the parameters of the basic logic information according to the parameter modification information; The alternative special effects action acquisition unit is used to acquire alternative special effects actions that match the selected object from the configuration database; The special effects action configuration unit is used to obtain action selection information fed back from the candidate special effects actions, and to configure special effects actions on the basic logic information after parameter adjustment based on the action selection information. The configuration editing file generation unit is used to edit the configuration information of the configuration database according to the basic logic information after the special effects action is configured, so as to generate a corresponding configuration editing file according to the edited configuration database.

5. The virtual object special effects logic editing device according to claim 4, characterized in that, The configuration file parsing unit includes: The project type classification unit is used to classify projects by type based on the project information corresponding to the project in the configuration file; The logical organization unit is used to logically organize the project information according to the logical relationship corresponding to the project information, so as to generate a configuration database containing hierarchical project information.

6. The virtual object special effects logic editing device according to claim 4, characterized in that, The basic logic information acquisition unit includes: The logical judgment rule acquisition unit is used to acquire the logical judgment rule corresponding to the selected object from the configuration database; The logic flow diagram generation unit is used to generate a corresponding logic flow diagram according to the logic judgment rules. An initial key value acquisition unit is used to acquire, from the configuration database, the initial key value corresponding to each logical parameter in the logical judgment rule; An initial key-value filling unit is used to fill the initial key-value of the logic parameter into the corresponding key-value area in the logic flow framework diagram to obtain the basic logic information.

7. A computer device, characterized in that, The device includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; When a processor executes a program stored in memory, it implements the steps of the virtual object special effects logic editing method according to any one of claims 1-3.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the virtual object special effects logic editing method as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Game entity object editing method and device, equipment and medium

    CN115469855A

  • Configuration file visualization method, browser and system

    CN115981761A