CN104536728A - Lightweight method for mobile game - Google Patents
Lightweight method for mobile game Download PDFInfo
- Publication number
- CN104536728A CN104536728A CN201410709792.XA CN201410709792A CN104536728A CN 104536728 A CN104536728 A CN 104536728A CN 201410709792 A CN201410709792 A CN 201410709792A CN 104536728 A CN104536728 A CN 104536728A
- Authority
- CN
- China
- Prior art keywords
- picture
- grid
- mobile phone
- pictures
- pure color
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a lightweight method for a mobile game. The mobile game comprises a lot of pictures. The lightweight method for the mobile game includes steps that 1) standardizing the pictures in the mobile game, and unifying the similar pictures into the same template picture; 2) dividing the template picture into a plurality of grids, wherein each grid is a small picture, and each grid is marked through coordinates; 3) classifying all the small pictures, wherein the small pictures with pure color patterns are classified into one type; 3) when the mobile game displays the template picture, putting non-solid color small pictures at marked positions through program according to the grid coordinates; drawing the pure color small pictures through filling color through program, and putting at the marked positions to form the template picture. The lightweight method for the mobile game perfectly reappears the picture through program codes with very small volume, and the APP volume is reduced based on keeping the original effect of the picture.
Description
Technical field
The invention belongs to infotech, particularly relate to light weight method mobile phone games being reduced volume.
Background technology
Application program of mobile phone (being called for short APP) is the universal and emerging industry along with smart mobile phone.Various mobile phone application developers surges forward, and the application program of mobile phone also emerges in an endless stream.Be limited to the bandwidth of cell phone capacity and network, the more little more applicable popularization of volume of APP.Thus, APP lightweight (minimizing volume) is that each mobile phone application developers is racked one's brains, and wishes the technical matters solved.
Summary of the invention
In order to overcome the problems referred to above, the invention provides a kind of effective by light-weighted for APP method.
Technical scheme of the present invention is to provide a kind of mobile phone games light weight method, there is a large amount of pictures, it is characterized in that: it comprises the following steps in these mobile phone games,
1) picture in these mobile phone games is carried out standardization, similar picture is unified into same masterplate picture;
2) masterplate picture is separated into some grids, each grid is a little picture, and each grid is all marked by coordinate;
3) whole described little pictures is classified, wherein will be divided into a class by little picture described in pure color pattern;
4) when described masterplate picture is shown in mobile phone games, successively the little picture of ninsolid color is placed on the position of mark by program according to the coordinate of described grid; And drawn the little picture of described pure color by the mode of program Fill Color after, be placed on the position of mark, thus be combined into described masterplate picture.
Preferably, described step 2) in, masterplate picture is separated into the pure color grid comprising full line or permutation, the pattern in described pure color grid is pure color.
Preferably, the little picture of the described pure color in any preseting length and broadband is drawn in described step 4) by program.
Preferably, in described step 3), grid consistent for picture is divided into a class of identical patterns, the pattern wherein in this grid is designated as standard pattern, further comprising the steps of:
Step 5), to be copied to described standard pattern according to the coordinate of mark in the grid of specifying by program.
Mobile phone games light weight method of the present invention draws picture by program, thus picture maximum for volume in APP is carried out the method that volume deletes.Its program code that volume can be utilized minimum, ideally reappears picture, when retaining original effect of picture, reduces the volume of APP.
Embodiment
Below the specific embodiment of the present invention is described in further detail.
The invention provides a kind of mobile phone games light weight method, there is a large amount of pictures in these mobile phone games, the present invention includes following steps:
1) picture in these mobile phone games is carried out standardization, similar picture is unified into same masterplate picture; Such as, dialog box etc., use the dialog box of same style as far as possible.
2) masterplate picture is separated into some grids, each grid comprises a little picture, and each grid is all marked by coordinate; The position of indicia grid and little picture/mb-type, as being pure color pattern, ninsolid color pattern.Wherein ninsolid color pattern can be divided into: standard pattern and non-standard pattern.Pure color pattern then records the rgb value of color, and former figure can delete; Standard pattern then stores one, and non-standard pattern then all stores.So just greatly reduce the volume of APP.
3) whole little pictures is classified, wherein will be divided into a class, pure color pattern as above, ninsolid color pattern etc. by the little picture of pure color pattern;
4) when masterplate picture is shown in mobile phone games, successively the little picture of ninsolid color is placed on the position of mark by program according to the coordinate of grid; And drawn the little picture of pure color by the mode of program Fill Color after, be placed on the position of mark, thus be combined into masterplate picture.
Further, step 2) in, masterplate picture is separated into the pure color grid comprising full line or permutation, the pattern in pure color grid is pure color.Like this, just by expanding length or the width of pure color grid, thus the size of masterplate picture can be changed, to adapt to different picture needs.As the dialog box of different size.
For standard pattern: can following steps be adopted:
Step 5), to be copied to standard pattern according to the coordinate of mark in the grid of specifying by program.Thus only store the reproduction that a standard pattern can realize whole figure.It is applicable to various pattern textures etc.
Above embodiment is only the present invention's a kind of embodiment wherein, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (4)
1., there is a large amount of pictures in these mobile phone games, it is characterized in that: it comprises the following steps in a mobile phone games light weight method,
1) picture in these mobile phone games is carried out standardization, similar picture is unified into same masterplate picture;
2) masterplate picture is separated into some grids, each grid is a little picture, and each grid is all marked by coordinate;
3) whole described little pictures is classified, wherein will be divided into a class by little picture described in pure color pattern;
4) when described masterplate picture is shown in mobile phone games, successively the little picture of ninsolid color is placed on the position of mark by program according to the coordinate of described grid; And drawn the little picture of described pure color by the mode of program Fill Color after, be placed on the position of mark, thus be combined into described masterplate picture.
2. mobile phone games light weight method according to claim 1, is characterized in that: described step 2) in, masterplate picture is separated into the pure color grid comprising full line or permutation, the pattern in described pure color grid is pure color.
3. mobile phone games light weight method according to claim 2, is characterized in that: the little picture drawing the described pure color in any preseting length and broadband in described step 4) by program.
4. mobile phone games light weight method according to claim 1, is characterized in that: the class in described step 3), grid consistent for picture being divided into identical patterns, and the pattern wherein in this grid is designated as standard pattern, further comprising the steps of:
Step 5), to be copied to described standard pattern according to the coordinate of mark in the grid of specifying by program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410709792.XA CN104536728B (en) | 2014-12-01 | 2014-12-01 | Mobile phone games light weight method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410709792.XA CN104536728B (en) | 2014-12-01 | 2014-12-01 | Mobile phone games light weight method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104536728A true CN104536728A (en) | 2015-04-22 |
CN104536728B CN104536728B (en) | 2017-12-22 |
Family
ID=52852261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410709792.XA Active CN104536728B (en) | 2014-12-01 | 2014-12-01 | Mobile phone games light weight method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104536728B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112076463A (en) * | 2020-09-04 | 2020-12-15 | 北京梦幻天下科技有限公司 | Lightweight method for mobile phone game |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739697A (en) * | 2008-11-25 | 2010-06-16 | 王源源 | Synthesis method of picture mosaic pattern and system therefor |
EP2521033A1 (en) * | 2010-10-09 | 2012-11-07 | ZTE Corporation | Startup method and device for application program on mobile device |
CN103678260A (en) * | 2013-12-25 | 2014-03-26 | 南通大学 | Portable electronic business card holder and processing method |
-
2014
- 2014-12-01 CN CN201410709792.XA patent/CN104536728B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739697A (en) * | 2008-11-25 | 2010-06-16 | 王源源 | Synthesis method of picture mosaic pattern and system therefor |
EP2521033A1 (en) * | 2010-10-09 | 2012-11-07 | ZTE Corporation | Startup method and device for application program on mobile device |
CN103678260A (en) * | 2013-12-25 | 2014-03-26 | 南通大学 | Portable electronic business card holder and processing method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112076463A (en) * | 2020-09-04 | 2020-12-15 | 北京梦幻天下科技有限公司 | Lightweight method for mobile phone game |
Also Published As
Publication number | Publication date |
---|---|
CN104536728B (en) | 2017-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106296621B (en) | Image processing method and device | |
CN106075907A (en) | A kind of edit methods of map | |
CN104090548B (en) | Stage performance dispatching method | |
CN107770618A (en) | A kind of image processing method, device and storage medium | |
CN110559665A (en) | Game map processing method and device, terminal device and storage medium | |
CN105955754A (en) | Method and device for displaying characters of user interface | |
CN104216987A (en) | Timestamp-based method for capturing incremental data and supporting delete operation | |
CN112587921A (en) | Model processing method and device, electronic equipment and storage medium | |
JP2015075920A (en) | Image processing apparatus, image processing method, and program | |
CN106371712B (en) | Irregular screenshot method and device | |
CN104462991A (en) | Method and device for protecting privacy information of mobile terminal | |
CN108090946A (en) | A kind of construction method and device of material ball | |
CN103136169A (en) | Method and device of displaying characters | |
CN104536728A (en) | Lightweight method for mobile game | |
CN106570483A (en) | Image positioning method and system | |
CN107665275B (en) | Design method and system of natural garden landscape | |
CN102867322A (en) | Method and device for realizing Chinese marking in three-dimensional scene | |
CN103325101B (en) | The extracting method of color property and device | |
CN103763495A (en) | L-shaped vertical curtain and ground curtain 3D projection display method | |
CN107918538A (en) | A kind of drafting system based on Andriod operating systems | |
CN103150182A (en) | Mobile terminal wallpaper quick-setup method and system | |
CN109189524A (en) | Image resource generation method and device | |
CN104867170A (en) | Method and system for drawing density distribution diagram of bus routes | |
CN103795925A (en) | Interactive main-and-auxiliary-picture real-time rendering photographing method | |
CN107193908B (en) | The update method and device of visual field list |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Eswell road 215200 high tech Zone in Suzhou City, Jiangsu province science and Technology City Garden No. 2 room M2-201 micro system Patentee after: Suzhou Le meters information Polytron Technologies Inc Address before: Eswell road 215200 high tech Zone in Suzhou City, Jiangsu province science and Technology City Garden No. 2 room M2-201 micro system Patentee before: SUZHOU JOYME INFORMATION TECHNOLOGY CO., LTD. |
|
CP01 | Change in the name or title of a patent holder |