CN105447902B - Animation processing method and device - Google Patents

Animation processing method and device Download PDF

Info

Publication number
CN105447902B
CN105447902B CN201610027027.9A CN201610027027A CN105447902B CN 105447902 B CN105447902 B CN 105447902B CN 201610027027 A CN201610027027 A CN 201610027027A CN 105447902 B CN105447902 B CN 105447902B
Authority
CN
China
Prior art keywords
component
tool
animation
special efficacy
picture
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
CN201610027027.9A
Other languages
Chinese (zh)
Other versions
CN105447902A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201610027027.9A priority Critical patent/CN105447902B/en
Publication of CN105447902A publication Critical patent/CN105447902A/en
Application granted granted Critical
Publication of CN105447902B publication Critical patent/CN105447902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2213/00Indexing scheme for animation
    • G06T2213/04Animation description language

Abstract

The invention discloses a kind of animation processing method and devices.Wherein, this method includes:By name tool being called to be named to multiple components according to pre-defined rule, and multiple components are exported as picture file respectively in drafting instrument;The Picture section of the non-component in the corresponding picture file of component each in multiple components is cut off to obtain by cutting figure tool and cut map file, and record location information of the component before excision in picture;Map file is cut and location information is imported into animation library by multiple components are corresponding, and target image is obtained to cutting map file into rearrangement according to the location information for each cutting map file by the reconstruction tool;The component for needing carry animation in target image is set, and carry out the loading of animation effect by subassembly selection tool.The present invention solves the technical issues of causing animation process cumbersome with respect to conventional pilot due to cartoon making in the prior art.

Description

Animation processing method and device
Technical field
The present invention relates to field of play, in particular to a kind of animation processing method and device.
Background technology
With the arrival of cell phone platform game trend, 2D game comes into vogue.But based on the skeleton cartoon system of 2D Make to never have a good scheme, the scheme that existing skeleton cartoon makes lacks the tool process flow of system, due to lacking The tool process flow of few system, will lead to research staff during 2D animations are made, including much cumbersome operations, this Making of the research staff to 2D animation effects will be influenced, while also affects the experience of user.
For it is above-mentioned the problem of, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of animation processing method and device, at least to solve in the prior art due to animation Make the technical issues of opposite conventional pilot causes animation process cumbersome.
One side according to embodiments of the present invention provides a kind of animation processing method, including:By in drafting instrument Middle calling name tool is named multiple components according to pre-defined rule, and the multiple component is exported as picture text respectively Part, wherein, the multiple component is split out using the drafting instrument from source material, and the multiple component is located at not In same layer;By cutting picture of the figure tool to the non-component in the corresponding picture file of component each in the multiple component Part, which is cut off to obtain, cuts map file, and record location information of the component before excision in picture;By the multiple portion Part is corresponding to cut map file and location information is imported into animation library, cuts the position of map file according to each by the reconstruction tool Confidence breath, into rearrangement, obtains target image to the map file of cutting;It is set in the target image by subassembly selection tool The component for needing carry animation, and carry out the loading of animation effect.
Further, by call the name tool to the multiple component according to pre-defined rule be named including: After the name tool is called, input prefix is prompted;After user inputs the prefix, using the prefix as described in A part for the name of each component is named each component in multiple components.
Further, the name of each component includes:Prefix, the serial number of component, the title of component.
Further, the multiple component is exported as the picture file to include:According to the needs of the animation to institute The size for stating multiple components is adjusted, and the multiple component after adjustment size is exported to the picture text by script In part.
Further, to the component carry animation effect for needing carry animation in the target image, action picture of going forward side by side Loading includes:By the subassembly selection tool, input is prompted to need the component of carry animation, wherein, prompt input with down toward It is one of few:Component names, alternative pack, component annotation;After user inputs according to prompting, setting needs to load animation effect Component, go forward side by side action picture loading.
Further, it is further included by the subassembly selection tool:The global K frames option of the component of selection, the portion of selection The local K frames option of part;Wherein, select the overall situation K frames option and select the part K frames option including it is following at least it One:To select the overall situation K frames option and the part K frame options be closing, selects the overall situation K frames option as true and selection The part K frame options are false, select the overall situation K frames option as vacation and to select the part K frames option be true.
Further, the method further includes:Replicate image identical from the component of the target image and different skin Into the picture file, wherein, the component is at least one of the multiple component component;It is transmitted by animation data It is different that animation effect on the component of the target image is transferred to and skin identical from the component of the target image by tool Image component in.
Further, the method further includes:By calling animation data tool for transmitting, prompt to input component to be moved Mobile initial position and Mobile Termination position, and selection selection whole frame data-bias or local frame data-bias are prompted, wherein, The component to be moved is at least one of the multiple component;After user inputs according to prompting, wait to move described in movement Dynamic component is to the final position.
Further, the method further includes:It calls and special efficacy sequence is inserted into special efficacy mounting tool, and prompt input following At least one:Insert Fragment special efficacy is inserted into full frame special efficacy, the component for needing carry special efficacy sequence, special efficacy sequence mounting layer;With After family is inputted according to prompting, special efficacy sequence described in the component carry for needing carry special efficacy sequence is set.
Further, insertion special efficacy sequence in the special efficacy mounting tool is called to include at least one of:Mounting one Label, wherein, the label is used to indicate to be found special efficacy corresponding with label and is mounted in the application;By the special efficacy sequence It is added directly into special efficacy sequence mounting layer.
Further, the method further includes:Survey is imported into the target image after the loading animation effect It is tested, and output test result in trial work tool.
Another aspect according to embodiments of the present invention additionally provides a kind of video processing apparatus, including:Unit is named, is used In by name tool being called to be named multiple components according to pre-defined rule, and by the multiple component in drafting instrument Picture file is exported as respectively, wherein, the multiple component is split out using the drafting instrument from source material, institute Multiple components are stated to be located in different layers;Cutter unit, for by cutting figure tool to component pair each in the multiple component The Picture section of the non-component in the picture file answered, which is cut off to obtain, cuts map file, and records the component before excision Location information in picture;Import unit, for by the multiple component it is corresponding cut map file and location information imported into it is dynamic It draws in library, the location information of map file is cut to the map file of cutting into rearrangement according to each by the reconstruction tool, is obtained Target image;Carry unit, for passing through the component for needing carry animation in the subassembly selection tool setting target image, And carry out the loading of animation effect.
In embodiments of the present invention, using by calling name tool to multiple components according to pre- set pattern in drafting instrument It is then named, and the multiple component is exported as into picture file respectively, wherein, the multiple component is to use the drawing What tool was split out from source material, the multiple component is located in different layers;By cutting figure tool to the multiple portion The Picture section of the non-component in part in the corresponding picture file of each component, which is cut off to obtain, cuts map file, and record and be somebody's turn to do Location information of the component before excision in picture;By the multiple component it is corresponding cut map file and location information imported into it is dynamic It draws in library, the location information of map file is cut to the map file of cutting into rearrangement according to each by the reconstruction tool, is obtained Target image;The component for needing carry animation in the target image is set by subassembly selection tool, action picture effect of going forward side by side The mode of the loading of fruit by the way that the name tool in drafting instrument is called to be named multiple components, and exports each component Picture file, then by cut figure tool by it is derived cut map file and cut figure handle, obtain cutting map file and each portion Location information of the part between figure is cut in picture, and then will be imported in animation library according to the reconstruction tool and cut map file and position letter It ceases into rearrangement, obtains target image, finally, animation effect is loaded to the component that carry animation is needed in target image, relatively In the method for manual handle animation in the prior art, the present invention is handled animation using the tool of system, has reached automatic The purpose of animation process is completed, it is achieved thereby that the tool by system realizes the technique effect of cartoon making, and then is solved The technical issues of causing animation process cumbersome with respect to conventional pilot due to cartoon making in the prior art.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the processing method of animation according to embodiments of the present invention;
Fig. 2 is the schematic diagram of the display interface of name tool according to embodiments of the present invention;
Fig. 3 is the schematic diagram of the display interface of the size of adjustment picture file according to embodiments of the present invention;
Fig. 4 is the schematic diagram of the display interface of export tool according to embodiments of the present invention;
Fig. 5 a are the schematic diagrames of arbitrary component in multiple components according to embodiments of the present invention;
Fig. 5 b are picture file of the arbitrary component after cutting figure processing in multiple components according to embodiments of the present invention Schematic diagram;
Fig. 6 is the schematic diagram of the display interface of a key row layer tool according to embodiments of the present invention;
Fig. 7 a are the schematic diagrames according to a kind of target image of alternative embodiment of the present invention;
Fig. 7 b are the schematic diagrames that element display interface is encapsulated as according to the picture file of alternative embodiment of the present invention;
Fig. 8 is the schematic diagram of the operation principle of a key row layer according to embodiments of the present invention;
Fig. 9 is a kind of schematic diagram of the display interface of subassembly selection tool according to embodiments of the present invention;
Figure 10 a are the schematic diagrames according to a kind of blue rolling ground beast of alternative embodiment of the present invention;
Figure 10 b are the schematic diagrames that ground beast is rolled according to a kind of yellow of alternative embodiment of the present invention;
Figure 11 is a kind of schematic diagram of the display interface of animation tool for transmitting according to embodiments of the present invention;
Figure 12 is the schematic diagram of the display interface of second of animation tool for transmitting according to embodiments of the present invention;
Figure 13 is the schematic diagram of the display interface of the third animation tool for transmitting according to embodiments of the present invention;
Figure 14 is a kind of schematic diagram of the display interface of mounting special effects tools according to embodiments of the present invention;
Figure 15 is the schematic diagram of the display interface of another mounting special effects tools according to embodiments of the present invention;
Figure 16 is a kind of schematic diagram of the display interface of label mounting tool according to embodiments of the present invention;
Figure 17 is a kind of flow chart of the test philosophy of testing tool according to embodiments of the present invention;
Figure 18 is a kind of schematic diagram of the display interface of testing tool according to embodiments of the present invention;And
Figure 19 is a kind of schematic diagram of the processing unit of animation according to embodiments of the present invention.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this way Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment Those steps or unit clearly listed, but may include not listing clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
According to embodiments of the present invention, a kind of embodiment of animation processing method is provided, it should be noted that in attached drawing The step of flow illustrates can perform in the computer system of such as a group of computer-executable instructions, although also, Logical order is shown in flow chart, but in some cases, it can perform shown with the sequence being different from herein or retouch The step of stating.
Fig. 1 is a kind of flow chart of the method for animation process according to embodiments of the present invention, as shown in Figure 1, this method packet Include following steps:
Step S102, by name tool being called to be named multiple components according to pre-defined rule in drafting instrument, And multiple components are exported as into picture file respectively, wherein, multiple components are split out from source material using drafting instrument , multiple components are located in different layers.
Step S104, by cutting figure tool to the non-component in the corresponding picture file of component each in multiple components Picture section, which is cut off to obtain, cuts map file, and records location information of the component before excision in picture.
Step S106 cuts map file and location information is imported into animation library by multiple components are corresponding, by rebuilding work Tool, to cutting map file into rearrangement, obtains target image according to the location information for each cutting map file.
Step S108 sets the component for needing carry animation in target image, action of going forward side by side by subassembly selection tool Draw the loading of effect.
In embodiments of the present invention, by the way that the name tool in drafting instrument is called to be named to multiple components, and lead Go out the picture file of each component, then carry out cutting figure processing by derived map file of cutting by cutting figure tool, obtain cutting map file And each location information of the component between figure is cut in picture, and then will be imported in animation library according to the reconstruction tool and cut picture and text Part and location information obtain target image, finally, animation are loaded to the component that carry animation is needed in target image into rearrangement Effect, relative to the method for manual handle animation in the prior art, above-mentioned steps use the tool into system to animation at Reason, has achieved the purpose that be automatically performed animation process, it is achieved thereby that the technology for realizing cartoon making by the tool of system is imitated Fruit, and then solve the technical issues of causing animation process cumbersome with respect to conventional pilot due to cartoon making in the prior art.
It, can installation system tool, and pass through the system tool and adopted in advance in early period in an optional embodiment Into the making of entire animation, wherein, system tool can there are many kinds of, in embodiments of the present invention, the system work that may be used Has the Python2.4 for flashcs6DragonBonesDesignPanel (the 2D bones solution increased income) G7Go tool sets Version on or.
The mode that multiple components are named can there are many kinds of, in embodiments of the present invention, calling can be passed through Name tool in drafting instrument is named multiple components according to pre-defined rule, specifically, can call name tool Later, prompting input prefix, then, after user inputs prefix, using prefix as the name of component each in multiple components A part, each component is named.
It in embodiments of the present invention, can be to industry before being named to multiple components according to default pre-defined rule The original image that business personnel have created in drafting instrument (for example, PhotoShop tools) is handled, concrete processing procedure For:After having designed original image early period first, layered shaping is carried out to original image by the PhotoShop tools, that is, is pressed It is split according to the figure layer of original image;Then, in order to improve split after figure layer identification, pass through the PhotoShop works Have and completion is carried out to the pixel of shield portions in figure layer after fractionation.
So far, the fractionation of multiple components of original image has been completed, before completing to export, it is also necessary to use The name tool provided in PhotoShop tools standardizes to multiple component names, can be in name tool as shown in Figure 2 The prefix title of multiple components is inputted in display interface, wherein it is possible to input multiple component at " prefix of layer " in fig. 2 Prefix title, such as the prefix title of input can be " jiaxuekulou ", after user has inputted the prefix, click such as " key three-level arrangement " button shown in Fig. 2, the standardization that name tool will be automatically performed multiple component names, by the prefix A part of the title (such as " jiaxuekulou ") as the name of each component in multiple components.It should be noted that It, can be by selecting " script " in the file of PhotoShop in the embodiment of the present invention, then selection is " clear in " script " Look at ", name tool as shown in Figure 2 can be added by " browsing ", wherein, the title of the name tool can be defined as: Pyc_LayerName.jsx.It should be noted that the name tool was specially set for research staff, for being carried out to title Therefore the tool of standardization processing, the name tool is called by way of calling script in PhotoShop tools.
The name for leading to each component includes:Prefix, the serial number of component, the title of component.It should be noted that it is above-mentioned according to Pre-defined rule is named the title of each component, be exactly in fact the last period name changing into 3 name sections.Wherein, First name section can be that the prefix added in the above, the second name section can be that the serial number of component, third name section can Think the title of component.Usual first name section is used to programmer, for the title of original image where the component, second Name section is used to program, such as calculating such as arrangements, and third name section is used to fine arts personnel.It wherein, should be according to The title of preset rules name can be following form:Jiaxuekulou_6_tail, " jiaxuekulou " are first segment Title, " 6 " are the second name section, and " tail " is third name section.
It, can be by after being named by name tool it should be noted that for multiple components of original image It is arranged according to the sequence of the second name section, such as is sorted from big to small or according to second according to the sequence of the second name section The sequence of name section sorts from small to large.
After being named according to name tool to multiple components of original image, multiple components can be exported form For the picture file of png, export picture file mode can there are many kinds of, in embodiments of the present invention, can root first It needs to be adjusted the size of multiple components according to animation, then, multiple components after adjustment size is exported by script Into picture file.
After being renamed to multiple components of original image by calling name tool, it can also adjust multiple The size of component, for example, before being named to multiple components, multiple components have been both designed to 1024*1024 pixels Size is finally actually needed according to game, can multiple components be sized to 180*180 pixels.Wherein it is possible to according to Tools interfaces as shown in Figure 3 adjust the size of multiple components, use can be selected to make by oneself in tools interfaces as shown in Figure 3 Adopted template or selection use default template;The size after multiple components adjustment, example can also be selected in the tools interfaces Such as, the width for adjusting component is 180 points, and the length for adjusting component is 180 points;Multiple portions can also be selected in the tools interfaces The resolution ratio of part, for example, selecting resolution ratio as 72 pixel/inch;Resampling type can also be selected in the tools interfaces, For example, " cube (relatively sharp) (reduction) twice ".
After the size to multiple components is adjusted, multiple components after adjustment size need to be exported to picture text In part, specifically, the tool of " figure layer is exported into file " can be called in the script of the tool of PhotoShop, and according to Tools interfaces as shown in Figure 4 export to multiple components after adjusting size in file.It is called by script such as Fig. 4 institutes During the tools interfaces shown, interface prompt user inputs at least one of:Filling in will derived catalogue;Filename prefix is here For empty (not filling in);File type can be chosen for " PNG-24 " type;It is true to set transparent region;Setting is staggeredly false; It is false that setting, which cuts figure layer,;Then click " clicking operation " can be completed exports to file by multiple components after adjustment size In.
By in the script of the tool of PhotoShop call " figure layer is exported into file " tool will adjust size it Multiple components afterwards are imported into after file, and the title of each component output can be according to the depth of component figure layer in drafting instrument Degree is entitled after some prefixes, such as addition prefix to be automatically added to:_0000s_0000_jiaxueklou_12_ Spine.png, still, the prefix part " _ 0000s_0000_ " in above-mentioned title is by the tool of " figure layer is exported to file " Output, and the prefix is unwanted prefix, therefore prefix " _ 0000s_0000_ " is deleted.
It, can also be by cutting figure tool to each component in multiple components after multiple components are exported as picture file The Picture section of the non-component in corresponding picture file, which is cut off to obtain, cuts map file, and records the component in excision Location information in preceding picture.
It is a link in the drafting instrument to cut figure tool very much, and cutting the main function of figure tool is:Derived from Small figure is cut into picture file, is cut into after small figure, not only reduces stock number, also does standard to rebuild target image below It is standby;It cuts figure tool by being called in the tool script of PhotoShop derived picture file is handled, it is derived multiple After picture file is handled, generate one and cut map file and jsfl data, wherein, jsfl data are each for recording Location information of the small figure before figure is cut in picture after being cut.As shown in Figure 5 a, the figure for either component in multiple components Piece file is carried out the picture file after cutting figure processing by cutting map file, as shown in Figure 5 b, small after being cut Figure.
In embodiments of the present invention, an array is had recorded in the jsfl data of foundation, wherein, the variable of the array For:G7GLOBALARRAY, and location information of the small figure before figure is cut in picture file after cutting is had recorded in the variable.Example Such as, removal procedure, the small figure after being cut are carried out to component " spine4 ", and records the small figure after cutting in cutting Position coordinates in preceding picture file are:X=109.5, y=110.5, then variable G7GLOBALARRAY can be expressed as: “jiaxueklou_0_spine4/109.5/110.5”。
So far, multiple components completed before animation library is imported to multiple components cut figure processing, establish each portion Part cuts map file and jsfl data.
It should be noted that obtain after each component cuts map file and jsfl data, it need to also be where this cuts map file A fla file is established under catalogue.
The corresponding location information that is recorded in map file and jsfl data cut of multiple components is imported into animation library, is passed through The reconstruction tool, to cutting map file into rearrangement, obtains target image according to the location information for each cutting map file.
According to cut map file and location information rebuild target image mode can there are many kinds of, in embodiment of the present invention In, the reconstruction tool in this drafting instrument can be used, completes the foundation of target image.
Specifically, can open it is above-mentioned in established fla files, then, we are cut map file and location information It imported into the library (that is, animation library) of the fla files, and sets and cut map file as lossless manner, due to exporting picture resource ratio It is smaller, it therefore, is spent for clarity when making some details animations, so setting cuts map file as lossless mode.Wherein, may be used To set the lossless mode for cutting map file in the following manner:It is all in selection animation library to cut map file, then click category by right key Property, attribute bitmap is selected, attribute bitmap is finally set for compression, lossless mode, " determining " is clicked and is provided with.
Setting cuts the form of map file as after lossless format, you can the reconstruction of target image is completed by the reconstruction tool. By choosing other panels in the window in drafting instrument, and choose in other panels the mode of the G7Go tool set second editions Call the reconstruction tool.The rearrangement for cutting map file can be completed according to the G7Go tool set second editions of calling, obtain target image.
The display interfaces of the G7Go tool set second editions is as shown in fig. 6, when cut map file and location information is directed into animation library When middle, by clicking " a key row layer " in Fig. 6, you can complete to cut the layer processing of row again of map file.In the mistake of row's layer processing Cheng Zhong, an element can be packaged by each cutting map file, and as the title of the element cuts the title of map file with this, it It can establish a total element title afterwards, and total element title and higher level's catalogue (that is, engineering name) of fla files Title is consistent, then, by the way that the multiple element that the location information in jsfl data is completed to have encapsulated is called automatically to arrange the place of layer Reason operation, builds target image.It is illustrated by taking " jiaxuekulou " as an example, is that a key row layer obtains later shown in Fig. 7 a " jiaxuekulou " target image, be that each in " jiaxuekulou " cuts map file and be packaged into one shown in Fig. 7 b Schematic diagram after element, as shown in Figure 7b, " jiaxuekulou_12_spine " be a packaged element, the element with The corresponding title for cutting map file is consistent.
In embodiments of the present invention, a key row layer is converted into according to the map file of cutting being directed into animation library in fact Then element establishes figure layer for each element batch, wherein, the title of figure layer, the title of element and the title for cutting map file All same, this regulation are critically important because many operations in the system tool that the present invention uses all are to find to cut picture and text by layer Part or element.
In embodiments of the present invention, the exploitation of the work-based logic and the reconstruction tool of the reconstruction tool is related to Both language of Actionscript3.0 and jsfl.Wherein, the logic of correspondingly tool display interface is completed using language, Realize the friendly display interface of human-computer interaction;Jsfl is the logic of all operations, for example, completing to cut at row's layer of map file Reason.
Fig. 8 show showing for the basic functional principle of a key row layer in the animation process provided in the embodiment of the present invention It is intended to, the Picture section of the non-component in the corresponding picture file of each component is cut off as shown in figure 8, cutting figure tool It obtains cutting map file, jsfl files is write by C disks in computer, and pass through the jsfl file records components in excision Location information in preceding picture.The reconstruction tool calls jsfl data using Actionscript3.0 language by MMExeute Middle location information, and the service logic of the key row layer according to the jsfl data-drivens jsfl of calling, realization cut the one of map file Key row layer.
So far, target image, which is established, completes, next, can be to the component carry for needing carry animation in target image Animation effect, action picture loading of going forward side by side, wherein, the mode of carry animation effect can there are many kinds of, in embodiment of the present invention In, input can be prompted to need the component of carry animation by subassembly selection tool, wherein, prompt input at least one of: Component names, alternative pack, component annotation, then, after user inputs according to prompting, setting needs to load animation effect Component, action picture loading of going forward side by side.
In embodiments of the present invention, by selecting script in the window of tools, G7 subassembly selections are then selected Tool, and then pass through the carry of component progress animation effect.Fig. 9 show G7 subassembly selections tool in the embodiment of the present invention The schematic diagram of display interface.As shown in figure 9, it is each it is horizontally-arranged be one group, each group includes two buttons (big button 1 and small buttons 2) and a text box 3, wherein, " set " button (small button 2) is for setting the component names of selection, and " big button 1 " is for working as When having the component set inside " set ", the selection of component can be carried out by clicking " big button 1 ", and " text box " is for giving " set " The component of selection adds a note, for example, " head " and " body " etc., if not adding the note by text box, for " not Definition ".Wherein, the quantity of button is multigroup, only shows 4 groups of buttons in fig.9.
It is further included by subassembly selection tool:The local K frames choosing of the global K frames option of the component of selection, the component of selection ;Wherein, selection overall situation K frames option and selection part K frames option include at least one of:Select overall situation K frame option drawn games It is true that K frame options in portion, which are closing, select overall situation K frames option, select part K frames option for it is false, select overall situation K frames option for Vacation, it is true to select part K frames option.
As shown in figure 9, subassembly selection tool will also coordinate two checked classes to be used, which is:1、 Global K frames;2nd, part K frames.
In embodiments of the present invention, include following three kinds of modes with the use of two checked classes:
Mode one:It is off to choose overall situation K frames 1, and selection part K frames 2 are off, and pass-through mode one represents to select all frames equal For present frame;
Mode two:It is false to choose overall situation K frames 1, and selection part K frames 2 are true, and pass-through mode two is represented to selection Frame carries out K frames (key frame);
Mode three:It is true to choose overall situation K frames 1, and selection part K frames 2 are false, and pass-through mode three is represented to all Frame carries out K frames (key frame).
Subassembly selection tool provides the mode of quick selection K frame data in fact, in embodiments of the present invention, as excellent Choosing generally can first set global K frames 1 as true, and local K frames 2 are true, need to handle intermediate frame after key frame K is good, this It is false that we, which need to set global K frames 1, when a, and local K frames 2 are true, and last constantly refinement is constantly adjusted, only The position data of animation is changed, and is not intended in K key frames, it is false to need to set global K frames 1 at this time, and local K frames 2 are false。
In another optional embodiment of the present invention, the whole animation effect added in target image can be transferred to In another image, single component animation effect in target image can also be transferred in a certain component of another image.It transmits During the mode of animation effect can have very much, in alternative embodiment of the present invention, the component phase with target image can be replicated In same and different skin image to picture file, wherein, component is at least one of multiple components component, then, is passed through Animation effect on the component of target image is transferred in the component of image by animation data tool for transmitting.
It is assumed that developer designs two rolling ground beasts, respectively as as-shown-in figures 10 a and 10b, wherein, rolling in Figure 10 a The color of beast is blue, and the color that ground beast is rolled in Figure 10 b is yellow.Existing research staff has added with completing a blue rolling The animation effect of beast, it is desirable to which the animation effect that the blue is rolled to ground beast is transferred to yellow rolling ground beast, at this point, yellow need to be rolled to ground beast All part duplications to blue roll ground beast file inside, blue rolling ground beast inside cut map file can carry out automatically comprising behaviour Make.
The animation effect that only needing unlatching " animation data tool for transmitting " now can complete to roll blue ground beast is transmitted The transmission work of ground beast is rolled to yellow.In embodiments of the present invention, the transmission of animation effect includes the biography of whole animation effect The transmission with local animation effect is passed, wherein, transmitting for whole animation effect can be to imitate the whole animation of blue rolling ground beast Beast, the animation effect that local animation effect can be understood as a certain component that blue is rolled ground beast pass fruit with passing to the rolling of yellow It is handed to a certain component of yellow rolling ground beast.
When transmitting whole animation effect, can set in display interface as shown in figure 11 " pickup role layer " and " role in pickup library "." pickup role layer " is for setting the image of animation effect to be passed, for example, yellow rolling ground beast is (wherein, The prefix of the title of yellow rolling ground beast is qdgs2), as long as clicking any one layer of selection yellow rolling ground beast, then click " get " After button, in prefix (qdgs2) pickup to corresponding text box which will be rolled ground beast." role in pickup library " Selection has imported into the role (for example, blue rolling ground beast) in library, after clicking " get " button, the prefix of blue rolling ground beast In qdgs1 pickups to corresponding text box.It should be noted that in alternative embodiment of the present invention, it is unified to utilize get side Method is put into the prefix of the title of first layer currently selected in corresponding text box, for example, the yellow currently selected is rolled In prefix (qdgs2) pickup to corresponding text box of the title of first layer of ground beast, pickup result is as shown in figure 11.
The action data tool for transmitting is changed in addition to above-mentioned entirety other than skin reaches the common purpose of animation data, is also provided A kind of part changes skin and reaches the common mode of data.It, can be in display as shown in figure 12 when transmitting whole animation effect " layer on pick-up time axis " and " layer in pickup library " are set in interface.If Figure 12 is represented, " layer on pick-up time axis " table Show a certain component in the image of animation effect to be passed, for example, the left arm of yellow rolling ground beast;" element in pickup library " represents Choose a certain component in target image, such as the left arm of blue rolling ground beast;By clicking " action message transmission ", you can realize The animation effect of the left arm of blue rolling ground beast is transferred to the left arm of yellow rolling ground beast.It should be noted that in the embodiment of the present invention In, it, can be by if wishing the animation effect of components multiple in target image is transferred in multiple components in another image Continue setting " layer on pick-up time axis " and " element in pickup library " in interface shown in fig. 12 according to aforesaid way.
In another optional embodiment of the present invention, animation processing method provided by the invention can also realize target image Offset, realize target image offset mode can there are many kinds of, can be dynamic by calling in alternative embodiment of the present invention Data transfer tool is drawn, prompts to input the mobile initial position of component to be moved and Mobile Termination position, and selection is prompted to select Whole frame data-bias or local frame data-bias, wherein, component to be moved is at least one of multiple components, then, After user inputs according to prompting, mobile component to be moved to final position.
In alternative embodiment of the present invention, a relative position information can be recorded, carrys out every layer of every frame on traversal time axis First element, carry out the offset operation of target image.Figure 13 is mesh mobile in animation tool for transmitting in the embodiment of the present invention The schematic diagram of the display interface of logo image, as shown in figure 13, if any one component in target image is needed into line displacement Operation clicks " being referred to before mobile " button as shown in 13, after clicking on, records the component before the procedure Initial position message.Then the button of " being referred to after mobile " is clicked, will show the position letter of x-axis and y-axis in lower section at this time Breath, after mobile relative position information is set, you can realize the offset of arbitrary component in target image.
In alternative embodiment of the present invention, whole frame data of component to be processed can be selected all to deviate, it can be with Select the local frame data-bias of the layer of the component.If one section so needs to choose to show boundary shown in Figure 13 into line displacement " choosing to local data change " button in face;Data if necessary to the whole frame to the layer of selection are into line displacement, then not It needs to choose " choosing to local data change " button.Finally, " performing offset " in display interface as shown in Figure 13 is clicked Button complete offset operation.
In alternative embodiment of the present invention, by the way that animation data tool for transmitting is called to greatly improve animation data public affairs With, the dual cost of time money is solved, wherein, any one component of offset target image can also do many things, such as dynamic Draw the merging of data.For example, walk in a certain project there are one corpse, due to the change of game play, need that there are one stiff Corpse form one group of formation disjunctor corpse, implementation method can by replicate two data Layers, i.e., by replicating the component of corpse, and Position perfect can solve desired by the component to user's reality of mobile corpse.
Can also be that target image mounts special efficacy, wherein it is possible to which special efficacy is called to mount work in another optional embodiment Special efficacy sequence is inserted into tool, and prompts input at least one of:Insert Fragment special efficacy is inserted into full frame special efficacy, needs carry special Component, the special efficacy sequence mounting layer of sequence are imitated, then, after user inputs according to prompting, setting needs carry special efficacy sequence Component carry special efficacy sequence.
Insertion special efficacy sequence in special efficacy mounting tool is called to include at least one of:A label is mounted, wherein, label It is used to indicate and finds special efficacy corresponding with label in the application and mounted;Special efficacy sequence is added directly into the mounting of special efficacy sequence In layer.There are many kinds of the modes of special efficacy mounting, and label mounting mode may be used and realize that special efficacy mounts, wherein, if mounting When special efficacy changes bigger, the mode of label mounting may be used;It can also realize that special efficacy mounts by the way of sequence mounting, Wherein, if the special efficacy of mounting does not need to upgrade in the later stage, the mode of sequence mounting may be used.Above two is hung below The mode for connecing special efficacy illustrates.
Mode one:Sequence mounts
For example, in the dirigible of an operation, the fuel drum of blasting fuse is carried, when explosion time, broadcasting occur for fuel drum The flame of explosion will not generally replace, but there are many explosive effects, summarize that carry out lead be that comparison is suitble to accomplish flash file In, therefore, the mounting of special efficacy is realized by the way of sequence mounting at this time.
In alternative embodiment of the present invention, by opening the window in drafting instrument, select " other panels ", in " its The selection G7go tool set second editions in his panel ", and using special efficacy sequence tools are inserted into, the extension of special efficacy is realized according to the tool It connects.
Figure 14 is the schematic diagram of the display interface that special efficacy mounts tool in the embodiment of the present invention, as shown in figure 14, " is inserted into piece Duan Texiao " is inserted into the sequence selected in library for the frame on a certain component of the target image of selection, if a certain Frame is selected as 20 frames on component, but special efficacy is selected in library as 5 frames, that will 4 special efficacy sequences of circular insertion.
" being inserted into full frame special efficacy " is used to implement full frame insertion, if whole frame lengths of a certain component are 10 frames, but selects The sequence for selecting insertion is 15 sequence charts, then it represents that a sequence in mounting special efficacy one sequence of sequence has not all used Into.
" element is inserted into the stride of frame ", wherein, the gap interval of " element is inserted into the stride of frame " Fault Sequence is 1, if There is specific demand, then can set according to actual needs, preferably, general choose " stride that element is inserted into frame " is 1, i.e., When being set using a frame one width figure of insertion, the animation effect of target image is than smoother.
" special efficacy mounting destination layer " represents a selection to mount special efficacy, and select the portion on which component in the target image Figure layer where part completes the formulation of destination layer by clicking get.Wherein, the layer that sets objectives is exactly the figure where the component Layer replicates one layer, and the suffix title of the figure layer after replicating is _ pycRefLayer, and then, all frames are collapsed, In, the purpose collapsed to all frames is primarily to when being inserted into special efficacy, and per frame, all there are one reference distances.
" special efficacy reference target layer " (that is, special efficacy sequence mounts layer), it is corresponding to click " special efficacy reference target layer " in fig. 14 Get buttons, a special efficacy reference layer (EffectRefTarget) will be added on the component layer currently selected, at this Then and " special efficacy reference target layer " component can be put into layer, which is mainly the location information for obtaining mounting object, Get comes out layer frame and compares.
It is exactly to be started with txhp that " add in special efficacy ", which can add in special efficacy layer this layer, for whether to search current layer Through there is special efficacy node layer, if there is that can be ranked up automatically, and layer is established.
" removing reference ", for removing all reference layers, accomplishes the arrangement of project file.
Mode two:Label mounts
The mode that mounting point (that is, label) is inserted into special efficacy mounting tool is called, and prompts input at least one of:It needs Component, the part reference layer of carry mounting point are wanted, then, after user inputs according to prompting, setting needs carry special efficacy to hang The component of contact.
Figure 15 is the schematic diagram of the display interface that another special efficacy mounts tool in the embodiment of the present invention, as shown in figure 15, " component mounting layer " needs the component of carry mounting point for setting.Wherein, the mode for being inserted into mounting point is one mounting of mounting Point, the mounting point are the small boxes of a red 5*5, if a certain component will will appear special efficacy in target image, are only needed Mounted on the component that he closes on the extension node can, corresponding component layer is selected to click get, will in this way in text box Get the name of selection layer.
" part reference layer " manually adds to a component for establishing a reference layer, determines special efficacy mounting point Position.
" mounting " first has to select the mounting point to be mounted in library, wherein, which is the 5*5 in the above Small box, after clicking mounting, the title of layer can be referred to as with current mounting point name, establishes and hangs stratum, which is Mount the position of special efficacy.
In alternative embodiment of the present invention, mounting label be one agreement event form, by fine arts personnel in advance into Row mounting, program are needed when data are parsed, and need to perform the corresponding function of the event.
Wherein, the event arranged in label is mounted including following several:
@DoSkillEffect, the event are controlled by correspondingly program, represent that special efficacy mounts omnipotent node, for example, Mount a box special efficacy weapon;
@FootDown, for positioning paces reference, for example, each foot landing face is required for adding role in the process of walking Enter the label, to calculate the relative distance between often step;
@PlayEffOne+name, for controlling special effect play successively;
@StopEff+name for special efficacy to be controlled to stop playing at any time, for example, when under attack, stop playing special Effect;
@PlayEff+name, for continual broadcasting special efficacy, for example, persistently playing shadow buff;
@Bullet+name mount for bullet, are the distinctive type of bullet of game.
There is special mounting tool for mounting special efficacy this system tool.
Figure 16 is the schematic diagram of the display interface that another label mounts tool in the embodiment of the present invention, as shown in figure 16, The special efficacy title for playing a special efficacy can be chosen in " PlayEffOne plays a special efficacy " corresponding text box;It can be with The continuous special efficacy title for playing special efficacy is chosen in "@PlayEff continuously play special efficacy " corresponding text box;It can be in "@ Bullet bullets mount " the interior special efficacy title for choosing bullet mounting special efficacy of corresponding text box;It can be set by "@StopEff " It puts stopping and plays special efficacy;Can walking distance be calculated by "@FootDown ";One can be mounted by "@DoSkillEffect " A node mounts the function of node by program realization.
It should be noted that in alternative embodiment of the present invention, special efficacy mounting is only included in an attribute to frame, most An event tag can be recorded in derived data afterwards, program is during data are parsed, according to the different event being resolved to The method that label realizes the event tag.
In another optional embodiment, test work can also be imported into the target image after loading animation effect It is tested, and is outputed test result in tool.
Figure 17 is the flow chart of test philosophy in animation processing method provided in an embodiment of the present invention, as shown in figure 17, first First decompression copy starts the file of animation test (new), and then decompressed format is the packaging file for cutting map file of zip, and By picture strapping tool bat processing, export form cuts map file for png's, next, derived map file of cutting is closed And in output files.Then, by the way that configuration file and engine is called to be tested.Testing tool provided by the invention leads to Automatic decompression is crossed, and the mode for connecting engine is tested, and has reached real-time testing effect.
In invention optional embodiment, packaging file of the zip data for multiple components of target image, wherein it is possible to Packing processing is carried out to cutting map file, and lead by using the Dragonbone to increase income in tool using Texturepacker Go out zip data.Wherein, the data after packing need that " decompression copy starts animation test (new) " file is being called to complete engine Test.
Data after packing are being needed " decompression copy starts animation test (new) " file is being called to complete engine and survey Before examination, it is also necessary to engine is configured, wherein, it, can be by opening this system work in alternative embodiment of the present invention " G7 batches submit testing tool (new) .pyw " that uses in tool tests configuration file process.Concrete configuration process such as Figure 18 Shown, " animation data copy catalogue " represents packaged data will copy what catalogue of engine to;" animation file address " represents Start engine tool where to be tested;Then " configuration path " is clicked, completes the configuration for causing calling, need what is illustrated It under Armatrue files is engine file in Figure 18 to be.Then it replicates the file that this system provides and " it is dynamic to decompress copy startup Test (new) .py " is drawn, and double-clicks this document, and then tested by the method shown in Figure 17.
Next special efficacy mounting point can also be tested by the testing tool, we are the special efficacy of mounting first Packing is put under the specified folder of engine directory, for example, in embodiments of the present invention, can be placed on ArmatureTools animation in the following, file describes two types, respectively plist files and png files, wherein, Plist files are special efficacy cutting recordings, and png files are special efficacy merging figures.
Using the special efficacy edit tool for connecting this system, special efficacy editor is completed by following manner:(1) it clicks corresponding dynamic Make, carry out motion file switching;(2) special effect play can be out of service in the position of the event of addition, special efficacy is carried out at this time secondary Editor;(3) corresponding data are finally preserved.
After above-mentioned test completion, the animation resource to complete need to be copied and be submitted, at this time, it is also necessary to open such as " G7 batches submit testing tool (new) pyw " shown in Figure 18.The following contents is inputted in the tool:(1) in " former data bit Put " at select the catalogue to be submitted;(2) go out the position that animation data is selected to be submitted at " copy animation data file to " It puts;(3) go out in selection project the position for being also required to submit corresponding fla files at " copy fla data files to ";(4) in " G7 File is configured at " configuration path " in project data copy ", when opening the tool so that guarantee is next, configuration information is not It can change;(5) submission of " data copy " batch animation resource in " G7 project datas copy " is clicked.
The embodiment of the present invention additionally provides a kind of processing unit of animation, which is mainly used for performing of the invention real The processing method for the animation that the above is provided is applied, the processing unit of the animation of offer is sent to do to the embodiment of the present invention below It is specific to introduce.
Figure 19 is a kind of schematic diagram of the processing unit of animation according to embodiments of the present invention, as shown in figure 19, the processing Device mainly includes name unit 191, cutter unit 192, import unit 193 and carry unit 194, wherein:
Name unit 191, for by drafting instrument call name tool to multiple components according to pre-defined rule into Row name, and multiple components are exported as into picture file respectively, wherein, multiple components are to use drafting instrument from source material It splits out, multiple components are located in different layers;
Cutter unit 192, for by cutting figure tool to non-in the corresponding picture file of component each in multiple components The Picture section of the component, which is cut off to obtain, cuts map file, and records location information of the component before excision in picture;
Import unit 193 for cutting map file and location information is imported into animation library by multiple components are corresponding, passes through The reconstruction tool, to cutting map file into rearrangement, obtains target image according to the location information for each cutting map file;
Carry unit 194, for passing through the component for needing carry animation in subassembly selection tool setting target image, and Carry out the loading of animation effect.
In embodiments of the present invention, by the way that the name tool in drafting instrument is called to be named to multiple components, and lead Go out the picture file of each component, then carry out cutting figure processing by derived map file of cutting by cutting figure tool, obtain cutting map file And each location information of the component between figure is cut in picture, and then will be imported in animation library according to the reconstruction tool and cut picture and text Part and location information obtain target image, finally, animation are loaded to the component that carry animation is needed in target image into rearrangement Effect, relative to the method for manual handle animation in the prior art, the present invention handles animation using the tool of system, reaches To the purpose for being automatically performed animation process, it is achieved thereby that the tool by system realizes the technique effect of cartoon making, into And solves the technical issues of causing animation process cumbersome with respect to conventional pilot due to cartoon making in the prior art.
Optionally, name unit includes:First reminding module, for after the name tool is called, prompting input Prefix;Determining module, after inputting prefix in user, using prefix as one of the name of component each in multiple components Divide and each component is named.
Optionally, the name of each component includes:Prefix, the serial number of component, the title of component.
Optionally, lead-out unit includes:Module is adjusted, for needing to adjust the size of multiple components according to animation It is whole, and multiple components after adjustment size are exported to by script in picture file.
Optionally, loading unit includes:Second reminding module for passing through subassembly selection tool, prompts input to need to hang The component of animation is carried, wherein, prompt input at least one of:Component names, alternative pack, component annotation;First setting mould Block, after being inputted in user according to prompting, setting needs to load the component of animation effect, action picture loading of going forward side by side.
Optionally, it is further included by subassembly selection tool:The office of the global K frames option of the component of selection, the component of selection Portion K frame options;Wherein, wherein, overall situation K frames option and selection part K frames option is selected to include at least one of:Selection is global It is true that K frames option and part K frame options, which be closing, select overall situation K frames option, selects part K frames option for vacation, selects the overall situation K frame options are false, and it is true to select part K frames option.
Optionally, device further includes:Copied cells, for replicating the figure identical and different skin from the component of target image In picture to picture file, wherein, component is at least one of multiple components component;Transfer unit, for passing through animation data Animation effect on the component of target image is transferred in the component of image by tool for transmitting.
Optionally, device further includes:First call unit for calling by calling animation data tool for transmitting, is prompted The mobile initial position of component to be moved and Mobile Termination position are inputted, and prompts selection selection whole frame data-bias or part Frame data deviate, wherein, component to be moved is at least one of multiple components;Mobile unit, in user according to prompting After input, mobile component to be moved to final position.
Optionally, device further includes:Second call unit, for calling insertion special efficacy sequence in special efficacy mounting tool, and Prompting input at least one of:Insert Fragment special efficacy is inserted into full frame special efficacy, the component for needing carry special efficacy sequence, special efficacy sequence Row mounting layer;Setting unit, after being inputted in user according to prompting, setting needs the component carry of carry special efficacy sequence special Imitate sequence.
Optionally, the second call unit includes at least one of:Knock-down module, for mounting a label, wherein, mark Label are used to indicate to be found special efficacy corresponding with label and is mounted in the application;Add module, for special efficacy sequence directly to be added Enter to special efficacy sequence and mount in layer.
Optionally, device further includes:Test cell, for importeding into test to the target image after loading animation effect It is tested, and is outputed test result in tool.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodiment The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or Person is desirably integrated into another system or some features can be ignored or does not perform.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products It embodies, which is stored in a storage medium, is used including some instructions so that a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment the method for the present invention whole or Part steps.And aforementioned storage medium includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (12)

1. a kind of animation processing method, which is characterized in that including:
By name tool being called to be named multiple components according to pre-defined rule, and by the multiple portion in drafting instrument Part exports as picture file respectively, wherein, the multiple component is split out using the drafting instrument from source material, The multiple component is located in different layers;
By cutting Picture section of the figure tool to the non-component in the corresponding picture file of component each in the multiple component It is cut off to obtain and cuts map file, and record location information of the component before excision in picture;
Map file is cut and location information is imported into animation library by the multiple component is corresponding, by the reconstruction tool according to each The location information for cutting map file, into rearrangement, obtains target image to the map file of cutting;
The component for needing carry animation in the target image is set by subassembly selection tool, and carries out adding for animation effect It carries.
2. according to the method described in claim 1, it is characterized in that, by the way that the name tool is called to press the multiple component According to pre-defined rule be named including:
After the name tool is called, input prefix is prompted;
After user inputs the prefix, using the prefix as a part for the name of component each in the multiple component Each component is named.
3. according to the method described in claim 2, it is characterized in that, the name of each component includes:The prefix, component Serial number, the title of component.
4. according to the method described in claim 1, it is characterized in that, the multiple component is exported as into the picture file packet It includes:
Need to be adjusted the size of the multiple component according to the animation, and by adjust size after the multiple portion Part is exported to by script in the picture file.
5. according to the method described in claim 1, it is characterized in that, to the component for needing carry animation in the target image Carry animation effect, action picture loading of going forward side by side include:
By the subassembly selection tool, input is prompted to need the component of carry animation, wherein, prompt input it is following at least it One:Component names, alternative pack, component annotation;
After user inputs according to prompting, setting needs to load the component of animation effect, action picture loading of going forward side by side.
6. it according to the method described in claim 5, it is characterized in that, is further included by subassembly selection ToolTips input:
The local K frames option of the global K frames option of the component of selection, the component of selection;Wherein, the overall situation K frame options are selected Include at least one of with the selection part K frames option:Select the overall situation K frames option and the part K frame options equal For close, select the overall situation K frames option for it is true and select the part K frames option for it is false, select the overall situation K frames option for It is false and to select the part K frames option be true.
7. according to the method described in claim 1, it is characterized in that, the method further includes:
It replicates in image to the picture file identical from the component of the target image and different skin, wherein, the portion Part is at least one of the multiple component component;
The animation effect on the component of the target image is transferred to and the target image by animation data tool for transmitting Component is identical and the component of image that skin is different in.
8. the method according to claim 1 or 7, which is characterized in that the method further includes:
By calling animation data tool for transmitting, prompting inputs the mobile initial position of component to be moved and Mobile Termination position, And selection selection whole frame data-bias or local frame data-bias are prompted, wherein, the component to be moved is the multiple portion At least one of part;
After user inputs according to prompting, the mobile component to be moved to the final position.
9. according to the method described in claim 1, it is characterized in that, the method further includes:
It calls and special efficacy sequence is inserted into special efficacy mounting tool, and prompt input at least one of:Insert Fragment special efficacy is inserted into entirely Frame special efficacy, the component for needing carry special efficacy sequence, special efficacy sequence mounting layer;
After user inputs according to prompting, special efficacy sequence described in the component carry for needing carry special efficacy sequence is set.
10. according to the method described in claim 9, it is characterized in that, call insertion special efficacy sequence in the special efficacy mounting tool Including at least one of:
A label is mounted, wherein, the label is used to indicate to be found special efficacy corresponding with label and is mounted in the application;
The special efficacy sequence is added directly into special efficacy sequence mounting layer.
11. according to the method described in claim 1, it is characterized in that, the method further includes:
The target image after the loading animation effect is imported into testing tool and is tested, and exports test knot Fruit.
12. a kind of video processing apparatus, which is characterized in that including:
Name unit, for by drafting instrument call name tool multiple components are named according to pre-defined rule, And the multiple component is exported as into picture file respectively, wherein, the multiple component is from original using the drafting instrument It is split out in resource, the multiple component is located in different layers;
Cutter unit, for by cutting figure tool to non-portion in the corresponding picture file of component each in the multiple component The Picture section of part, which is cut off to obtain, cuts map file, and records location information of the component before excision in picture;
Import unit for cutting map file and location information is imported into animation library by the multiple component is corresponding, passes through weight It builds tool and the location information of map file is cut according to each to the map file of cutting into rearrangement, obtain target image;
Carry unit for passing through the component for needing carry animation in the subassembly selection tool setting target image, is gone forward side by side The loading of row animation effect.
CN201610027027.9A 2016-01-15 2016-01-15 Animation processing method and device Active CN105447902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610027027.9A CN105447902B (en) 2016-01-15 2016-01-15 Animation processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610027027.9A CN105447902B (en) 2016-01-15 2016-01-15 Animation processing method and device

Publications (2)

Publication Number Publication Date
CN105447902A CN105447902A (en) 2016-03-30
CN105447902B true CN105447902B (en) 2018-06-22

Family

ID=55558033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610027027.9A Active CN105447902B (en) 2016-01-15 2016-01-15 Animation processing method and device

Country Status (1)

Country Link
CN (1) CN105447902B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293732B (en) * 2016-08-03 2019-09-10 网易(杭州)网络有限公司 Resource loading method and device
CN106331526B (en) * 2016-08-30 2019-11-15 北京奇艺世纪科技有限公司 A kind of splicing animation producing, playback method and device
CN106530372A (en) * 2016-09-18 2017-03-22 中山大学 Method for generating frame animation
CN110019855B (en) * 2017-12-04 2023-07-21 沪江教育科技(上海)股份有限公司 Method and device for controlling braking effect according to time axis, storage medium and electronic equipment
CN110018889B (en) * 2018-01-10 2021-06-15 武汉斗鱼网络科技有限公司 Queuing method, storage medium, equipment and system of animation queue
CN110124316B (en) * 2019-05-15 2022-07-12 网易(杭州)网络有限公司 Method and device for processing special effects in game, electronic equipment and storage medium
CN110738716B (en) * 2019-10-12 2023-12-22 天津芸芸科技有限公司 PIXI-based spine animation multi-part local reloading method
CN112150590B (en) * 2020-09-04 2021-07-09 完美世界(重庆)互动科技有限公司 Animation file output method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079154A (en) * 2007-03-02 2007-11-28 腾讯科技(深圳)有限公司 Role animation realization method and system
CN102054288A (en) * 2010-12-28 2011-05-11 珠海金山网络游戏科技有限公司 System and method for generating physiological restriction of skeletal joints of cartoon characters
CN104503795A (en) * 2014-12-25 2015-04-08 上海恺英网络科技有限公司 Method for increasing loading speed of Unity3d bone animation plug-in SmoothMoves
CN104700444A (en) * 2015-03-10 2015-06-10 上海鸿利数码科技有限公司 Achievement method of picture animation
CN105243683A (en) * 2015-09-30 2016-01-13 苏州仙峰网络科技有限公司 Character animation creating method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140274373A1 (en) * 2013-03-14 2014-09-18 Adam Olshan System and method for animating virtual characters

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079154A (en) * 2007-03-02 2007-11-28 腾讯科技(深圳)有限公司 Role animation realization method and system
CN102054288A (en) * 2010-12-28 2011-05-11 珠海金山网络游戏科技有限公司 System and method for generating physiological restriction of skeletal joints of cartoon characters
CN104503795A (en) * 2014-12-25 2015-04-08 上海恺英网络科技有限公司 Method for increasing loading speed of Unity3d bone animation plug-in SmoothMoves
CN104700444A (en) * 2015-03-10 2015-06-10 上海鸿利数码科技有限公司 Achievement method of picture animation
CN105243683A (en) * 2015-09-30 2016-01-13 苏州仙峰网络科技有限公司 Character animation creating method and system

Also Published As

Publication number Publication date
CN105447902A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
CN105447902B (en) Animation processing method and device
US8010530B2 (en) Presentation of multilingual metadata
CN1682217B (en) Media article composition
US20210241503A1 (en) Method and apparatus for automatic line drawing coloring and graphical user interface thereof
US20120047434A1 (en) Method to preview an undo/redo list
CN107908542A (en) Test case creation method, apparatus, computer equipment and storage medium
US10874196B2 (en) Makeup part generating apparatus and makeup part generating method
JPH08255166A (en) Data management method and its system
CN106407115B (en) The test method and device of fine arts resource file
CN107729361A (en) It is automatically synthesized picture method for pushing, device and storage medium
CN101272262A (en) Method for inserting advertisement in game and its advertisement system
CN109902670A (en) Data entry method and system
JPH11513151A (en) How to generate a multimedia presentation
CN106649535A (en) Visualized intelligent processing method for advertising videos
JP4201831B2 (en) Method and apparatus for extracting information from a database
CN106709066A (en) Data synchronization method and device
CN111710051A (en) Human body model data processing method and device, electronic equipment and storage medium
JP2658439B2 (en) Image search method
CN1280717C (en) Generationg of multi-media content structure using marking langaage to describe
CA1217874A (en) Method for accessing data from a self-service point- of- sale terminal
US7313761B1 (en) Tree-style hierarchical control with graphical depiction of non-hierarchical interrelationships
CN110310352A (en) A kind of role action edit methods and device calculate equipment and storage medium
WO2002033589A1 (en) Dynamic image content search information managing apparatus
US20070100592A1 (en) Virtual sampling system
US20020011970A1 (en) Process for automatically displaying graphical objects such as buttons in a web page

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