LUACN论坛

 找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
热搜: YJWOW MagicStone BoL
查看: 1764|回复: 2

这个AnimationGroup技能冷却插件谁会用?

[复制链接]
发表于 2017-10-21 11:18:55 | 显示全部楼层 |阅读模式
原文如下,把下载的插件AnimationGroup(或者保留原名AnimationGroup-master[/url])放入ADDONS文件夹并没用,插件栏都看不到该插件,哪位告知下如何用这个插件?
AnimationGroup – Animations for WoW 1.12


AnimationGroup is an attempt to port animations available in the API of retail World of Warcraft to 1.12.
OmniCC in retail uses animations and the following shows a 1.12 backport – with animations!


Embedding
To embed the library into your AddOn, extract the release archive (available at the releases branch) to libs/AnimationGroup -or- checkout the desired tag with git (and make sure to initialize submodules unless you embed dependencies yourself):
git submodule add  libs/AnimationGroupcd libs/AnimationGroupgit tag # Note taggit checkout [DESIRED TAG] # e.g. 1.0a
Make sure you have embedded LibStub, Classy-1.0 and Sol, otherwise add libs\AnimationGroup\libs\LibStub\LibStub.lua,libs\AnimationGroup\libs\Classy-1.0\Classy-1.0.lua, libs\AnimationGroup\libs\Sol\Sol.lua to your AddOn’s .toc file followed by libs\AnimationGroup\AnimationGroup.xml before your main files.

Application Programming Interface
This library hooks into frames created by CreateFrame and adds animation routines to the created frame. All API calls mimic those of the retail implementation.
Refer to for the API or take a look at the tests.lua file for some examples.

Performance
Animations are performed using the `OnUpdate’ handler and are -very- unlikely to outperform the retail World of Warcraft implementation. This library will impact your frame rate slightly and the performance loss is proportional to the number of concurrent animations.
I’ve tried to keep the `OnUpdate’ handlers as small as possible and with as little overhead as possible.

To-do
Simplify callback notification system for animations and groups
Make as many things private (local functions) that are not meant to be public e.g. `__’-prefixed functions
Nest object fields into an `AnimationGroup’-namespace to avoid conflicts with other AddOns

License
Copyright (c) 2016 by Martin Jesper Low Madsen.
AnimationGroup is licensed under the MIT License, see the LICENSE file for more information.


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?加入我们

x
回复

使用道具 举报

 楼主| 发表于 2017-10-25 10:18:52 | 显示全部楼层
自顶以下,有没有人用过
回复 支持 反对

使用道具 举报

发表于 2018-7-21 20:33:09 | 显示全部楼层

这么智能吗???????????????????
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|Archiver|LUACN论坛

GMT+8, 2024-4-20 08:29 AM , Processed in 0.044117 second(s), 18 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表