CN112711403B - Method, device, computer equipment and storage medium for synchronizing game development - Google Patents
Method, device, computer equipment and storage medium for synchronizing game development Download PDFInfo
- Publication number
- CN112711403B CN112711403B CN202110043583.6A CN202110043583A CN112711403B CN 112711403 B CN112711403 B CN 112711403B CN 202110043583 A CN202110043583 A CN 202110043583A CN 112711403 B CN112711403 B CN 112711403B
- Authority
- CN
- China
- Prior art keywords
- development
- development environment
- content
- resource
- terminal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000001360 synchronised effect Effects 0.000 claims abstract description 152
- 238000009434 installation Methods 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 16
- 238000010276 construction Methods 0.000 claims description 13
- 238000004519 manufacturing process Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000007689 inspection Methods 0.000 claims description 4
- 238000012360 testing method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000001960 triggered effect Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F16/275—Synchronous replication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Stored Programmes (AREA)
Abstract
The application relates to a method, a device, computer equipment and a storage medium for game development synchronization. The method comprises the following steps: acquiring a synchronization request of a first development environment terminal, wherein the synchronization request carries project information; acquiring the content to be synchronized and content information according to item information matching; the content to be synchronized and the content information come from the second development environment terminal; synchronizing the content to be synchronized and the content information to the first development environment terminal, so that the first development environment terminal replaces the local file under the appointed directory with the content to be synchronized according to the content information; the first development role passes through the first development environment terminal, and the second development role carries out game development on the catalogue corresponding to the role type under the same project catalogue through the second development environment terminal. The method can realize that the update content is loaded to the local place to continue to independently operate through synchronization, and is not influenced by the progress of other role projects.
Description
Technical Field
The present application relates to the field of software development technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for synchronizing game resource development.
Background
Game development refers to game software development. In the process of game development, the characters can be easily divided into: art, planning and procedure. Different roles respectively bear development tasks, such as art providing drawing, planning into drawing configuration data, and program responsible code development in the game development process. However, the work objects with different roles often have a cross, and a problem of resource conflict may exist. For example, art modifies a drawing, and is what is needed for planning and programming.
To prevent resource conflicts during game development, each resource is locked by a version control tool during modification to prevent resource conflicts. Or just by dividing the work catalogue by roles, each role also works in the same project engineering and directly refers to each other. Furthermore, a preview project is independently provided for the art, and only game resources are produced and previewed, and the project has no relation with game project projects.
If the game items are not isolated by character, many problems tend to occur in collaboration. Most obviously, a plurality of persons change the same file and overlap each other to cause repeated work. Although the locking before modification can be solved, the locking is an operation which is easy to forget, and in addition, a single file can influence the work of other people due to being taken over by a long term. Such as a resource file, if the programmer needs to add blueprint variables to the resource file, and the file is locked by the art, the art will continue to be optimized and manufactured, which results in that the programmer cannot modify the resource file until the art is completely finished. Or the programmer adjusts the resource structure in a resource file, the code also depends on the structure, and the art modifies the resource structure under the unknowing condition, so that the program runs and reports errors.
I.e. there is a problem of resource impact between roles during development.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, computer device, and storage medium for game development synchronization that can avoid resource impact.
A method of game development synchronization, the method comprising:
acquiring a synchronization request of a first development environment terminal, wherein the synchronization request carries project information;
obtaining the content to be synchronized and the content information according to the item information in a matching way; the content to be synchronized and the content information come from a second development environment terminal;
synchronizing the content to be synchronized and the content information to a first development environment terminal, so that the first development environment terminal replaces a local file under a specified directory with the content to be synchronized according to the content information; the first development role passes through the first development environment terminal, and the second development role carries out game development on the catalogue corresponding to the role type under the same project catalogue through the second development environment terminal.
An apparatus for game development synchronization, the apparatus comprising:
the system comprises a synchronization request module, a synchronization request module and a storage module, wherein the synchronization request module is used for acquiring a synchronization request of a first development environment terminal, and the synchronization request carries project information;
The content acquisition module is used for acquiring the content to be synchronized and the content information in a matching way according to the item information; the content to be synchronized and the content information come from a second development environment terminal;
the synchronization module is used for synchronizing the content to be synchronized and the content information to a first development environment terminal, so that the first development environment terminal replaces the local file under the appointed directory with the content to be synchronized according to the content information; the first development role passes through the first development environment terminal, and the second development role carries out game development on the catalogue corresponding to the role type under the same project catalogue through the second development environment terminal.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
acquiring a synchronization request of a first development environment terminal, wherein the synchronization request carries project information;
obtaining the content to be synchronized and the content information according to the item information in a matching way; the content to be synchronized and the content information come from a second development environment terminal;
synchronizing the content to be synchronized and the content information to a first development environment terminal, so that the first development environment terminal replaces a local file under a specified directory with the content to be synchronized according to the content information; the first development role passes through the first development environment terminal, and the second development role carries out game development on the catalogue corresponding to the role type under the same project catalogue through the second development environment terminal.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring a synchronization request of a first development environment terminal, wherein the synchronization request carries project information;
obtaining the content to be synchronized and the content information according to the item information in a matching way; the content to be synchronized and the content information come from a second development environment terminal;
synchronizing the content to be synchronized and the content information to a first development environment terminal, so that the first development environment terminal replaces a local file under a specified directory with the content to be synchronized according to the content information; the first development role passes through the first development environment terminal, and the second development role carries out game development on the catalogue corresponding to the role type under the same project catalogue through the second development environment terminal.
According to the method, the device, the computer equipment and the storage medium for synchronizing game development, as the first development role carries out game development on the catalogue corresponding to the role type under the same project catalog through the first development environment terminal, the second development role carries out game development on the catalogue corresponding to the role type through the second development environment terminal, namely, in the corresponding development environment, the roles can only operate the catalogue corresponding to the roles, and therefore, the independent operation of each development environment terminal can be realized by synchronizing the updated content under the operation catalog of the other side to the local side, and when the updated content of other development environment terminals is needed, the continuous independent operation of loading the updated content to the local side can be realized through synchronization, and the influence of the project progress of other roles is avoided.
Drawings
FIG. 1 is an application environment diagram of a method of game resource development synchronization in one embodiment;
FIG. 2 is a flow diagram of a method of game resource development synchronization in one embodiment;
FIG. 3 is a schematic diagram of a first development environment terminal and a second development environment terminal implementing synchronization through a synchronization chain in one embodiment;
FIG. 4 is a flowchart illustrating steps for acquiring content to be synchronized of a second development environment terminal according to an embodiment;
FIG. 5 is a flowchart illustrating a step of acquiring content to be synchronized of a second development environment terminal according to another embodiment;
FIG. 6 is a schematic diagram of a first development environment terminal and a second development environment terminal implementing synchronization through a synchronization chain in another embodiment;
FIG. 7 is a schematic diagram of a first development environment terminal and a second development environment terminal implementing synchronization through a synchronization chain in yet another embodiment;
FIG. 8 is a block diagram of a game resource development sync in one embodiment;
fig. 9 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The method for synchronizing game development provided by the application can be applied to an application environment shown in figure 1. The first development role terminal 102 and the second development role terminal 106 are connected to the control server 104, respectively. The first development role passes through the first development environment terminal, and the second development role carries out game development on the catalogue corresponding to the role type under the same project catalogue through the second development environment terminal. The control server 104 acquires a synchronization request of the first development environment terminal, wherein the synchronization request carries project information; acquiring the content to be synchronized and content information according to item information matching; the content to be synchronized and the content information come from the second development environment terminal; and synchronizing the content to be synchronized and the content information to the first development environment terminal, so that the first development environment terminal replaces the local file under the appointed directory with the content to be synchronized according to the content information. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the control server 104 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a method for synchronizing game development is provided, and the method is applied to the control server in fig. 1 for illustration, and includes the following steps:
Step 202, a synchronization request of the first development environment terminal is acquired, wherein the synchronization request carries project information.
The first development environment terminal runs a first development environment, and the first development character develops the game project by using the first development environment terminal. In a game development project, the development roles included are: program, art, and plan. The program is the programmer who performs code development. The art is responsible for making and testing art resources, and the art is responsible for configuring a data table and testing. Among them, since art and planning do not require compiling code, art and planning can be classified into one type of character. That is, in the embodiment of the present application, a first development role is included, which is a program role, and a second development role. Wherein the second development character can be subdivided into art and plan.
Specifically, the first development environment terminal is a development environment terminal having a different role from the second development environment terminal. Therefore, in this embodiment, the first development environment terminal may be a terminal used by a program character, or may be a terminal used by an art or planning character. That is, the synchronization request may be triggered by a terminal used by an art or planning character, or may be triggered by a terminal used by a program character.
When the roles have synchronous demands on the corresponding development environment terminals, if new development tasks are developed and checked, testing is planned again, and the like, synchronous operation is triggered. In an application scenario, a synchronization button can be set through an interface, and when a synchronization requirement exists, a synchronization request can be sent to a control server by triggering the synchronization button. In another application scenario, some operations preset a synchronization function. The synchronization request will be triggered before the corresponding operation is performed. If so, the synchronization request is triggered when a new test is executed, and the test operation is performed after the data is completed in synchronization.
Wherein the synchronization request carries the project information. Project information is information of a project being developed, and may be a project number.
Step 204, obtaining the content to be synchronized and the content information according to the item information matching; the content and the content information to be synchronized come from the second development environment terminal.
Wherein the second development environment terminal is intended to emphasize that the two are running development environments with different roles, relatively different, with respect to the first development environment terminal. If the first development environment terminal is a terminal used by a program character, the second development environment terminal is a terminal used by an art or planning character. If the first development environment terminal is a terminal used by an art or planning character, the second development environment terminal is a terminal used by a program character. The first development environment terminal runs the first development environment, and the second development environment terminal runs the second development environment.
Specifically, when the first development character completes a certain update, the updated content may be synchronized to the second development environment terminal used by the second development character. The roles correspond to the development environments, and specifically, the first development role may be art or planning, or may be a program. That is, after the second development environment terminal (the art and the plan are in the corresponding development environment, or the program is in the corresponding development environment) completes a certain update, the updated content can be used as the content to be synchronized, and the content to be synchronized, the content information and the item information can be sent to the control server.
When the control server acquires the synchronization request of the first development environment terminal, according to the project information matching, whether the project information has contents to be synchronized or not is inquired. If yes, the synchronous content and the content information are acquired. Wherein the content information includes a content location from which content can be determined to be updated.
Step 206, synchronizing the content to be synchronized and the content information to the first development environment terminal, so that the first development environment terminal replaces the local file under the appointed directory with the content to be synchronized according to the content information; the first development role is used for developing games through the first development environment terminal, and the second development role is used for developing games through the second development environment terminal on the catalogues corresponding to the role types under the same project catalogues.
Specifically, after finding the content and the content information to be synchronized to the first development environment terminal, the control server responds to the synchronization request to synchronize the content and the content information to be synchronized to the first development environment terminal. And the first development environment terminal performs synchronous operation after receiving the content to be developed and the content information. Wherein the content information is associated with an operation directory for pointing to a specific target. Specifically, the first development environment terminal replaces the local file under the designated directory with the content to be synchronized according to the content information.
The first development role is used for developing games through the first development environment terminal, and the second development role is used for developing games through the second development environment terminal on the catalogues corresponding to the role types under the same project catalogues. That is, the two development roles are developed using different development environments, respectively. Wherein, an item has an item catalog, and the operation catalog of each role in the item catalog is different. For example, the operation target corresponding to the program is a work catalog related to the program, the operation catalog corresponding to the plan is a work catalog related to the plan, and the operation catalog corresponding to the art is a work catalog related to the art. And different roles can only develop games on the catalogues corresponding to the corresponding role types through the corresponding development environment terminals. Therefore, the problem that the same files are overlaid due to the operation of different development roles can be avoided. Because the two development environments are isolated, the program engineering is the final package-out engineering, is relatively more standard and formal, and needs to be operated with more caution. Under the process of art and planning engineering, besides the interface catalogs which are responsible for operation and need to be synchronized, various temporary or tested file catalogs which do not need to be synchronized can be created, and the catalogs are not in the catalogs operated by the synchronous tool chain, so that the influence on the other engineering is avoided, the flexibility and the freedom degree are increased, and the influence on the package output is avoided.
It will be appreciated that the file to be updated should be a file under the operational objective of the second development role, indicating that the second development role has modified the file by the second development terminal. Through the synchronization operation, the files under the operation directory of the second development role can be synchronized in the first development environment. If the file to be updated is determined to be the file under the A directory (the operation directory of the second development role) according to the content information, the first development environment terminal replaces the file under the A directory with the file to be synchronized, and the synchronization of the updating of the operation directory of the second development role in the first development environment terminal is achieved.
According to the game development synchronization method, the first development role performs game development on the catalogue corresponding to the role type under the same project catalog through the first development environment terminal, when the synchronization request of the first development environment terminal is acquired, the content and the content information to be synchronized are matched according to the project information, the content and the content information to be synchronized come from the second development environment terminal, the content and the content information to be synchronized are synchronized to the first development environment terminal, and the first development environment terminal updates the local content to achieve synchronization. Because the first development role is through the first development environment terminal, the second development role carries out game development on the catalogue corresponding to the role type under the same project catalog through the second development environment terminal, namely, in the corresponding development environment, the role can only operate the catalogue corresponding to the role, and therefore, each development environment terminal can operate independently through synchronizing the updated content under the other development environment operation catalog to the local, when the updated content of other development environment terminals is needed, the updated content can be loaded to the local through synchronization to continue to operate independently, and the influence of the project progress of other roles is avoided.
In another embodiment, the second development role is a program role, and correspondingly, the second development environment terminal is a terminal used by the program. For convenience of explanation, the second development environment is named as program engineering in this embodiment. Correspondingly, the first development role is art or planning, and the first development environment terminal is a terminal for art or planning, wherein the art and the planning use the same development environment. For convenience of description, the first development environment is named as planning and art engineering in this embodiment.
The method for synchronizing game development further comprises the following steps: acquiring a source code version engine used by a second development environment to construct an installation version development engine; and synchronizing the installation version development engine to the first development environment terminal, wherein the first development environment terminal runs the second development environment by running the installation version development engine.
Specifically, the means for implementing resource synchronization includes an engine construction means, and the control server constructs a binary file from a source code version engine used in the second development environment by running a script of the engine construction means, thereby obtaining an installation version development engine. For example, a source code version UE4 (unrealngine 4) engine is used by the second development environment. And generating a sln file by using a development tool visual studio after generating the uproj engineering file under the source code version to obtain a second development environment. Programmers write code and package games in this context. The programmer builds the UE4 engine of the installation version through the script of the engine building tool, and strips off the source code and the inter media content (a temporary file named inter media) to obtain the installation version development engine. And synchronizing the installation version development engine to the first development environment terminal, and operating the first development environment by operating the installation version development engine. The first development environment is completely the compiling result of the second development environment, so that the code logic of the first development environment and the code logic of the second development environment are completely consistent, and the problem that one resource is inconsistent in two projects is avoided. Thus, the first development environment and the second development environment are essentially two copies of one project.
Specifically, the game development synchronization method further comprises the step of acquiring the content to be synchronized of the second development environment terminal. As shown in fig. 3, the control server provides a synchronization tool chain to realize the synchronization of development resources of the first development environment terminal and the second development environment terminal. The synchronization tool chain comprises the engine construction tool, wherein the engine construction tool is used for constructing a source code version engine used for acquiring the second development environment into an installation version development engine, synchronizing the installation version development engine to a first development environment terminal, and the first development environment terminal operates the first development environment by operating the installation version development engine. That is, the engine build tool may achieve synchronization of both environments.
Further, the synchronization tool chain is also provided with an editor construction tool with which the code and program resources of the program development are synchronized to the art and the plan. Specifically, the method for synchronizing game development further includes a step of acquiring the content to be synchronized of the second development environment terminal, as shown in fig. 4, including the following steps:
step 402, a first synchronous update request of a second development environment terminal is obtained, wherein the first synchronous update request carries content information and updated content; the update content includes game code and program resources.
Specifically, the second development environment is program engineering, and program development works under a program tool directory to perform code development. When the second development environment terminal code tests normally, the corresponding construction and synchronization tasks are triggered through the webpage login automation task platform. Specifically, the second development environment terminal transmits a first synchronization update request to the control server requesting that the completed code and program resources be synchronized as update contents to the first development environment terminal (art and plan).
Step 404, build the editor and game code of the second development environment as an engine editor.
Specifically, the editor construction tool of the synchronization tool chain constructs the game code and the second development environment (program engineering DevProj) into a binary executable file, and obtains the content to be synchronized according to the binary executable file and the program resource.
Specifically, the programmer constructs a UE4 engine editor for use by the first development environment via an editor script, also without any source code content. Specifically, the editor script constructs the editor and game code of the second development environment into a binary executable file resulting in an engine editor for use by the first development environment (art and planning). Both plug-ins and program code of the engine editor are compiled binary files. The art and plan can directly open the constructed UE4 editor by using the development engine of the installation version only by double-clicking to open the engineering script in the first development environment. No source code compilation is required in the first development environment.
And step 406, obtaining the content to be synchronized according to the engine editor and the program resource.
Specifically, the program is responsible for synchronizing the resources in the catalog into the first development environment (art and plan) as well. And obtaining the content to be synchronized according to the engine editor and the program resource.
And utilizing the editor script to control the server to obtain the content to be synchronized and the content information of the second development environment terminal. Wherein the content to be synchronized is an engine editor constructed from an editor of the second development environment and the game code. When a first development environment terminal (art and plan) has a synchronous requirement, sending a synchronous request to a control server, and after the control server acquires the synchronous request, acquiring the content to be synchronized and the content information according to project information matching; and synchronizing the content to be synchronized and the content information to a first development environment terminal, when the first development environment acquires the content to be synchronized, opening an engine editor by using an installation version development engine, and replacing a local file under a specified directory with a program resource according to the content information.
Because both development environments come from the same code, logic can ensure complete consistency, and the problem that one resource does not appear inconsistent in two projects does not occur. If the second development environment (program engineering) has a compiling problem, even if a construction task is performed, construction fails, so that the first development environment (art and planning engineering) can still normally operate under old version logic. The synchronization directory is strictly divided into responsibilities, and the synchronization logic directly copies and covers the second development environment (program engineering) without any influence on the second development environment (program engineering) even if the art mischanges the directory resources that belong to the responsibility of the programmer, and covers back the resource version of the second development environment (program engineering) when the UE4 editor that synchronizes the second development environment (program engineering) is next constructed.
In another embodiment, the second development role is an art or planning role, and the second development environment is an art or planning project in this embodiment, and the second development environment terminal is an art or planning use terminal. In this embodiment, the synchronization of the second development environment terminal art or planned updated resource to the program engineering of the first development environment terminal may be implemented. That is, the game development synchronization method further includes a step of acquiring the content to be synchronized of the second development environment terminal, as shown in fig. 5, including:
step 502, obtaining a second synchronous update request of the second development environment terminal, where the second synchronous update request carries project information, resources under the second development role operation directory, and resource directory information.
The project information is used for determining matched contents to be synchronized for the synchronization request of the second development role.
The second synchronization update request is a request from the second development environment terminal to synchronize its own resources to the first development environment terminal. Specifically, the art and plan also operate only the catalog for which it is responsible in the second development environment (art and plan project), i.e., the second development character operates the target. If the second development role is art, the second development role operation catalog is an art operation catalog. And if the second development role is planning, the second development role operation catalog is a planning operation catalog. In this embodiment, the operation directories of each character are clearly divided according to the responsibility of the character, and only the directories responsible for the character can be operated.
And step 504, operating the resources under the directory according to the second development role to obtain the content to be synchronized.
As shown in FIG. 6, the synchronization tool chain also includes a resource synchronization pipeline. The resource synchronization pipeline is responsible for synchronizing the art and planning development environment's directory resources to the program development environment (program engineering).
For planning and art, only version control tools (svn is used for the project) are needed to update the second development role operation catalog so as to ensure that the engine is consistent with game logic and program engineering. The art makes and tests art resources in an art-related catalog under a second development environment (art and planning project). Planning the configuration data table in the relevant catalog under the second development environment (art and planning engineering) and testing. After the test is completed, submitting svn, art and plan to synchronize respective resources or configurations from the version libraries corresponding to the second development environment to the version libraries of the first development environment (program engineering) through a resource synchronization pipeline of a synchronization tool chain.
And the resource synchronization pipeline operates the resources under the directory according to the second development role to obtain the content to be synchronized.
Step 506, obtaining content information according to the resource catalog information; after the first development environment terminal acquires the content and the content information to be synchronized, the local resource under the designated directory is replaced by the resource under the operation directory of the first development role according to the resource directory information.
The resource synchronization pipeline obtains content information according to the resource catalog information. The resource directory is specifically a directory name including path information. And according to the path information, matching the resource directory names to determine the resource directory.
Specifically, after the first development environment terminal acquires the content and the content information to be synchronized, the local resource under the designated directory is replaced by the resource under the operation directory of the first development role according to the project resource directory information. Specifically, after the first development environment terminal obtains the information to be synchronized, the first development environment terminal matches the resource directory name according to the path information, determines the resource directory, and searches the local resource under the specified directory. And replacing the local resource under the appointed directory with the resource under the operation directory of the second development role. The method and the system realize the updating of the resources (program and planning catalog resources) under the operation catalog of the second development role to the first development environment (program engineering) terminal. Since the art and the plan are only to make contents, only a directory in the contents (contents) needs to be manipulated in the editor. So if Content is replaced with Content directory under the first development environment (programming) then the behavior of the resource after synchronization to the first development environment (programming) can be seen.
In practical application, in order to facilitate planning and art automation task execution, the resource synchronization pipeline may be implemented by using an existing automation task platform, such as Hudson, jenkins. The Red item can provide a script for dynamically switching Content for programs and planning projects for the Red item, so that the fine arts planning is convenient to verify the resource expression under the program projects.
In another embodiment, after the step of obtaining the content information according to the resource catalog information, the method further includes: acquiring a resource type; when the resource comes from the last ring of the corresponding production pipeline of the resource type, the step of synchronizing the content to be synchronized and the content information to the first development environment terminal is executed.
Specifically, it is necessary to balance the granularity problem when synchronizing the resources of the second development environment (art and planning project) to the first development environment (programming project). If the resources of the second development environment (art and planning project) were synchronized entirely to the first development environment (programming project) in a general manner, many others might have synchronized resources that have not yet been completed. If too fine indication of synchronization resources is required, the synchronization operation is made too cumbersome and complicated.
The resource synchronization pipeline needs to be divided by the type of resource and the synchronization logic is executed by the pipeline corresponding to each resource. Specifically, dividing the resources according to the resource types may obtain the resource types including: map, character, audio, special effects, entities, etc. One type of resource is typically a production pipeline. The synchronous operation is given to the operation of the staff making the last ring in the pipeline. That is, only the resources submitted by the staff making the last ring in the pipeline can be updated to other development environments. When the art group completes a map delivery plan through a series of processes, the plan needs to configure data and script logic for the map and perform simple tests. When all is completed, planning as the last ring of the map making pipeline, filling the map id to be synchronized, and submitting a synchronous update request to the control server.
To this end, as shown in fig. 7, the resource synchronization pipeline includes a copy pipeline corresponding to each resource type, such as a map copy pipeline, an entity copy pipeline, an audio copy pipeline, a character copy pipeline, a material copy pipeline, and an entity copy pipeline. It will be appreciated that depending on the resource type, more other resource type copy pipelines may be included.
Each resource copy pipeline executes corresponding judgment logic to judge whether the resource comes from the last ring of the corresponding manufacturing pipeline of the resource type. If yes, synchronizing the content to be synchronized and the content information to the first development environment terminal. For example, the map resource copy pipeline then executes the script to copy the map for the id and all recursively dependent resource files thereof into the first development environment (program engineering).
In another embodiment, the pipelined copying may be performed concurrently with a preset operation on the resource, the preset operation including at least one of a transition check. Where conversion tools such as resource compression, atlases, etc. may be performed. Various inspection tools can be executed, and problematic resources are prevented or corresponding resource submitting personnel are reminded, so that the availability of the resources is further ensured.
In this embodiment, the process of resource synchronous copying also provides opportunities for resource conversion, resource compression and resource erasure, and increases resource availability.
In another embodiment, synchronizing content and content information to be synchronized to a first development environment terminal includes: and submitting the content to be synchronized and the content information to a version controller, and synchronizing the content to be synchronized and the content information to the first development environment terminal through the version controller.
Specifically, the resource completes synchronization of the second development environment programmer and the first development environment (engineering work of art) on the control server, and submits to the version control server. And updating the resources under the operation directory of the second development role by using a version control tool (such as svn), so that the consistency of the engine and the game logic and the program engineering can be ensured.
The method for synchronizing game development solves the problem of cooperative work among development roles. The first development environment and the second development environment are divided according to roles, for example, the first development environment can be program engineering, and the second development environment can be art planning engineering. The two are mutually independent, and the program development works under the program engineering directory. The planning and art work is under the art planning project catalog. The two projects can independently operate without interference, and content changes of the two projects are synchronized through the synchronous tool chain, so that the two projects are balanced in independence, stability and consistency. On one hand, the synchronous tool chain can synchronize the resources and codes, and meanwhile, can also perform resource inspection, so that various art resources are ensured to meet project requirements.
It should be understood that, although the steps in the flowcharts of fig. 2, 4-5 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps of FIGS. 2, 4-5 may include steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
In one embodiment, as shown in fig. 8, an apparatus for game development synchronization is provided, where the apparatus may use a software module or a hardware module, or a combination of both, as a part of a computer device, and specifically includes: a synchronization request module 802, a content acquisition module 804, and a synchronization module 806, wherein:
a synchronization request module 802, configured to obtain a synchronization request of the first development environment terminal, where the synchronization request carries project information;
A content acquisition module 804, configured to obtain content to be synchronized and content information according to item information matching; the content to be synchronized and the content information come from the second development environment terminal;
the synchronization module 806 is configured to synchronize the content to be synchronized and the content information to the first development environment terminal, so that the first development environment terminal replaces the local file under the specified directory with the content to be synchronized according to the content information; the first development role passes through the first development environment terminal, and the second development role carries out game development on the catalogue corresponding to the role type under the same project catalogue through the second development environment terminal.
According to the game development synchronization device, the first development role performs game development on the catalogue corresponding to the role type under the same project catalog through the first development environment terminal, when the synchronization request of the first development environment terminal is acquired, the content and the content information to be synchronized are matched according to the project information, the content and the content information to be synchronized come from the second development environment terminal, and the content information to be synchronized are synchronized to the first development environment terminal, so that the first development environment terminal updates the local content, and synchronization is achieved. Because the first development role is through the first development environment terminal, the second development role carries out game development on the catalogue corresponding to the role type under the same project catalog through the second development environment terminal, namely, in the corresponding development environment, the role can only operate the catalogue corresponding to the role, and therefore, each development environment terminal can operate independently through synchronizing the updated content under the other development environment operation catalog to the local, when the updated content of other development environment terminals is needed, the updated content can be loaded to the local through synchronization to continue to operate independently, and the influence of the project progress of other roles is avoided.
In another embodiment, the second development role is a program role, and the apparatus for game development synchronization further includes:
the development engine construction module is used for acquiring a source code version engine used by the second development environment to construct an installation version development engine;
and the development engine synchronization module is used for synchronizing the installation version development engine to the first development environment terminal, and the first development environment terminal operates the first development environment by operating the installation version development engine.
In another embodiment, the apparatus for game development synchronization further comprises:
the synchronous request acquisition module is used for acquiring a first synchronous update request of the second development environment terminal, wherein the first synchronous update request carries content information and update content; the update content includes game codes and program resources;
an editor construction module for constructing an editor and game code of the second development environment as an engine editor;
the content synchronization module is used for obtaining the content to be synchronized according to the engine editor and the program resource; when the first development environment obtains the content to be synchronized, an engine editor is opened by using an installation version development engine, and the local file under the appointed directory is replaced by the program resource according to the content information.
In another embodiment, the second development role is an art or planning role;
the device for synchronizing game development further comprises:
the synchronous updating module is used for acquiring a second synchronous updating request of the second development environment terminal, wherein the synchronous updating request carries project information, resources under a second development role operation catalog and resource catalog information;
the content module is used for operating the resources under the directory according to the second development role to obtain the content to be synchronized;
the content information module is used for obtaining content information according to the resource catalog information; and after the second development environment terminal acquires the content and the content information to be synchronized, replacing the local resource under the designated directory with the resource under the operation directory of the second development role according to the resource directory information.
In another embodiment, the apparatus for game development synchronization further comprises:
the judging module is used for acquiring the resource type; judging whether the resource comes from the last ring of the manufacturing pipeline corresponding to the resource type;
and the synchronization module is used for synchronizing the content to be synchronized and the content information to the first development environment terminal when the judging result of the judging module is yes.
In another embodiment, the apparatus for game development synchronization further comprises:
The resource operation module is used for carrying out preset operation on the resource, wherein the preset operation comprises conversion and/or inspection.
In another embodiment, the synchronization module is configured to submit the content and the content information to be synchronized to the version controller, and synchronize the content and the content information to be synchronized to the first development environment terminal through the version controller.
Specific limitations regarding the apparatus for game development synchronization may be found in the above limitations regarding the method of game development synchronization, and will not be described in detail herein. The various modules in the game development synchronization device described above may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 9. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing content data to be synchronized. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of game development resource synchronization.
It will be appreciated by persons skilled in the art that the architecture shown in fig. 9 is merely a block diagram of some of the architecture relevant to the present inventive arrangements and is not limiting as to the computer device to which the present inventive arrangements are applicable, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-described method embodiments.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.
Claims (14)
1. A method of game development synchronization, the method comprising:
acquiring a synchronization request of a first development environment terminal, wherein the synchronization request carries project information;
obtaining the content to be synchronized and the content information according to the item information in a matching way; the content to be synchronized and the content information come from a second development environment terminal;
synchronizing the content to be synchronized and the content information to a first development environment terminal through a synchronization tool chain, so that the first development environment terminal replaces a local file under a designated directory with the content to be synchronized according to the content information; the system comprises a first development environment terminal, a second development environment terminal, a first development environment terminal and a second development environment terminal, wherein the first development role carries out game development on a catalog corresponding to a role type under the same project catalog;
If the first development environment terminal is a terminal used by a program role, the second development environment terminal is a terminal used by an art or planning role, and the synchronous tool chain is a resource synchronous pipeline; the resource synchronization pipeline is divided according to resource types, and synchronization logic is executed by the pipeline corresponding to each resource; the resource synchronization pipeline comprises a copy pipeline corresponding to each resource type, each resource copy pipeline executes corresponding judgment logic to judge whether the resource is from the last ring of the manufacturing pipeline corresponding to the resource type, and if yes, the content to be synchronized and the content information are synchronized to the first development environment terminal;
if the first development environment terminal is a terminal used by an art or planning role, the second development environment terminal is a terminal used by a program role; the synchronization tool chain is an engine building tool.
2. The method of claim 1, wherein the second development role is a program role;
the method further comprises the steps of:
acquiring a source code version engine used by a second development environment to construct an installation version development engine;
and synchronizing the installation version development engine to the first development environment terminal, wherein the first development environment terminal runs the first development environment by running the installation version development engine.
3. The method according to claim 2, wherein the method further comprises:
acquiring a first synchronous update request of a second development environment terminal, wherein the first synchronous update request carries content information and updated content; the updated content comprises game codes and program resources;
constructing an editor and game codes of the second development environment as an engine editor;
obtaining the content to be synchronized according to the engine editor and the program resource; when the first development environment obtains the content to be synchronized, the engine editor is opened by using the installation version development engine, and the local file under the appointed directory is replaced by the program resource according to the content information.
4. The method of claim 1, wherein the second development role is an art or planning role;
the method further comprises the steps of: acquiring a second synchronous update request of a second development environment terminal, wherein the second synchronous update request carries project information, resources under a second development role operation catalog and resource catalog information;
according to the resources under the second development role operation directory, obtaining the content to be synchronized;
Obtaining content information according to the resource catalog information; and after the second development environment terminal acquires the content and the content information to be synchronized, replacing the local resource under the designated directory with the resource under the operation directory of the second development role according to the resource directory information.
5. The method according to claim 4, wherein the method further comprises:
and performing preset operation on the resource, wherein the preset operation comprises at least one of conversion and checking.
6. The method of claim 4, wherein synchronizing the content to be synchronized and the content information to the first development environment terminal comprises: and submitting the content to be synchronized and the content information to a version controller, and synchronizing the content to be synchronized and the content information to a first development environment terminal through the version controller.
7. An apparatus for game development synchronization, the apparatus comprising:
the system comprises a synchronization request module, a synchronization request module and a storage module, wherein the synchronization request module is used for acquiring a synchronization request of a first development environment terminal, and the synchronization request carries project information;
the content acquisition module is used for acquiring the content to be synchronized and the content information in a matching way according to the item information; the content to be synchronized and the content information come from a second development environment terminal;
The synchronization module is used for synchronizing the content to be synchronized and the content information to a first development environment terminal through a synchronization tool chain, so that the first development environment terminal replaces a local file under a specified directory with the content to be synchronized according to the content information; the method comprises the steps that a first development role passes through a first development environment terminal, and a second development role carries out game development on a catalog corresponding to a role type under the same project catalog through the second development environment terminal; the first development environment terminal and the second development environment operate development environments with different roles;
if the first development environment terminal is a terminal used by a program role, the second development environment terminal is a terminal used by an art or planning role, and the synchronous tool chain is a resource synchronous pipeline; the resource synchronization pipeline is divided according to resource types, and synchronization logic is executed by the pipeline corresponding to each resource; the resource synchronization pipeline comprises a copy pipeline corresponding to each resource type, each resource copy pipeline executes corresponding judgment logic to judge whether the resource is from the last ring of the manufacturing pipeline corresponding to the resource type, and if yes, the content to be synchronized and the content information are synchronized to the first development environment terminal;
If the first development environment terminal is a terminal used by an art or planning role, the second development environment terminal is a terminal used by a program role; the synchronization tool chain is an engine building tool.
8. The apparatus of claim 7, wherein the second development role is a program role;
the device for synchronizing game development further comprises:
the development engine construction module is used for acquiring a source code version engine used by the second development environment to construct an installation version development engine;
and the development engine synchronization module is used for synchronizing the installation version development engine to the first development environment terminal, and the first development environment terminal runs the first development environment by running the installation version development engine.
9. The apparatus of claim 8, wherein the means for game development synchronization further comprises:
the system comprises a synchronous request acquisition module, a first development environment terminal and a second development environment terminal, wherein the synchronous request acquisition module is used for acquiring a first synchronous update request of the second development environment terminal, and the first synchronous update request carries content information and update content; the updated content comprises game codes and program resources;
an editor construction module for constructing an editor and game code of the second development environment as an engine editor;
The content synchronization module is used for obtaining the content to be synchronized according to the engine editor and the program resource; when the first development environment obtains the content to be synchronized, the engine editor is opened by using the installation version development engine, and the local file under the appointed directory is replaced by the program resource according to the content information.
10. The apparatus of claim 7, wherein the second development role is an art or planning role;
the device for synchronizing game development further comprises:
the synchronous updating module is used for acquiring a second synchronous updating request of the second development environment terminal, wherein the second synchronous updating request carries project information, resources under a second development role operation catalog and resource catalog information;
the content module is used for operating the resources under the directory according to the second development role to obtain the content to be synchronized;
the content information module is used for obtaining content information according to the resource catalog information; and after the second development environment terminal acquires the content and the content information to be synchronized, replacing the local resource under the designated directory with the resource under the operation directory of the second development role according to the resource directory information.
11. The apparatus of claim 10, wherein the means for game development synchronization further comprises:
and the resource operation module is used for carrying out preset operation on the resource, wherein the preset operation comprises at least one of conversion and inspection.
12. The apparatus of claim 10, wherein the synchronization module is configured to submit the content and content information to be synchronized to a version controller, and to synchronize the content and content information to be synchronized to a first development environment terminal via the version controller.
13. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
14. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110043583.6A CN112711403B (en) | 2021-01-13 | 2021-01-13 | Method, device, computer equipment and storage medium for synchronizing game development |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110043583.6A CN112711403B (en) | 2021-01-13 | 2021-01-13 | Method, device, computer equipment and storage medium for synchronizing game development |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112711403A CN112711403A (en) | 2021-04-27 |
CN112711403B true CN112711403B (en) | 2023-10-27 |
Family
ID=75548930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110043583.6A Active CN112711403B (en) | 2021-01-13 | 2021-01-13 | Method, device, computer equipment and storage medium for synchronizing game development |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112711403B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113342402B (en) * | 2021-08-05 | 2021-11-12 | 北京蔚领时代科技有限公司 | Multi-player cooperative game editing method, system and device |
CN113568758B (en) * | 2021-09-23 | 2022-02-15 | 深圳市信润富联数字科技有限公司 | GPU resource pooling method, system, device and computer readable storage medium |
CN114201207B (en) * | 2021-11-22 | 2024-08-20 | 北京达佳互联信息技术有限公司 | Resource synchronization method and device, electronic equipment and storage medium |
CN117504304B (en) * | 2023-12-13 | 2024-05-28 | 广州库洛数界科技有限公司 | Method, system and storage medium for synchronizing game development |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294112A (en) * | 2015-06-03 | 2017-01-04 | 北京矩道优达网络科技有限公司 | Real time multi-human computer program based on the Internet exploitation debugging System and method for |
CN107479881A (en) * | 2017-07-31 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | Synchronous method, storage medium, electronic equipment and the system of variance codes |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8683430B2 (en) * | 2011-01-07 | 2014-03-25 | International Business Machines Corporation | Synchronizing development code and deployed executable versioning within distributed systems |
-
2021
- 2021-01-13 CN CN202110043583.6A patent/CN112711403B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294112A (en) * | 2015-06-03 | 2017-01-04 | 北京矩道优达网络科技有限公司 | Real time multi-human computer program based on the Internet exploitation debugging System and method for |
CN107479881A (en) * | 2017-07-31 | 2017-12-15 | 武汉斗鱼网络科技有限公司 | Synchronous method, storage medium, electronic equipment and the system of variance codes |
Non-Patent Citations (3)
Title |
---|
K. Zeilenga ; OpenLDAP Foundation ; J.H. Choi ; IBM Corporation ; .The Lightweight Directory Access Protocol (LDAP) Content Synchronization Operation.IETF rfc4533.2006,全文. * |
一种新的Ad Hoc节点信息栈信道接入协议(NISCAP);王鸿鹏;戴博;杨孝宗;计算机工程与设计;-(24);全文 * |
面向移动终端的网络化游戏设计与实现;梁静;;科技信息(13);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112711403A (en) | 2021-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112711403B (en) | Method, device, computer equipment and storage medium for synchronizing game development | |
US10095499B2 (en) | Optimization for multi-project package manager | |
US10740093B2 (en) | Advanced packaging techniques for improving work flows | |
US8683430B2 (en) | Synchronizing development code and deployed executable versioning within distributed systems | |
US8005788B2 (en) | System and method for legacy system component incremental migration | |
US20230244465A1 (en) | Systems and methods for automated retrofitting of customized code objects | |
US10055200B1 (en) | Creation and use of development packages | |
CN102292736A (en) | Collaborative environment project extensibility with composition containers | |
JP6673359B2 (en) | System construction support system, method and program | |
US11379188B2 (en) | Plugin-oriented functional programming system configured with software components | |
CN111966665B (en) | Data migration testing method and device | |
US12026082B2 (en) | Infrastructure quality assurance framework | |
US11397569B2 (en) | Deploying micro frontends to different clusters from a single repository | |
CN112631600A (en) | Software construction method and system based on Flutter | |
CN113986741A (en) | Component debugging method and device and computer equipment | |
CN111831567A (en) | Application test environment configuration method, device, system and medium | |
Andrews et al. | Enabling ad-hoc changes to object-aware processes | |
US9396239B2 (en) | Compiling method, storage medium and compiling apparatus | |
CN113032004B (en) | Method, apparatus and program product for managing development jobs in a development environment | |
Pastrana-Pardo et al. | Approach to the Best Practices in Software Development Based on DevOps and SCRUM Used in Very Small Entities | |
CN117312270A (en) | Change management method for automatic construction and deployment of database | |
CN109766125B (en) | Identification method and device for leveling conflict among batches | |
CN114116664B (en) | Database table-building sentence processing method, device, computer equipment and storage medium | |
Kano | Kachako: A Hybrid-Cloud Unstructured Information Platform for Full Automation of Service Composition, Scalable Deployment and Evaluation: Natural Language Processing as an Example | |
CN114201207A (en) | Resource synchronization method and device, electronic equipment 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 |