CN104536728B - Mobile phone games light weight method - Google Patents

Mobile phone games light weight method Download PDF

Info

Publication number
CN104536728B
CN104536728B CN201410709792.XA CN201410709792A CN104536728B CN 104536728 B CN104536728 B CN 104536728B CN 201410709792 A CN201410709792 A CN 201410709792A CN 104536728 B CN104536728 B CN 104536728B
Authority
CN
China
Prior art keywords
picture
mobile phone
grid
masterplate
phone games
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.)
Active
Application number
CN201410709792.XA
Other languages
Chinese (zh)
Other versions
CN104536728A (en
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.)
Suzhou Le meters information Polytron Technologies Inc
Original Assignee
SUZHOU JOYME INFORMATION TECHNOLOGY 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 SUZHOU JOYME INFORMATION TECHNOLOGY Co Ltd filed Critical SUZHOU JOYME INFORMATION TECHNOLOGY Co Ltd
Priority to CN201410709792.XA priority Critical patent/CN104536728B/en
Publication of CN104536728A publication Critical patent/CN104536728A/en
Application granted granted Critical
Publication of CN104536728B publication Critical patent/CN104536728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of mobile phone games light weight method, substantial amounts of picture in the mobile phone games being present, it comprises the following steps, and 1)Picture in the mobile phone games is standardized, similar picture is unified into same masterplate picture;2)Masterplate picture is separated into some grids, each grid is a small picture, and each grid is marked by coordinate;3)The small picture of whole is classified, wherein will be divided into one kind by small picture described in pure color pattern;4)When mobile phone games show the masterplate picture, the small picture of ninsolid color is placed on by the position of mark according to the coordinate of the grid successively by program;And the position that mark is placed on after the small picture of the pure color is drawn by way of program Fill Color, so as to be combined into the masterplate picture.The present invention is ideally reappeared picture, in the case where retaining original effect of picture, is reduced APP volume using the minimum program code of volume.

Description

Mobile phone games light weight method
Technical field
The invention belongs to information technology, more particularly to the light weight method by mobile phone games reduction volume.
Background technology
Application program of mobile phone(Abbreviation APP)It is industry with the popularization of smart mobile phone and emerging.Various mobile phone applications are opened Hair business is surged forward, and the application program of mobile phone also emerges in an endless stream.It is limited to the bandwidth of cell phone capacity and network, APP volume is smaller More suitable popularization.Thus, APP lightweights(Reduce volume)It is that each mobile phone application developers are racked one's brains, it is desirable to the technology of solution Problem.
The content of the invention
In order to overcome above mentioned problem, the present invention provides one kind effectively by the light-weighted methods of APP.
The technical scheme is that providing a kind of mobile phone games light weight method, substantial amounts of figure in the mobile phone games be present Piece, it is characterised in that:It comprises the following steps,
1)Picture in the mobile phone games is standardized, similar picture is unified into same masterplate picture;
2)Masterplate picture is separated into some grids, each grid is a small picture, and each grid is entered by coordinate Line flag;
3)The small picture of whole is classified, wherein will be divided into one kind by small picture described in pure color pattern;
4)When mobile phone games show the masterplate picture, according to the coordinate of the grid by program successively by ninsolid color Small picture be placed on the position of mark;And it is placed on after the small picture of the pure color is drawn by way of program Fill Color The position of mark, so as to be combined into the masterplate picture.
Preferably, the step 2)In, masterplate picture is separated into the pure color grid comprising full line or permutation, it is described pure Pattern in color grid is pure color.
Preferably, the step 4)The middle small figure that any setting length and the pure color in broadband can be drawn by program Piece.
Preferably, the step 3)The middle grid that picture is consistent is divided into one kind of identical patterns, wherein in the grid Pattern is designated as standard pattern, further comprising the steps of:
Step 5), the standard pattern is copied in the grid specified according to the coordinate of mark by program.
The mobile phone games light weight method of the present invention is to draw picture by program, so that the figure by volume maximum in APP Piece carries out the method that volume is deleted.It can utilize the minimum program code of volume, ideally reappear picture, retain picture In the case of original effect, APP volume is reduced.
Embodiment
The embodiment of the present invention is described in further detail below.
The present invention provides a kind of mobile phone games light weight method, substantial amounts of picture, present invention bag in the mobile phone games be present Include following steps:
1)Picture in the mobile phone games is standardized, similar picture is unified into same masterplate picture;Example Such as, dialog box etc., as far as possible using the dialog box of same style.
2)Masterplate picture is separated into some grids, each grid includes a small picture, and each grid passes through coordinate It is marked;The position of indicia grid and small picture/mb-type, it is such as pure color pattern, ninsolid color pattern.Wherein ninsolid color pattern can To be divided into:Standard pattern and non-standard pattern.Pure color pattern then records the rgb value of color, and artwork can delete;Standard pattern is then Storage one, non-standard pattern then all stores.So it is considerably reduced APP volume.
3)The small picture of whole is classified, the wherein small picture of pure color pattern is divided into one kind, pure color figure as above Case, ninsolid color pattern etc.;
4)When mobile phone games show masterplate picture, according to the coordinate of grid by program successively by the small picture of ninsolid color It is placed on the position of mark;And the position that mark is placed on after the small picture of pure color is drawn by way of program Fill Color, So as to be combined into masterplate picture.
Further, step 2)In, masterplate picture is separated into the pure color grid comprising full line or permutation, pure color grid In pattern be pure color.In this manner it is possible to length or width by expanding pure color grid, so as to change masterplate picture Size, to adapt to different picture needs.Such as different size of dialog box.
For standard pattern:Following steps can be used:
Step 5), standard pattern is copied in the grid specified according to the coordinate of mark by program.So as to only store One standard pattern is the reproduction that can be achieved to complete whole figure.It is applied to various pattern textures etc..
A kind of above example only present invention embodiment therein, its description is more specific and detailed, but can not Therefore it is interpreted as the limitation 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, various modifications and improvements can be made, these belong to the protection model of the present invention Enclose.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (2)

1., there is substantial amounts of picture in a kind of mobile phone games light weight method in the mobile phone games, it is characterised in that:It includes following Step,
1)Picture in the mobile phone games is standardized, similar picture is unified into same masterplate picture;
2)Masterplate picture is separated into some grids, each grid is a small picture, and each grid enters rower by coordinate Note;
3)The small picture of whole is classified, wherein will be divided into one kind by small picture described in pure color pattern;
4)When mobile phone games show the masterplate picture, according to the coordinate of the grid by program successively by the small of ninsolid color Picture is placed on the position of mark, and is placed on mark after drawing by way of program Fill Color the small picture of the pure color Position, so as to be combined into the masterplate picture;
The step 2)In, masterplate picture is separated into the pure color grid comprising full line or permutation, in the pure color grid Pattern is pure color;
The step 4)The small picture of the middle pure color that any setting length and width can be drawn by program.
2. mobile phone games light weight method according to claim 1, it is characterised in that:The step 3)It is middle that picture is consistent Grid be divided into one kind of identical patterns, the wherein pattern in the grid is designated as standard pattern, further comprising the steps of:
Step 5), the standard pattern is copied in the grid specified according to the coordinate of mark by program.
CN201410709792.XA 2014-12-01 2014-12-01 Mobile phone games light weight method Active CN104536728B (en)

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 CN104536728A (en) 2015-04-22
CN104536728B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112076463B (en) * 2020-09-04 2021-05-14 北京梦幻天下科技有限公司 Lightweight method for mobile phone game

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN104536728A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN105718272B (en) A kind of method and terminal of terminal factory reset
CN110502910B (en) Cloud information storage system based on data encryption
CN107770618A (en) A kind of image processing method, device and storage medium
CN104915975B (en) A kind of image processing method and system of simulation wax crayon colored drawing
CN106156237B (en) Information processing method, information processing unit and user equipment
CN107292945A (en) The figure layer of video image renders processing method and its system
CN109086020A (en) Multi-screen display method and device
CN106909548A (en) Picture loading method and device based on server
CN109829868A (en) A kind of lightweight deep learning model image defogging method, electronic equipment and medium
CN106844302A (en) E-book page display method, device and terminal device
CN108734756B (en) Animation production method and device, storage medium and electronic device
CN106651991B (en) Intelligent mapping realization method and system thereof
CN106251382A (en) The switching of picture style, camera render the realization method and system updated with theme
CN104536728B (en) Mobile phone games light weight method
CN107301333A (en) Copyright information protection, really power method, device, system and digital equipment
CN104463847A (en) Ink and wash painting characteristic rendering method
CN106911937A (en) The collocation method and system of a kind of live middle present banner background colour
CN102867322A (en) Method and device for realizing Chinese marking in three-dimensional scene
CN109934739A (en) A kind of trademark infringement method for early warning and system
CN108510036A (en) A kind of card face image generating method based on parametrization
CN110473272B (en) Oil painting generation method and device based on image, electronic equipment and storage medium
CN104317781A (en) Sensitive word editor
CN106909547A (en) Picture loading method and device based on browser
CN108664298A (en) A kind of theme icon generation method and device
CN109697703A (en) The background stacking method and Related product of video

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