CN112473145B - Game engine-based data processing method and device - Google Patents

Game engine-based data processing method and device Download PDF

Info

Publication number
CN112473145B
CN112473145B CN202011436256.9A CN202011436256A CN112473145B CN 112473145 B CN112473145 B CN 112473145B CN 202011436256 A CN202011436256 A CN 202011436256A CN 112473145 B CN112473145 B CN 112473145B
Authority
CN
China
Prior art keywords
resource
catalog
target
game engine
resources
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011436256.9A
Other languages
Chinese (zh)
Other versions
CN112473145A (en
Inventor
刘晓晗
袁晓辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011436256.9A priority Critical patent/CN112473145B/en
Publication of CN112473145A publication Critical patent/CN112473145A/en
Application granted granted Critical
Publication of CN112473145B publication Critical patent/CN112473145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a data processing method and device based on a game engine, wherein the method comprises the following steps: establishing a second resource catalog according to a first resource catalog in the game engine aiming at the game engine; responding to the editing operation, determining a first target resource in an editing state in the first resource catalog, and copying the first target resource to the second resource catalog; and in the first resource catalog, restoring the first target resource. By the embodiment of the invention, the delayed effect of the changed resources in the game engine is realized, the edited resources can be migrated and restored by establishing a plurality of resource catalogues, so that the problem that a large number of temporary version resources exist is avoided, the controllability and the flexibility in the development process are enhanced, the original resources are protected from being secondarily modified, and the stability of the resource version is maintained.

Description

Game engine-based data processing method and device
Technical Field
The present invention relates to the field of data processing, and in particular, to a game engine-based data processing method and apparatus.
Background
At present, for a UE4 engine (a fantasy 4 game engine, a real-time 3D creation platform), as the engine does not have the concept of releasing resources, the resources are immediately validated in a game once modified by a self-contained resource compiling method, so that a large number of validated temporary versions are generated, multi-link collaboration is not facilitated, and formal resources and temporary resources are validated simultaneously, so that the resource versions are unstable.
Disclosure of Invention
In view of the above, there is provided a game engine-based data processing method and apparatus that overcomes or at least partially solves the above-mentioned problems, including:
a game engine-based data processing method, comprising:
establishing a second resource catalog according to a first resource catalog in the game engine aiming at the game engine;
responding to the editing operation, determining a first target resource in an editing state in the first resource catalog, and copying the first target resource to the second resource catalog;
And in the first resource catalog, restoring the first target resource.
Optionally, the method further comprises:
Responding to the migration operation, and replacing a second target resource in the second resource catalog with a resource corresponding to the second target resource in the first resource catalog; the second target resource is a resource after the first target resource is edited.
Optionally, after the replacing, in response to the migration operation, the second target resource in the second resource directory with the resource corresponding to the second target resource in the first resource directory, the method further includes:
And deleting the second target resource in the second resource catalog.
Optionally, after the first target resource is restored in the first resource catalog, the method further includes:
adding a first mark to the first target resource in the first resource catalog;
After the replacing, in response to the migration operation, the second target resource in the second resource directory with the resource corresponding to the second target resource in the first resource directory, the method further includes:
And deleting the first mark in the first resource catalog.
Optionally, before the determining, in response to the editing operation, the first target resource in the first resource directory in an editing state and copying the first target resource to the second resource directory, the method further includes:
a first control for an immigrating operation and a second control for an immigrating operation are added.
Optionally, the game engine has a feature that takes effect upon operation of a resource in the first resource catalog.
Optionally, the first target resource in the editing state includes any one of the following:
Newly added and non-validated resources, modified and non-validated resources, and non-version information resources.
A game engine based data processing apparatus, the apparatus comprising:
The second resource catalog establishing module is used for establishing a second resource catalog according to the first resource catalog in the game engine aiming at the game engine;
the copying module is used for responding to the editing operation, determining a first target resource in an editing state in the first resource catalog and copying the first target resource to the second resource catalog;
and the reduction module is used for reducing the first target resource in the first resource catalog.
An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, which when executed by the processor implements a game engine based data processing method as described above.
A computer readable storage medium having stored thereon a computer program which when executed by a processor implements a game engine-based data processing method as described above.
The embodiment of the invention has the following advantages:
In the embodiment of the invention, the second resource catalog is established according to the first resource catalog in the game engine aiming at the game engine, then the first target resource in the first resource catalog in an editing state is determined in response to editing operation, the first target resource is copied to the second resource catalog, and then the first target resource is restored in the first resource catalog, so that the delayed effect of the changed resource in the game engine is realized, the edited resource can be migrated and restored by establishing a plurality of resource catalogs, the problem that a large number of temporary version resources exist is avoided, the controllability and flexibility in the development process are enhanced, the original resource is protected from being secondarily modified, and the stability of the resource version is maintained.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are needed in the description of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flow chart of steps of a game engine-based data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of steps of another game engine-based data processing method according to an embodiment of the present invention;
FIG. 3a is a schematic diagram illustrating an outbound operation flow according to an embodiment of the present invention;
FIG. 3b is a schematic diagram illustrating an migration operation procedure according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of another game engine-based data processing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an extended migration/export function flow according to an embodiment of the present invention;
Fig. 6 is a schematic structural diagram of a data processing device based on a game engine according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart illustrating steps of a game engine-based data processing method according to an embodiment of the present invention may specifically include the following steps:
Step 101, establishing a second resource catalog according to a first resource catalog in the game engine aiming at the game engine;
Wherein the game engine may have the property of operating upon resources in the first resource catalog to be validated.
As an example, the first resource catalog may be an original resource catalog for the game engine and the second resource catalog may be a temporary resource catalog for the game engine, e.g., the original catalog and the temporary catalog for the resources in the game engine may be established.
In the process of modifying the resources based on the game engine, for the game engine, as the game engine can have the characteristic that the resources in the first resource catalog are effective after being operated, a second resource catalog can be established according to the first resource catalog in the game engine, so that the resources in the first resource catalog can be delayed to be effective after being operated.
Because the UE4 engine (namely the game engine) is set, the resources are compiled automatically after being operated in the resource editor of the engine by the self-contained compiling resource method, and the resources are effective after compiling, namely, once being modified, the resources are immediately effective in the game, the functions of temporary storage operation are not provided, and further, the problem that a large number of temporary versions in the effective state are generated is solved, and the problem that the formal version resources and the temporary version resources are effective simultaneously for a plurality of different resources in the project group can cause unstable resource versions of the project group.
In one example, by dividing the project group resources into two directories: the original catalog and the temporary catalog can be preset to store formally effective resources, the temporary catalog can be preset to store modified but not effective resources, the initial state of the temporary catalog can be defaulted to be empty aiming at the temporary catalog, and then the state of the resources stored in the temporary catalog can be changed according to each migration operation or each migration operation.
Step 102, responding to editing operation, determining a first target resource in an editing state in the first resource catalog, and copying the first target resource to the second resource catalog;
As an example, the first target resource may be a resource in the game engine that is subject to an editing operation, e.g., may be a resource in a set of items that are subject to a modification operation using a resource editor.
In an embodiment of the present invention, the first target resource in the editing state may include any one of the following:
Newly added and non-validated resources, modified and non-validated resources, and non-version information resources.
After the second resource catalog is established, the editing operation can be responded, and therefore the first target resource in the first resource catalog in the editing state can be determined, and the first target resource can be copied to the second resource catalog, so that the first target resource can be delayed to take effect after the operation.
In an example, in a development process of a project group based on the UE4 engine, a developer may perform an editing operation on a first target resource in a first resource directory, and may perform an migration operation on the first target resource in an editing state, so that the resource in the edited project group (i.e., the first target resource) may be copied to a temporary directory, that is, the resource in the editing, such as a newly added and non-validated resource, a modified and non-validated resource, and a resource without version information, may be stored in the temporary directory.
And step 103, in the first resource catalog, restoring the first target resource.
After the first target resource is copied to the second resource catalog, the first target resource can be restored in the first resource catalog, so that the first target resource can be delayed to be effective after operation, and the original resource of the first target resource can be protected to avoid secondary modification.
In an example, by allowing a developer to migrate temporary resources of items in the UE4 engine to the temporary directory, a problem that a large amount of temporary version resources exist in a project group during development is avoided, dependency of upstream and downstream work synchronization can be reduced, so that all workers in the project group can use the same environment for development, namely, the project group can be based on the same resource directory, the problem of resource disorder is avoided, and controllability and flexibility in a development process are enhanced.
For example, when the modification of a certain resource needs to be completed by the cooperation of two workers at the upstream and downstream, in the original process carried by the UE4 engine, if the upstream workers take effect immediately after modifying the resource, the downstream workers cannot complete their own work parts in time, and thus error reporting is caused in the project, but in the actual development scene, continuous cooperation of seamless connection of the upstream workers and the downstream workers cannot be ensured, so that error reporting problem cannot be eradicated, and multi-link cooperation is not facilitated.
By dividing the project group resources into an original directory capable of storing formally effective resources and a temporary directory capable of storing modified non-effective resources, the resources can be delayed to be effective after operation, the original resources are protected from being secondarily modified, the stability of project resource versions is maintained, and multi-link cooperation is facilitated.
In the embodiment of the invention, the second resource catalog is established according to the first resource catalog in the game engine aiming at the game engine, then the first target resource in the first resource catalog in an editing state is determined in response to editing operation, the first target resource is copied to the second resource catalog, and then the first target resource is restored in the first resource catalog, so that the delayed effect of the changed resource in the game engine is realized, the edited resource can be migrated and restored by establishing a plurality of resource catalogs, the problem that a large number of temporary version resources exist is avoided, the controllability and flexibility in the development process are enhanced, the original resource is protected from being secondarily modified, and the stability of the resource version is maintained.
Referring to fig. 2, a flowchart illustrating steps of another game engine-based data processing method according to an embodiment of the present invention may specifically include the following steps:
Step 201, establishing a second resource catalog according to a first resource catalog in the game engine aiming at the game engine;
In the process of modifying the resources based on the game engine, for the game engine, as the game engine can have the characteristic that the resources in the first resource catalog are effective after being operated, a second resource catalog can be established according to the first resource catalog in the game engine, so that the resources in the first resource catalog can be delayed to be effective after being operated.
Step 202, determining a first target resource in an editing state in the first resource catalog in response to an editing operation, and copying the first target resource to the second resource catalog;
After the second resource catalog is established, the editing operation can be responded, and therefore the first target resource in the first resource catalog in the editing state can be determined, and the first target resource can be copied to the second resource catalog, so that the first target resource can be delayed to take effect after the operation.
Step 203, in the first resource catalog, restoring the first target resource;
after the first target resource is copied to the second resource catalog, the first target resource can be restored in the first resource catalog, so that the first target resource can be delayed to be effective after operation, and the original resource of the first target resource can be protected to avoid secondary modification.
Step 204, adding a first mark to the first target resource in the first resource catalog;
as an example, the first mark may be an evicted mark for the first target resource.
After the first target resource is restored, a first mark can be added to the first target resource in the first resource catalog, for example, by performing an migration operation by a developer, the resource in the edited project group can be copied to the temporary catalog, the resource in the original catalog can be restored, and the restored resource in the original catalog can be marked with the migrated mark.
In an example, as shown in fig. 3a, by presetting an original directory (i.e., a first resource directory) storing formally effective resources and a temporary directory (i.e., a second resource directory) storing resources which are modified but not expected to be effective, then when an export button is clicked, the states of all the involved resources can be checked, that is, all the resources supported by the UE4 engine can be detected, for example, a picture, a font, a blueprint, a material, and a particle, whether the resources belong to newly added/modified/non-version resources can be judged, the resources in the three states can be copied to the temporary directory, then related resources (i.e., the first target resources) in the original directory can be restored to the previous version, and related resources in the original directory can be marked with the migrated mark (i.e., the first mark) to indicate that the export is successful.
Step 205, in response to the migration operation, replacing the resource corresponding to the second target resource in the first resource directory with the second target resource in the second resource directory; the second target resource is a resource after the first target resource is edited.
As an example, the second target resource may be a resource stored in the temporary directory in the game engine, which is a resource after the first target resource is edited, for example, a resource in the original directory that is edited and not validated may be stored in the temporary directory.
In a specific implementation, the migration operation may be responded, and then the edited second target resource of the first target resource in the second resource directory may replace the resource corresponding to the second target resource in the first resource directory, so as to migrate the second target resource into the first resource directory, and perform version update.
For example, in the development process of the project group based on the UE4 engine, the migration operation may be performed by a developer, so that the resources under the temporary directory may be replaced with the corresponding resources under the original directory, so as to perform version update.
In an example, if the resource file in the original directory has been migrated, it may be preset for the resource file that the resource file cannot be edited and saved before the migration, so that version conflict may be avoided.
In an embodiment of the present invention, after step 205, the method may further include the steps of:
And deleting the second target resource in the second resource catalog.
After the second target resource in the second resource directory replaces the resource corresponding to the second target resource in the first resource directory, the second target resource may be deleted in the second resource directory, for example, after the resource under the temporary directory replaces the corresponding resource under the original directory, the resource under the temporary directory may be deleted.
In an embodiment of the present invention, after step 205, the method may further include the steps of:
And deleting the first mark in the first resource catalog.
After the second target resource in the second resource directory replaces the resource corresponding to the second target resource in the first resource directory, the first mark may be deleted in the first resource directory, for example, after the resource under the temporary directory replaces the corresponding resource under the original directory, the resource may be saved in the original directory, and then the mark that the resource has migrated may be cleared.
In an example, as shown in fig. 3b, when the migration button (i.e. the migration operation) is clicked, the related resource (i.e. the second target resource) under the temporary directory (i.e. the second resource directory) may be copied to the original directory (i.e. the first resource directory) for replacement, so that the resource in the temporary directory may be deleted to indicate that the migration is successful, and after the resource in the original directory is saved, the mark (i.e. the first mark) that the resource has migrated may be cleared.
Referring to fig. 4, a flowchart illustrating steps of another game engine-based data processing method according to an embodiment of the present invention may specifically include the following steps:
step 401, establishing a second resource catalog according to a first resource catalog in the game engine aiming at the game engine;
In the process of modifying the resources based on the game engine, for the game engine, as the game engine can have the characteristic that the resources in the first resource catalog are effective after being operated, a second resource catalog can be established according to the first resource catalog in the game engine, so that the resources in the first resource catalog can be delayed to be effective after being operated.
Step 402, adding a first control for an immigrating operation and a second control for an immigrating operation;
As an example, a first control may be used to provide a developer with an immigrating operation, and a second control may be used to provide a developer with an immigrating operation, e.g., an immigrating, immigrating button may be added in a right-click menu or toolbar.
In a specific implementation, a first control for the migration operation and a second control for the migration operation can be added, so that the resources in the first resource catalog can be delayed to take effect after being operated in the process of modifying the resources based on the game engine.
In an example, the migration in and out function may be extended when the resource editor of the UE4 engine is started, i.e. the function may be integrated into the resource editor of the UE4 engine of the project group, so that all developers in the project group may use the resource editor.
In yet another example, as shown in fig. 5, by starting a plugin for expanding the migration and outgoing function, the plugin can bind CHECKPACKAGESAVE, that is, can set whether the detected resource is migrated, if yes, it can not be saved, then bind OnAssetOpenedlnEditor delegate, that can set the corresponding relation between the binding migration and outgoing operation and the current resource, if the current resource being opened and edited, the binding can acquire the information of the current resource being edited, can transfer the path of the resource to the corresponding function to identify for the migration of the resource, bind PACKAGESAVEEVEN delegate, that can set whether the detected resource is migrated and saved, if yes, can remove the migrated mark, and further can register the command, that can register and respond to the migration event, so that the corresponding function is triggered by clicking the button after registering the migration event, and the right key menu can be expanded, that can be added in the right key menu, and the tool bar can be expanded, that can be added in the tool bar.
Step 403, in response to the editing operation, determining a first target resource in the first resource directory in an editing state, and copying the first target resource to the second resource directory;
After the second resource catalog is established, the editing operation can be responded, and therefore the first target resource in the first resource catalog in the editing state can be determined, and the first target resource can be copied to the second resource catalog, so that the first target resource can be delayed to take effect after the operation.
Step 404, in the first resource catalog, restoring the first target resource.
After the first target resource is copied to the second resource catalog, the first target resource can be restored in the first resource catalog, so that the first target resource can be delayed to be effective after operation, and the original resource of the first target resource can be protected to avoid secondary modification.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 6, a schematic structural diagram of a game engine-based data processing device according to an embodiment of the present invention may specifically include the following modules:
a second resource catalog establishing module 601, configured to establish, for the game engine, a second resource catalog according to a first resource catalog in the game engine;
A copying module 602, configured to determine a first target resource in an editing state in the first resource directory in response to an editing operation, and copy the first target resource to the second resource directory;
And the restoring module 603 is configured to restore the first target resource in the first resource directory.
In an embodiment of the invention, the apparatus further comprises:
the migration module is used for responding to the migration operation and replacing the resources corresponding to the second target resources in the first resource catalog with the second target resources in the second resource catalog; the second target resource is a resource after the first target resource is edited.
In an embodiment of the invention, the apparatus further comprises:
And the second target resource deleting module is used for deleting the second target resource in the second resource catalog.
In an embodiment of the invention, the apparatus further comprises:
A first mark adding module, configured to add a first mark to the first target resource in the first resource directory;
Further comprises:
and the first mark deleting module is used for deleting the first mark in the first resource catalog.
In an embodiment of the invention, the apparatus further comprises:
And the control adding module is used for adding a first control for the migration operation and a second control for the migration operation.
In one embodiment of the present invention, the game engine has the feature of operating on resources in the first resource catalog to be validated.
In an embodiment of the present invention, the first target resource in the editing state includes any one of the following:
Newly added and non-validated resources, modified and non-validated resources, and non-version information resources.
In the embodiment of the invention, the second resource catalog is established according to the first resource catalog in the game engine aiming at the game engine, then the first target resource in the first resource catalog in an editing state is determined in response to editing operation, the first target resource is copied to the second resource catalog, and then the first target resource is restored in the first resource catalog, so that the delayed effect of the changed resource in the game engine is realized, the edited resource can be migrated and restored by establishing a plurality of resource catalogs, the problem that a large number of temporary version resources exist is avoided, the controllability and flexibility in the development process are enhanced, the original resource is protected from being secondarily modified, and the stability of the resource version is maintained.
An embodiment of the present invention also provides an electronic device, which may include a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program implementing the game engine-based data processing method as above when executed by the processor.
An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the above game engine-based data processing method.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device that comprises the element.
The foregoing has outlined some of the more detailed description of a game engine-based data processing method and apparatus, wherein specific examples are provided herein to illustrate the principles and embodiments of the present invention, the description of the examples above being provided solely to assist in the understanding of the method and core concepts of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (7)

1. A game engine-based data processing method, comprising:
establishing a second resource catalog according to a first resource catalog in the game engine aiming at the game engine; wherein the game engine has the characteristic of validating after operating the resources in the first resource catalog;
responding to the editing operation, determining a first target resource in an editing state in the first resource catalog, and copying the first target resource to the second resource catalog;
in the first resource catalog, restoring the first target resource;
Responding to the migration operation, and replacing a second target resource in the second resource catalog with a resource corresponding to the second target resource in the first resource catalog; the second target resource is the edited resource of the first target resource;
And deleting the second target resource in the second resource catalog.
2. The method of claim 1, wherein after the first target resource is restored in the first resource directory, further comprising:
adding a first mark to the first target resource in the first resource catalog;
After the replacing, in response to the migration operation, the second target resource in the second resource directory with the resource corresponding to the second target resource in the first resource directory, the method further includes:
And deleting the first mark in the first resource catalog.
3. The method of claim 1, wherein prior to said determining a first target resource in an edit state in said first resource directory in response to an edit operation and copying said first target resource to said second resource directory, further comprising:
a first control for an immigrating operation and a second control for an immigrating operation are added.
4. The method of claim 1, wherein the first target resource in an edited state comprises any one of:
Newly added and non-validated resources, modified and non-validated resources, and non-version information resources.
5. A game engine-based data processing apparatus, the apparatus comprising:
The second resource catalog establishing module is used for establishing a second resource catalog according to the first resource catalog in the game engine aiming at the game engine; wherein the game engine has the characteristic of validating after operating the resources in the first resource catalog;
the copying module is used for responding to the editing operation, determining a first target resource in an editing state in the first resource catalog and copying the first target resource to the second resource catalog;
the restoring module is used for restoring the first target resource in the first resource catalog;
the migration module is used for responding to the migration operation and replacing the resources corresponding to the second target resources in the first resource catalog with the second target resources in the second resource catalog; the second target resource is the edited resource of the first target resource;
And the second target resource deleting module is used for deleting the second target resource in the second resource catalog.
6. An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, which when executed by the processor implements the game engine-based data processing method of any one of claims 1 to 4.
7. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements a game engine-based data processing method as claimed in any one of claims 1 to 4.
CN202011436256.9A 2020-12-10 2020-12-10 Game engine-based data processing method and device Active CN112473145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011436256.9A CN112473145B (en) 2020-12-10 2020-12-10 Game engine-based data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011436256.9A CN112473145B (en) 2020-12-10 2020-12-10 Game engine-based data processing method and device

Publications (2)

Publication Number Publication Date
CN112473145A CN112473145A (en) 2021-03-12
CN112473145B true CN112473145B (en) 2024-07-16

Family

ID=74940051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011436256.9A Active CN112473145B (en) 2020-12-10 2020-12-10 Game engine-based data processing method and device

Country Status (1)

Country Link
CN (1) CN112473145B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113450463B (en) * 2021-07-01 2023-07-21 网易(杭州)网络有限公司 Preform conversion method and apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782197A (en) * 2020-08-03 2020-10-16 网易(杭州)网络有限公司 Resource publishing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5040301B2 (en) * 2006-12-27 2012-10-03 日本電気株式会社 Terminal management system, method, and program
CN101557389A (en) * 2008-04-11 2009-10-14 北京闻言科技有限公司 Method for dynamically scaling picture as required in request
CN107291427B (en) * 2016-03-30 2020-10-27 博雅网络游戏开发(深圳)有限公司 Method, device and system for optimizing game engine
CN110052032A (en) * 2019-05-29 2019-07-26 网易(杭州)网络有限公司 The method and device of resource processing, electronic equipment, storage medium in a kind of game
CN111459737B (en) * 2020-03-25 2023-07-14 北京三快在线科技有限公司 Problem positioning method, device, computer equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782197A (en) * 2020-08-03 2020-10-16 网易(杭州)网络有限公司 Resource publishing method and device

Also Published As

Publication number Publication date
CN112473145A (en) 2021-03-12

Similar Documents

Publication Publication Date Title
JP2022166013A (en) Method, computer-readable medium and system for violation resolution in client synchronization
US8201148B2 (en) Guided development and testing for computer code
JP2009515264A (en) Method and system for control of documents and source code
CN111708764A (en) Method and device for controlling database change version
CN106605217B (en) For the method and system for being moved to another website from a website will to be applied
US10248686B2 (en) Shared data with relationship information
CN106202123A (en) The method and apparatus that gray scale is issued
CN112473145B (en) Game engine-based data processing method and device
CN111625498A (en) Data migration method, system, electronic equipment and storage medium
CN113760234B (en) Software development method and system
CN107357691B (en) Method and device for processing mirror image file
CN110045983B (en) Version library management method and device and server
CN107844535B (en) External resource library calling method and system
CN107766048B (en) Page compiling method and device
CN116185484A (en) Method and device for realizing consistency of version library and version product data
CN114996955A (en) Target range environment construction method and device for cloud-originated chaotic engineering experiment
CN111078669B (en) Processing method, device and equipment based on name resolution tree and storage medium
CN111625397B (en) Service log backup method, cluster, device, electronic equipment and storage medium
EP3722965B1 (en) Method, apparatus and computer program for synchronizing data between a first repository and a second repository
CN114201207A (en) Resource synchronization method and device, electronic equipment and storage medium
JP2004157883A (en) Web site content management system and program
CN113282551B (en) Data processing method, system and equipment
CN106886420B (en) Program code management device and method and program code manager
JPH02260045A (en) Application trouble checking system
CN110134309B (en) Drawing method, drawing device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant