Animation generation method and device and storage medium
The embodiment of the invention provides an animation generation method and device and a storage medium. The method comprises the steps of obtaining a Sprite picture corresponding to a target folder,wherein the Sprite picture is obtained by combining the pictures in the target folder; obtaining anim...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides an animation generation method and device and a storage medium. The method comprises the steps of obtaining a Sprite picture corresponding to a target folder,wherein the Sprite picture is obtained by combining the pictures in the target folder; obtaining animation picture information of each picture in the Sprite picture, the animation picture informationincluding the size of the picture and the position of the picture in the Sprite picture, generating an animation corresponding to the Sprite picture according to the animation picture information anda configuration file, the configuration file including attribute parameters of an object in the picture. According to the animation generation method provided by the invention, not only is the automation degree of animation generation improved, but also the animation generation efficiency is improved.
本实施例提供的动画生成方法、装置及存储介质,包括:获取目标文件夹对应的雪碧图,雪碧图是将目标文件夹中的图片进行合并得到的,获取雪碧图中每张图片的动画图片信息,动画图片信息包括图片的大小和图片在雪碧图中的位置,根据动画图片信息和配置文件,生成雪碧图对 |
---|