1 Star 6 Fork 0

hubzy/CSS-Sprite-Exporter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

CSS-Sprite-Exporter

An AE script to help generate css sprite animation from AE comps.
将AE动画导出为雪碧图动画的脚本。

更新

  1. 修复1.0第二针截取偏移导致最后一帧不显示的bug;
  2. 优化自动获取画布宽度;
  3. 新增画布铺全功能,以最后一帧补全空位;新增功能

How to Install:

Download the JSX file.
Run AE, click File->Script->Run Script File... and choose the CSS-Sprite-Exporter.jsx file.

Or you can copy the CSS-Sprite-Exporter.jsx to your AE script folder:

Windows:
C:\Program Files\Adobe\Adobe After Effects <version>\Support Files\Script\ScriptUI Panels\
Mac:
/Applications/Adobe After Effects <version>/Scripts/ScriptUI Panels/
Then you can run it from the AE Window menu.

#How to use:
1.Open a composition in AE.
2.Run the script.
3.Make some config if needed.
4.Hit generate button.

Then you will get an "image" folder whitch contants the sprite image(png format) and a html page to show the animation.
You can copy the css code from the show page. Surport transparency.
I use Clipboard.js to make the "copy to clipboard" function.
(Use Chrome to run the html if the layout crashes.)

License

MIT License © Zeno Rocha

空文件

简介

An AE script to help generate css sprite animation from AE comps. 将AE动画导出为雪碧图动画的脚本。 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hubzyy/CSS-Sprite-Exporter.git
git@gitee.com:hubzyy/CSS-Sprite-Exporter.git
hubzyy
CSS-Sprite-Exporter
CSS-Sprite-Exporter
master

搜索帮助