CN113434197A - Resource publishing method and device, computer equipment and computer readable storage medium - Google Patents
Resource publishing method and device, computer equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN113434197A CN113434197A CN202110744059.1A CN202110744059A CN113434197A CN 113434197 A CN113434197 A CN 113434197A CN 202110744059 A CN202110744059 A CN 202110744059A CN 113434197 A CN113434197 A CN 113434197A
- Authority
- CN
- China
- Prior art keywords
- game
- resource
- server
- package
- logic
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000003860 storage Methods 0.000 title claims abstract description 10
- 230000004044 response Effects 0.000 claims abstract description 28
- 238000004806 packaging method and process Methods 0.000 claims abstract description 18
- 238000012360 testing method Methods 0.000 claims description 41
- 239000000463 material Substances 0.000 claims description 15
- 230000001960 triggered effect Effects 0.000 claims description 14
- 230000002159 abnormal effect Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 8
- 238000009877 rendering Methods 0.000 claims description 5
- 230000002194 synthesizing effect Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 28
- 238000012423 maintenance Methods 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 238000011161 development Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 230000000903 blocking effect Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000009826 distribution Methods 0.000 description 3
- 238000012550 audit Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/76—Adapting program code to run in a different environment; Porting
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/77—Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a resource publishing method, a resource publishing device, computer equipment and a computer readable storage medium, which relate to the technical field of computers, so that a game developer does not need to consider a multi-terminal concept in the process of making a game, and can automatically publish resources only by providing resources related to game contents, thereby reducing the workload, improving the efficiency of resource publishing and reducing the operation and maintenance cost. The method comprises the following steps: in response to a resource issuing request, determining a created folder and a selected resource template, wherein the created folder comprises a first game resource of a game to be made; acquiring a second game resource input into the selected resource template, and editing the first game resource and the second game resource according to the selected resource template to obtain a scene file; constructing game logic based on the object editor and the logic editor to obtain a logic file; and packaging the scene file and the logic file to obtain a game resource package of the game to be made, and issuing the game resource package.
Description
Technical Field
The present application relates to the field of application computer technologies, and in particular, to a resource publishing method, apparatus, computer device, and computer-readable storage medium.
Background
In recent years, the technology of computers is rapidly developed, online games, click games and the like provided by intelligent terminals become an indispensable part of life of people, and people can relax the environment while learning or working. At present, when a game is released, a game developer needs to upload and release a game resource package to a game platform, so that a player can download the whole game resource package through the game platform and enter the game after installing the game resource package.
In the related art, a game developer needs to use an editor to produce resources in a game and determine a game platform to be released. And compiling the manufactured resources according to the program codes corresponding to the game platforms to form game resource packages, and uploading the game resource packages to each game platform, thereby realizing the release of the game resources.
In carrying out the present application, the applicant has found that the related art has at least the following problems:
the resource packages of the game are usually large in size, game developers need to publish the resource packages on a plurality of game platforms and then need to make a plurality of resource packages according to the requirements of the corresponding game platforms, so that the resource publishing process involves a large amount of repeated work, the resource publishing efficiency is not high, and the operation and maintenance cost is increased.
Disclosure of Invention
In view of this, the present application provides a resource publishing method, device, computer device, and computer readable storage medium, and mainly aims to solve the problems that a large amount of repeated work is involved in the current resource publishing process, the resource publishing efficiency is not high, and the operation and maintenance cost is increased.
According to a first aspect of the present application, there is provided a resource publishing method, including:
in response to a resource issuing request, determining a created folder and a selected resource template, wherein the created folder comprises a first game resource of a game to be made;
acquiring a second game resource input into the selected resource template, and editing the first game resource and the second game resource according to the selected resource template to obtain a scene file;
constructing game logic based on the object editor and the logic editor to obtain a logic file;
and packaging the scene file and the logic file to obtain a game resource package of the game to be made, and issuing the game resource package.
Optionally, the obtaining a second game resource input to the selected resource template, and editing the first game resource and the second game resource according to the selected resource template to obtain a scene file includes:
loading the first game resource included in the created folder, and loading the second game resource input into the selected resource template;
synthesizing the first game resource and the second game resource according to the selected resource template to obtain a secondary game material;
and editing and rendering the secondary game material by adopting an editor to obtain the scene file, wherein the editor is one or more than one of a scene editor, an interface editor and a resource editor.
Optionally, after the game logic is built based on the object editor and the logic file is obtained, the method further includes:
generating a script file of the logic file, and testing the script file;
when the script file passes the test, continuously packaging and packaging the scene file and the logic file to obtain the game resource package and issuing the game resource package;
and when the script file fails to pass the test, determining abnormal game logic which fails to pass the test in the logic file, generating a test failure prompt carrying the abnormal game logic, and displaying the test failure prompt.
Optionally, the publishing the game resource package includes:
storing the game resource package into a cache space of a resource server;
a target game item is established on a game server, and the game resource package is deployed under the target game item on the game server.
Optionally, the method further comprises:
reading version information of the game resource package deployed under the target game item every other preset period;
when the read version information is inconsistent with the latest version information, continuously detecting the number of players in a game scene constructed by the game resource package;
and when the number of the players is 0, loading the latest resource package corresponding to the latest version information in the cache space, and deploying the latest resource package under the target game item on the game server.
Optionally, the method further comprises:
in response to a game login request of a player, determining that the game login request indicates a logged-in first game;
inquiring whether a first game resource package of the first game is deployed on a game server;
when the query determines that the first game resource package is not deployed on the game server, reading the first game resource package of the first game in a cache space of a resource server, creating a first game item on the game server, deploying the first game resource package under the first game item on the game server, and running the first game resource package based on the game server;
when the first game resource package is deployed on the game server, the first game resource package is operated based on the game server, and a virtual area is created for the player in the operated first game resource package according to the indication of the game login request.
Optionally, the method further comprises:
in response to a game search request by a player, determining that the game search request indicates a searched second game;
when the game state of the second game indicates that the second game is not downloaded, showing a download entry, downloading a second game resource package of the second game in a cache space of a resource server when the download entry is triggered, creating a second game item on the game server, deploying the second game resource package under the second game item on the game server, and running the second game resource package based on the game server;
when the game state of the second game indicates that the second game is downloaded and the version information is the latest version information, displaying a game entry, and running the second game resource package based on the game server when the game entry is triggered;
when the game state of the second game indicates that the second game is downloaded and the version information is inconsistent with the latest version information, downloading a resource update package of the second game in a cache space of the resource server, integrating the resource update package with the resource package of the second game indicated by the version information to obtain a new game resource package, deploying the new game resource package under the second game item on the game server, and running the new game resource package based on the game server.
Optionally, running a game resource package based on the game server includes:
initializing a game engine, and establishing data connection with the game server;
acquiring a game module identifier of a currently running game resource package, entering a game module indicated by the game module identifier, and starting an interface manager and a script manager;
sending a region entry request to the game server based on the script manager;
and receiving the area identification fed back by the game server, entering a target area indicated by the area identification, and executing the game logic of the currently running game resource packet.
Optionally, running a game resource package based on the game server includes:
initializing a game engine, and establishing data connection with the game server;
acquiring a game module identifier of a currently running game resource package, entering a game module indicated by the game module identifier, and starting an interface manager and a script manager;
sending a region entry request to the game server based on the script manager;
and receiving the area identification fed back by the game server, entering a target area indicated by the area identification, and executing the game logic of the currently running game resource packet.
According to a second aspect of the present application, there is provided a resource issuing apparatus, including:
the first determining module is used for responding to a resource issuing request, determining a created folder and a selected resource template, wherein the created folder comprises first game resources of a game to be made;
the editing module is used for acquiring a second game resource input into the selected resource template, and editing the first game resource and the second game resource according to the selected resource template to obtain a scene file;
the building module is used for building game logic based on the object editor and the logic editor to obtain a logic file;
and the issuing module is used for packaging and packaging the scene file and the logic file to obtain a game resource package of the game to be made and issuing the game resource package.
Optionally, the editing module is configured to load the first game resource included in the created folder, and load the second game resource input to the selected resource template; synthesizing the first game resource and the second game resource according to the selected resource template to obtain a secondary game material; and editing and rendering the secondary game material by adopting an editor to obtain the scene file, wherein the editor is one or more than one of a scene editor, an interface editor and a resource editor.
Optionally, the apparatus further comprises:
the test module is used for generating a script file of the logic file and testing the script file;
the issuing module is further configured to continue to package and pack the scene file and the logic file when the script file passes the test, obtain the game resource package, and issue the game resource package;
and the display module is used for determining the abnormal game logic failing the test in the logic file when the script file fails the test, generating a test failure prompt carrying the abnormal game logic, and displaying the test failure prompt.
Optionally, the publishing module is configured to store the game resource package in a cache space of a resource server; a target game item is established on a game server, and the game resource package is deployed under the target game item on the game server.
Optionally, the release module is further configured to read version information of the game resource package deployed in the target game item every preset period; when the read version information is inconsistent with the latest version information, continuously detecting the number of players in a game scene constructed by the game resource package; and when the number of the players is 0, loading the latest resource package corresponding to the latest version information in the cache space, and deploying the latest resource package under the target game item on the game server.
Optionally, the apparatus further comprises:
the second determination module is used for responding to a game login request of a player and determining the first game which is logged in by the game login request;
the query module is used for querying whether a first game resource pack of the first game is deployed on a game server;
the running module is used for reading the first game resource package of the first game in a cache space of a resource server when the first game resource package is not deployed on the game server according to inquiry, creating a first game item on the game server, deploying the first game resource package under the first game item on the game server, and running the first game resource package based on the game server;
the running module is further configured to run the first game resource package based on the game server when it is determined that the first game resource package is deployed on the game server, and create a virtual area for the player in the first game resource package after running according to the indication of the game login request.
Optionally, the apparatus further comprises:
a third determining module, configured to determine, in response to a game search request of a player, a second game for which the game search request indicates a search;
a running module, configured to display a download entry when the game state of the second game indicates that the second game is not downloaded, and when the download entry is triggered, download a second game resource package of the second game in a cache space of a resource server, create a second game item on the game server, deploy the second game resource package under the second game item on the game server, and run the second game resource package based on the game server;
the running module is further configured to show a game entry when the game state of the second game indicates that the second game is downloaded and the version information is the latest version information, and run the second game resource package based on the game server when the game entry is triggered;
the running module is further configured to, when the game state indication of the second game is downloaded and the version information is inconsistent with the latest version information, download a resource update package of the second game in a cache space of the resource server, integrate the resource update package with the resource package of the second game indicated by the version information to obtain a new game resource package, deploy the new game resource package under the second game item on the game server, and run the new game resource package based on the game server.
Optionally, the running module is configured to initialize a game engine, and establish a data connection with the game server; acquiring a game module identifier of a currently running game resource package, entering a game module indicated by the game module identifier, and starting an interface manager and a script manager; sending a region entry request to the game server based on the script manager; and receiving the area identification fed back by the game server, entering a target area indicated by the area identification, and executing the game logic of the currently running game resource packet.
Optionally, the running module is further configured to transmit, in response to a quit request of a player, the quit request to the game server; when the quitting request indicates that the currently running game resource pack is quitted, receiving a quitting success response fed back by the game server, and cancelling a game interface; and when the quitting request indicates to quit the client side provided by the resource issuing platform, receiving a quitting success response fed back by the game server, canceling the game interface, saving the current game resource package list, disconnecting the data connection with the game server, and quitting the game engine.
According to a third aspect of the present application, there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any of the first aspects when the computer program is executed.
According to a fourth aspect of the present application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any of the first aspects described above.
By means of the technical scheme, the resource publishing method, the resource publishing device, the computer equipment and the computer readable storage medium provided by the application respond to the resource publishing request, determine the created folder and the selected resource template of the first game resource of the game to be made, acquire the second game resource input to the selected resource template, edit the first game resource and the second game resource according to the selected resource template to obtain a scene file, and construct a game logic based on the object editor and the logic editor to obtain a logic file. Finally, the scene files and the logic files are packaged to obtain a game resource package of the game to be made, and the game resource package is released, so that a game developer does not need to consider a multi-terminal concept in the process of making the game, and can automatically release the resources by only providing the game resources related to the game content, thereby reducing the workload of developers, improving the efficiency of releasing the resources and reducing the operation and maintenance cost.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a schematic flowchart of a resource publishing method provided in an embodiment of the present application;
fig. 2A shows a schematic flowchart of a resource publishing method provided in an embodiment of the present application;
FIG. 2B is a diagram illustrating an editor framework provided by an embodiment of the present application;
fig. 2C shows a schematic flowchart of a resource publishing method provided in an embodiment of the present application;
fig. 2D shows a schematic flowchart of a resource publishing method provided in the embodiment of the present application;
fig. 2E shows a schematic flowchart of a resource publishing method provided in the embodiment of the present application;
fig. 2F shows a schematic flowchart of a resource publishing method provided in an embodiment of the present application;
fig. 2G shows a schematic flowchart of a resource publishing method provided in an embodiment of the present application;
fig. 2H shows a schematic flowchart of a resource publishing method provided in an embodiment of the present application;
fig. 3A illustrates a schematic structural diagram of a resource publishing device according to an embodiment of the present application;
fig. 3B shows a schematic structural diagram of a resource publishing device according to an embodiment of the present application;
fig. 3C shows a schematic structural diagram of a resource publishing device according to an embodiment of the present application;
fig. 3D shows a schematic structural diagram of a resource publishing device according to an embodiment of the present application;
fig. 4 shows a schematic device structure diagram of a computer apparatus according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present application provides a resource issuing method, as shown in fig. 1, the method includes:
101. in response to the resource issuance request, a created folder and a selected resource template are determined, the created folder including a first game resource of the game to be played.
102. And acquiring a second game resource input into the selected resource template, and editing the first game resource and the second game resource according to the selected resource template to obtain a scene file.
103. And constructing game logic based on the object editor and the logic editor to obtain a logic file.
104. And packaging the scene file and the logic file to obtain a game resource package of the game to be made, and issuing the game resource package.
The method provided by the embodiment of the application responds to the resource release request, the created folder and the selected resource template of the first game resource including the game to be made are determined, the second game resource input to the selected resource template is obtained, the first game resource and the second game resource are edited according to the selected resource template, the scene file is obtained, the game logic is built based on the object editor and the logic editor, and the logic file is obtained. Finally, the scene files and the logic files are packaged to obtain a game resource package of the game to be made, and the game resource package is released, so that a game developer does not need to consider a multi-terminal concept in the process of making the game, and can automatically release the resources by only providing the game resources related to the game content, thereby reducing the workload of developers, improving the efficiency of releasing the resources and reducing the operation and maintenance cost.
An embodiment of the present application provides a resource issuing method, as shown in fig. 2A, the method includes:
201. in response to a resource publishing request, the created folder and the selected resource template are determined.
In the existing game development and game resource distribution process, whether a business engine or a self-research engine is used, an art and planning person needs to use an editor to produce resources used in a game, a programmer compiles the resources to obtain executable programs capable of being distributed to each platform, and then the resources of the whole game are packaged and distributed to each application store. For example, when a game is distributed in an application store such as a Steam (game or software platform) platform or a google play (online application store), a developer needs to upload an entire game package distributed on a corresponding platform, and a user downloads the entire game package from the platform using a device and uses the game package after installation. Furthermore, each game corresponds to a server, and if the game is updated, the game resources need to be compiled again to generate a new executable program. Moreover, when a game is updated, a server corresponding to the game needs to stop the server process, re-download an executable program, update a table file, a script file, and the like, which are logically dependent on the server.
However, the applicant has recognized that there are several drawbacks in the above-described overall resource distribution and operation and maintenance process. Firstly, the game resource package is large in size, the resources need to be repeatedly packaged and uploaded, a plurality of platforms need to release games, a plurality of resources need to be packaged, and particularly for some platforms with channel concepts, each channel of the platforms needs to upload a specific channel package. Therefore, the program developer needs to compile corresponding program code for each platform of each game, and there is a lot of repetitive work. Secondly, the flow of resource development and release is complex. The development of a complete game needs the close and orderly cooperation of personnel such as art, planning and program, on one hand, the error probability is increased, on the other hand, the game development time is increased, the cost is increased, and the online game needs a large amount of server deployment and logic debugging and needs to consume a large amount of debugging time of a server developer and a client developer. Furthermore, when the logic of the game is updated, the server needs to recompile the execution file, so that the actual game update is mostly stopped, which affects the experience of the user and increases the operation and maintenance cost.
In summary, the present application provides a resource publishing method, which, in response to a resource publishing request, determines a created folder and a selected resource template that include a first game resource of a game to be made, acquires a second game resource input to the selected resource template, edits the first game resource and the second game resource according to the selected resource template to obtain a scene file, and constructs a game logic based on an object editor and a logic editor to obtain a logic file. Finally, the scene files and the logic files are packaged to obtain a game resource package of the game to be made, and the game resource package is released, so that a game developer does not need to consider a multi-terminal concept in the process of making the game, and can automatically release the resources by only providing the game resources related to the game content, thereby reducing the workload of developers, improving the efficiency of releasing the resources and reducing the operation and maintenance cost.
In order to implement the technical scheme of the application, the embodiment of the application provides a resource publishing platform. The resource publishing platform exists as a group of application programs, wherein the application programs comprise an editor, a Windows (operating system), an IOS (operating system) and an Android (operating system) client, each client only exists as an empty game frame and does not comprise specific game content, and the game content published by a developer through the editor at the later stage can be uploaded to the resource publishing platform as an additional package, so that a user can select the specific game content on the resource publishing platform to download to the corresponding client for playing. Specifically, after the user can register and log in the resource publishing platform, the editor is opened for game production. The editor is used as a core tool of a resource release platform, the design target of the editor is a full-function integrated editor required by the whole workflow from design, development, preview and debugging to release, the target supports the release of games to IOS, Android and PC (Personal Computer) client platforms, and one-time development and full-platform operation are really realized. Referring to the editor frame diagram shown in fig. 2B, a 2D Engine Core (2D Engine Core) packaged at a client is used to receive a resource release request of a developer, and then an animation special effect editor, a terrain editor, a scenario editor, a scene editor, a logic editor, a UI (User Interface) editor, and the like are called to complete the production of a game scenario, a UI, and game logic.
In the embodiment of the application, the editor integrates all tools, provides a design-oriented automation workflow, and realizes that the game can be released without programming at all. The editor actually provides the developer with preset resource templates such as game templates, modules and the like, so that the learning cost of the developer is reduced, and the developer can directly use the resource templates. In order to distinguish games developed by different developers, in response to a resource publishing request of a developer, an editor of a resource publishing platform determines a created folder and a selected resource template created by the developer when issuing the resource publishing request, so that the games are developed on the basis of the created folder. The created folder comprises first game resources of a game to be made, the first game resources can be online resources provided by a resource publishing platform, and can also be locally imported by a developer, such as resources of pictures, sounds, videos and the like, the resource publishing platform is copied to the created folder after being loaded to the first game resources based on an editor, and in addition, the developer can also create two types of resources, such as animations and particles and the like, by using the online resources provided by the resource publishing platform in the editor of the resource publishing platform.
202. And acquiring a second game resource input into the selected resource template, and editing the first game resource and the second game resource according to the selected resource template to obtain a scene file.
In the embodiment of the application, after the created folder and the selected resource template of the first game resource including the game to be made are determined, some basic resources already exist in the project related to the game to be made, the resource publishing platform obtains the second game resource input to the selected resource template based on the editor, and edits the first game resource and the second game resource according to the selected resource template to obtain the scene file, so that the scene content and the UI in the game to be made are constructed.
When the scene file is generated, the resource publishing platform loads the first game resource included in the created folder based on the editor, and loads the second game resource input into the selected resource template. And then, synthesizing the first game resource and the second game resource according to the selected resource template to obtain a secondary game material, and editing and rendering the secondary game material by adopting an editor to obtain a scene file. The editor used in generating the scene file may be one or more of a scene editor, an interface editor, and a resource editor. The secondary game material may be animation, special effect, etc. in the game created by the developer based on the editor, for example, the animation, special effect, etc. as the skill of the game character or the scene background all belong to the secondary game material.
The scene is the most basic organization of the game content, and is also the basic form of presenting the game to the player. Therefore, the resource publishing platform is also provided with a terrain tool, a monster tool and the like, a developer can select the terrain tool, drag in a static picture, complete a scene by using a block diagram or a monster tool and the like, edit a game interface through an interface editor, and realize a UI function through a logic editor according to the button response of the subsequent game interface.
203. And constructing game logic based on the object editor and the logic editor to obtain a logic file.
In the embodiment of the application, after the scene file is created, since game logics such as game tasks, story lines and the like exist in a game, the game logics need to be constructed based on the object editor and the logic editor to obtain the logic file, so that the game content is more complete.
Specifically, a developer can configure object data by using various global containers configured in the resource publishing platform and object editors such as a random pool and a formula editor, implement specific game logic by using logic editors in a splicing manner, implement operation and interaction of the game logic, and drive a main loop script of the whole game logic and control of a player character.
It should be noted that, in order to ensure that the game to be made can normally run after being released, after the scene file and the logic file are generated, the resource release platform will perform a test on the logic file, and automatically perform logic script generation, resource packaging, data generation, and the like by using an editor, so as to perform a game test on the Windows platform. Specifically, the resource publishing platform generates a script file of the logic file, and tests the script file. And when the script file passes the test, continuously packaging the scene file and the logic file to obtain a game resource package and releasing the game resource package. And when the script file fails to pass the test, determining the abnormal game logic which fails to pass the test in the logic file, generating a test failure prompt carrying the abnormal game logic, and displaying the test failure prompt so that a developer can modify the logic file based on the test failure prompt. In the process of practical application, the resource publishing platform provides a preview function for the scene file, and a developer can click the preview at any time to check the operation effect of the current scene.
204. And packaging the scene file and the logic file to obtain a game resource package of the game to be made, and issuing the game resource package.
In the embodiment of the application, after the scene file and the logic file are generated, the resource publishing platform packages and packs the scene file and the logic file to obtain the game resource package of the game to be made and publishes the game resource package. The packaging and publishing process can be executed by an editor in the resource publishing platform, and the editor can automatically perform multi-platform resource incremental packaging and uploading and directly publish the resources.
When the game resource package is released, the game resource package can be stored in a cache space of the resource server, a target game item is established on the game server, and the game resource package is deployed under the target game item on the game server.
It should be noted that, no matter in the test process mentioned in step 203 or the release process mentioned in step 204, the resource release platform needs to convert and compress the resource data and provide the resource data to the client and the server for use, that is, the resource data related to the game to be made is derived, and the derived data includes:
1. and (5) raw material. The original materials refer to materials such as pictures, audio and video in the scene file, and format conversion is required according to the format of platform indication to be issued by the game to be made;
2. scene data. The scene data refers to a scene file, or sometimes a UI or an animation special effect or the like may form an independent UI file, animation special effect file or the like, and the UI file, the animation special effect file or the like also belong to the scene data. The scene data is converted into binary data according to the requirement so as to be used in operations such as loading of a client map, role creation and the like in the following;
3. template data: the template data refers to data such as roles, backpacks, props, skills and the like configured by a developer, and the template data is exported to a server so as to be used for operations such as creation of logic data such as roles and the like;
4. blocking data: the blocking data refers to blocking information set on a map by a developer. Blocking data will export a binary file for use by the server and client;
5. script files: the script file refers to a script of a logic file generated by a developer by using building blocks to splice in a logic editor, and can be automatically exported to be a server script to be issued;
6. other configuration data: other configuration data refers to other configuration files required by game operation, and other configuration data can be released along with the release of the game.
In the process of practical application, the export data described above are finally respectively packaged and uploaded to other third-party platforms for further auditing, and server deployment, game shelving and the like are respectively performed after the auditing is passed.
In summary, the workflow of the editor in the resource publishing platform is shown in fig. 2C: firstly, an editor processes a first game resource and a second game resource such as pictures, audios and videos provided by a developer to obtain a secondary game material. Subsequently, a scene file and a logic file are generated based on a scene editor, a UI editor, a logic editor, an object editor, a scenario editor, a task editor, and the like. And finally, packaging the scene file and the logic file, generating a script file for testing, and issuing the script file after the test is passed.
In addition, the server of the resource publishing platform is started without loading any resources of the game server. When the server detects that a player requests to log in to the game server and requests to create a room corresponding to the game server, the server determines the first game that the game login request indicates to log in, i.e., determines in which game the player wants to log in. The server may then query the game server for a first game resource package for the first game. When the query confirms that the first game resource package is not deployed on the game server, the first game resource package of the first game is read in the cache space of the resource server, a first game item is created on the game server, the first game resource package is deployed under the first game item on the game server, the first game resource package is operated on the basis of the game server, decompression and deployment of the first game resource package are achieved, game logic of the first game is loaded, and virtual areas such as rooms and gardens are created for players. And when the first game resource package is determined to be deployed on the game server, based on the game server running the first game resource package, according to the indication of the game login request, creating a virtual area for the player in the running first game resource package.
Further, the server of the resource issuing platform may periodically detect the version of the existing game resource, that is, the server reads version information of the game resource package deployed in the target game item every preset period. When the read version information is inconsistent with the latest version information, the number of players in a game scene constructed by the game resource package is continuously detected, when the number of the players is 0, the latest resource package corresponding to the latest version information is loaded in the cache space, and the latest resource package is deployed under the target game item on the game server. And when the read version information is consistent with the latest version information, the current working state is maintained.
In summary, the whole process of issuing the game resource package is as follows:
referring to fig. 2D, the game asset pack is uploaded to the server to await review by the platform. And when the audit is not passed, informing the developer to modify the game resource package. And when the audit is passed, adding the game resource package into the resource version list, and storing the game resource package in the cache space. Further, when a player logs in the game based on a client request, the server starts a server process, and checks whether the version of the game resource package which is already running is the latest version according to the record in the resource version list. If the game is not the latest version, the game resource package of the latest version is loaded in the cache space, and the game resource package is updated when the player quits the game. If the version is the latest version, the running state of the game is kept. It should be noted that, if the game resource package is not downloaded on the device used when the player requests to log in the game, the player needs to request the cache space for the game resource package, download the game resource package on the device, and then notify the player to enter the game based on the client.
The process of producing and releasing the game to be produced is completed through the process from the step 201 to the step 204, and the specific process is summarized as follows:
referring to fig. 2E, the resource publishing platform receives the game resource provided by the developer based on the editor, generates a scene file and a logic file for testing, and packages the scene file and the logic file to generate a game resource package and uploads the game resource package to the server of the resource publishing platform after the test is passed. The server stores, lists and deploys the game resource packages, and provides downloading and running entries of games in the client facing the players. When the server detects that the player requests to run the game resource package based on the client, the game resource package is downloaded, the game resources in the game resource package are uploaded on the device of the player, the game is entered, and operations are continuously executed on the game interface, rooms are created, team matching is performed and the like according to the instructions of the player.
In the embodiment of the application, in fact, the resource publishing platform is also provided with a client for the player, and the client provides a plurality of different modules, so that the player can manage personal information and games based on the functions of the different modules and can interact with other players registered in the resource publishing platform. Specifically, the client provided by the resource publishing platform comprises a discovery module, a game frame module, a personal center module, a home page module and a community module. The discovery module is mainly used for displaying online games in the resource publishing platform and providing game searching functions for players, the players can enter a game detail page from games recommended in the discovery page provided by the discovery module to know the games and download the games, and the players can search interesting games to enter the game detail page to know the games and download the games; the game frame module is mainly used for managing various games on the resource issuing platform which are downloaded and downloaded by the player, and if the games are downloaded, the games can be started from the game frame module; the personal center module is mainly used for managing personal data of players and providing a community registration login entry and a setting entry of client-side related functions of the resource publishing platform; the home page module mainly displays various topics and comments about games online in the resource publishing platform; the community module is used for providing social functions of players in the platform community related to the resource publishing platform, wherein the social functions comprise friends, messages and the like. As shown in FIG. 2F, the process of a player searching for and entering a game includes:
205. in response to a game search request by a player, it is determined that the game search request indicates a searched second game. When the game status of the second game indicates not downloaded, the following step 206 is performed; when the game state of the second game indicates that the version information is downloaded and the version information is the latest version information, execute step 207; when the game state of the second game indicates that it has been downloaded and the version information is not consistent with the latest version information, step 208 described below is performed.
In an embodiment of the application, the player can input the name of the game to be searched on a discovery page provided by the discovery module. In this way, when the player confirms the information input on the discovery page, in response to the game search request of the player, the resource issuing platform determines the second game for which the game search request indicates search, and checks whether the second game has been downloaded in the client. When the game state of the second game indicates that the second game is not downloaded, the player needs to be assisted to download the second game and enter the second game after the download is successful, that is, the following step 206 is executed; when the game state of the second game indicates that the second game is downloaded and the version information is the latest version information, the second game can be directly entered, that is, the following step 207 is executed; when the game state of the second game indicates that the second game is downloaded and the version information is inconsistent with the latest version information, the second game needs to be updated in the client, and the second game is entered after the update is successful, that is, step 208 is performed.
206. And when the game state indication of the second game is not downloaded, the download entry is displayed, when the download entry is triggered, a second game resource package of the second game is downloaded in the cache space of the resource server, a second game item is created on the game server, the second game resource package is deployed under the second game item on the game server, and the second game resource package is run based on the game server.
In this embodiment of the application, when the game state of the second game indicates that the second game is not downloaded, the player needs to be assisted to download the second game and enter the second game after the download is successful, so that the download entry is displayed, and when the download entry is triggered, the second game resource package of the second game is downloaded in the cache space of the resource server, a second game item is created on the game server, the second game resource package is deployed under the second game item on the game server, and the second game resource package is executed based on the game server.
207. And when the game state of the second game indicates that the second game is downloaded and the version information is the latest version information, displaying the game entry, and running the second game resource package based on the game server when the game entry is triggered.
In the embodiment of the application, when the game state of the second game indicates that the second game is downloaded and the version information is the latest version information, the second game can be directly accessed, so that the game entry is displayed, and when the game entry is triggered, the second game resource package is run based on the game server.
208. When the game state of the second game indicates that the second game is downloaded and the version information is inconsistent with the latest version information, downloading a resource update package of the second game in a cache space of the resource server, integrating the resource update package with the resource package of the second game indicated by the version information to obtain a new game resource package, deploying the new game resource package under the second game item on the game server, and running the new game resource package based on the game server.
In this embodiment of the application, when the game state indication of the second game is downloaded and the version information is inconsistent with the latest version information, the second game needs to be updated in the client, and the second game is entered after the update is successful, so that the resource update package of the second game is downloaded in the cache space of the resource server, the resource update package and the resource package of the second game indicated by the version information are integrated to obtain a new game resource package, the new game resource package is deployed under the second game item on the game server, and the new game resource package is run based on the game server.
It should be noted that, in order to remind the player in the above three states and assist the player in downloading the resource package and updating, after the player enters the game details page of the second game on the discovery page, different operation buttons may be displayed according to different states of the second game, specifically referring to fig. 2G:
and displaying the discovery page to the player, and entering a game detail page of the second game when detecting that the player directly clicks the second game on the discovery page or searches the second game through a search function of the discovery page. And when the game state indication of the second game is not downloaded, displaying a download button, requesting to download a second game resource package of the second game from the resource server when detecting that the download button is triggered, switching to the game frame module to display the download progress, jumping to a downloaded page in the game frame module after the download is finished, and entering the game when detecting that the player clicks an open button associated with the second game. When the game state of the second game indicates that the game is downloaded and the version information is the latest version information, an open button associated with the second game is displayed, and the game is entered when the player is detected to click the open button. And when the game state indication of the second game is downloaded and the version information is inconsistent with the latest version information, displaying an update button, requesting to download a resource update package to the resource server after detecting that the update button is triggered, switching to the gaming frame module to display the downloading progress, integrating the resource update package with the resource package indicated by the current version information after the downloading is finished into a new game resource package, jumping to a downloaded page in the gaming frame module, and entering the game when detecting that a player clicks an open button associated with the second game.
In the process of practical application, after a player enters a game in the resource publishing platform, the resource publishing platform starts to run a game resource package based on the game server. Referring to fig. 2H, the client of the resource publishing platform switches to a game window, initializes the game engine, reads a locally configured server IP (Internet Protocol ) address and port, connects to a Socket, and establishes a data connection with the game server. If the connection fails, the connection is performed again every 2 seconds. If the player is detected to be connected with the game server based on the client of the resource issuing platform for the first time, logging in the game server, acquiring the game module identification of the currently running game resource package, specifically, the game module identification can be a MODID (Module identification), entering a game module indicated by the game module identification, namely, a game MOD (Module), and starting the interface manager and the script manager. And then, the resource issuing platform sends an area entering request to the game server based on the script manager, receives an area identifier fed back by the game server, enters a target area indicated by the area identifier, and executes the game logic of the currently running game resource packet.
In addition, with continued reference to fig. 2H, the client may continuously monitor whether the player clicks the exit game key of the hovering window, and if it is detected that the player clicks the exit game key, it is determined that the exit request of the player is received. In response to the player's logout request, the client transmits a logout request to the game server, issuing a logout room message to the server. It should be noted that, in fact, the quitting request has two cases, one is that the player wants to quit the currently running game, and the other is that the player wants to quit the client provided by the resource issuing platform, so when the quitting request indicates to quit the currently running game resource package, the quitting success response fed back by the game server is received, and the game interface is cancelled. And when the quit request indicates to quit the resource issuing system, receiving a quit success response fed back by the game server, canceling the game interface, saving the current game resource package list, disconnecting the data connection with the game server, and quitting the game engine. If the player requests to enter other games, the game module identification of the currently running game resource packet and subsequent processes are repeatedly executed, so that the games run normally.
In conclusion, by adopting the new game resource publishing process, the resource publishing platform can classify and process the deployment of the game data in advance, and the data and logic of the existing mature game module can be directly provided for developers, so that the main game framework can be quickly built and the robustness can be ensured, the game publishing process is greatly simplified and accelerated, and the game development iteration is more efficient.
The method provided by the embodiment of the application responds to the resource release request, the created folder and the selected resource template of the first game resource including the game to be made are determined, the second game resource input to the selected resource template is obtained, the first game resource and the second game resource are edited according to the selected resource template, the scene file is obtained, the game logic is built based on the object editor and the logic editor, and the logic file is obtained. Finally, the scene files and the logic files are packaged to obtain a game resource package of the game to be made, and the game resource package is released, so that a game developer does not need to consider a multi-terminal concept in the process of making the game, and can automatically release the resources by only providing the game resources related to the game content, thereby reducing the workload of developers, improving the efficiency of releasing the resources and reducing the operation and maintenance cost.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present application provides a resource publishing device, and as shown in fig. 3A, the device includes: a first determination module 301, an editing module 302, a construction module 303, and a publishing module 304.
The first determining module 301 creates a folder containing a first game resource of a game to be played;
the editing module 302 is configured to acquire a second game resource input to the selected resource template, and edit the first game resource and the second game resource according to the selected resource template to obtain a scene file;
the building module 303 is configured to build a game logic based on the object editor and the logic editor to obtain a logic file;
the publishing module 304 is configured to package and package the scene file and the logic file to obtain a game resource package of the game to be made, and publish the game resource package.
In a specific application scenario, the editing module 302 is configured to load the first game resource included in the created folder, and load the second game resource input to the selected resource template; synthesizing the first game resource and the second game resource according to the selected resource template to obtain a secondary game material; and editing and rendering the secondary game material by adopting an editor to obtain the scene file, wherein the editor is one or more than one of a scene editor, an interface editor and a resource editor.
In a specific application scenario, as shown in fig. 3B, the apparatus further includes: a test module 305 and a display module 306.
The test module 305 is configured to generate a script file of the logic file, and test the script file;
the publishing module 304 is further configured to continue to package and package the scene file and the logic file when the script file passes the test, obtain the game resource package, and publish the game resource package;
the display module 306 is configured to determine, when the script file fails the test, an abnormal game logic failing the test in the logic file, generate a test failure prompt carrying the abnormal game logic, and display the test failure prompt.
In a specific application scenario, the publishing module 304 is configured to store the game resource package in a cache space of a resource server; a target game item is established on a game server, and the game resource package is deployed under the target game item on the game server.
In a specific application scenario, the publishing module 304 is further configured to read version information of the game resource package deployed in the target game item every preset period; when the read version information is inconsistent with the latest version information, continuously detecting the number of players in a game scene constructed by the game resource package; and when the number of the players is 0, loading the latest resource package corresponding to the latest version information in the cache space, and deploying the latest resource package under the target game item on the game server.
In a specific application scenario, as shown in fig. 3C, the apparatus further includes: a second determination module 307, a query module 308, and an execution module 309.
The second determining module 307 is configured to determine, in response to a game login request of a player, that the game login request indicates a logged-in first game;
the query module 308 is configured to query whether a first game resource package of the first game is deployed on a game server;
the running module 309, configured to, when it is determined by the query that the first game resource package is not deployed on the game server, read the first game resource package of the first game in a cache space of a resource server, create a first game item on the game server, deploy the first game resource package under the first game item on the game server, and run the first game resource package based on the game server;
the running module 309 is further configured to, when it is determined that the first game resource package is deployed on the game server, run the first game resource package based on the game server, and create a virtual area for the player in the first game resource package after running according to the instruction of the game login request.
In a specific application scenario, as shown in fig. 3D, the apparatus further includes: a third determination module 310 and an execution module 309.
The third determining module 310 is configured to determine, in response to a game search request of a player, that the game search request indicates a searched second game;
the running module 309, configured to show a download entry when the game state of the second game indicates that the second game is not downloaded, and when the download entry is triggered, download a second game resource package of the second game in a cache space of a resource server, create a second game item on the game server, deploy the second game resource package under the second game item on the game server, and run the second game resource package based on the game server;
the running module 309 is further configured to show a game entry when the game state of the second game indicates that the second game is downloaded and the version information is the latest version information, and run the second game resource package based on the game server when the game entry is triggered;
the running module 309 is further configured to, when the game state of the second game indicates that the second game is downloaded and the version information is inconsistent with the latest version information, download a resource update package of the second game in a cache space of the resource server, integrate the resource update package with the resource package of the second game indicated by the version information to obtain a new game resource package, deploy the new game resource package under the second game item on the game server, and run the new game resource package based on the game server.
In a specific application scenario, the running module 309 is configured to initialize a game engine, and establish a data connection with the game server; acquiring a game module identifier of a currently running game resource package, entering a game module indicated by the game module identifier, and starting an interface manager and a script manager; sending a region entry request to the game server based on the script manager; and receiving the area identification fed back by the game server, entering a target area indicated by the area identification, and executing the game logic of the currently running game resource packet.
In a specific application scenario, the running module 309 is further configured to respond to a quit request of a player, and transmit the quit request to the game server; when the quitting request indicates that the currently running game resource pack is quitted, receiving a quitting success response fed back by the game server, and cancelling a game interface; and when the quitting request indicates to quit the client side provided by the resource issuing platform, receiving a quitting success response fed back by the game server, canceling the game interface, saving the current game resource package list, disconnecting the data connection with the game server, and quitting the game engine.
The device provided by the embodiment of the application responds to the resource release request, determines the created folder and the selected resource template of the first game resource including the game to be made, acquires the second game resource input to the selected resource template, edits the first game resource and the second game resource according to the selected resource template to obtain the scene file, and constructs the game logic based on the object editor and the logic editor to obtain the logic file. Finally, the scene files and the logic files are packaged to obtain a game resource package of the game to be made, and the game resource package is released, so that a game developer does not need to consider a multi-terminal concept in the process of making the game, and can automatically release the resources by only providing the game resources related to the game content, thereby reducing the workload of developers, improving the efficiency of releasing the resources and reducing the operation and maintenance cost.
It should be noted that other corresponding descriptions of the functional units related to the resource issuing device provided in the embodiment of the present application may refer to the corresponding descriptions in fig. 1 and fig. 2A, and are not described herein again.
In an exemplary embodiment, referring to fig. 4, there is further provided a device, which includes a bus, a processor, a memory, and a communication interface, and may further include an input/output interface and a display device, wherein the functional units may communicate with each other through the bus. The memory stores a computer program, and the processor executes the program stored in the memory to execute the resource distribution method in the above embodiment.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the resource issuing method.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by hardware, and also by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present application.
Claims (12)
1. A resource publishing method, comprising:
in response to a resource issuing request, determining a created folder and a selected resource template, wherein the created folder comprises a first game resource of a game to be made;
acquiring a second game resource input into the selected resource template, and editing the first game resource and the second game resource according to the selected resource template to obtain a scene file;
constructing game logic based on the object editor and the logic editor to obtain a logic file;
and packaging the scene file and the logic file to obtain a game resource package of the game to be made, and issuing the game resource package.
2. The method of claim 1, wherein the obtaining a second game resource input to the selected resource template, editing the first game resource and the second game resource according to the selected resource template to obtain a scene file, comprises:
loading the first game resource included in the created folder, and loading the second game resource input into the selected resource template;
synthesizing the first game resource and the second game resource according to the selected resource template to obtain a secondary game material;
and editing and rendering the secondary game material by adopting an editor to obtain the scene file, wherein the editor is one or more than one of a scene editor, an interface editor and a resource editor.
3. The method of claim 1, wherein after the building of the game logic based on the object editor and the logic editor results in a logic file, the method further comprises:
generating a script file of the logic file, and testing the script file;
when the script file passes the test, continuously packaging and packaging the scene file and the logic file to obtain the game resource package and issuing the game resource package;
and when the script file fails to pass the test, determining abnormal game logic which fails to pass the test in the logic file, generating a test failure prompt carrying the abnormal game logic, and displaying the test failure prompt.
4. The method of claim 1, wherein said publishing the game resource package comprises:
storing the game resource package into a cache space of a resource server;
a target game item is established on a game server, and the game resource package is deployed under the target game item on the game server.
5. The method of claim 4, further comprising:
reading version information of the game resource package deployed under the target game item every other preset period;
when the read version information is inconsistent with the latest version information, continuously detecting the number of players in a game scene constructed by the game resource package;
and when the number of the players is 0, loading the latest resource package corresponding to the latest version information in the cache space, and deploying the latest resource package under the target game item on the game server.
6. The method of claim 1, further comprising:
in response to a game login request of a player, determining that the game login request indicates a logged-in first game;
inquiring whether a first game resource package of the first game is deployed on a game server;
when the query determines that the first game resource package is not deployed on the game server, reading the first game resource package of the first game in a cache space of a resource server, creating a first game item on the game server, deploying the first game resource package under the first game item on the game server, and running the first game resource package based on the game server;
when the first game resource package is deployed on the game server, the first game resource package is operated based on the game server, and a virtual area is created for the player in the operated first game resource package according to the indication of the game login request.
7. The method of claim 1, further comprising:
in response to a game search request by a player, determining that the game search request indicates a searched second game;
when the game state of the second game indicates that the second game is not downloaded, showing a download entry, downloading a second game resource package of the second game in a cache space of a resource server when the download entry is triggered, creating a second game item on the game server, deploying the second game resource package under the second game item on the game server, and running the second game resource package based on the game server;
when the game state of the second game indicates that the second game is downloaded and the version information is the latest version information, displaying a game entry, and running the second game resource package based on the game server when the game entry is triggered;
when the game state of the second game indicates that the second game is downloaded and the version information is inconsistent with the latest version information, downloading a resource update package of the second game in a cache space of the resource server, integrating the resource update package with the resource package of the second game indicated by the version information to obtain a new game resource package, deploying the new game resource package under the second game item on the game server, and running the new game resource package based on the game server.
8. The method of any of claims 6 to 7, wherein running a game resource package based on the game server comprises:
initializing a game engine, and establishing data connection with the game server;
acquiring a game module identifier of a currently running game resource package, entering a game module indicated by the game module identifier, and starting an interface manager and a script manager;
sending a region entry request to the game server based on the script manager;
and receiving the area identification fed back by the game server, entering a target area indicated by the area identification, and executing the game logic of the currently running game resource packet.
9. The method of claim 8, further comprising:
transmitting a withdrawal request to the game server in response to the withdrawal request of the player;
when the quitting request indicates that the currently running game resource pack is quitted, receiving a quitting success response fed back by the game server, and cancelling a game interface;
and when the quitting request indicates to quit the client side provided by the resource issuing platform, receiving a quitting success response fed back by the game server, canceling the game interface, saving the current game resource package list, disconnecting the data connection with the game server, and quitting the game engine.
10. A resource issuing apparatus, characterized by comprising:
the first determining module is used for responding to a resource issuing request, determining a created folder and a selected resource template, wherein the created folder comprises first game resources of a game to be made;
the editing module is used for acquiring a second game resource input into the selected resource template, and editing the first game resource and the second game resource according to the selected resource template to obtain a scene file;
the building module is used for building game logic based on the object editor and the logic editor to obtain a logic file;
and the issuing module is used for packaging and packaging the scene file and the logic file to obtain a game resource package of the game to be made and issuing the game resource package.
11. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110744059.1A CN113434197B (en) | 2021-06-30 | 2021-06-30 | Resource release method, device, computer equipment and computer readable storage medium |
PCT/CN2021/132563 WO2023273118A1 (en) | 2021-06-30 | 2021-11-23 | Resource publishing method and apparatus, and computer device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110744059.1A CN113434197B (en) | 2021-06-30 | 2021-06-30 | Resource release method, device, computer equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113434197A true CN113434197A (en) | 2021-09-24 |
CN113434197B CN113434197B (en) | 2024-08-27 |
Family
ID=77758682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110744059.1A Active CN113434197B (en) | 2021-06-30 | 2021-06-30 | Resource release method, device, computer equipment and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113434197B (en) |
WO (1) | WO2023273118A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114221952A (en) * | 2021-11-16 | 2022-03-22 | 杭州电魂网络科技股份有限公司 | Game resource packaging and releasing system and method, electronic equipment and storage medium |
CN114661284A (en) * | 2022-03-30 | 2022-06-24 | 北京字节跳动网络技术有限公司 | Game editing method, game running method, game editing device and computer equipment |
CN114676372A (en) * | 2022-04-13 | 2022-06-28 | 一点灵犀信息技术(广州)有限公司 | Data processing method and device for web game, electronic equipment and storage medium |
CN115291939A (en) * | 2022-08-17 | 2022-11-04 | 北京字跳网络技术有限公司 | Interactive scene configuration method, device, storage medium, equipment and program product |
WO2023273118A1 (en) * | 2021-06-30 | 2023-01-05 | 完美世界征奇(上海)多媒体科技有限公司 | Resource publishing method and apparatus, and computer device and computer-readable storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116107667B (en) * | 2023-04-13 | 2023-08-11 | 瞳见科技有限公司 | Model management method, system, terminal and medium based on illusion engine |
CN118034776B (en) * | 2024-04-11 | 2024-07-12 | 腾讯科技(深圳)有限公司 | Data acquisition method and device, computer equipment, medium and product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090118018A1 (en) * | 2002-12-10 | 2009-05-07 | Onlive, Inc. | System for reporting recorded video preceding system failures |
CN101963899A (en) * | 2009-07-24 | 2011-02-02 | 华中师范大学 | Logic cartoon platform system |
CN102508662A (en) * | 2011-11-04 | 2012-06-20 | 广东科学技术职业学院 | General mobile game development system and method based on BREW (Binary Runtime Environment for Wireless) platform |
CN108984171A (en) * | 2018-05-30 | 2018-12-11 | 福建天泉教育科技有限公司 | Scene based on Unity3D continues construction method, storage medium |
CN111158750A (en) * | 2019-12-26 | 2020-05-15 | 北京金山安全软件有限公司 | Unity-based game installation package packaging method and device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110170166B (en) * | 2015-08-24 | 2023-04-07 | 鲸彩在线科技(大连)有限公司 | Game data generating and uploading method and device |
US10447814B2 (en) * | 2017-02-02 | 2019-10-15 | Microsoft Technology Licensing, Llc | Joint servicing of software packages |
CN108970117B (en) * | 2018-06-29 | 2021-04-30 | 平安科技(深圳)有限公司 | Game resource package issuing method, terminal device and medium |
CN111767503B (en) * | 2020-07-29 | 2024-05-28 | 腾讯科技(深圳)有限公司 | Game data processing method, device, computer and readable storage medium |
CN113434197B (en) * | 2021-06-30 | 2024-08-27 | 完美世界征奇(上海)多媒体科技有限公司 | Resource release method, device, computer equipment and computer readable storage medium |
-
2021
- 2021-06-30 CN CN202110744059.1A patent/CN113434197B/en active Active
- 2021-11-23 WO PCT/CN2021/132563 patent/WO2023273118A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090118018A1 (en) * | 2002-12-10 | 2009-05-07 | Onlive, Inc. | System for reporting recorded video preceding system failures |
CN101963899A (en) * | 2009-07-24 | 2011-02-02 | 华中师范大学 | Logic cartoon platform system |
CN102508662A (en) * | 2011-11-04 | 2012-06-20 | 广东科学技术职业学院 | General mobile game development system and method based on BREW (Binary Runtime Environment for Wireless) platform |
CN108984171A (en) * | 2018-05-30 | 2018-12-11 | 福建天泉教育科技有限公司 | Scene based on Unity3D continues construction method, storage medium |
CN111158750A (en) * | 2019-12-26 | 2020-05-15 | 北京金山安全软件有限公司 | Unity-based game installation package packaging method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023273118A1 (en) * | 2021-06-30 | 2023-01-05 | 完美世界征奇(上海)多媒体科技有限公司 | Resource publishing method and apparatus, and computer device and computer-readable storage medium |
CN114221952A (en) * | 2021-11-16 | 2022-03-22 | 杭州电魂网络科技股份有限公司 | Game resource packaging and releasing system and method, electronic equipment and storage medium |
CN114661284A (en) * | 2022-03-30 | 2022-06-24 | 北京字节跳动网络技术有限公司 | Game editing method, game running method, game editing device and computer equipment |
CN114676372A (en) * | 2022-04-13 | 2022-06-28 | 一点灵犀信息技术(广州)有限公司 | Data processing method and device for web game, electronic equipment and storage medium |
CN114676372B (en) * | 2022-04-13 | 2023-07-25 | 一点灵犀信息技术(广州)有限公司 | Data processing method and device for web game, electronic equipment and storage medium |
CN115291939A (en) * | 2022-08-17 | 2022-11-04 | 北京字跳网络技术有限公司 | Interactive scene configuration method, device, storage medium, equipment and program product |
CN115291939B (en) * | 2022-08-17 | 2024-07-19 | 北京字跳网络技术有限公司 | Interactive scene configuration method, device, storage medium, equipment and program product |
Also Published As
Publication number | Publication date |
---|---|
CN113434197B (en) | 2024-08-27 |
WO2023273118A1 (en) | 2023-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113434197A (en) | Resource publishing method and device, computer equipment and computer readable storage medium | |
Ableson et al. | Android in action | |
KR101029425B1 (en) | System and method for production of multi user network game | |
JP2019215877A (en) | Visual content development | |
US20120329557A1 (en) | Game Device | |
US11561890B2 (en) | Automated videogame testing | |
CN104798036A (en) | User interface control framework for stamping out controls using a declarative template | |
JP2006018827A (en) | Smart user interface record and reproduction framework | |
Zammetti | Modern Full-Stack Development | |
CN109513212B (en) | 2D mobile game UI (user interface) and scenario editing method and system | |
Yener et al. | Expert Android Studio | |
Snell et al. | Microsoft Visual Studio 2012 Unleashed: Micro Visua Studi 2012 Unl_p2 | |
Sayfan | Hands-On Microservices with Kubernetes: Build, deploy, and manage scalable microservices on Kubernetes | |
Boduch | Flux architecture | |
CN114979029A (en) | Control method, device, equipment and storage medium of virtual robot | |
US8000952B2 (en) | Method and system for generating multiple path application simulations | |
CN112587929A (en) | Game copy generation method, device and equipment | |
Mwotil et al. | Mira: an application containerisation pipeline for small software development teams in low resource settings | |
Carter et al. | Homura and Net-Homura: The creation and web-based deployment of cross-platform 3D games | |
King et al. | Advanced BlackBerry Development | |
Wood et al. | OpenShift for Developers | |
Pritchett | Build Chatbot Interactions: Responsive, Intuitive Interfaces with Ruby | |
JP2002116911A (en) | Automatic generation device for object-oriented program | |
CN116107665B (en) | Project configuration method, device, terminal and storage medium | |
Chen et al. | Multi-sim, a dynamic multi-level simulator |
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 |