Check patentability & draft patents in minutes with Patsnap Eureka AI!

Cocos preform high-efficiency exporting method and system and medium

A prefabricated, high-efficiency technology, applied in the field of game development, can solve problems affecting game development quality, consumption, time and labor costs, etc., to improve development quality and efficiency, reduce workload, and improve the effect of reduction

Pending Publication Date: 2022-04-01
苏州九宫数字科技有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention mainly solves the problem that the existing Cocos Creator prefab building method consumes a lot of time and labor costs, and it affects the quality of game development to a certain extent

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Cocos preform high-efficiency exporting method and system and medium
  • Cocos preform high-efficiency exporting method and system and medium
  • Cocos preform high-efficiency exporting method and system and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] This embodiment provides a high-efficiency export method of Cocos preforms, such as figure 1 and figure 2 shown, including the following steps:

[0060] S100. The step of generating the first layer specifically includes:

[0061] S110, configuring the method package, obtaining a PS file, and generating several first layers to be processed based on the method package and the PS file;

[0062] Specifically, the first method is configured in the method package; in this embodiment, the method package is adaptively configured according to the programming language, and in this embodiment, the first method is a duplicate method, which is used to generate a copy of the document form;

[0063] Specifically, export the first picture file and the first layer layout file of the PS file; the first picture file is the picture resource corresponding to each element in the PS design interface, which is integrated according to the layout of each element in the interface A picture f...

Embodiment 2

[0128] This embodiment is based on the same inventive concept as the high-efficiency export method of Cocos preforms described in Example 1, and further provides a high-efficiency export system of Cocos preforms, such as image 3 As shown, including: layer generation module, program file generation module and prefab building module;

[0129] In the high-efficiency export system of the Cocos prefab, the layer generation module is used to configure the method package and obtain the PS file, and the layer generation module generates several first layers to be processed based on the method package and the PS file ;

[0130] Specifically, the first method is configured in the method package; the first method is a duplicate method;

[0131] Specifically, the layer generation module derives the first picture file and the first layer layout file of the PS file; the layer generation module calls the first method to generate the first copy file of the first picture file; the layer The...

Embodiment 3

[0143] This embodiment provides a computer-readable storage medium, including:

[0144] The storage medium is used to store the computer software instructions used to implement the high-efficiency export method of the Cocos preform described in the above-mentioned embodiment 1, which includes the instructions for executing the above-mentioned high-efficiency export method of the Cocos preform. program; specifically, the executable program can be built into the high-efficiency export system of the Cocos preform described in Embodiment 2, so that the high-efficiency export system of the Cocos prefab can realize the described The high-efficiency export method of the Cocos preform described in Example 1.

[0145] In addition, the computer-readable storage medium in this embodiment may use any combination of one or more readable storage media, wherein the readable storage medium includes electrical, optical, electromagnetic, infrared or semiconductor systems, devices or devices, or...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a high-efficiency export method and system for a Cocos preform and a medium. The method comprises the following steps: configuring a method package, obtaining a PS file, and generating a plurality of first to-be-processed layers based on the method package and the PS file; configuring a processing program package, creating a root node, and executing a circular traversal processing operation based on the processing program package, the root node and the plurality of first to-be-processed layers to obtain a first program file; configuring a Cocos engine, and executing an interface building operation based on the processing program package, the first program file and the Cocos engine; according to the method, the Cocos preform can be quickly and directly exported from the PS file, the workload of image cutting and interface building is reduced, meanwhile, interface element layout building can be carried out according to accurate position information and size information, the preform export reduction degree is further improved, and the game development quality and efficiency are improved.

Description

technical field [0001] The present invention relates to the technical field of game development, in particular to a high-efficiency export method, system and medium of a Cocos preform. Background technique [0002] In the existing technology, when using Cocos Creator for game development, it is an extremely critical development link to build the Cocos Creator prefab according to the interface designed by the artist; however, in this development link, there are the following problems that reduce the quality of game development : [0003] First, the cutting process of the artist and the process of building the game interface by the client personnel based on the cut picture, the mechanical repetition is high, and repeated execution will consume a lot of time and labor costs, reducing the efficiency of game development; [0004] In the second aspect, the interface construction process of the client personnel can only be based on the design drawing, and there is no accurate coor...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): A63F13/60
Inventor 杨帆
Owner 苏州九宫数字科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More