A thread to gather all the information on animations.
Bookmarks
3.1.0 API Changes
http://forums.worldofwarcraft.com/th...Id=15443414368
WoWPedia
http://wowpedia.org/Widget_API#Region
http://wowpedia.org/Widget_API#AnimationGroup
http://wowpedia.org/Widget_API#Animation
http://wowpedia.org/Widget_API#Animation_Derivatives
WoW-Programming
http://wowprogramming.com/docs/widge...AnimationGroup
http://wowprogramming.com/docs/widgets/AnimationGroup
http://wowprogramming.com/docs/widgets/Animation
http://wowprogramming.com/docs/widgets/Alpha
http://wowprogramming.com/docs/widgets/Rotation
http://wowprogramming.com/docs/widgets/Scale
http://wowprogramming.com/docs/widgets/Translation
Examples
Blackbox
http://static.curseforge.net/content..._for_3.1.2.zip
rFrameRotater
http://code.google.com/p/rothui/sour...ameRotater.lua
My goal is to create a small example library for each AnimationType.
First gathering (subject of change)
Code:
--define frame
local f = CreateFrame("Frame")
...
local ag = f:CreateAnimationGroup()
local a1 = ag:CreateAnimation("Translation")
a1:SetOffset(x, y)
a1:SetDuration(3)
a1:SetSmoothing("OUT")
local a2 = ag:CreateAnimation("Scale")
a2:SetScale(x, y)
a2:SetDuration(3)
a2:SetSmoothing("OUT")
local a3 = ag:CreateAnimation("Rotation")
a3:SetDegrees(180)
a3:SetDuration(3)
a3:SetSmoothing("OUT")
local a4 = ag:CreateAnimation("Alpha")
a4:SetChange(-0.5)
a4:SetDuration(3)
a4:SetSmoothing("OUT")
ag:Play()