CN114404996A - Resource data processing method, system, editor, electronic device and storage medium - Google Patents

Resource data processing method, system, editor, electronic device and storage medium Download PDF

Info

Publication number
CN114404996A
CN114404996A CN202210095745.5A CN202210095745A CN114404996A CN 114404996 A CN114404996 A CN 114404996A CN 202210095745 A CN202210095745 A CN 202210095745A CN 114404996 A CN114404996 A CN 114404996A
Authority
CN
China
Prior art keywords
resource
game
modification
modification information
data
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.)
Pending
Application number
CN202210095745.5A
Other languages
Chinese (zh)
Inventor
王凯鹏
林顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yaji Software Co Ltd
Original Assignee
Xiamen Yaji Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yaji Software Co Ltd filed Critical Xiamen Yaji Software Co Ltd
Priority to CN202210095745.5A priority Critical patent/CN114404996A/en
Publication of CN114404996A publication Critical patent/CN114404996A/en
Priority to PCT/CN2022/118505 priority patent/WO2023142494A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor

Abstract

The application provides a resource data processing method, a system, an editor, an electronic device and a storage medium, wherein the method comprises the following steps: receiving first resource modification information aiming at the game from the development end, and/or acquiring modification operation for the game at the running end; modifying the resource data of the game according to the first resource modification information and/or modification operation through the running game engine; if the resource data of the game is modified according to the modification operation, the generated second resource modification information is sent to the development end, so that the game resources can be modified on the development end and can be immediately synchronized to the running end, and the resource data can be modified correspondingly by the running end, so that the modification effect can be seen in real time; if the running effect or the modification effect of the game is not satisfactory, the game can be directly modified at the running end, and the effect which is modified to meet the expectation is synchronized to the development end, so that the game development efficiency is effectively improved.

Description

Resource data processing method, system, editor, electronic device and storage medium
Technical Field
The application relates to the technical field of game development, in particular to a resource data processing method, a resource data processing system, an editor, electronic equipment and a storage medium.
Background
The game engine refers to a core component of some edited computer game system or some interactive real-time image application program. The game engine provides game designers with the various tools required to write games with the goal of making it easier and faster for the game designer to make game programs without starting from zero. The editor is custom built for the game engine, containing the full functionality required for the entire workflow from design, development, preview, debugging to release.
At present, a development process based on a game engine generally publishes a game on an editor and runs on a target device. If the effect of the game running on the target device is not expected, the process can be repeated until the effect of the game running on the target device is expected. Such a mechanism would lead to a longer development time.
Disclosure of Invention
The purpose of the embodiment of the application is to solve the technical defect of low resource modification efficiency in the game development process.
In a first aspect, an embodiment of the present application provides a method for processing resource data, which is applied to a runtime side, and the method includes:
receiving first resource modification information aiming at the game from the development end, and/or acquiring modification operation for the game at the running end;
modifying the resource data of the game according to the first resource modification information and/or modification operation through the running game engine of the game;
and if the resource data of the game are modified according to the modification operation, the generated second resource modification information is sent to the development terminal.
In a second aspect, an embodiment of the present application provides a method for processing resource data, which is applied to an originating terminal, and the method includes:
acquiring first resource modification information for modifying a game by a development end;
sending the first resource modification information to the running end, so that the running end modifies the resource data of the installed game according to the first resource modification information;
and/or receiving second resource modification information aiming at the game from the running end, wherein the second resource modification information is generated based on the modification operation of the game at the running end;
and obtaining a resource file of the game based on the second resource modification information.
In a third aspect, an embodiment of the present application provides an editor, which is applied to a runtime side, where the editor includes:
the system comprises a synchronization module and/or an operation module, wherein the synchronization module is used for receiving first resource modification information aiming at the game from a development end, and the operation module is used for acquiring modification operation on the game at a running end;
the modification module is used for modifying the resource data of the game according to the first resource modification information and/or modification operation through the running game engine of the game;
and if the resource data of the game are modified according to the modification operation, the synchronization module is also used for sending the generated second resource modification information to the development terminal.
In a fourth aspect, an embodiment of the present application provides an editor, which is applied to a development terminal, where the editor includes:
the acquisition module is used for acquiring first resource modification information for modifying the game by the development end;
the communication module is used for sending the first resource modification information to the running end so that the running end modifies the resource data of the installed game according to the first resource modification information, and/or receiving second resource modification information aiming at the game from the running end, wherein the second resource modification information is generated on the basis of modification operation of the game at the running end;
and the generating module is used for obtaining the resource file of the game based on the second resource modification information.
In a fifth aspect, an embodiment of the present application provides a system for processing resource data, where the system includes:
the running end is used for executing the resource data processing method provided by the first aspect of the embodiment of the application;
and the development terminal is used for executing the resource data processing method provided by the second aspect of the embodiment of the application.
In a sixth aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored on the memory, and the processor executes the computer program to implement the steps of the method for processing resource data provided in the first aspect of the embodiment of the present application.
In a seventh aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored on the memory, and the processor executes the computer program to implement the steps of the method for processing resource data provided in the second aspect of the embodiment of the present application.
In an eighth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the resource data processing method provided in the first aspect of the present application.
In a ninth aspect, the present application provides a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the processing method of resource data provided by the second aspect of the present application.
In a tenth aspect, the present application provides a computer program product, and when being executed by a processor, the computer program implements the steps of the resource data processing method provided in the first aspect of the present application.
In an eleventh aspect, the present application provides a computer program product, and when being executed by a processor, the computer program implements the steps of the resource data processing method provided in the second aspect of the present application.
According to the resource data processing method, the resource data processing system, the editor, the electronic device and the storage medium, game resources can be modified on the development end and can be immediately synchronized to the running end, and the running end can correspondingly modify the resource data, so that the modification effect can be seen in real time; if the running effect or the modification effect of the game is not satisfactory, the game can be directly modified at the running end, and the effect which is modified to meet the expectation is synchronized to the development end, so that the aim of effectively improving the game development efficiency is fulfilled.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a resource data processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a tool option provided by an embodiment of the present application;
fig. 3 is a schematic diagram of a spatial attribute adjustment control according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart of another resource data processing method according to an embodiment of the present application;
fig. 5 is a schematic architecture diagram of a resource data processing system according to an embodiment of the present application;
FIG. 6 is a diagram illustrating an example of a game resource modification provided by an embodiment of the present application;
FIG. 7 is a diagram illustrating another example of a game resource modification provided by an embodiment of the present application;
fig. 8 is a schematic structural diagram of a resource data processing apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another resource data processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the embodiments set forth below in connection with the drawings are exemplary descriptions for explaining technical solutions of the embodiments of the present application, and do not limit the technical solutions of the embodiments of the present application.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the terms "comprises" and/or "comprising," when used in this specification in connection with embodiments of the present application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of other features, integers, steps, operations, elements, components, and/or groups thereof, as supported by the present technology. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein indicates at least one of the items defined by the term, e.g., "a and/or B" may be implemented as "a", or as "B", or as "a and B".
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms referred to in this application will first be introduced and explained:
(1) developing end: game developers are used to compile clients or terminal devices of the game.
(2) Releasing the game: and controlling the game to be installed and run on the target equipment, wherein the specific release mode comprises but is not limited to copying resources to the target equipment for installation and running, controlling the target equipment to download the game online for installation and running and the like.
(3) And (4) running end: i.e., the client or target device of the game distribution.
(4) The game engine: the core components of a computer game system or some interactive real-time image applications can be edited.
(5) An editor: the game visualization development tool comprises functions of game design, game development, game preview, game debugging, namely game distribution and the like.
The technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application will be described below through descriptions of several exemplary embodiments. It should be noted that the following embodiments may be referred to, referred to or combined with each other, and the description of the same terms, similar features, similar implementation steps and the like in different embodiments is not repeated.
The embodiment of the present application provides a method for processing resource data, which is applied to an operation end, and as shown in fig. 1, the method includes:
step S101: receiving first resource modification information aiming at the game from the development end, and/or acquiring modification operation for the game at the running end;
in the embodiment of the application, after the development end publishes the game to the operation end, if the development end modifies the game resource, the first resource modification information generated by the modification can be sent to the operation end, and the operation end receives the first resource modification information from the development end, so that the resource modification can be synchronously performed on the published game.
In the embodiment of the application, after the development end releases the game to the running end, the released game can be modified in resources through modification operation on the game directly on the running end.
In the embodiment of the application, the game can be released to the running end at the development end, the running end receives the first resource modification information from the development end, the released game is modified in resources, and then the resources of the game are modified again at the running end directly through the modification operation on the game.
Step S102: modifying the resource data of the game according to the first resource modification information and/or modification operation through the running game engine of the game;
in the embodiment of the application, after the running end receives the first resource modification information, the game resources on the running end are modified through the running game engine of the game, so that the purpose of modifying the game on the development end and immediately seeing the modification effect on the running end is achieved, and the game resources do not need to be packaged and issued to the running end.
In the embodiment of the application, the modification function of the game on the running end can be realized as a functional module which can run in the game engine, and after the game is directly modified on the running end, the game engine can run on the running end to achieve the purpose of changing game resources. That is, changes to game resources may be mapped to changes to game resources by the game engine.
In the embodiment of the application, if the game engine is not in the running state, the game/game engine can be started, so that the resource data of the game can be modified through the running game engine according to the first resource modification information and/or modification operation.
Step S103: and if the resource data of the game are modified according to the modification operation, the generated second resource modification information is sent to the development terminal.
In the embodiment of the application, the running end modifies the resource data of the game according to the modification operation to generate the modification result or the modification results, that is, after generating the second resource modification information, the second resource modification information can be synchronized to the development end, so that the effect of synchronous modification is achieved. The development end can save the final modification result as a game resource file so as to complete the development of the game. By the embodiment of the application, the expected effect of the game can be directly obtained by modifying the running end, and the method is a relatively efficient game resource modification mode.
In the embodiment of the present application, the modification of the game resource may also be understood as an update of the game resource.
According to the resource data processing method provided by the embodiment of the application, the modification of game resources on the development end can be immediately synchronized to the running end, and the running end correspondingly modifies the resource data so as to see the modification effect in real time; if the running effect or the modification effect of the game is not satisfactory, the game can be directly modified at the running end, and the effect which is modified to meet the expectation is synchronized to the development end, so that the aim of effectively improving the game development efficiency is fulfilled.
In the embodiment of the present application, a feasible implementation manner is provided for the step of "obtaining a modification operation for a game at a running end" in step S101, where obtaining the modification operation for modifying the game at the running end includes: and activating the modification tool on the running end to acquire the modification operation for modifying the game through the modification tool. Specifically, the method may include:
step SA: acquiring a tool selection instruction for selecting a modification tool;
step SB: activating a selected modification tool in response to a tool selection instruction;
step SC: and acquiring the modification operation of the game through the modification tool.
In the embodiment of the present application, steps SA to SC may be repeatedly executed to select different modification tools to perform multiple modification operations on the game resource. The second resource modification information generated subsequently may correspond to one modification operation from step SA to step SC, or may correspond to multiple modification operations from step SA to step SC.
In the embodiment of the present application, after the modifying operation from step SA to step SC is performed once, and when the modifying operation from step SA to step SC is performed for the second time, step SA may also be understood as acquiring a tool switching instruction for switching modifying tools, and step SB may be understood as activating the switched modifying tools in response to the tool switching instruction.
In an alternative embodiment, a tool selection interface, such as a floating icon control or a button control at a specified position, may be displayed in the game interface, and after the user operates the tool selection interface, available modification tools are displayed, and the user clicks any one of the modification tools, so as to trigger step SA. The floating icon control can also be directly arranged at a designated position, and can also freely move according to the operation of a user. The floating icon controls include, but are not limited to, a circular float, a hover ball, and the like.
As shown in fig. 2, a schematic diagram of tool selection is shown, taking the tool selection interface as a circular floating point as an example. Clicking on the circular floating point reveals the buttons of the available modification tools. In the embodiments of the present application, the modifying tool includes but is not limited to: resource selection tools, attribute editing tools, spatial attribute adjustment tools, and the like. The button of the modification tool desired to be used can be clicked (i.e. a tool selection command is triggered), and the selected modification tool is activated to modify the game.
In this embodiment of the present application, step SC may specifically include at least one of the following:
(1) setting a selectable attribute aiming at least one resource of the game through a first modification tool, and acquiring a selection operation of any resource;
in the embodiment of the present application, the first modification tool may also be understood as a resource selection tool in fig. 2.
In the embodiment of the application, after the modification tool is activated, the selectable attribute is set for at least one resource of the game at the running end. At least one resource may be a predefined partial resource or a complete resource. Through the operation mode provided by the operation end, for example, when the operation end is a touch screen device such as a mobile phone, the game resource corresponding to the click operation can be selected by clicking the screen.
In the embodiment of the application, the resource corresponding to the selected operation can be used as an editing target, and can also be used for viewing attribute information, amplification effect and the like.
(2) Displaying a corresponding spatial attribute adjustment control for at least one resource of the game through a second modification tool, and acquiring an adjustment operation on the at least one spatial position adjustment control, wherein the adjustment operation on the spatial position adjustment control comprises at least one of the following spatial attribute adjustments on the corresponding game resource: move, rotate, zoom, tilt;
in the embodiment of the present application, the second modification tool may also be understood as the spatial attribute adjustment tool in fig. 2.
In the embodiment of the present application, after the modification tool is activated, a spatial property adjustment control is presented on the runtime for the periphery of at least one resource (for example, a model class resource) of the game. At least one resource may be a predefined partial resource or a complete resource.
In the embodiment of the application, as shown in fig. 3, the spatial attribute adjustment control may be similar to a right-handed system three-dimensional coordinate axis, and attributes of the game resources on the spatially corresponding axis may be modified by dragging different coordinate axes, so as to achieve the purpose of modifying the spatial position of the game resources; besides the spatial position, the module can also modify the rotation, the scaling, the inclination and other common spatial correlation attributes of the game resources.
(3) And displaying corresponding attribute information and attribute modification options for the currently selected resource of the game through a third modification tool, and acquiring the selection operation of any attribute modification option.
In the embodiment of the present application, the third modification tool may also be understood as a property editing tool in fig. 2.
In the embodiment of the application, after the modification tool is activated, the running end displays relevant attributes for the currently selected resource, corresponding attribute modification options are provided for different types of attributes (for example, different buttons correspond to different attribute modification options), and modification of the resource attributes can be completed by selecting any attribute modification option.
In the embodiment of the application, in response to the modification operation of the game performed by the modification tool on the running end, the game engine provides an interface for making a modification on the game resource. I.e., the modification operation may be understood as reading the user's input, the game engine may be a modification that translates the user's input into a game resource may understand. For example, when the spatial attribute adjustment control is operated, the operation of the coordinate axis by the user is converted into the position modification of the game resource, and the modification can be realized based on an open interface of the game engine.
In the embodiment of the present application, in order to enable the second resource modification information of the runtime end to be reliably transmitted back to the development end, a data protocol (also referred to as a game resource data protocol) is provided, which refers to an agreement on game resource data. Specifically, the data protocol specifies a format of the resource modification information for conversion into a target format, which is a format recognizable by an editor of the development end. Generally, the data of the game resources are different data for different game resources depending on the definition of the game resources by the game engine itself. A data protocol may be understood as information that describes any game resource. The game engine can load game resources into the engine through the information and display the loading result. An editor may be used to edit and save this information. During editing, there may be some additional information to assist the editor in modifying the game asset. The data recognizable to the editor generally includes game asset data, and the editor's own data.
In the embodiment of the application, the process of converting the format of the second resource modification information into the target format based on the data protocol can be executed at the running end or the development end, so that the game resource modified on the running end is converted into the data format which can be identified by the editor of the development end, and then is stored into the data supported by the editor, and thus the game resource modified on the running end equipment can be correctly synchronized to the development end equipment.
Specifically, the step of sending the generated second resource modification information to the development end in step S103 may specifically include at least one of the following steps:
the first method is as follows: converting the format of second resource modification information generated based on a data protocol into a target format, and sending the second resource modification information of the target format to an initiating terminal;
namely, the process of converting the format of the second resource modification information into the target format based on the data protocol is executed at the operation end, and the operation end converts the format of the second resource modification information into the target format and then sends the target format to the development end.
The second method comprises the following steps: sending second resource modification information generated based on the data protocol to the development end, so that the development end converts the format of the second resource modification information generated based on the data protocol into a target format;
the process of converting the format of the second resource modification information into the target format based on the data protocol is executed at the development end, the operation end directly sends the second resource modification information to the development end, the development end can convert the format of the second resource modification information into the target format after receiving the second resource modification information, and then an editor of the development end can identify and load the resource modification information.
Executing an example at a development end by a process of converting the format of the second resource modification information into a target format based on a data protocol, wherein the main working flow is as follows:
(1) and when the modification of the game resources on the running end is finished, generating the current game resources into game resource data (namely second resource modification information) according to the convention of the game resource data protocol.
(2) And sending the generated game resource data to the development end device.
(3) The editor of the development-side equipment receives the game resource data and converts the game resource data into data which can be recognized by the editor. It is understood that this step of data conversion can also be performed on the operation-side device.
(4) And the editor reads the converted data and saves the final result after the game resource is modified as a game resource file.
For the embodiment of the application, the second resource modification information is generated based on the data protocol and can be correctly converted into the format which can be recognized by the editor at the beginning, so that the editor can correctly recognize and load the data of the running end after the resource modification, active modification on the running end is realized, the modification result is correctly synchronized to the development end, and the game development efficiency is effectively improved.
It is understood that the first resource modification information sent from the development end to the runtime end may also be game resource data generated based on a data protocol and loaded directly by the game engine.
In the embodiment of the application, in order to enable the first resource modification information of the development end to be reliably synchronized to the operation end and the second resource modification information of the operation end to be reliably synchronized to the development end, a synchronization protocol is provided, wherein the synchronization protocol stipulates a format of modification content. Specifically, the synchronization protocol may agree on an expression manner of modified resource content corresponding to a relevant operation of modifying the game resource, for example, spatial attribute information such as a location of modifying the game resource may be agreed as a key word of the attribute itself and a key value pair of a modified value thereof. The synchronization protocol may select a plurality of text formats, and the embodiment of the present application does not specifically limit a specific text format, for example, a json text format may be adopted.
Specifically, the step of sending the generated second resource modification information to the development end in step S103 may specifically include: generating modification to the game according to the modification operation as second resource modification information; converting the second resource modification information into second transmission data; and sending the second transmission data to the development terminal.
The process of converting the second resource modification information into the second transmission data may also be understood as an encoding process, that is, the second resource modification information is converted into the data that can be transmitted from the format agreed by the synchronization protocol.
Further, the step of "receiving the first resource modification information for the game from the development end" in step S101 may specifically include: receiving first transmission data for the game from the development end; the first transmission data is converted into first resource modification information, and the first resource modification information is generated by a development end based on a synchronization protocol.
The process of converting the first transmission data into the first resource modification information may also be understood as a decoding process, that is, a process of restoring the data for transmission encoded by the development end into a format agreed by the synchronization protocol.
It is understood that both the development side and the execution side may perform the synchronization and the encoding and decoding processes. Taking the synchronization and encoding of the development end and the decoding of the operation end as examples, the main working flow is as follows:
(1) on the development end equipment, opening a scene file of the operation end equipment needing to verify the effect by using an editor, selecting game resources to be modified in the scene file, and modifying the game resources according to an operation interface provided by the editor.
(2) After the game resource is modified, the modified operation is generated into data to be transmitted according to the synchronization protocol, which may also be referred to as synchronization data (i.e., first resource modification information), for example, if the editor modifies the spatial position of the game resource, the modified attribute (here, the spatial position) and the modified value are recorded into the synchronization data according to the synchronization protocol.
(3) After the synchronization data is ready, the editor will convert the synchronization data into data that can be transmitted between the development-side device and the runtime-side device.
(4) And transmitting the converted data to the operation end equipment.
(5) The running end equipment receives the data, decodes the data into a synchronous data format, then sets the changed data to the game resources according to the synchronous data (here, the change of the space position of the game resources), and the game engine can update the position of the game resources according to the new space position data. Thereby achieving the effect of modifying the synchronous development terminal.
Taking the synchronization and encoding of the running end and the decoding of the development end as an example, the main working flow is as follows:
(1) and on the running end equipment, acquiring modification operation for the game at the running end, and modifying the resource data of the game according to the modification operation through a running game engine of the game.
(2) According to the synchronization protocol, the modification to the game according to the modification operation is generated as second resource modification information, for example, the spatial position of the game resource is modified, and then the modified attribute (here, the spatial position) and the modified value are recorded in the second resource modification information according to the synchronization protocol.
(3) The second resource modification information is converted into second transmission data which can be transmitted between the operation end device and the development end device.
(4) And transmitting the second transmission data to the development end equipment.
(5) The development end device receives the second transmission data, converts the second transmission data into second resource modification information, and obtains a resource file of the game according to the second resource modification information (here, the change of the space position of the game resource), thereby achieving the modification effect of the synchronous operation end.
For the embodiment of the application, the first resource modification information, the second resource modification information and other resource modification information are based on the synchronization protocol and can have unified information content of related operations, so that the development end can correctly recognize and load the data of the operation end after the resources are modified, and the operation end can correctly recognize and load the data of the development end after the resources are modified, thereby realizing that the modification of the development end can directly see the modification effect on the operation end, also can actively modify on the operation end, and then synchronize the modification result to the development end, avoiding the processes of repeatedly packaging, copying and installing games, and improving the game development efficiency.
In this embodiment of the application, before step S101 or step S103, the method may further include the steps of: and establishing network connection between the running end and the development end.
Specifically, in the embodiment of the application, the development end device and the operation end device are both provided with the communication module, and after the game resources are changed in the development end device, the modification information (i.e., the first resource modification information) of the game resources is sent to the operation end device through the communication module. The communication module is further configured to enable the runtime device to transmit the result of the modification thereon (i.e., the second resource modification information) to the editor on the development client device.
One feasible implementation way is that a web server is built on development end equipment or an editor, connection to the server is built on operation end equipment, and communication between the development end equipment and the server can be realized after the connection is successful.
In the embodiment of the application, the first transmission data and the second transmission data obtained by conversion are data which can be transmitted between the development end device and the operation end device through the communication module.
In this embodiment of the present application, the method in each of the above embodiments may be executed by using a preset editing module, where the editing module is obtained from a development end.
Specifically, the editing module may be sent to the runtime via the communication module when the development end publishes the game to the runtime, or the editing module may be sent to the runtime via the communication module when the development end needs to change the game resource, or the editing module may be requested from the development end when the runtime end needs to change the game resource. The sending time of the editing module is not specifically limited in the embodiments of the present application.
Further, in order to save the transmission resources, when the game resources need to be changed at the development end and the editing module needs to be sent to the running end in advance, whether the editing module exists on the running end can be judged firstly, if so, the editing module does not need to be sent again, and if not, the editing module is sent normally.
In the embodiment of the application, after the editing module is installed on the running end device, the editing function of the development end editor on the game resources can be realized as a module capable of running in a game engine. The game engine can achieve the editing of game resources through the editing module when the running equipment runs. Therefore, the change of the game resources by the editor at the development end can be synchronously mapped to the change of the game resources by the game engine at the running end.
In the embodiment of the application, after the game is released to the running end, if the development end uses the editor to modify the game resource, the modification information is sent to the running end through the communication module, the running end receives the modification information (namely, the first resource modification information) of the development end editor, the editing module can be called, the game resource on the running end is modified synchronously, and therefore the purposes of modifying the editor of the development end and seeing the modification effect on the running end in real time can be achieved.
In the embodiment of the application, if the game content is directly modified on the running end, corresponding modification operation can be carried out through the editing module, the modified result (namely the second resource modification information) is synchronized to the editor of the development end to store the file, so that repeated modification and packaging operations can be reduced, the operation of directly modifying on the running end can achieve a satisfactory effect, the data on the running end is synchronized to the editor, and the editor stores the data in the project file.
In the embodiment of the present application, the editing module may specifically include a synchronization module, an operation module, and a modification module.
In the embodiment of the application, the synchronization module is used for receiving first resource modification information aiming at the game from the development end and/or sending the generated second resource modification information to the development end.
Specifically, the synchronization module is configured to open a game engine on the operation-side device after the operation-side device receives modification information (i.e., first resource modification information) of the development-side editor, and perform synchronous modification on game resources installed on the operation-side device through the game engine.
Or the synchronization module is used for synchronizing the active modification result (namely the second resource modification information) performed on the running end to the editor of the development end.
That is, the synchronization module is used for executing the above synchronization and the encoding and decoding processes, and the specific execution manner may refer to the above, which is not described herein again.
Further, the synchronization module may include a synchronization protocol and a codec tool.
The description of the synchronization protocol may specifically refer to the above, and is not described herein again.
The coding and decoding tool comprises: the coding tool is used for coding and is used for converting second resource modification information data generated according to the synchronous protocol into second transmission data which can be transmitted by the communication module; and a decoding tool for decoding, which is used for restoring the first resource modification information in the synchronous protocol format from the encoded first transmission data. When data conversion is needed, the encoding and decoding tool is called to perform processing, and the specific processing flow may refer to the above, which is not described herein again.
In the embodiment of the application, the operation module is used for obtaining modification operation used for modifying the game at the running end.
Specifically, the operation module is a module for enabling a user to operate a game resource on the running-end device, that is, when the user is not satisfied with the game effect, the active modification operation of the game can be performed on the running end. Specifically, the operation module may be configured to execute the processes from step SA to step SC, and the specific process may refer to the description above and is not described herein again.
Further, the operation module may include modules such as a tool selection interface, a resource selection tool, a property editing tool, and a spatial property adjustment tool shown in fig. 2 and fig. 3, and the specific use manner may refer to the description above, which is not described herein again.
In the embodiment of the application, the modification module is used for modifying the resource data of the game according to the first resource modification information and/or modification operation through a game engine of the running game.
Specifically, the modification module is configured to respond to a modification made to the game resource on the development end device or the execution end device, and convert the modification into a modification that can be understood by the game resource. Namely, the game engine provides an interface for modifying the game resources, and the modification module modifies the game resources based on the interface opened by the game engine according to the first resource modification information received from the development end and/or the modification operation performed by the running end.
Further, the editing module may further include a data conversion module, configured to convert the game resource modified on the running end into a target format that can be recognized by the editor, and then synchronize the data in the target format (i.e., the second resource modification information in the target format) with the development end device.
In the embodiment of the application, the data conversion module mainly comprises a game resource data protocol and a data conversion tool.
The description of the game resource data protocol may specifically refer to the above description of the data protocol, and is not described herein again.
The data conversion tool is used for converting the game resource data into data which can be identified by the editor, and when the data is required to be converted into the target format, the data conversion tool is called to process the data, and the specific processing process can be referred to above, and is not described in detail herein.
In this embodiment of the application, the editing module may also not include the data conversion module, and the data conversion module is disposed on the editor of the development end. The details of the data conversion tool are similar and will not be described further herein. The editor of the development end can convert the game resource data (namely the second resource modification information) into a target format which can be identified by the editor through a data conversion tool after receiving the game resource data, and then reads and stores the target format.
The resource data processing method provided by the embodiment of the application can effectively reduce the processing steps during game modification and obviously improve the game development efficiency.
The embodiment of the present application further provides a method for processing resource data, which is applied to a development end, and as shown in fig. 4, the method includes:
step S401: acquiring first resource modification information for modifying a game by a development end;
step S402: sending the first resource modification information to the running end, so that the running end modifies the resource data of the installed game according to the first resource modification information;
step S403: receiving second resource modification information aiming at the game from the running end, wherein the second resource modification information is generated based on modification operation of the game at the running end;
step S404: and obtaining a resource file of the game based on the second resource modification information.
Wherein, the method may only perform step S401 and step S402, but not perform step S403 and step S404; only step S403 and step S404 may be performed without performing step S401 and step S402; it is also possible to perform all of steps S401 to S404.
Specifically, for step S401 and step S402, after the development end publishes the game to the operation end, if the development end modifies the game resource, the first resource modification information generated by this modification may be sent to the operation end, and the operation end receives the first resource modification information from the development end, and may modify the resource of the published game synchronously.
For step S403 and step S404, after the development end publishes the game to the operation end, the development end may also directly modify the resources of the published game through the modification operation performed on the game on the operation end, and the development end receives the second resource modification information from the operation end to finally obtain the resource file of the game.
Alternatively, the game may be distributed to the runtime at the development end, and the runtime end receives the first resource modification information from the development end through steps S401 and S402, modifies the resource of the distributed game, then modifies the resource of the game again through the modification operation performed on the game directly on the runtime end, and the development end receives the second resource modification information from the runtime end through steps S403 and S404, and finally obtains the resource file of the game.
In the embodiment of the application, the running end synchronizes the second resource modification information obtained by modifying the game to the development end, so that the effect of synchronous modification is achieved. The development end can save the final modification result as a game resource file so as to complete the development of the game. By the embodiment of the application, the expected effect of the game can be directly obtained by modifying the running end, and the method is a relatively efficient game resource modification mode.
In the embodiment of the present application, in order to enable the second resource modification information of the runtime end to be reliably transmitted back to the development end, a data protocol (also referred to as a game resource data protocol) is provided, which refers to an agreement on game resource data. Specifically, the data protocol specifies a format of the resource modification information for conversion into a target format, which is a format recognizable by an editor of the development end. Generally, the data of the game resources are different data for different game resources depending on the definition of the game resources by the game engine itself. A data protocol may be understood as information that describes any game resource. The game engine can load game resources into the engine through the information and display the loading result. An editor may be used to edit and save this information. During editing, there may be some additional information to assist the editor in modifying the game asset. The data recognizable to the editor generally includes game asset data, and the editor's own data.
In the embodiment of the application, the process of converting the format of the second resource modification information into the target format based on the data protocol can be executed at the running end or the development end, so that the game resource modified on the running end is converted into the data format which can be identified by the editor of the development end, and then is stored into the data supported by the editor, and thus the game resource modified on the running end equipment can be correctly synchronized to the development end equipment.
Specifically, the step of "obtaining the resource file of the game according to the second resource modification information" in step S404 may specifically include at least one of the following steps:
the first method is as follows: and converting the format of the second resource modification information generated based on the preset data protocol into a target format, and obtaining a resource file of the game according to the second resource modification information of the target format.
The process of converting the format of the second resource modification information into the target format based on the data protocol is executed at the development end, the operation end directly sends the second resource modification information to the development end, the development end can convert the format of the second resource modification information into the target format after receiving the second resource modification information, and then an editor of the development end can identify and load the resource modification information.
The second method comprises the following steps: and obtaining a resource file of the game according to the second resource modification information which is generated based on the predetermined data protocol and is converted into the target format.
Namely, the process of converting the format of the second resource modification information into the target format based on the data protocol is executed at the operation end, and the operation end converts the format of the second resource modification information into the target format and then sends the target format to the development end.
Executing an example at a development end by a process of converting the format of the second resource modification information into a target format based on a data protocol, wherein the main working flow is as follows:
(1) and when the modification of the game resources on the running end is finished, generating the current game resources into game resource data (namely second resource modification information) according to the convention of the game resource data protocol.
(2) And sending the generated game resource data to the development end device.
(3) The editor of the development-side equipment receives the game resource data and converts the game resource data into data which can be recognized by the editor. It is understood that this step of data conversion can also be performed on the operation-side device.
(4) And the editor reads the converted data and saves the final result after the game resource is modified as a game resource file.
For the embodiment of the application, the second resource modification information is generated based on the data protocol and can be correctly converted into the format which can be recognized by the editor at the beginning, so that the editor can correctly recognize and load the data of the running end after the resource modification, active modification on the running end is realized, the modification result is correctly synchronized to the development end, and the game development efficiency is effectively improved.
It is understood that the first resource modification information sent from the development end to the runtime end may also be game resource data generated based on a data protocol and loaded directly by the game engine.
In the embodiment of the application, in order to enable the first resource modification information of the development end to be reliably synchronized to the operation end and the second resource modification information of the operation end to be reliably synchronized to the development end, a synchronization protocol is provided, wherein the synchronization protocol stipulates a format of modification content. Specifically, the synchronization protocol may agree on an expression manner of modified resource content corresponding to a relevant operation of modifying the game resource, for example, spatial attribute information such as a location of modifying the game resource may be agreed as a key word of the attribute itself and a key value pair of a modified value thereof. The synchronization protocol may select a plurality of text formats, and the embodiment of the present application does not specifically limit a specific text format, for example, a json text format may be adopted.
Specifically, the step of "sending the first resource modification information to the running end" in step S402 may specifically include: generating modification to the game as first resource modification information according to a predetermined synchronization protocol; converting the first resource modification information into first transmission data; and sending the first transmission data to the operation end.
The process of converting the first resource modification information into the first transmission data may also be understood as an encoding process, that is, the first resource modification information is converted into the data that can be transmitted from the format agreed by the synchronization protocol.
Further, the step of "receiving second resource modification information for the game from the running end" in step S403 may specifically include: receiving second transmission data for the game from the running end; and converting the second transmission data into second resource modification information, wherein the second resource modification information is generated by modifying the game according to the modification operation based on the synchronous protocol.
The process of converting the second transmission data into the second resource modification information may also be understood as a decoding process, that is, a process of restoring the data for transmission after being encoded by the operation end into a format agreed by the synchronization protocol.
It is understood that both the development side and the execution side may perform the synchronization and the encoding and decoding processes. Taking the synchronization and encoding of the development end and the decoding of the operation end as examples, the main working flow is as follows:
(1) on the development end equipment, opening a scene file of the operation end equipment needing to verify the effect by using an editor, selecting game resources to be modified in the scene file, and modifying the game resources according to an operation interface provided by the editor.
(2) After the game resource is modified, the modified operation is generated into data to be transmitted according to the synchronization protocol, which may also be referred to as synchronization data (i.e., first resource modification information), for example, if the editor modifies the spatial position of the game resource, the modified attribute (here, the spatial position) and the modified value are recorded into the synchronization data according to the synchronization protocol.
(3) After the synchronization data is ready, the editor will convert the synchronization data into data that can be transmitted between the development-side device and the runtime-side device.
(4) And transmitting the converted data to the operation end equipment.
(5) The running end equipment receives the data, decodes the data into a synchronous data format, then sets the changed data to the game resources according to the synchronous data (here, the change of the space position of the game resources), and the game engine can update the position of the game resources according to the new space position data. Thereby achieving the effect of modifying the synchronous development terminal.
For the embodiment of the application, the first resource modification information, the second resource modification information and other resource modification information are based on the synchronization protocol and can have unified information content of related operations, so that the development end can correctly recognize and load the data of the operation end after the resources are modified, and the operation end can correctly recognize and load the data of the development end after the resources are modified, thereby realizing that the modification of the development end can directly see the modification effect on the operation end, also can actively modify on the operation end, and then synchronize the modification result to the development end, avoiding the processes of repeatedly packaging, copying and installing games, and improving the game development efficiency.
In this embodiment of the application, before step S402 or step S403, the method may further include the steps of: and establishing network connection between the running end and the development end.
Specifically, in the embodiment of the application, the development end device and the operation end device are both provided with the communication module, and after the game resources are changed in the development end device, the modification information (i.e., the first resource modification information) of the game resources is sent to the operation end device through the communication module. The communication module is further configured to enable the runtime device to transmit the result of the modification thereon (i.e., the second resource modification information) to the editor on the development client device.
One feasible implementation way is that a web server is built on development end equipment or an editor, connection to the server is built on operation end equipment, and communication between the development end equipment and the server can be realized after the connection is successful.
In the embodiment of the application, the first transmission data and the second transmission data obtained by conversion are data which can be transmitted between the development end device and the operation end device through the communication module.
The resource data processing method provided by the embodiment of the application can effectively reduce the processing steps during game modification and obviously improve the game development efficiency.
The embodiment of the present application further provides a system for processing resource data, as shown in fig. 5, which mainly includes an initiating end and a running end.
The running end is configured to execute the resource data processing method shown in fig. 1, and the specific processing procedure may refer to the description above, which is not described herein again.
The development end is configured to execute the resource data processing method shown in fig. 4, and the specific processing procedure may also refer to the description above, which is not described herein again.
In the embodiment of the application, a network connection is established between the operation terminal and the development terminal, and the development terminal sends the modification information (i.e. the first resource modification information) of the game resource to the operation terminal device. Or for the running-end device to transmit the results of the modification thereon (i.e., the second resource modification information) to the editor on the originating device. The specific implementation can also refer to the description in the above, and is not described herein again.
In the embodiment of the present application, the processing system of the resource data may be implemented based on a cross-platform technology, that is, the development end device and the execution end device may be based on the same or different operating systems or hardware architectures.
The development end equipment and the operation end equipment can be both terminals, servers and other equipment. The terminal may be a notebook computer, a tablet computer, a desktop computer, a set-top box, a smart speaker, a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a portable game device, a smart watch, a smart voice interaction device, an in-vehicle terminal, etc.), a smart appliance (e.g., but not limited to, a smart television), and the like, but is not limited thereto.
In the following, an example in which the development end is a computer and the operation end is a target device is taken as an example, and an example of the embodiment of the present application is shown in fig. 6. Specifically, after the computer develops the game and issues the game to the target device, the editor of the computer end can be used for modifying game resources, a modification instruction is sent to the target device end through the communication module, the modification instruction carries resource modification information so as to synchronize modification to the game of the target device end, and the communication module of the target device end receives the modification instruction, modifies the resources through the pre-obtained editing module and verifies the effect.
Fig. 7 shows another example of an embodiment of the present application. Specifically, after the editor of the development end publishes the game to the target device, the target device may edit the game resource and send the modification information of the game resource to the editor of the development end, and the editor may store the final result.
The present embodiment provides an editor (which may correspond to the editing module above) applied to the runtime side, as shown in fig. 8, where the editor 80 may include: a synchronization module 801 and/or an operation module 802, and a modification module 803, wherein,
the synchronization module 801 is configured to receive first resource modification information for a game from an initiation end, and the operation module 802 is configured to obtain a modification operation for the game at a running end;
the modification module 803 is configured to modify, by a game engine of the running game, resource data of the game according to the first resource modification information and/or modification operation;
if the resource data of the game is modified according to the modification operation, the synchronization module 801 is further configured to send the generated second resource modification information to the development terminal.
In an optional implementation, the operation module 802, when configured to obtain a modification operation for the game at the running end, is specifically configured to:
activating a modification tool on the run end;
and acquiring the modification operation of the game through the modification tool.
In an alternative embodiment, the operation module 802 is specifically configured to, when being used for acquiring the modification operation performed on the game by the modification tool, at least one of the following:
setting a selectable attribute aiming at least one resource of the game through a first modification tool, and acquiring a selection operation of any resource;
displaying a corresponding spatial attribute adjustment control for at least one resource of the game through a second modification tool, and acquiring an adjustment operation on the at least one spatial position adjustment control, wherein the adjustment operation on the spatial position adjustment control comprises at least one of the following spatial attribute adjustments on the corresponding game resource: move, rotate, zoom, tilt;
and displaying corresponding attribute information and attribute modification options for the currently selected resource of the game through a third modification tool, and acquiring the selection operation of any attribute modification option.
In an optional implementation, the synchronization module 801, when configured to send the generated second resource modification information to the originating terminal, is specifically configured to at least one of:
converting the format of second resource modification information generated based on a data protocol into a target format, and sending the second resource modification information of the target format to an initiating terminal;
sending second resource modification information generated based on the data protocol to the development end, so that the development end converts the format of the second resource modification information generated based on the data protocol into a target format;
the data protocol appoints a format of the resource modification information for converting into a target format, and the target format is a format which can be recognized by an editor of the development end.
In an alternative embodiment, the synchronization module 801, when configured to receive the first resource modification information for the game from the development end, is specifically configured to:
receiving first transmission data for the game from the development end;
converting the first transmission data into first resource modification information, wherein the first resource modification information is generated by a development end based on a synchronous protocol;
in an optional implementation manner, the synchronization module 801, when configured to send the generated second resource modification information to the originating terminal, is specifically configured to:
generating modification to the game according to the modification operation as second resource modification information based on the synchronization protocol;
converting the second resource modification information into second transmission data;
sending the second transmission data to the development end;
where the synchronization protocol provides for the format of the modified content.
In an alternative embodiment, the synchronization module 801, before being configured to receive the first resource modification information for the game from the development terminal or send the generated second resource modification information to the development terminal, is further configured to:
and establishing network connection between the running end and the development end.
In an alternative embodiment, the editor 80 is obtained from the development end.
The editor of the embodiment of the present application may execute the method provided by the embodiment of the present application, and the implementation principle is similar, the actions executed by the modules in the editor of the embodiments of the present application correspond to the steps in the method of the embodiments of the present application, and for the detailed functional description of the modules of the editor, reference may be specifically made to the description in the corresponding method shown in the foregoing, and details are not repeated here.
The embodiment of the present application provides an editor, which is applied to a development end, as shown in fig. 9, where the editor 90 may include: an acquisition module 901, a communication module 902, and a generation module 903, wherein,
the obtaining module 901 is configured to obtain first resource modification information for modifying a game by a development end;
the communication module 902 is configured to send the first resource modification information to the running end, so that the running end modifies resource data of the installed game according to the first resource modification information, and/or receive second resource modification information for the game from the running end, where the second resource modification information is generated based on a modification operation performed on the game at the running end;
the generating module 903 is configured to obtain a resource file of the game based on the second resource modification information.
In an optional implementation manner, when the generating module 903 is configured to obtain the resource file of the game according to the second resource modification information, at least one of the following is specifically used:
converting the format of second resource modification information generated based on a preset data protocol into a target format, and obtaining a resource file of the game according to the second resource modification information of the target format;
obtaining a resource file of the game according to second resource modification information which is generated based on a predetermined data protocol and is converted into a target format;
the data protocol appoints a format of the resource modification information for converting into a target format, and the target format is a format which can be recognized by an editor of the development end.
In an optional implementation manner, when the communication module 902 is configured to send the first resource modification information to the operation end, specifically to:
generating modification to the game as first resource modification information according to a predetermined synchronization protocol;
converting the first resource modification information into first transmission data;
sending the first transmission data to an operation end;
in an optional implementation manner, the communication module 902, when configured to receive the second resource modification information for the game from the runtime, is specifically configured to:
receiving second transmission data for the game from the running end;
converting the second transmission data into second resource modification information, wherein the second resource modification information is generated by modifying the game according to modification operation, wherein the development end is based on a synchronous protocol;
where the synchronization protocol provides for the format of the modified content.
The editor of the embodiment of the present application may execute the method provided by the embodiment of the present application, and the implementation principle is similar, the actions executed by the modules in the editor of the embodiments of the present application correspond to the steps in the method of the embodiments of the present application, and for the detailed functional description of the modules of the editor, reference may be specifically made to the description in the corresponding method shown in the foregoing, and details are not repeated here.
The embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory, where the processor executes the computer program to implement the steps of the foregoing method embodiments, and optionally, the electronic device may refer to a development-side device, or the electronic device may refer to a running-side device.
In an alternative embodiment, an electronic device is provided, as shown in fig. 10, the electronic device 1000 shown in fig. 10 comprising: a processor 1001 and a memory 1003. Where the processor 1001 is coupled to the memory 1003, such as via a bus 1002. Optionally, the electronic device 1000 may further include a transceiver 1004, and the transceiver 1004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data. It should be noted that the transceiver 1004 is not limited to one in practical application, and the structure of the electronic device 1000 is not limited to the embodiment of the present application.
The Processor 1001 may be a CPU (Central Processing Unit), a general-purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 1001 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
Bus 1002 may include a path that transfers information between the above components. The bus 1002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 1002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
The Memory 1003 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact disk Read Only Memory) or other optical disk storage, optical disk storage (including Compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium, other magnetic storage devices, or any other medium that can be used to carry or store a computer program and that can be Read by a computer, without limitation.
The memory 1003 is used for storing computer programs for executing the embodiments of the present application, and is controlled by the processor 1001. The processor 1001 is configured to execute a computer program stored in the memory 1003 to implement the steps shown in the foregoing method embodiments.
Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program may implement the steps and corresponding contents of the foregoing method embodiments.
Embodiments of the present application further provide a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps and corresponding contents of the foregoing method embodiments can be implemented.
The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than illustrated or otherwise described herein.
It should be understood that, although each operation step is indicated by an arrow in the flowchart of the embodiment of the present application, the implementation order of the steps is not limited to the order indicated by the arrow. In some implementation scenarios of the embodiments of the present application, the implementation steps in the flowcharts may be performed in other sequences as desired, unless explicitly stated otherwise herein. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on an actual implementation scenario. Some or all of these sub-steps or stages may be performed at the same time, or each of these sub-steps or stages may be performed at different times, respectively. In a scenario where execution times are different, an execution sequence of the sub-steps or the phases may be flexibly configured according to requirements, which is not limited in the embodiment of the present application.
The above are only optional embodiments of partial implementation scenarios in the present application, and it should be noted that, for those skilled in the art, other similar implementation means based on the technical idea of the present application are also within the scope of protection of the embodiments of the present application without departing from the technical idea of the present application.

Claims (14)

1. A resource data processing method is applied to a running end, and comprises the following steps:
receiving first resource modification information aiming at a game from an initiating terminal, and/or acquiring modification operation for modifying the game at the running terminal;
modifying, by a game engine of the running game, resource data of the game according to the first resource modification information and/or the modification operation;
and if the resource data of the game are modified according to the modification operation, sending the generated second resource modification information to the development end.
2. The processing method according to claim 1, wherein the obtaining of the modification operation for modifying the game at the running end comprises:
activating a modification tool on the run end;
acquiring modification operation for modifying the game through the modification tool;
the obtaining of the modification operation for modifying the game through the modification tool includes at least one of:
setting a selectable attribute for at least one resource of the game through a first modification tool, and acquiring a selection operation of any resource;
displaying a corresponding spatial attribute adjustment control for at least one resource of the game through a second modification tool, and acquiring an adjustment operation on the at least one spatial position adjustment control, wherein the adjustment operation on the spatial position adjustment control includes at least one of the following spatial attribute adjustments on the corresponding game resource: move, rotate, zoom, tilt;
and displaying corresponding attribute information and attribute modification options for the currently selected resource of the game through a third modification tool, and acquiring the selection operation of any one of the attribute modification options.
3. The processing method according to claim 1, wherein the sending the generated second resource modification information to the originating terminal includes at least one of:
converting the format of second resource modification information generated based on a data protocol into a target format, and sending the second resource modification information of the target format to the development end;
sending second resource modification information generated based on the data protocol to the development terminal so that the development terminal converts the format of the second resource modification information generated based on the data protocol into a target format;
the data protocol appoints a format of the resource modification information for conversion into a target format, and the target format is a format which can be recognized by an editor of the development end.
4. The processing method of claim 1, wherein the receiving first resource modification information for the game from the development end comprises:
receiving first transmission data for the game from a development end;
converting the first transmission data into the first resource modification information, the first resource modification information being generated by the originating terminal based on a synchronization protocol;
and/or, the sending the generated second resource modification information to the originating terminal includes:
generating, based on the synchronization protocol, a modification to the game according to the modification operation as the second resource modification information;
converting the second resource modification information into second transmission data;
sending the second transmission data to the development end;
wherein the synchronization protocol specifies a format for modifying the content.
5. The processing method according to any one of claims 1 to 4, wherein the method is performed by using a preset editing module, and the editing module is acquired from the development end.
6. The process of claim 5, wherein the editing module comprises a synchronization module, an operation module and a modification module;
the synchronization module is used for receiving first resource modification information aiming at games from an initiating terminal and/or sending generated second resource modification information to the initiating terminal;
the operation module is used for obtaining modification operation used for modifying the game at the running end;
and the modification module is used for modifying the resource data of the game through the game engine of the running game according to the first resource modification information and/or the modification operation.
7. A method for processing resource data, applied to an originating terminal, the method comprising:
acquiring first resource modification information for modifying a game by the development end;
sending the first resource modification information to a running end, so that the running end modifies the installed resource data of the game according to the first resource modification information;
and/or receiving second resource modification information aiming at the game from the running end, wherein the second resource modification information is generated based on modification operation of the game at the running end;
and obtaining the resource file of the game according to the second resource modification information.
8. The processing method according to claim 7, wherein the obtaining of the resource file of the game according to the second resource modification information includes at least one of:
converting the format of second resource modification information generated based on a preset data protocol into a target format, and obtaining a resource file of the game according to the second resource modification information of the target format;
obtaining a resource file of the game according to second resource modification information which is generated based on a preset data protocol and is converted into a target format;
the data protocol appoints a format of the resource modification information for conversion into a target format, and the target format is a format which can be recognized by an editor of the development end.
9. The processing method according to claim 7 or 8, wherein the sending the first resource modification information to a runtime side comprises:
generating modifications to the game as the first resource modification information according to a predetermined synchronization protocol;
converting the first resource modification information into first transmission data;
sending the first transmission data to the operation end;
the receiving second resource modification information for the game from the running end comprises:
receiving second transmission data for the game from the running end;
converting the second transmission data into second resource modification information, wherein the second resource modification information is generated by the development terminal according to the modification operation and modification of the game based on the synchronization protocol;
wherein the synchronization protocol specifies a format for modifying the content.
10. An editor, for application to a runtime, the editor comprising:
the system comprises a synchronization module and/or an operation module, wherein the synchronization module is used for receiving first resource modification information aiming at a game from a development end, and the operation module is used for acquiring modification operation for modifying the game at the running end;
the modification module is used for modifying the resource data of the game according to the first resource modification information and/or the modification operation through a running game engine of the game;
and if the resource data of the game are modified according to the modification operation, the synchronization module is further used for sending the generated second resource modification information to the development end.
11. An editor, for use at a development end, the editor comprising:
the acquisition module is used for acquiring first resource modification information for modifying the game by the development end;
a communication module, configured to send the first resource modification information to a running end, so that the running end modifies resource data of the installed game according to the first resource modification information, and/or receive second resource modification information for the game from the running end, where the second resource modification information is generated based on a modification operation of modifying the game at the running end;
and the generating module is used for obtaining the resource file of the game based on the second resource modification information.
12. A system for processing resource data, comprising:
a running end for executing the processing method of the resource data according to any one of claims 1 to 6;
a development terminal for executing the method for processing resource data according to any one of claims 7 to 9.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory, characterized in that the processor executes the computer program to implement the steps of the method of any of claims 1-6 or claims 7-9.
14. 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 6 or 7 to 9.
CN202210095745.5A 2022-01-26 2022-01-26 Resource data processing method, system, editor, electronic device and storage medium Pending CN114404996A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210095745.5A CN114404996A (en) 2022-01-26 2022-01-26 Resource data processing method, system, editor, electronic device and storage medium
PCT/CN2022/118505 WO2023142494A1 (en) 2022-01-26 2022-09-13 Resource data processing method and system, editor, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210095745.5A CN114404996A (en) 2022-01-26 2022-01-26 Resource data processing method, system, editor, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114404996A true CN114404996A (en) 2022-04-29

Family

ID=81277600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210095745.5A Pending CN114404996A (en) 2022-01-26 2022-01-26 Resource data processing method, system, editor, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN114404996A (en)
WO (1) WO2023142494A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023142494A1 (en) * 2022-01-26 2023-08-03 厦门雅基软件有限公司 Resource data processing method and system, editor, electronic device, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10357718B2 (en) * 2017-02-28 2019-07-23 Electronic Arts Inc. Realtime dynamic modification and optimization of gameplay parameters within a video game application
CN109857432B (en) * 2019-01-14 2022-05-20 珠海金山网络游戏科技有限公司 Hot updating method and device for game application
CN112988278B (en) * 2021-04-12 2022-09-06 上海米哈游天命科技有限公司 Meta file modification method and device of resource file, electronic equipment and storage medium
CN114404996A (en) * 2022-01-26 2022-04-29 厦门雅基软件有限公司 Resource data processing method, system, editor, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023142494A1 (en) * 2022-01-26 2023-08-03 厦门雅基软件有限公司 Resource data processing method and system, editor, electronic device, and storage medium

Also Published As

Publication number Publication date
WO2023142494A1 (en) 2023-08-03

Similar Documents

Publication Publication Date Title
WO2020221056A1 (en) Image drawing method, apparatus, electronic device and computer storage medium
EP1708079A1 (en) System for efficient remote projection of rich interactive user interfaces
CN110704136A (en) Rendering method of small program assembly, client, electronic device and storage medium
US20130318453A1 (en) Apparatus and method for producing 3d graphical user interface
US8140999B2 (en) Display process device and display process method
US20170185422A1 (en) Method and system for generating and controlling composite user interface control
CN116610881A (en) WebGL browsing interaction method based on low-code software
CN114404996A (en) Resource data processing method, system, editor, electronic device and storage medium
CN114570020A (en) Data processing method and system
CN112807695A (en) Game scene generation method and device, readable storage medium and electronic equipment
WO2023169316A1 (en) User interface framework-based processing method and apparatus, device, and medium
CN112274910A (en) Virtual key configuration method, virtual key method and related device
CN111399811A (en) Method, device and equipment for developing visual page and storage medium
CN115941876A (en) Audio and video conference implementation method and device, storage medium and computer equipment
CN114296855A (en) User interface state management method and device, electronic equipment and storage medium
CN111813407B (en) Game development method, game running device and electronic equipment
CN114028801A (en) User input method, device, equipment and storage medium based on cloud
CN114416270A (en) Page display method, device, equipment and medium
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN115040866A (en) Cloud game image processing method, device, equipment and computer readable storage medium
Poirier-Quinot et al. BlenderCAVE: A multimodal scene graph editor for virtual reality
CN115309376B (en) Application creation method and device, electronic equipment and storage medium
CN118037923A (en) Image rendering method and device, storage medium and electronic equipment
US20240082705A1 (en) Electronic apparatus and method of operating the same
CN115469838A (en) Information display method and device, computer readable storage medium and electronic equipment

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