CN101833783A - Method and device for realizing desktop sprites of mobile terminal - Google Patents

Method and device for realizing desktop sprites of mobile terminal Download PDF

Info

Publication number
CN101833783A
CN101833783A CN201010159903A CN201010159903A CN101833783A CN 101833783 A CN101833783 A CN 101833783A CN 201010159903 A CN201010159903 A CN 201010159903A CN 201010159903 A CN201010159903 A CN 201010159903A CN 101833783 A CN101833783 A CN 101833783A
Authority
CN
China
Prior art keywords
vector
animsprite
unit
desktop
draw
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
Application number
CN201010159903A
Other languages
Chinese (zh)
Other versions
CN101833783B (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.)
Zhang Wenfang
Original Assignee
Shenzhen Wuju 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 Shenzhen Wuju Technology Co Ltd filed Critical Shenzhen Wuju Technology Co Ltd
Priority to CN2010101599036A priority Critical patent/CN101833783B/en
Publication of CN101833783A publication Critical patent/CN101833783A/en
Application granted granted Critical
Publication of CN101833783B publication Critical patent/CN101833783B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method and a device for realizing desktop sprites of a mobile terminal. The method comprises the following steps of: judging the current state of the desktop sprites; obtaining a vector v0 from the current position of the desktop sprites to the target position according to the current position and the target position to be gone of the desktop sprites; obtaining the oriented unit vector according to the rotation angle of the current desktop sprites, and amplifying the unit vector with applicable times to obtain a vector v1 according to the dimension of the desktop sprites; obtaining a vector v2 through v0-v1, obtaining a vector v3 by contracting applicable times on v2, and obtaining a new oriented vector v4 through v1+v3; calculating the unit vector of v4, and obtaining the new position of the desktop sprites according to the components of v4 in X-axis and Y-axis. When the desktop sprites are in the rotation and movement states, the invention ensures that the desktop sprites smoothly rotate to the target position in an arc way, thereby smoothly realizing the picture effect of the mobile terminal desktop and strengthening the experience of the user.

Description

The method and apparatus that a kind of desktop sprites of mobile terminal is realized
Technical field
The present invention relates to mobile communication technology, relate in particular to the method and apparatus that a kind of desktop sprites of mobile terminal is realized.
Background technology
At present, application on the mobile phone is more and more diversified, in order further to improve user's experience, the mobile phone desktop is also more and more rich and varied, except static mobile phone desktop picture, the dynamic picture that some GIF forms also occurred, but these dynamic pictures are all comparatively simple, are difficult to realize smoothly the animation effect of mobile phone desktop.
Summary of the invention
The purpose of this invention is to provide the method and apparatus that a kind of desktop sprites of mobile terminal is realized, it can realize the animation effect of mobile terminal desktop smoothly.
For achieving the above object, the present invention adopts following technical scheme:
The method that a kind of desktop sprites of mobile terminal is realized comprises:
Step 1: the master data of desktop sprites of mobile terminal is written in the buffer memory, and this master data comprises image information, translational speed and animation frame;
Step 2: AnimSprite is defined as polygon, and creates corresponding apex coordinate and the texture coordinate of polygonized structure body and function to deposit AnimSprite;
Step 3: the polygon of drawing the texture image that comprises AnimSprite according to current apex coordinate;
Step 4: judge the current state of AnimSprite, if rotation mobile status, then execution in step 5a;
Step 5a:, draw the vector v 0 of AnimSprite current location to destination locations according to the current location of AnimSprite and the destination locations that will go thereof;
Step 6a: according to the angle of current AnimSprite rotation, draw towards vector of unit length, and according to the size of AnimSprite this vector of unit length is amplified suitable multiple and draws vector v 1;
Step 7a: draw vector v 2 with vector v 0-v1, vector v 2 dwindled suitable multiple draw vector v 3, again with vector v 1+v3 draw AnimSprite newly towards vector v 4;
The vector of unit length of step 10a: compute vector v4, and draw the angle that AnimSprite will rotate according to the vector of unit length of this v4, according to postrotational position, the described polygonal summit of this angle calculation, more described polygonal summit is moved on to new position;
Step 11:, obtain the reposition of AnimSprite according to the component of vector v 4 in X-axis and Y-axis;
Step 12:, change the animation frame of AnimSprite, and return step 3 according to the reposition of AnimSprite.
Preferred as technique scheme also comprises between described step 7a and the 10a:
The vector of unit length of step 8a: compute vector v0v1, whether judgment value is 1, if, then carry out step 9a, if not, then carry out step 10a;
Step 9a: make the state of AnimSprite into the straight line mobile status, and be adjusted into the speed of straight line mobile status correspondence, again execution in step 10a.
Preferred as technique scheme, in the described step 4, if the current state of AnimSprite is the straight line mobile status, execution in step 5b then;
Described method also comprises:
Step 5b:, draw the vector v 0 of the current location of AnimSprite to destination locations according to destination locations current location and that will go of AnimSprite;
The mould of step 6b: compute vector v0 | v0|, judge | whether v0| less than setting value, if, then carry out step 7b, if not, keep the current state of AnimSprite, and go to step 11;
Step 7b: the next point of destination that generates AnimSprite at random;
Step 8b: change the state of AnimSprite into the rotation mobile status, and go to step 11.
Preferred as technique scheme, described polygon is rectangle, trapezoidal or parallelogram.
Preferred as technique scheme, described AnimSprite is a fish.
A kind of portable terminal comprises:
Data are written into the unit, are used for the master data of desktop sprites of mobile terminal is written into buffer memory, and this master data comprises image information, translational speed and animation frame;
Definition and creating unit are used for AnimSprite is defined as polygon, and create corresponding apex coordinate and the texture coordinate of polygonized structure body and function to deposit AnimSprite;
Drawing unit is used for drawing according to current apex coordinate the polygon of the texture image that comprises AnimSprite;
Judging unit is used to the state of judging that AnimSprite is current, if the rotation mobile status then goes to first computing unit;
First computing unit is used for according to the current location of AnimSprite and the destination locations that will go thereof, and draws the vector v 0 of AnimSprite current location to destination locations;
Second computing unit is used for the angle according to the rotation of current AnimSprite, draw towards vector of unit length, and according to the size of AnimSprite this vector of unit length is amplified suitable multiple and draws vector v 1;
The 3rd computing unit is used to utilize vector v 0-v1 to draw vector v 2, vector v 2 is dwindled suitable multiple draws vector v 3, again with vector v 1+v3 draw AnimSprite newly towards vector v 4;
The 4th computing unit, the vector of unit length that is used for compute vector v4, and draw the angle that AnimSprite will rotate according to the vector of unit length of this v4, according to postrotational position, the described polygonal summit of this angle calculation, more described polygonal summit is moved on to new position;
The 5th computing unit is used for obtaining the reposition of AnimSprite according to the component of vector v 4 in X-axis and Y-axis;
Animation frame is changed the unit, is used for the reposition according to AnimSprite, changes the animation frame of AnimSprite, and returns drawing unit.
Preferred as technique scheme, described portable terminal also comprises:
The 6th computing unit is used for the vector of unit length of compute vector v0v1, and whether judgment value is 1, if, then go to the first state adjustment unit, if not, then go to the 4th computing unit;
The first state adjustment unit is used for making the state of AnimSprite into the straight line mobile status, and is adjusted into the speed of straight line mobile status correspondence, goes to the 4th computing unit again.
Preferred as technique scheme, described judging unit is further used for going to the 7th computing unit when the current state of AnimSprite is the straight line mobile status;
Described portable terminal also comprises:
The 7th computing unit is used for destination locations current location and that will go according to AnimSprite, draws the vector v 0 of the current location of AnimSprite to destination locations;
The 8th computing unit is used for the mould of compute vector v0 | and v0|, judge | whether v0| less than setting value, if, then go to the point of destination generation unit, if not, then keep the current state of AnimSprite, and go to the 5th computing unit;
The point of destination generation unit is used for generating at random the next point of destination of AnimSprite;
The second state adjustment unit is used for changing the state of AnimSprite into the rotation mobile status, and goes to the 5th computing unit.
Preferred as technique scheme, described polygon is rectangle, trapezoidal or parallelogram.
Preferred as technique scheme, described AnimSprite is a fish.
The method and apparatus that desktop sprites of mobile terminal provided by the invention is realized, when AnimSprite is in the rotation mobile status, can make AnimSprite radian is smoothly arranged turn to the target location, thereby the present invention can realize the animation effect of mobile terminal desktop smoothly, has improved user's experience.
Description of drawings
Fig. 1 is the schematic flow sheet of an embodiment of the method that realizes of desktop sprites of mobile terminal of the present invention;
Fig. 2-Fig. 4 is the synoptic diagram that concerns of the associated vector of AnimSprite among the present invention;
Fig. 5 is the derivation synoptic diagram of the vertex position rotation of AnimSprite among the present invention;
Fig. 6 is the schematic flow sheet of another embodiment of the method that realizes of desktop sprites of mobile terminal of the present invention;
Fig. 7 is the structural representation of the device of desktop sprites of mobile terminal realization of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Below, the AnimSprite among the present invention is that example describes with the fish, it will be appreciated by those skilled in the art that AnimSprite is not limited to fish, it can also be any other animal or pattern etc.
Shown in Fig. 1-5, the invention provides the method that a kind of desktop sprites of mobile terminal is realized, comprising:
Step 1: the master data of fish is written in the buffer memory, and this master data comprises image information, translational speed and animation frame;
Step 2: fish is defined as polygon, and creates corresponding apex coordinate and the texture coordinate of polygonized structure body and function to deposit fish;
Step 3: the polygon of drawing the texture image that comprises fish according to current apex coordinate;
Step 4: judge the current state of fish, if rotation mobile status, then execution in step 5a;
Step 5a:, get the vector v 0 of fish current location to destination locations according to current location of fish and the destination locations that will go thereof;
Vector is a directed line segment of starting point and terminal point definition.
As shown in Figure 2, according to current location and the destination locations thereof of fish, we can obtain vector v 0=(destination locations .X-current location .X, destination locations .Y-current location .Y).
Step 6a: according to the angle of current fish rotation, draw towards vector of unit length, be α such as the anglec of rotation of fish, then should towards vector of unit length be (sin α, cos α); And according to the size of fish this vector of unit length is amplified suitable multiple and draw vector v 1;
Use the length of vector when using vector through regular meeting, the computing formula of vector length is:
If
Figure GSA00000084300700051
Then the length of vectorial P is
Figure GSA00000084300700052
We can make that promptly the length of vector is 1, is calculated as follows to its normalization after knowing vectorial length:
Figure GSA00000084300700053
We claim
Figure GSA00000084300700061
For
Figure GSA00000084300700062
Vector of unit length.Can according to the method calculate towards vector of unit length.
This amplification multiple is by the decision of the size of fish, and when the size of fish is big, but corresponding selection is bigger numerical value.
Continue as shown in Figure 2, vector v 1 be fish towards vector, this vector is drawn towards vector of unit length amplification suitable multiple by fish, fish towards vector of unit length if original state, can draw by its angle,, then can draw by a last circulation if begun circulation.
For example, the length of fish is 5cm, and the value of vector of unit length is 1cm, and multiple can be set to 5 so, perhaps 4,6,7 or the like.
Step 7a: draw vector v 2 with vector v 0-v1, vector v 2 dwindled suitable multiple draw vector v 3, again with vector v 1+v3 get fish newly towards vector v 4;
The plus-minus of two vectors is exactly that their component is added and subtracted respectively:
U → + V → = ( U x + V x , U y + V y ) ;
U → - V → = ( U x - V x , U y - V y ) ;
This multiple that dwindles when hope makes fish rotate less radian, then can be chosen less multiple by the rotation radian decision of fish.
Shown in Fig. 2-4, draw vector v 2 by vector v 0-v1, with vector v 2 dwindle a suitable multiple draw vector v 3 (for example, among the figure vector v 3 be about v2 1/4th), draw vector v 4 by vector v 1+v3 again, this v4 be that fish will forward to newly towards.
The vector of unit length of step 10a: compute vector v4, and get the angle that fish will rotate according to the vector of unit length of this v4, according to postrotational position, the described polygonal summit of this angle calculation, more described polygonal summit is moved on to new position; The x axle of the vector of unit length of this v4 and y axle component are the cos and the sin value of the anglec of rotation of wanting.Wherein, as shown in Figure 5, the derivation of polygon vertex rotation is as follows:
X is former=cos (α) * R
Y is former=sin (α) * R
X change=cos (alpha+beta) * R
Y change=sin (alpha+beta) * R
So, the former * sin of the former * cos of X change=X (β)-Y (β);
The former * cos of the former * sin of Y change=X (β)+Y (β).
Respectively polygonal four summits of forming fish are rotated calculating, the result who draws be exactly fish newly towards under apex coordinate.
Step 11:, obtain the reposition of fish according to the component of vector v 4 in X-axis and Y-axis;
Step 12:, change the animation frame of fish, and return step 3 according to the reposition of fish.
Because fish, is put left such as tail different forms should be arranged in different positions, tail is put to the right, tells bubble etc.Therefore, in step 12,, changed the animation frame of fish, like this, just can realize the animation effect of mobile terminal desktop on the whole smoothly according to the reposition of fish.
To sum up, the method that desktop sprites of mobile terminal of the present invention is realized when AnimSprite (being fish) is in the rotation mobile status, can make fish radian is smoothly arranged turn to the target location, thereby the present invention can realize the animation effect of mobile terminal desktop smoothly, has improved user's experience.
When fish is rotating to behind destination locations, just no longer need to continue rotation but need in order to carry out this judgement and adjustment, as shown in Figure 6, can also comprise between above-mentioned steps 7a and the 10a towards the destination locations rectilinear motion:
The vector of unit length of step 8a: compute vector v0v1, whether judgment value is 1, if, vector v 0, v1 conllinear then are described, fish has rotated to towards destination locations, and carry out step 9a this moment, if not, then carries out step 10a;
The dot product of vector is very useful, and a lot of graphics computings are used, because there are two formula just can calculate the angle of two vectors like this.Please referring to following explanation.
U → · V → = U x * V x + U y * V y ;
U → · V → = / U / * / V / * cos θ .
Can derive according to two top formulas
cosθ=(U x*V x+U y*V y)/(/U/*/V/);
If
Figure GSA00000084300700073
With
Figure GSA00000084300700074
For the words of vector of unit length can further be simplified:
cosθ=U x*V x+U y*V y
Step 9a: make the state of fish into the straight line mobile status, and be adjusted into the speed of straight line mobile status correspondence, again execution in step 10a.
As shown in Figure 6, in the above-mentioned steps 4, if judge that the current state of fish is the straight line mobile status, execution in step 5b then; At this moment, described method also comprises:
Step 5b:, get the vector v 0 of the current location of fish to destination locations according to destination locations current location and that will go of fish;
The mould of step 6b: compute vector v0 | v0|, judge | whether v0| less than setting value, if, then carry out step 7b, if not, then keep the current state of fish, and go to step 11;
The mould of v0 is represented the distance of point-to-point transmission, therefore, when the mould of v0 during less than certain value, represents fish near more from point of destination, when fish near point of destination or after arriving point of destination, system generates next point of destination at random.
Step 7b: the next point of destination that generates fish at random;
Step 8b: change the state of fish into the rotation mobile status, and go to step 11.
In addition, can all not influence the enforcement of technical solution of the present invention for different shapes such as quadrilateral (as rectangle, trapezoidal or parallelogram etc.), pentagons with the pairing polygon of fish among the present invention.
Corresponding with the method that above-mentioned desktop sprites of mobile terminal is realized, the present invention also provides a kind of portable terminal, as shown in Figure 7, comprising:
Data are written into unit 701, are used for the master data of desktop sprites of mobile terminal is written into buffer memory, and this master data comprises image information, translational speed and animation frame;
Definition and creating unit 702 are used for AnimSprite is defined as polygon, and create corresponding apex coordinate and the texture coordinate of polygonized structure body and function to deposit AnimSprite;
Drawing unit 703 is used for drawing according to current apex coordinate the polygon of the texture image that comprises AnimSprite;
Judging unit 704 is used to the state of judging that AnimSprite is current, if the rotation mobile status then goes to first computing unit;
First computing unit 705 is used for according to the current location of AnimSprite and the destination locations that will go thereof, and draws the vector v 0 of AnimSprite current location to destination locations;
Second computing unit 706 is used for the angle according to the rotation of current AnimSprite, draw towards vector of unit length, and according to the size of AnimSprite this vector of unit length is amplified suitable multiple and draws vector v 1;
The 3rd computing unit 707 is used to utilize vector v 0-v1 to draw vector v 2, vector v 2 is dwindled suitable multiple draws vector v 3, again with vector v 1+v3 draw AnimSprite newly towards vector v 4;
The 4th computing unit 710, the vector of unit length that is used for compute vector v4, and draw the angle that AnimSprite will rotate according to the vector of unit length of this v4, according to postrotational position, the described polygonal summit of this angle calculation, more described polygonal summit is moved on to new position;
The 5th computing unit 711 is used for obtaining the reposition of AnimSprite according to the component of vector v 4 in X-axis and Y-axis;
Animation frame is changed unit 712, is used for the reposition according to AnimSprite, changes the animation frame of AnimSprite, and returns drawing unit.
Portable terminal of the present invention when AnimSprite is in the rotation mobile status, can make AnimSprite radian is smoothly arranged turn to the target location, thereby the present invention can realize the animation effect of mobile terminal desktop smoothly, has improved user's experience.
Preferably, above-mentioned portable terminal can also comprise:
The 6th computing unit is used for the vector of unit length of compute vector v0v1, and whether judgment value is 1, if, then go to the first state adjustment unit, if not, then go to the 4th computing unit;
The first state adjustment unit is used for making the state of AnimSprite into the straight line mobile status, and is adjusted into the speed of straight line mobile status correspondence, goes to the 4th computing unit again.
Preferably, above-mentioned judging unit is further used for going to the 7th computing unit when the current state of AnimSprite is the straight line mobile status;
Above-mentioned portable terminal also comprises:
The 7th computing unit is used for destination locations current location and that will go according to AnimSprite, draws the vector v 0 of the current location of AnimSprite to destination locations;
The 8th computing unit is used for the mould of compute vector v0 | and v0|, judge | whether v0| less than setting value, if, then go to the point of destination generation unit, if not, then keep the current state of AnimSprite, and go to the 5th computing unit;
The point of destination generation unit is used for generating at random the next point of destination of AnimSprite;
The second state adjustment unit is used for changing the state of AnimSprite into the rotation mobile status, and goes to the 5th computing unit.
Preferably, described polygon is rectangle, trapezoidal or parallelogram.
Preferably, described AnimSprite is a fish.
The above is preferred embodiment of the present invention only, is not to be used for limiting practical range of the present invention; If do not break away from the spirit and scope of the present invention, the present invention is made amendment or is equal to replacement, all should be encompassed in the middle of the protection domain of claim of the present invention.

Claims (10)

1. the method that desktop sprites of mobile terminal is realized is characterized in that, comprising:
Step 1: the master data of desktop sprites of mobile terminal is written in the buffer memory, and this master data comprises image information, translational speed and animation frame;
Step 2: AnimSprite is defined as polygon, and creates corresponding apex coordinate and the texture coordinate of polygonized structure body and function to deposit AnimSprite;
Step 3: the polygon of drawing the texture image that comprises AnimSprite according to current apex coordinate;
Step 4: judge the current state of AnimSprite, if rotation mobile status, then execution in step 5a;
Step 5a:, draw the vector v 0 of AnimSprite current location to destination locations according to the current location of AnimSprite and the destination locations that will go thereof;
Step 6a: according to the angle of current AnimSprite rotation, draw towards vector of unit length, and according to the size of AnimSprite this vector of unit length is amplified suitable multiple and draws vector v 1;
Step 7a: draw vector v 2 with vector v 0-v1, vector v 2 dwindled suitable multiple draw vector v 3, again with vector v 1+v3 draw AnimSprite newly towards vector v 4;
The vector of unit length of step 10a: compute vector v4, and draw the angle that AnimSprite will rotate according to the vector of unit length of this v4, according to postrotational position, the described polygonal summit of this angle calculation, more described polygonal summit is moved on to new position;
Step 11:, obtain the reposition of AnimSprite according to the component of vector v 4 in X-axis and Y-axis;
Step 12:, change the animation frame of AnimSprite, and return step 3 according to the reposition of AnimSprite.
2. method according to claim 1 is characterized in that, also comprises between described step 7a and the 10a:
The vector of unit length of step 8a: compute vector v0v1, whether judgment value is 1, if, then carry out step 9a, if not, then carry out step 10a;
Step 9a: make the state of AnimSprite into the straight line mobile status, and be adjusted into the speed of straight line mobile status correspondence, again execution in step 10a.
3. method according to claim 1 and 2 is characterized in that, in the described step 4, if the current state of AnimSprite is the straight line mobile status, and execution in step 5b then;
Described method also comprises:
Step 5b:, draw the vector v 0 of the current location of AnimSprite to destination locations according to destination locations current location and that will go of AnimSprite;
The mould of step 6b: compute vector v0 | v0|, judge | whether v0| less than setting value, if, then carry out step 7b, if not, keep the current state of AnimSprite, and go to step 11;
Step 7b: the next point of destination that generates AnimSprite at random;
Step 8b: change the state of AnimSprite into the rotation mobile status, and go to step 11.
4. method according to claim 3 is characterized in that, described polygon is rectangle, trapezoidal or parallelogram.
5. method according to claim 4 is characterized in that, described AnimSprite is a fish.
6. a portable terminal is characterized in that, comprising:
Data are written into the unit, are used for the master data of desktop sprites of mobile terminal is written into buffer memory, and this master data comprises image information, translational speed and animation frame;
Definition and creating unit are used for AnimSprite is defined as polygon, and create corresponding apex coordinate and the texture coordinate of polygonized structure body and function to deposit AnimSprite;
Drawing unit is used for drawing according to current apex coordinate the polygon of the texture image that comprises AnimSprite;
Judging unit is used to the state of judging that AnimSprite is current, if the rotation mobile status then goes to first computing unit;
First computing unit is used for according to the current location of AnimSprite and the destination locations that will go thereof, and draws the vector v 0 of AnimSprite current location to destination locations;
Second computing unit is used for the angle according to the rotation of current AnimSprite, draw towards vector of unit length, and according to the size of AnimSprite this vector of unit length is amplified suitable multiple and draws vector v 1;
The 3rd computing unit is used to utilize vector v 0-v1 to draw vector v 2, vector v 2 is dwindled suitable multiple draws vector v 3, again with vector v 1+v3 draw AnimSprite newly towards vector v 4;
The 4th computing unit, the vector of unit length that is used for compute vector v4, and draw the angle that AnimSprite will rotate according to the vector of unit length of this v4, according to postrotational position, the described polygonal summit of this angle calculation, more described polygonal summit is moved on to new position;
The 5th computing unit is used for obtaining the reposition of AnimSprite according to the component of vector v 4 in X-axis and Y-axis;
Animation frame is changed the unit, is used for the reposition according to AnimSprite, changes the animation frame of AnimSprite, and returns drawing unit.
7. portable terminal according to claim 6 is characterized in that, also comprises:
The 6th computing unit is used for the vector of unit length of compute vector v0v1, and whether judgment value is 1, if, then go to the first state adjustment unit, if not, then go to the 4th computing unit;
The first state adjustment unit is used for making the state of AnimSprite into the straight line mobile status, and is adjusted into the speed of straight line mobile status correspondence, goes to the 4th computing unit again.
8. according to claim 6 or 7 described portable terminals, it is characterized in that described judging unit is further used for going to the 7th computing unit when the current state of AnimSprite is the straight line mobile status;
Described portable terminal also comprises:
The 7th computing unit is used for destination locations current location and that will go according to AnimSprite, draws the vector v 0 of the current location of AnimSprite to destination locations;
The 8th computing unit is used for the mould of compute vector v0 | and v0|, judge | whether v0| less than setting value, if, then go to the point of destination generation unit, if not, then keep the current state of AnimSprite, and go to the 5th computing unit;
The point of destination generation unit is used for generating at random the next point of destination of AnimSprite;
The second state adjustment unit is used for changing the state of AnimSprite into the rotation mobile status, and goes to the 5th computing unit.
9. portable terminal according to claim 8 is characterized in that, described polygon is rectangle, trapezoidal or parallelogram.
10. portable terminal according to claim 9 is characterized in that, described AnimSprite is a fish.
CN2010101599036A 2010-04-28 2010-04-28 Method and device for realizing desktop pattern of mobile terminal Expired - Fee Related CN101833783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101599036A CN101833783B (en) 2010-04-28 2010-04-28 Method and device for realizing desktop pattern of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101599036A CN101833783B (en) 2010-04-28 2010-04-28 Method and device for realizing desktop pattern of mobile terminal

Publications (2)

Publication Number Publication Date
CN101833783A true CN101833783A (en) 2010-09-15
CN101833783B CN101833783B (en) 2012-04-25

Family

ID=42717844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101599036A Expired - Fee Related CN101833783B (en) 2010-04-28 2010-04-28 Method and device for realizing desktop pattern of mobile terminal

Country Status (1)

Country Link
CN (1) CN101833783B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109697003A (en) * 2018-12-11 2019-04-30 广州市久邦数码科技有限公司 A kind of dynamic desktop background display method and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1461460A (en) * 2001-02-13 2003-12-10 世嘉股份有限公司 Animation creation program
JP2005100185A (en) * 2003-09-25 2005-04-14 Genki Kk Three-dimensional image processor, three-dimensional image processing method and program
CN1873695A (en) * 2005-06-02 2006-12-06 腾讯科技(深圳)有限公司 Method of interaction between acting animation and position of background animation
EP1860856A2 (en) * 2006-05-24 2007-11-28 Samsung Electronics Co., Ltd. Method for providing idle screen layer endowed with visual effect and method for providing idle screen by using the same
JP2009093666A (en) * 2008-11-12 2009-04-30 Nintendo Co Ltd Input processing program and input processor
CN101668084A (en) * 2009-09-18 2010-03-10 中兴通讯股份有限公司 Method for realizing personalized animation in mobile terminal and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1461460A (en) * 2001-02-13 2003-12-10 世嘉股份有限公司 Animation creation program
JP2005100185A (en) * 2003-09-25 2005-04-14 Genki Kk Three-dimensional image processor, three-dimensional image processing method and program
CN1873695A (en) * 2005-06-02 2006-12-06 腾讯科技(深圳)有限公司 Method of interaction between acting animation and position of background animation
EP1860856A2 (en) * 2006-05-24 2007-11-28 Samsung Electronics Co., Ltd. Method for providing idle screen layer endowed with visual effect and method for providing idle screen by using the same
JP2009093666A (en) * 2008-11-12 2009-04-30 Nintendo Co Ltd Input processing program and input processor
CN101668084A (en) * 2009-09-18 2010-03-10 中兴通讯股份有限公司 Method for realizing personalized animation in mobile terminal and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109697003A (en) * 2018-12-11 2019-04-30 广州市久邦数码科技有限公司 A kind of dynamic desktop background display method and mobile terminal
CN109697003B (en) * 2018-12-11 2021-09-10 广州市久邦数码科技有限公司 Dynamic desktop background display method and mobile terminal

Also Published As

Publication number Publication date
CN101833783B (en) 2012-04-25

Similar Documents

Publication Publication Date Title
CN104252299B (en) A kind of mobile terminal for controlling wallpaper to change colour
US20150161763A1 (en) 2d animation from a 3d mesh
CN101692196B (en) Window arranging method and system
CN106382937A (en) Navigation method and navigation terminal
CN104085109B (en) Freehandhand-drawing input 3D printer and Method of printing thereof
CN108292166A (en) Limited field in virtual reality
CN102495712A (en) Map splicing display method based on a plurality of display terminals
CN107423010A (en) A kind of information processing method and electronic equipment
CN105518624A (en) Method and apparatus for interworking applications in user device
CN103336814A (en) Method and device of processing screenshot of web page
KR20230010757A (en) Method, device and electronic device for displaying unread messages
CN105959675A (en) Video data processing method and device
CN104571887A (en) Static picture based dynamic interaction method and device
CN103064532B (en) A kind of air mouse remote controller
CN105677275A (en) Interface layout method and wraparound interface system
CN101833783B (en) Method and device for realizing desktop pattern of mobile terminal
EP3731506A1 (en) Image display method and mobile terminal
US20230401764A1 (en) Image processing method and apparatus, electronic device and computer readable medium
CN107734281A (en) A kind of image magnification method and mobile terminal
CN106681647A (en) Touch control screen operating method and device
CN106846435A (en) A kind of implementation method of the self-defined coordinate system of the dynamic geometry based on parameter
CN110570357A (en) mirror image implementation method, device, equipment and storage medium based on UE4 engine
CN101937557A (en) Marking method of dynamic playing window and system thereof
CN109598800A (en) A kind of three-dimensional electronic sand table display methods, device, equipment and storage medium
JP2008052595A5 (en)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: CHANGZHOU XIAOGUO INFORMATION SERVICE CO., LTD.

Free format text: FORMER OWNER: SHENZHOU WUJU TECHNOLOGY CO., LTD.

Effective date: 20140530

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518040 SHENZHEN, GUANGDONG PROVINCE TO: 213164 CHANGZHOU, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20140530

Address after: 213164 building C, building 407-2-6, Tian An Digital City, 588 Chang Wu Road, Wujin hi tech Industrial Development Zone, Changzhou, Jiangsu, China

Patentee after: Changzhou Xiaoguo Information Service Co., Ltd.

Address before: 518040, Shenzhen, Guangdong, Futian District, Tian An digital city innovation science and Technology Plaza, two west seat, room 1203

Patentee before: Shenzhou Wuju Technology Co., Ltd.

C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: 225300 Jiangsu City, Gaogang District, city road, No. 58, No.

Patentee after: Changzhou Xiaoguo Information Service Co., Ltd.

Address before: 213164 building C, building 407-2-6, Tian An Digital City, 588 Chang Wu Road, Wujin hi tech Industrial Development Zone, Changzhou, Jiangsu, China

Patentee before: Changzhou Xiaoguo Information Service Co., Ltd.

C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: 213164 building C, building 407-2-6, Tian An Digital City, 588 Chang Wu Road, Wujin hi tech Industrial Development Zone, Changzhou, Jiangsu, China

Patentee after: Changzhou Xiaoguo Information Service Co., Ltd.

Address before: 225300 Jiangsu City, Gaogang District, city road, No. 58, No.

Patentee before: Changzhou Xiaoguo Information Service Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170815

Address after: 065201 Hebei Province, Sanhe Yanjiao Development Zone No. 2 Garden Fukuzawa Building 1 unit 804 room

Patentee after: Zhang Wenfang

Address before: 213164 building C, building 407-2-6, Tian An Digital City, 588 Chang Wu Road, Wujin hi tech Industrial Development Zone, Changzhou, Jiangsu, China

Patentee before: Changzhou Xiaoguo Information Service Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120425

Termination date: 20180428