GUI quick repeated engraving production method based on mobile phone game

文档序号:754056 发布日期:2021-04-06 浏览:9次 中文

阅读说明:本技术 一种基于手机游戏gui快速复刻生产方法 (GUI quick repeated engraving production method based on mobile phone game ) 是由 刘泳 钟国良 于 2020-12-29 设计创作,主要内容包括:本发明涉及一种基于手机游戏GUI快速复刻生产方法,通过采用统一的命名规则,本发明在设计端与开发端,通过不同的工具来提高GUI的产生效率;在GUI的设计端,通过命名规则,可以批量化的将源文件中的GUI贴图元素,切割存储到本地磁盘,避免重复性的手工存储;在开发端,通过不同组件类型及属性列表,可以自由的关联GUI元素的逻辑属性及资源,从而实现基于控件化的制作,减少开发人员低效的基础脚本操作。通过采用以上的制作规范以及与规范配套的开发环境中GUI转换工具,从而实现GUI内容的生产环境转换,快速还原GUI原设计文件中的效果,避免二次手工开发,保障GUI的产出效率与质量。(The invention relates to a GUI (graphical user interface) quick re-engraving production method based on a mobile game, which adopts a unified naming rule, and improves the generation efficiency of the GUI by different tools at a design end and a development end; at the design end of the GUI, GUI map elements in a source file can be cut and stored in a local disk in batch through a naming rule, so that repeated manual storage is avoided; at the development end, logic attributes and resources of GUI elements can be associated freely through different component types and attribute lists, so that control-based production is realized, and low-efficiency basic script operation of developers is reduced. By adopting the manufacturing standard and the GUI conversion tool in the development environment matched with the manufacturing standard, the production environment conversion of GUI content is realized, the effect in the original GUI design file is quickly restored, secondary manual development is avoided, and the output efficiency and quality of the GUI are guaranteed.)

1. A quick re-engraving production method based on a mobile phone game GUI is characterized by comprising the following steps:

step 1: in the art production environment, the central control module designs basic elements and layout typesetting related to the GUI;

step 2: for the layer of the text type, the naming does not need to be modified, for the bitmap layer, the layer naming needs to be modified, and the exported file name is specified, wherein the file name represents the file name finally stored on the disk;

and step 3: for different control types, GUI elements to be contained are stored in groups, a Group layer is created in an art production environment, and text and bitmap layers contained in the controls are stored under sub-nodes of the Group layer; adding an identifier with a format of 'layer name [ attribute list ] @ control type' on a Group layer to determine a specific specified type of the current control; if the control type is not identified in the Group layer, the control type is generated according to a common GUI node when the engineering reduction is developed, and any composite GUI component cannot be bound;

and 4, step 4: repeating the step 3 until all layers of the source file are classified into a specific control group or a layout group;

and 5: exporting the pictures in the original GUI design file in batches by using a self-service batch picture cutting tool of the art environment, storing the pictures and word libraries related to GUI design into subdirectories of a development project, and automatically monitoring new resource change by a bottom engine of the development environment to complete the import operation of resources;

step 6: the invention analyzes the conversion tool, sets the configuration information needed by the tool before starting for the first time;

and 7: clicking a menu item of a conversion tool through a menu item inlet in a development environment, opening a main interface of an analysis conversion tool, dragging and dropping a GUI original file in a development project to an original file reading area of a conversion tool interface, finishing information reading of the original file by the tool, displaying an operation area on a layer, selecting a GUI layer required to be exported according to development requirements, and generating a selected GUI coating;

the conversion tool completes the generation of all components and the association of resources and generates the structured GUI effect so as to complete the production environment conversion and the repeated production of the GUI.

2. The mobile phone game GUI-based rapid re-engraving production method according to claim 1, wherein said central control module groups the different control GUIs in step 3 into layers according to the definition of the different layers, said central control module is provided with a preset layer definition matrix T0 and a preset layer name matrix A0;

for the preset layer definition matrix T0, setting T0(T1, T2, T3, T4), where T1 is a first preset layer definition, T2 is a second preset layer definition, T3 is a third preset layer definition, T4 is a fourth preset layer definition, and the preset layer definitions gradually increase in sequence;

for the preset layer name matrix a0, setting a0(a1, a2, A3, a4), where a1 is a first preset layer name, a2 is a second preset layer name, A3 is a third preset layer name, and a4 is a fourth preset layer name;

the central control module compares the layer definition T with parameters in a T0 matrix, and selects a corresponding layer name from an A0 matrix according to a comparison result:

when T is not more than T1, the center control module selects the layer name A1;

when T is more than T1 and less than or equal to T2, the layer name A2 is selected as the central control module;

when T is more than T2 and less than or equal to T3, the layer name A3 is selected as the central control module;

and when T is more than T3 and less than or equal to T4, the layer name A4 is selected as the central control module.

3. The GUI fast replication production method according to claim 2, wherein the central control module further comprises a preset map type matrix B0 and a preset word stock type matrix C0 for controlling the storage of the map and word stock in the subdirectory of the development project in the step 5;

setting B0(B1, B2, B3 and B4) for the preset map type matrix B0, wherein B1 is a first preset map type, B2 is a second preset map type, B3 is a third preset map type, and B4 is a fourth preset map type;

setting C0(C1, C2, C3 and C4) for the preset word stock type matrix C0, wherein C1 is a first preset word stock type, C2 is a second preset word stock type, C3 is a third preset word stock type, and C4 is a fourth preset word stock type;

when the central control module groups the chartlets and the word stock contained in the GUI, the central control module selects the word stock types according to the chartlet types:

and when the preset map type is Bi, i is 1,2,3 and 4, and the central control module presets the word stock type to be Ci.

4. The GUI fast re-engraving method of claim 3, wherein the central control module further comprises a preset map brightness value matrix D0, and D0(D1, D2, D3, D4) is set, wherein D1 is a first preset map brightness value, D2 is a second preset map brightness value, D3 is a third preset map brightness value, and D4 is a fourth preset map brightness value, and the preset map brightness values are gradually increased in sequence;

when the central control module selects a map type, the central control module compares the map brightness value D with parameters in a D0 matrix, and selects a corresponding map type from a B0 matrix according to a comparison result;

when D is not more than D1, the central control module selects a map type B1;

when D is more than D1 and less than or equal to D2, the central control module selects a map type B2;

when D is more than D2 and less than or equal to D3, the central control module selects a map type B3;

when D is greater than D3 and less than or equal to D4, the central control module selects a map type B4.

5. The GUI fast re-engraving production method based on mobile phone games of claim 4, wherein the central control module is further provided with a preset map definition matrix G0 and a preset brightness value adjustment coefficient matrix k 0;

setting k0(k1, k2, k3 and k4) for the preset luminance value adjustment coefficient matrix k0, wherein k1 is a first preset luminance value adjustment coefficient, k2 is a second preset luminance value adjustment coefficient, k3 is a third preset luminance value adjustment coefficient, k4 is a fourth preset luminance value adjustment coefficient, and the preset luminance value adjustment coefficients are gradually increased in sequence;

for the preset map definition matrix G0, setting G0(G1, G2, G3, G4), wherein G1 is the first preset map definition, G2 is the second preset map definition, G3 is the third preset map definition, G4 is the fourth preset map definition, and the preset map definitions are gradually increased in sequence;

when the central control module adjusts the pre-selected map brightness value Di, i is 1,2,3,4, the central control module compares the map definition G with the parameters in the G0 matrix, and selects a corresponding preset adjusting coefficient from the k0 matrix according to the comparison result to adjust Di:

when G is not more than G1, the central control module selects k1 to adjust Di;

when G is more than G1 and less than or equal to G2, the center control module selects k2 to adjust Di;

when G is more than G2 and less than or equal to G3, the center control module selects k3 to adjust Di;

when G is more than G3 and less than or equal to G4, the center control module selects k4 to adjust Di;

when the central control module selects kj to adjust the pre-selected Di, j is 1,2,3 and 4, and the adjusted map brightness value is Di ', and Di' is Di multiplied by kj.

6. The GUI quick re-engraving production method based on the mobile phone game as claimed in claim 1, wherein in the step 2, the layer naming is modified, and the naming mode is named according to a specified format specification 'layer name [ file name ]'.

7. The GUI quick re-engraving production method based on mobile phone games of claim 1, wherein in the step 3, an identifier in a format of "layer name [ attribute list ] @ control type" is added on a Group layer, and specific meanings of each attribute of a naming rule are as follows:

layer name: the system is used for identifying the content of the current layer, mainly identifying resource content for a designer, and the name of the layer is optional data;

list of attributes: additional associated attributes are typically defined for the current layer, such as the corresponding file name after the layer is exported;

and (4) control type: GUI component types for identifying composite types, such as buttons, progress bars, input box types, and the like.

8. The GUI fast re-engraving production method based on mobile phone games as claimed in claim 1, wherein the configuration information in step 6 mainly includes design standard resolution of GUI and catalog in development project where chartlet and font are located, and is set according to actual production standard and storage location.

Technical Field

The invention relates to the field of game development, in particular to a quick re-engraving production method based on a mobile phone game GUI.

Background

Along with the development of the game industry, a large number of game system functions need to be provided for the game products to meet the requirements of a large number of players, and along with the increase of systems, the system performance of the products becomes more huge and the engineering complexity becomes higher and higher. For traditional game system GUI development, from GUI design to development links, processing spanning multiple cooperative departments is usually required to be finally presented on a user product, a large amount of details need to be repeatedly verified in a development stage, a rework phenomenon is serious in a production process, a lot of unnecessary development time is wasted, and production efficiency is low.

Disclosure of Invention

Therefore, the invention provides a quick re-engraving production method based on a mobile phone game GUI, which is used for overcoming the problem of low production efficiency of the game system GUI in the prior art.

The invention provides a quick re-engraving production method based on a mobile game GUI, which comprises the following steps:

step 1: in the art production environment, the central control module designs basic elements and layout typesetting related to the GUI;

step 2: for the layer of the text type, the naming does not need to be modified, for the bitmap layer, the layer naming needs to be modified, and the exported file name is specified, wherein the file name represents the file name finally stored on the disk;

and step 3: for different control types, GUI elements to be contained are stored in groups, a Group layer is created in an art production environment, and text and bitmap layers contained in the controls are stored under sub-nodes of the Group layer; adding an identifier with a format of 'layer name [ attribute list ] @ control type' on a Group layer to determine a specific specified type of the current control; if the control type is not identified in the Group layer, the control type is generated according to a common GUI node when the engineering reduction is developed, and any composite GUI component cannot be bound;

and 4, step 4: repeating the step 3 until all layers of the source file are classified into a specific control group or a layout group;

and 5: exporting the pictures in the original GUI design file in batches by using a self-service batch picture cutting tool of the art environment, storing the pictures and word libraries related to GUI design into subdirectories of a development project, and automatically monitoring new resource change by a bottom engine of the development environment to complete the import operation of resources;

step 6: the invention analyzes the conversion tool, sets the configuration information needed by the tool before starting for the first time;

and 7: clicking a menu item of a conversion tool through a menu item inlet in a development environment, opening a main interface of an analysis conversion tool, dragging and dropping a GUI original file in a development project to an original file reading area of a conversion tool interface, finishing information reading of the original file by the tool, displaying an operation area on a layer, selecting a GUI layer required to be exported according to development requirements, and generating a selected GUI coating;

the conversion tool completes the generation of all components and the association of resources and generates the structured GUI effect so as to complete the production environment conversion and the repeated production of the GUI.

Further, the central control module groups the different control GUIs in step 3 into layers according to the definitions of the different layers, and the central control module is provided with a preset layer definition matrix T0 and a preset layer name matrix a 0;

for the preset layer definition matrix T0, setting T0(T1, T2, T3, T4), where T1 is a first preset layer definition, T2 is a second preset layer definition, T3 is a third preset layer definition, T4 is a fourth preset layer definition, and the preset layer definitions gradually increase in sequence;

for the preset layer name matrix a0, setting a0(a1, a2, A3, a4), where a1 is a first preset layer name, a2 is a second preset layer name, A3 is a third preset layer name, and a4 is a fourth preset layer name;

the central control module compares the layer definition T with parameters in a T0 matrix, and selects a corresponding layer name from an A0 matrix according to a comparison result:

when T is not more than T1, the center control module selects the layer name A1;

when T is more than T1 and less than or equal to T2, the layer name A2 is selected as the central control module;

when T is more than T2 and less than or equal to T3, the layer name A3 is selected as the central control module;

and when T is more than T3 and less than or equal to T4, the layer name A4 is selected as the central control module.

Furthermore, a preset map type matrix B0 and a preset word stock type matrix C0 are also arranged in the central control module, and are used for controlling the storage of the map and the word stock in the step 5 to the subdirectory of the development project;

setting B0(B1, B2, B3 and B4) for the preset map type matrix B0, wherein B1 is a first preset map type, B2 is a second preset map type, B3 is a third preset map type, and B4 is a fourth preset map type;

setting C0(C1, C2, C3 and C4) for the preset word stock type matrix C0, wherein C1 is a first preset word stock type, C2 is a second preset word stock type, C3 is a third preset word stock type, and C4 is a fourth preset word stock type;

when the central control module groups the chartlets and the word stock contained in the GUI, the central control module selects the word stock types according to the chartlet types:

and when the preset map type is Bi, i is 1,2,3 and 4, and the central control module presets the word stock type to be Ci.

Further, a preset map brightness value matrix D0 is further provided in the central control module, and D0(D1, D2, D3, D4) is set, where D1 is a first preset map brightness value, D2 is a second preset map brightness value, D3 is a third preset map brightness value, and D4 is a fourth preset map brightness value, and the preset map brightness values are gradually increased in sequence;

when the central control module selects a map type, the central control module compares the map brightness value D with parameters in a D0 matrix, and selects a corresponding map type from a B0 matrix according to a comparison result;

when D is not more than D1, the central control module selects a map type B1;

when D is more than D1 and less than or equal to D2, the central control module selects a map type B2;

when D is more than D2 and less than or equal to D3, the central control module selects a map type B3;

when D is greater than D3 and less than or equal to D4, the central control module selects a map type B4.

Furthermore, a preset map definition matrix G0 and a preset brightness value adjusting coefficient matrix k0 are also arranged in the central control module;

setting k0(k1, k2, k3 and k4) for the preset luminance value adjustment coefficient matrix k0, wherein k1 is a first preset luminance value adjustment coefficient, k2 is a second preset luminance value adjustment coefficient, k3 is a third preset luminance value adjustment coefficient, k4 is a fourth preset luminance value adjustment coefficient, and the preset luminance value adjustment coefficients are gradually increased in sequence;

for the preset map definition matrix G0, setting G0(G1, G2, G3, G4), wherein G1 is the first preset map definition, G2 is the second preset map definition, G3 is the third preset map definition, G4 is the fourth preset map definition, and the preset map definitions are gradually increased in sequence;

when the central control module adjusts the pre-selected map brightness value Di, i is 1,2,3,4, the central control module compares the map definition G with the parameters in the G0 matrix, and selects a corresponding preset adjusting coefficient from the k0 matrix according to the comparison result to adjust Di:

when G is not more than G1, the central control module selects k1 to adjust Di;

when G is more than G1 and less than or equal to G2, the center control module selects k2 to adjust Di;

when G is more than G2 and less than or equal to G3, the center control module selects k3 to adjust Di;

when G is more than G3 and less than or equal to G4, the center control module selects k4 to adjust Di;

when the central control module selects kj to adjust the pre-selected Di, j is 1,2,3 and 4, and the adjusted map brightness value is Di ', and Di' is Di multiplied by kj.

Further, in the step 2, the layer naming is modified, and naming processing is performed according to a specified format specification 'layer name [ file name ]'.

Further, in step 3, an identifier in a format of "layer name [ attribute list ] @ control type" is added to the Group layer, and specific meanings of each attribute of the naming rule are as follows:

layer name: the system is used for identifying the content of the current layer, mainly identifying resource content for a designer, and the name of the layer is optional data;

list of attributes: additional associated attributes are typically defined for the current layer, such as the corresponding file name after the layer is exported;

and (4) control type: GUI component types for identifying composite types, such as buttons, progress bars, input box types, and the like.

Further, the configuration information in step 6 mainly includes the design standard resolution of the GUI and the catalog in the development project where the chartlet and the font are located, and is set according to the actual production standard and the storage location.

Compared with the prior art, the method has the advantages that uniform manufacturing specifications are adopted, an automatic production tool is used in a matched mode, so that the differentiation of production links is avoided, the uniformity of GUI effects is guaranteed, secondary development in the GUI production process is avoided, the production flow of cross departments is shortened, the rapid production efficiency of the GUI is improved, meanwhile, the GUI effects and the quality are accurately repeated, the time cost of the traditional manual production of the GUI is greatly reduced, and precious production time is strived for rapid production iteration of products.

Further, after the layer definition Ti is determined, the central control module can determine the layer name Ai according to the range of the layer definition Ti, names the layer name Ai, and is used for identifying the content of the current layer and mainly identifying the resource content for a designer, so that the working time of the designer is greatly saved, and the production efficiency is improved.

Furthermore, after the type Bi of the map is determined, the central control module can determine the Ci corresponding to the type Bi of the map according to the type Bi of the map and store the Ci, so that the later conversion is facilitated, the time required by the conversion is effectively saved, and the production efficiency of the GUI is effectively improved.

Furthermore, the central control module compares the mapping brightness value D with the parameters in the D0 matrix to determine the mapping type, so that the type of the word stock corresponding to the mapping type Bi can be accurately found through the mapping type Bi, and finally the mapping type and the type of the word stock are stored in groups, thereby effectively saving the time for storing the GUI in groups and further effectively improving the production efficiency of the GUI.

Furthermore, the central control module determines a brightness value adjustment coefficient ki by comparing the mapping definition G with the parameters in the G0 matrix, and adjusts the pre-selected mapping brightness value Di through ki, so as to determine the mapping type, thereby effectively saving the time for storing the GUI in groups and effectively improving the production efficiency of the GUI.

Furthermore, in the step 3, an identifier in a format of "layer name [ attribute list ] @ control type" is added on the Group layer, and GUI map elements in the source file can be cut and stored in a local disk in batch at the design end of the GUI through a naming rule, so that repeated manual storage is avoided; at the development end, logic attributes and resources of GUI elements can be associated freely through different component types and attribute lists, so that the control-based manufacturing is realized, low-efficiency basic script operation of developers is reduced, and the production efficiency of the GUI is improved.

Furthermore, the central control module can rapidly complete information reading of the GUI original file by setting configuration information required by the conversion tool, so that the time for GUI conversion is effectively saved, and the production efficiency of the GUI is effectively improved.

Furthermore, by adopting the manufacturing specifications from the step 1 to the step 7 and a GUI conversion tool in a development environment matched with the specifications, the production environment conversion of GUI contents is realized, the effect in the original GUI design file is quickly restored, secondary manual development is avoided, and the output efficiency and quality of the GUI are guaranteed.

Drawings

FIG. 1 is a schematic flow chart of a rapid re-engraving production method based on a mobile phone game GUI according to the present invention;

Detailed Description

Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and do not limit the scope of the present invention.

In order that the objects and advantages of the invention will be more clearly understood, the invention is further described below with reference to examples; it should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

Fig. 1 is a schematic flow chart of a GUI quick copy production method based on a mobile phone game according to the present invention.

The invention discloses a quick re-engraving production method based on a mobile phone game GUI, which comprises the following steps:

step 1: in the art production environment, the central control module designs basic elements and layout typesetting related to the GUI;

step 2: for the layer of the text type, the naming does not need to be modified, for the bitmap layer, the layer naming needs to be modified, and the exported file name is specified, wherein the file name represents the file name finally stored on the disk;

and step 3: for different control types, GUI elements to be contained are stored in groups, a Group layer is created in an art production environment, and text and bitmap layers contained in the controls are stored under sub-nodes of the Group layer; adding an identifier with a format of 'layer name [ attribute list ] @ control type' on a Group layer to determine a specific specified type of the current control; if the control type is not identified in the Group layer, the control type is generated according to a common GUI node when the engineering reduction is developed, and any composite GUI component cannot be bound;

and 4, step 4: repeating the step 3 until all layers of the source file are classified into a specific control group or a layout group;

and 5: exporting the pictures in the original GUI design file in batches by using a self-service batch picture cutting tool of the art environment, storing the pictures and word libraries related to GUI design into subdirectories of a development project, and automatically monitoring new resource change by a bottom engine of the development environment to complete the import operation of resources;

step 6: the invention analyzes the conversion tool, sets the configuration information needed by the tool before starting for the first time;

and 7: clicking a menu item of a conversion tool through a menu item inlet in a development environment, opening a main interface of an analysis conversion tool, dragging and dropping a GUI original file in a development project to an original file reading area of a conversion tool interface, finishing information reading of the original file by the tool, displaying an operation area on a layer, selecting a GUI layer required to be exported according to development requirements, and generating a selected GUI coating;

the conversion tool completes the generation of all components and the association of resources and generates the structured GUI effect so as to complete the production environment conversion and the repeated production of the GUI.

The central control module is matched with an automatic production tool by adopting a unified manufacturing standard so as to avoid the differentiation of production links, ensure the uniformity of GUI effect, avoid secondary development in the GUI production process, shorten the production flow of cross departments, improve the rapid production efficiency of GUI, accurately re-carve the GUI effect and quality, greatly shorten the time cost of traditional manual GUI production, and strive for valuable production time for fast iteration production of products.

Specifically, the central control module groups the different control GUIs in step 3 into layers according to the definitions of the different layers, and the central control module is provided with a preset layer definition matrix T0 and a preset layer name matrix a 0;

for the preset layer definition matrix T0, setting T0(T1, T2, T3, T4), where T1 is a first preset layer definition, T2 is a second preset layer definition, T3 is a third preset layer definition, T4 is a fourth preset layer definition, and the preset layer definitions gradually increase in sequence;

for the preset layer name matrix a0, setting a0(a1, a2, A3, a4), where a1 is a first preset layer name, a2 is a second preset layer name, A3 is a third preset layer name, and a4 is a fourth preset layer name;

the central control module compares the layer definition T with parameters in a T0 matrix, and selects a corresponding layer name from an A0 matrix according to a comparison result:

when T is not more than T1, the center control module selects the layer name A1;

when T is more than T1 and less than or equal to T2, the layer name A2 is selected as the central control module;

when T is more than T2 and less than or equal to T3, the layer name A3 is selected as the central control module;

and when T is more than T3 and less than or equal to T4, the layer name A4 is selected as the central control module.

Specifically, the central control module is further provided with a preset map type matrix B0 and a preset word stock type matrix C0, which are used for controlling the storage of the map and the word stock in the step 5 to the subdirectory of the development project;

setting B0(B1, B2, B3 and B4) for the preset map type matrix B0, wherein B1 is a first preset map type, B2 is a second preset map type, B3 is a third preset map type, and B4 is a fourth preset map type;

setting C0(C1, C2, C3 and C4) for the preset word stock type matrix C0, wherein C1 is a first preset word stock type, C2 is a second preset word stock type, C3 is a third preset word stock type, and C4 is a fourth preset word stock type;

when the central control module groups the chartlets and the word stock contained in the GUI, the central control module selects the word stock types according to the chartlet types:

and when the preset map type is Bi, i is 1,2,3 and 4, and the central control module presets the word stock type to be Ci.

Specifically, the central control module is further provided with a preset map brightness value matrix D0, and sets D0(D1, D2, D3, D4), where D1 is a first preset map brightness value, D2 is a second preset map brightness value, D3 is a third preset map brightness value, and D4 is a fourth preset map brightness value, and the preset map brightness values are gradually increased in sequence;

when the central control module selects a map type, the central control module compares the map brightness value D with parameters in a D0 matrix, and selects a corresponding map type from a B0 matrix according to a comparison result;

when D is not more than D1, the central control module selects a map type B1;

when D is more than D1 and less than or equal to D2, the central control module selects a map type B2;

when D is more than D2 and less than or equal to D3, the central control module selects a map type B3;

when D is greater than D3 and less than or equal to D4, the central control module selects a map type B4.

The central control module determines the type of the map by comparing the map brightness value D with the parameters in the D0 matrix, so that the type of the word stock corresponding to the map brightness value D can be accurately found through the map type Bi, and finally the map type and the word stock type are stored in groups, thereby effectively saving the time for storing the GUI in groups and further effectively improving the production efficiency of the GUI.

Specifically, a preset map definition matrix G0 and a preset brightness value adjusting coefficient matrix k0 are further arranged in the central control module;

setting k0(k1, k2, k3 and k4) for the preset luminance value adjustment coefficient matrix k0, wherein k1 is a first preset luminance value adjustment coefficient, k2 is a second preset luminance value adjustment coefficient, k3 is a third preset luminance value adjustment coefficient, k4 is a fourth preset luminance value adjustment coefficient, and the preset luminance value adjustment coefficients are gradually increased in sequence;

for the preset map definition matrix G0, setting G0(G1, G2, G3, G4), wherein G1 is the first preset map definition, G2 is the second preset map definition, G3 is the third preset map definition, G4 is the fourth preset map definition, and the preset map definitions are gradually increased in sequence;

when the central control module adjusts the pre-selected map brightness value Di, i is 1,2,3,4, the central control module compares the map definition G with the parameters in the G0 matrix, and selects a corresponding preset adjusting coefficient from the k0 matrix according to the comparison result to adjust Di:

when G is not more than G1, the central control module selects k1 to adjust Di;

when G is more than G1 and less than or equal to G2, the center control module selects k2 to adjust Di;

when G is more than G2 and less than or equal to G3, the center control module selects k3 to adjust Di;

when G is more than G3 and less than or equal to G4, the center control module selects k4 to adjust Di;

when the central control module selects kj to adjust the pre-selected Di, j is 1,2,3 and 4, and the adjusted map brightness value is Di ', and Di' is Di multiplied by kj.

The central control module determines a brightness value adjustment coefficient ki by comparing the mapping definition G with the parameters in the G0 matrix, and adjusts the pre-selected mapping brightness value Di through ki so as to determine the mapping type, thereby effectively saving the time for storing the GUI in groups and effectively improving the production efficiency of the GUI.

Specifically, in the step 2, the layer name is modified, and the naming mode is named according to the specified format specification "layer name [ file name ]".

Specifically, in step 3, an identifier in a format of "layer name [ attribute list ] @ control type" is added to the Group layer, and specific meanings of each attribute of the naming rule are as follows:

layer name: the system is used for identifying the content of the current layer, mainly identifying resource content for a designer, and the name of the layer is optional data;

list of attributes: additional associated attributes are typically defined for the current layer, such as the corresponding file name after the layer is exported;

and (4) control type: GUI component types for identifying composite types, such as buttons, progress bars, input box types, and the like.

Specifically, the configuration information in step 6 mainly includes the design standard resolution of the GUI and the catalog in the development project where the chartlet and the font are located, and is set according to the actual production standard and the storage location.

So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention; various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于游戏在智能设备模拟全局光照的方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类