CN102193806A - Method and device for updating animation - Google Patents

Method and device for updating animation Download PDF

Info

Publication number
CN102193806A
CN102193806A CN2010101268048A CN201010126804A CN102193806A CN 102193806 A CN102193806 A CN 102193806A CN 2010101268048 A CN2010101268048 A CN 2010101268048A CN 201010126804 A CN201010126804 A CN 201010126804A CN 102193806 A CN102193806 A CN 102193806A
Authority
CN
China
Prior art keywords
key frame
eigenwert
display area
resource file
frame object
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
CN2010101268048A
Other languages
Chinese (zh)
Other versions
CN102193806B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201010126804.8A priority Critical patent/CN102193806B/en
Publication of CN102193806A publication Critical patent/CN102193806A/en
Application granted granted Critical
Publication of CN102193806B publication Critical patent/CN102193806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for updating animation, and belongs to the field of animation. The method comprises the following steps of: creating an extension object corresponding to a key frame object of the animation, wherein the extension object at least comprises index attributes; loading a resource file to be updated, wherein the resource file to be updated comprises index values and the corresponding characteristic values thereof; acquiring the corresponding characteristic values from the resource file to be updated according to the index values stored by the index attributes of the extension object; and updating the characteristic values of the key frame object into the acquired characteristic values. The device comprises creating, loading, acquiring and updating modules. According to the method and the device, the animation can be updated when the program runs, the user experience is improved, the humanized and personalized effects of the software are enhanced, and the making process of new skink is simplified; during changing the skin, the overhead of a computer is low, and the speed is high; after the skin is changed, the static state effect of the interface is change, and the dynamic effect is changed thereupon, so the personalized demand of a user is greatly met, and the usability of the software is improved.

Description

Upgrade cartoon method and device
Technical field
The present invention relates to the animation field, particularly a kind of renewal cartoon method and device.
Background technology
Along with being extensive use of of immediate communication tool, the user more and more pays attention to its hommization and personalised effects.At present, change hommization and the personalised effects that functions such as skin, replacing background picture and animation have improved immediate communication tool greatly.
The function of above-mentioned renewal background picture is the renewal to static object, implements simpler.Along with the raising of user to immediate communication tool hommization and personalized requirement, the user wishes that under some scene, animation also can upgrade.For example, under a certain skin, the animation effect of selected button is that green changes to light green color, under another kind of skin, the animation effect of selected button is the brown white that changes to, and also promptly when changing skin, " the color change animation " play during selected button also is to need to upgrade.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
At present under many circumstances, for example in XAML (Extensible Application Markup Language, XAML), animation exists as resource file.Be example with above-mentioned " color change animation " still, resource file is being stored the key frame and the corresponding color value thereof of this animation.Yet resource file is unchangeable when program run, and the bottleneck that this has just caused animation to upgrade influences user experience.
Summary of the invention
In order to upgrade animation when the program run, the embodiment of the invention provides a kind of renewal cartoon method and device.Described technical scheme is as follows:
A kind of renewal cartoon method, described method comprises:
Create the EXPANDING DISPLAY AREA of the key frame object correspondence of animation, described EXPANDING DISPLAY AREA comprises index attributes at least, and described index attributes is used to store index value;
Load the resource file that desire is upgraded, the resource file that described desire is upgraded comprises index value and characteristic of correspondence value thereof;
According to the index value that the index attributes of described EXPANDING DISPLAY AREA is stored, the resource file that upgrades from described desire obtains the characteristic of correspondence value;
The eigenwert of described key frame object is updated to the eigenwert that gets access to.
Wherein, the index value of described index attributes storage according to described EXPANDING DISPLAY AREA, the resource file that upgrades from described desire obtains the characteristic of correspondence value and comprises:
In the resource file that described desire is upgraded, search the identical index value of storing with the index attributes of described EXPANDING DISPLAY AREA of index value;
Obtain described identical index value characteristic of correspondence value.
Wherein, also comprise before the resource file that described loading desire is upgraded:
Former resource file before unloading is upgraded.
Wherein, described EXPANDING DISPLAY AREA also comprises address properties, is used to store the address of described key frame object,
Described eigenwert with described key frame object is updated to the eigenwert that gets access to and comprises:
Obtain the address of described key frame object, and be recorded in the address properties of described EXPANDING DISPLAY AREA;
The key frame object of described address properties address stored correspondence is updated to the eigenwert that gets access to.
Wherein, described EXPANDING DISPLAY AREA also comprises module attribute, is used to store the functional module of described animation application,
Described eigenwert with described key frame object is updated to the eigenwert that gets access to and comprises:
When the key frame object of described functional module correspondence need upgrade, the eigenwert of described key frame object is updated to the eigenwert that gets access to.
Wherein, described EXPANDING DISPLAY AREA also comprises characteristic attribute, is used for the storing initial eigenwert, and described method also comprises:
When the resource file that upgrades from described desire obtains less than the characteristic of correspondence value, the eigenwert of described key frame object is updated to the initial characteristics value of described characteristic attribute storage.
A kind of device that upgrades animation is characterized in that, described device comprises:
Creation module is used to create the EXPANDING DISPLAY AREA of the key frame object correspondence of animation, and described EXPANDING DISPLAY AREA comprises index attributes at least, and described index attributes is used to store index value;
Load-on module is used to load the resource file that desire is upgraded, and the resource file that described desire is upgraded comprises index value and characteristic of correspondence value thereof;
Acquisition module is used for the index value of the index attributes storage of the EXPANDING DISPLAY AREA created according to described creation module, and the resource file that the desire that loads from described load-on module is upgraded obtains the characteristic of correspondence value;
Update module, the eigenwert that is used for described key frame object is updated to the eigenwert that described acquisition module gets access to.
Wherein, described acquisition module comprises:
Search the unit, be used for resource file, search the identical index value of storing with the index attributes of described EXPANDING DISPLAY AREA of index value in described desire renewal;
Acquiring unit is used to obtain the described identical index value characteristic of correspondence value that the unit finds of searching.
Wherein, described device also comprises:
Unload module is used to load before the resource file of desire renewal the former resource file before unloading is upgraded.
Wherein, the EXPANDING DISPLAY AREA that described creation module is created also comprises address properties, is used to store the address of described key frame object,
Described update module specifically is used to obtain the address of described key frame object, and is recorded in the address properties of described EXPANDING DISPLAY AREA, and the eigenwert of the key frame object of described address properties address stored correspondence is updated to the eigenwert that gets access to.
Wherein, the EXPANDING DISPLAY AREA that described creation module is created also comprises module attribute, is used to store the functional module of described animation application,
Described update module specifically is used for when the key frame object of described functional module correspondence need upgrade, and the eigenwert of described key frame object is updated to the eigenwert that gets access to.
Wherein, the EXPANDING DISPLAY AREA that described creation module is created also comprises characteristic attribute, is used for the storing initial eigenwert, and described update module also is used for:
When the resource file of the desire renewal that loads from described load-on module obtains less than the characteristic of correspondence value, the eigenwert of described key frame object is updated to the initial characteristics value of described characteristic attribute storage.
The beneficial effect that the technical scheme that the embodiment of the invention provides is brought is:
The EXPANDING DISPLAY AREA of the key frame object correspondence by creating animation, and index attributes and the static resource file that comprises eigenwert and index value by storing index value in the EXPANDING DISPLAY AREA, characteristic attribute to animation upgrades, realized when program run, also can upgrading animation, improve user experience, strengthened the hommization and the personalised effects of software.And the method that present embodiment provides has been simplified the manufacturing process of new skin, and it is little to change in the skin process computing machine expense, and speed is fast.After changing skin, not only the static effect at interface changes, and dynamic effect also changes thereupon, greatly satisfies user's individual demand, has improved the ease for use of software.
Description of drawings
Fig. 1 is the renewal cartoon method process flow diagram that provides in the embodiment of the invention 1;
Fig. 2 is the other method process flow diagram of the renewal animation that provides in the embodiment of the invention 1;
Fig. 3 is the apparatus structure synoptic diagram of the renewal animation that provides in the embodiment of the invention 2;
Fig. 4 is another structural representation of device of the renewal animation that provides in the embodiment of the invention 2.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
Referring to Fig. 1, present embodiment provides a kind of renewal cartoon method, comprising:
101: create the EXPANDING DISPLAY AREA of the key frame object correspondence of animation, EXPANDING DISPLAY AREA comprises index attributes at least, is used to store index value;
Wherein, EXPANDING DISPLAY AREA can also comprise at least one in address properties, characteristic attribute and the module attribute. address properties is used to store the address of key frame object.Characteristic attribute is used for the storing initial eigenwert, comprises color and sound etc., and present embodiment does not limit.Module attribute is used to store the functional module of this animation application, is convenient to function expansion and changes the skin management, and for example, a program comprises a plurality of functional modules, supposes that each module can both change skin separately, and judge whether that according to module attribute needs upgrade the key frame object this moment.
102: load the resource file that desire is upgraded, the resource file that desire is upgraded comprises index value and characteristic of correspondence value thereof;
Further, load the former resource file that also needs before to unload before upgrading.
103: according to the index value that the index attributes of EXPANDING DISPLAY AREA is stored, the resource file that upgrades from desire obtains the characteristic of correspondence value;
Concrete, in the resource file that desire is upgraded, search the identical index value of storing with index attributes of index value, obtain identical index value characteristic of correspondence value.
104: the eigenwert of key frame object is updated to the eigenwert that gets access to.
A, when EXPANDING DISPLAY AREA comprises address properties, upgrade the key frame object and comprise:
Obtain the address of key frame object, and be recorded in the address properties of EXPANDING DISPLAY AREA; The eigenwert of the key frame object of address properties address stored correspondence is updated to the eigenwert that gets access to.
B, when EXPANDING DISPLAY AREA comprises module attribute, upgrade the key frame object and comprise:
When the key frame object of functional module correspondence need upgrade, the eigenwert with the key frame object was updated to the eigenwert that gets access to again.
C, when EXPANDING DISPLAY AREA comprises characteristic attribute, and when the resource file that upgrades from desire obtains less than the characteristic of correspondence value, the eigenwert of key frame object is updated to the initial characteristics value of characteristic attribute storage.
The method that present embodiment provides, the EXPANDING DISPLAY AREA of the key frame object correspondence by creating animation, and index attributes and the static resource file that comprises eigenwert and index value by storing index value in the EXPANDING DISPLAY AREA, characteristic attribute to animation upgrades, realized when program run, also can upgrading animation, improve user experience, strengthened the hommization and the personalised effects of software.And the method that present embodiment provides has been simplified the manufacturing process of new skin, and it is little to change in the skin process computing machine expense, and speed is fast.After changing skin, not only the static effect at interface changes, and dynamic effect also changes thereupon, greatly satisfies user's individual demand, has improved the ease for use of software.
The method that present embodiment provides is particularly useful for IM (Instant Messaging, instant messaging) field.Referring to Fig. 2,, introduce the process of upgrading this animation when changing skin below in conjunction with the instantiation of " color change animation ".
201: create the EXPANDING DISPLAY AREA of the key frame object correspondence of " color change animation ", this EXPANDING DISPLAY AREA comprises index attributes at least, is used to store index value;
Wherein, EXPANDING DISPLAY AREA can also comprise at least one in address properties, module attribute and the color attribute.Address properties is used to store the address of key frame object.Color attribute is a kind of of characteristic attribute, is used for the storing initial color value, and the also i.e. color value of acquiescence is so that obtain color value failure from resource file after, can return the color value of acquiescence.Module attribute is used to store the functional module of this animation application, is convenient to function expansion and changes the skin management, and for example, a program comprises a plurality of functional modules, supposes that each module can both change skin separately, and judge whether that according to module attribute needs upgrade the key frame object this moment.
Following XAML program is key frame object and EXPANDING DISPLAY AREA thereof, and is specific as follows:
<ColorAnimationUsingKeyFrames?BeginTime=″00:00:00″
Storyboard.TargetName=″ellipse″
Storyboard.TargetProperty=″(Shape.Fill).(SolidColorBrush.Color)″>
<SplineColorKeyFrame?KeyTime=″00:00:00″
Value=″{wpf:DynamicColorExtension
ResourceName=good friend management-good friend grouping-bubble-static background color,
DefaultColor=#BF5C966D,
Module=BuddyZone}″/>
<SplineColorKeyFrame?KeyTime=″00:00:00.2000000″
Value=″{wpf:DynamicColorExtension
ResourceName=good friend management-good friend grouping-bubble-choose background color,
DefaultColor=#BF82AD5A,
Module=BuddyZone}″/>
</ColorAnimationUsingKeyFrames>
Wherein, key frame SplineColorKeyFrame comprises two key frame objects, and one is KeyTime=" 00:00:00 ", and another is KeyTime=" 00:00:00.2000000 "; DynamicColorExtension is an EXPANDING DISPLAY AREA, derives from from System.Windows.Markup.MarkupExtension; Corresponding with the key frame object, said procedure has defined two EXPANDING DISPLAY AREA, the index value ResourceName=good friend management-good friend grouping-bubble-static background color of the index attributes of one of them EXPANDING DISPLAY AREA, color attribute DefaultColor=#BF5C966D, module attribute Module=BuddyZone; The index value ResourceName=good friend management-good friend grouping-bubble of the index attributes of another EXPANDING DISPLAY AREA-choose background color, color attribute DefaultColor=#BF82AD5A, module attribute Module=BuddyZone.Shown in above-mentioned program, EXPANDING DISPLAY AREA can with class name attribute 1=value, attribute 2=value ... form in the XAML language, describe.
202: optionally, obtain the address of key frame object, and be recorded in the address properties of respective extension object;
Wherein, address properties ColorFrame is dynamically recording when program run, realizes that by the ProvideValue method in the EXPANDING DISPLAY AREA code of this step is as follows:
public?override?object?ProvideValue(IServiceProvider?serviceProvider)
{
ColorFrame=service.TargetObject as ColorKeyFrame; // obtain and in the address of ColorFrame recorded key frame object
}
In addition, when specific procedure realizes, for the ease of searching and call corresponding EXPANDING DISPLAY AREA, can be in the set of an overall situation pre-defined all EXPANDING DISPLAY AREA DynamicColorExtension, specific procedure is as follows:
Public static List<DynamicColorExtension〉Collection; The set of an overall situation of // definition
static?DynamicColorExtension()
{
Collection=new?List<DynamicColorExtension>();
}
public?DynamicColorExtension()
{
Collection.Add (this); // add the DynamicColorExtension object to set
}
203: unload former resource file, load the resource file that desire is upgraded, resource file comprises index value and corresponding color value thereof;
Wherein, former resource file is compared with the resource file that desire is upgraded, and difference is concrete color value difference.Therefore, only need to replace the scheme of colour that different color values just can obtain the new skin of a cover, significantly reduced designer's workload.
For example, the specific code of former resource file (green theme) is as follows:
<ResourceDictionary
xmlns=″http://schemas.microsoft.com/winfx/2006/xaml/presentation″
xmlns:x=″http://schemas.microsoft.com/winfx/2006/xaml″>
<Color x:Key=" good friend management-good friend grouping-bubble-static background color
″>#BF?5C966D</Color>
<Color x:Key=" good friend management-good friend grouping-bubble-background color after choosing
″>#BF82AD5A</Color>
</ResourceDictionary>
The specific code of the resource file (brown theme) that desire is upgraded is as follows:
<ResourceDictionary
xmlns=″http://schemas.microsoft.com/winfx/2006/xaml/presentation″
xmlns:x=″http://schemas.microsoft.com/winfx/2006/xaml″>
<Color x:Key=" good friend management-good friend grouping-bubble-static background color "〉Brown</Color 〉
<Color x:Key=" good friend management-good friend grouping-bubble-background color after choosing "〉White</Color 〉
</ResourceDictionary>
204: according to the index value that the index attributes of EXPANDING DISPLAY AREA is stored, the resource file that upgrades from desire obtains corresponding color value;
Concrete, in the resource file that desire is upgraded, search the identical index value x:Key of index value ResourceName that stores with index attributes, obtain this identical index value characteristic of correspondence value.For example, the index value ResourceName=good friend management-good friend grouping-bubble-static background color of index attributes, in the resource file that desire is upgraded, find identical with it index value x:Key=" good friend management-good friend grouping-bubble-static background color, and to obtain its corresponding color value be Brown.
205: the eigenwert of key frame object is updated to the color value that gets access to.
Wherein, the code of renewal is specific as follows:
public?void?Refresh()
{
Color?c=(Color)Application.Current.FindResource(this.ResourceName);
ColorFrame.Value=c;
}
Concrete, when EXPANDING DISPLAY AREA comprises address properties, obtain the address of key frame object, and be recorded in the address properties of EXPANDING DISPLAY AREA, the color value of the key frame object of address properties address stored correspondence is updated to the color value that gets access to.
Further, when EXPANDING DISPLAY AREA comprises module attribute, whether the corresponding key frame object of functional module of judging its storage needs to upgrade, and when the key frame object of this functional module correspondence need upgrade, the color value with this key frame object was updated to the color value that gets access to again.
Further, when EXPANDING DISPLAY AREA comprises color attribute,, the color value of key frame object is updated to the priming color value of color attribute storage if when the resource file that step 204 is upgraded from desire obtains less than the characteristic of correspondence value.
So far, program has been upgraded all colours key frame of " color change animation " in the internal memory after changing skin, will play new " color change animation " when the user operates.
The method that present embodiment provides, the EXPANDING DISPLAY AREA of the key frame object correspondence by creating animation, and index attributes and the static resource file that comprises eigenwert and index value by storing index value in the EXPANDING DISPLAY AREA, characteristic attribute to animation upgrades, realized when program run, also can upgrading animation, improve user experience, strengthened the hommization and the personalised effects of software.And the method that present embodiment provides has been simplified the manufacturing process of new skin, and it is little to change in the skin process computing machine expense, and speed is fast.After changing skin, not only the static effect at interface changes, and dynamic effect also changes thereupon, greatly satisfies user's individual demand, has improved the ease for use of software.
Embodiment 2
Referring to Fig. 3, present embodiment provides a kind of device that upgrades animation, comprising:
Creation module 301 is used to create the EXPANDING DISPLAY AREA of the key frame object correspondence of animation, and EXPANDING DISPLAY AREA comprises index attributes at least, is used to store index value;
Load-on module 302 is used to load the resource file that desire is upgraded, and the resource file that desire is upgraded comprises index value and characteristic of correspondence value thereof;
Acquisition module 303 is used for the index value of the index attributes storage of the EXPANDING DISPLAY AREA created according to creation module 301, and the resource file that the desire that loads from load-on module 302 is upgraded obtains the characteristic of correspondence value;
Update module 304 is used for the eigenwert of key frame object is updated to the eigenwert that acquisition module 303 gets access to.
Wherein, referring to Fig. 4, acquisition module 303 comprises:
Search unit 303a, be used for resource file, search the identical index value of storing with the index attributes of EXPANDING DISPLAY AREA of index value in the desire renewal;
Acquiring unit 303b is used to obtain and searches the identical index value characteristic of correspondence value that unit 303a finds.
Further, this device also comprises:
Unload module 305 is used to load before the resource file of desire renewal the former resource file before unloading is upgraded.
Wherein, the EXPANDING DISPLAY AREA that creation module 301 is created also comprises address properties, is used to store the address of key frame object,
Update module 304 specifically is used to obtain the address of key frame object, and is recorded in the address properties of EXPANDING DISPLAY AREA, and the eigenwert of the key frame object of address properties address stored correspondence is updated to the eigenwert that gets access to.
Wherein, the EXPANDING DISPLAY AREA that creation module 301 is created also comprises module attribute, is used to store the functional module of animation application, update module 304, specifically be used for when the key frame object of functional module correspondence need upgrade, the eigenwert of key frame object is updated to the eigenwert that gets access to.
Wherein, the EXPANDING DISPLAY AREA that creation module 301 is created also comprises characteristic attribute, be used for the storing initial eigenwert, update module 304 also is used for: when the resource file of the desire renewal that loads from load-on module 302 obtains less than the characteristic of correspondence value, the eigenwert of key frame object is updated to the initial characteristics value of characteristic attribute storage.
The device that present embodiment provides belongs to same design with method embodiment, and the specific implementation process sees method embodiment for details, repeats no more here.
The device that present embodiment provides, the EXPANDING DISPLAY AREA of the key frame object correspondence by creating animation, and index attributes and the static resource file that comprises eigenwert and index value by storing index value in the EXPANDING DISPLAY AREA, characteristic attribute to animation upgrades, realized when program run, also can upgrading animation, improve user experience, strengthened the hommization and the personalised effects of software.And the method that present embodiment provides has been simplified the manufacturing process of new skin, and it is little to change in the skin process computing machine expense, and speed is fast.After changing skin, not only the static effect at interface changes, and dynamic effect also changes thereupon, greatly satisfies user's individual demand, has improved the ease for use of software.
All or part of content in the technical scheme that above embodiment provides can realize that its software program is stored in the storage medium that can read by software programming, storage medium for example: the hard disk in the computing machine, CD or floppy disk.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. one kind is upgraded cartoon method, it is characterized in that described method comprises:
Create the EXPANDING DISPLAY AREA of the key frame object correspondence of animation, described EXPANDING DISPLAY AREA comprises index attributes at least, and described index attributes is used to store index value;
Load the resource file that desire is upgraded, the resource file that described desire is upgraded comprises index value and characteristic of correspondence value thereof;
According to the index value that the index attributes of described EXPANDING DISPLAY AREA is stored, the resource file that upgrades from described desire obtains the characteristic of correspondence value;
The eigenwert of described key frame object is updated to the eigenwert that gets access to.
2. the method for claim 1 is characterized in that, the index value of described index attributes storage according to described EXPANDING DISPLAY AREA, and the resource file that upgrades from described desire obtains the characteristic of correspondence value and comprises:
In the resource file that described desire is upgraded, search the identical index value of storing with the index attributes of described EXPANDING DISPLAY AREA of index value;
Obtain described identical index value characteristic of correspondence value.
3. the method for claim 1 is characterized in that, also comprises before the resource file that described loading desire is upgraded:
Former resource file before unloading is upgraded.
4. the method for claim 1 is characterized in that, described EXPANDING DISPLAY AREA also comprises address properties, is used to store the address of described key frame object,
Described eigenwert with described key frame object is updated to the eigenwert that gets access to and comprises:
Obtain the address of described key frame object, and be recorded in the address properties of described EXPANDING DISPLAY AREA;
The key frame object of described address properties address stored correspondence is updated to the eigenwert that gets access to.
5. the method for claim 1 is characterized in that, described EXPANDING DISPLAY AREA also comprises module attribute, is used to store the functional module of described animation application,
Described eigenwert with described key frame object is updated to the eigenwert that gets access to and comprises:
When the key frame object of described functional module correspondence need upgrade, the eigenwert of described key frame object is updated to the eigenwert that gets access to.
6. the method for claim 1 is characterized in that, described EXPANDING DISPLAY AREA also comprises characteristic attribute, is used for the storing initial eigenwert, and described method also comprises:
When the resource file that upgrades from described desire obtains less than the characteristic of correspondence value, the eigenwert of described key frame object is updated to the initial characteristics value of described characteristic attribute storage.
7. a device that upgrades animation is characterized in that, described device comprises:
Creation module is used to create the EXPANDING DISPLAY AREA of the key frame object correspondence of animation, and described EXPANDING DISPLAY AREA comprises index attributes at least, and described index attributes is used to store index value;
Load-on module is used to load the resource file that desire is upgraded, and the resource file that described desire is upgraded comprises index value and characteristic of correspondence value thereof;
Acquisition module is used for the index value of the index attributes storage of the EXPANDING DISPLAY AREA created according to described creation module, and the resource file that the desire that loads from described load-on module is upgraded obtains the characteristic of correspondence value;
Update module, the eigenwert that is used for described key frame object is updated to the eigenwert that described acquisition module gets access to.
8. device as claimed in claim 7 is characterized in that, described acquisition module comprises:
Search the unit, be used for resource file, search the identical index value of storing with the index attributes of described EXPANDING DISPLAY AREA of index value in described desire renewal;
Acquiring unit is used to obtain the described identical index value characteristic of correspondence value that the unit finds of searching.
9. device as claimed in claim 7 is characterized in that, described device also comprises:
Unload module is used to load before the resource file of desire renewal the former resource file before unloading is upgraded.
10. device as claimed in claim 7 is characterized in that, the EXPANDING DISPLAY AREA that described creation module is created also comprises address properties, is used to store the address of described key frame object,
Described update module specifically is used to obtain the address of described key frame object, and is recorded in the address properties of described EXPANDING DISPLAY AREA, and the eigenwert of the key frame object of described address properties address stored correspondence is updated to the eigenwert that gets access to.
11. device as claimed in claim 7 is characterized in that, the EXPANDING DISPLAY AREA that described creation module is created also comprises module attribute, is used to store the functional module of described animation application,
Described update module specifically is used for when the key frame object of described functional module correspondence need upgrade, and the eigenwert of described key frame object is updated to the eigenwert that gets access to.
12. device as claimed in claim 7 is characterized in that, the EXPANDING DISPLAY AREA that described creation module is created also comprises characteristic attribute, is used for the storing initial eigenwert, and described update module also is used for:
When the resource file of the desire renewal that loads from described load-on module obtains less than the characteristic of correspondence value, the eigenwert of described key frame object is updated to the initial characteristics value of described characteristic attribute storage.
CN201010126804.8A 2010-03-04 2010-03-04 Upgrade the method and apparatus of animation Active CN102193806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010126804.8A CN102193806B (en) 2010-03-04 2010-03-04 Upgrade the method and apparatus of animation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010126804.8A CN102193806B (en) 2010-03-04 2010-03-04 Upgrade the method and apparatus of animation

Publications (2)

Publication Number Publication Date
CN102193806A true CN102193806A (en) 2011-09-21
CN102193806B CN102193806B (en) 2015-09-09

Family

ID=44601924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010126804.8A Active CN102193806B (en) 2010-03-04 2010-03-04 Upgrade the method and apparatus of animation

Country Status (1)

Country Link
CN (1) CN102193806B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035705A (en) * 2013-03-07 2014-09-10 腾讯科技(深圳)有限公司 Client, method and system for switching view display mode
CN105427365A (en) * 2015-11-26 2016-03-23 盛趣信息技术(上海)有限公司 Animation implementation method, system and animation updating method
CN106815882A (en) * 2015-12-01 2017-06-09 北京触控科技有限公司 It is a kind of can infinite expanding animation attributes method
CN107346557A (en) * 2016-05-05 2017-11-14 北京京东尚科信息技术有限公司 Method and apparatus for updating animation
CN107908401A (en) * 2017-12-13 2018-04-13 上海幻维数码创意科技有限公司 Multimedia file producing method based on Unity engines
CN113209621A (en) * 2021-05-21 2021-08-06 珠海金山网络游戏科技有限公司 Virtual role control method and device, computing equipment and storage medium
CN113986432A (en) * 2021-10-27 2022-01-28 北京乐驾科技有限公司 Vehicle-mounted terminal animation interface display method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106571A (en) * 2007-08-30 2008-01-16 腾讯科技(深圳)有限公司 A dynamic skin change method and device
US20100045665A1 (en) * 2007-01-22 2010-02-25 Total Immersion Method and device for creating at least two key frames corresponding to a three-dimensional object
CN101661504A (en) * 2008-08-29 2010-03-03 奥多比公司 Dynamically altering playlists

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100045665A1 (en) * 2007-01-22 2010-02-25 Total Immersion Method and device for creating at least two key frames corresponding to a three-dimensional object
CN101106571A (en) * 2007-08-30 2008-01-16 腾讯科技(深圳)有限公司 A dynamic skin change method and device
CN101661504A (en) * 2008-08-29 2010-03-03 奥多比公司 Dynamically altering playlists

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035705A (en) * 2013-03-07 2014-09-10 腾讯科技(深圳)有限公司 Client, method and system for switching view display mode
CN104035705B (en) * 2013-03-07 2018-04-17 腾讯科技(深圳)有限公司 Client, the method and system of switch view display pattern
CN105427365A (en) * 2015-11-26 2016-03-23 盛趣信息技术(上海)有限公司 Animation implementation method, system and animation updating method
CN106815882A (en) * 2015-12-01 2017-06-09 北京触控科技有限公司 It is a kind of can infinite expanding animation attributes method
CN106815882B (en) * 2015-12-01 2020-12-29 厦门雅基软件有限公司 Method capable of infinitely extending animation attributes
CN107346557A (en) * 2016-05-05 2017-11-14 北京京东尚科信息技术有限公司 Method and apparatus for updating animation
CN107346557B (en) * 2016-05-05 2019-06-04 北京京东尚科信息技术有限公司 Method and apparatus for updating animation
CN107908401A (en) * 2017-12-13 2018-04-13 上海幻维数码创意科技有限公司 Multimedia file producing method based on Unity engines
CN113209621A (en) * 2021-05-21 2021-08-06 珠海金山网络游戏科技有限公司 Virtual role control method and device, computing equipment and storage medium
CN113986432A (en) * 2021-10-27 2022-01-28 北京乐驾科技有限公司 Vehicle-mounted terminal animation interface display method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN102193806B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN102193806A (en) Method and device for updating animation
CN101213515B (en) Method and device for controlling z-order of lifted element in a presentation
CN104216752B (en) A kind of information loading method and device based on window
US9122767B2 (en) Method and apparatus for pre-rendering expected system response
CN101395572B (en) Auxiliary display gadget for distributed content
US8560938B2 (en) Multi-layer XML customization
US20160170712A1 (en) Method for integrally implementing development and release of APP
CN103809975B (en) The implementation method of intelligent cloud list
US20090204629A1 (en) Caching and memory optimizations for multi-layer xml customization
JPH10500512A (en) Method and system for customizing form and operation of graphical user interface
WO2020063031A1 (en) Method and apparatus for processing structured data, and storage medium and electronic device
WO2009126591A1 (en) Systems and methods for programming mobile devices
CN108008997A (en) A kind of unified method replaced of APP skins
CN105700925A (en) APP interface implementation method and apparatus
CN110020356A (en) A kind of code generating method of page module, apparatus and system
CN114669047B (en) Image processing method, electronic equipment and storage medium
CN102902545A (en) Decomposing markup language elements for animation
CN109933381A (en) A kind of loading method and device of kernel
CN114185491A (en) Method and device for downloading partitioned file, storage medium and computer equipment
CN101980126A (en) Method for arranging and displaying functional icons and electronic terminal
CN111737618A (en) Vector diagram display method and device for Web end and computer equipment
CN114625439A (en) Sub-application operation method based on micro front-end architecture, electronic device and storage medium
CN110083417A (en) User interface response method and device
CN101986662B (en) Widget instance operation method and system
CN105159673A (en) Method and device for setting control style

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