baojinlu 发表于 2017-10-21 11:18:55

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

原文如下,把下载的插件AnimationGroup(或者保留原名AnimationGroup-master)放入ADDONS文件夹并没用,插件栏都看不到该插件,哪位告知下如何用这个插件?
AnimationGroup – Animations for WoW 1.12
https://github.com/martinjlowm/AnimationGroup/raw/media/animation_group.gif

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 addlibs/AnimationGroupcd libs/AnimationGroupgit tag # Note taggit checkout # 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.


baojinlu 发表于 2017-10-25 10:18:52

自顶以下,有没有人用过 {:5_257:}

425598178 发表于 2018-7-21 20:33:09


这么智能吗???????????????????
页: [1]
查看完整版本: 这个AnimationGroup技能冷却插件谁会用?