Get an Epic Experience with Premium

LibTransition-1.0

Libraries Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 12 Monthly Downloads
  • Supports: 4.0.1
  • 1,143 Total Downloads
  • Updated 10/18/2010
  • Created 10/08/2010
  • 0 Favorites
  • Project Site
  • Comments
  • Release Type: Inactive
  • License: All Rights Reserved
  • Newest File: r15-beta
or
Support development! **
Donate

About LibTransition-1.0

LibTransition-1.0 delivers the goodness of old-school PowerPoint frame transitions to your local World of Warcraft cinema!

Detailed info is found in the API Documentation, but here's the gist of it:

--- Create a frame to toy with ---
local frame = CreateFrame("Frame", UIParent);
frame:SetWidth(400);
frame:SetHeight(300);
frame:SetPoint"CENTER");
local tex = frame:CreateTexture("OVERLAY");
tex:SetTexture(1,1,1,1);
tex:SetAllPoints(frame);

-- Then, either do this: --
LibTransition:Queue(frame, "FadeIn", 2); -- Fade in over 2 seconds
LibTransition:Queue(frame, "Wait", 2); -- 2 seconds of nothingness
LibTransition:Queue(frame, "Squeeze", 3, "horizontal"); -- Squeeze out over 3 seconds.
LibTransition:Run(frame); -- Run the queue on the frame

-- Or the shorthand version: --
LibTransition:Attach(frame);
frame:FadeIn(2); -- fade in over 2 secs
frame:Wait(5); -- wait 5
frame:Drop(); -- Drop it and let gravity do its work.

If you wish to see a demonstration of LibTransition-1.0, just download the library as a standalone add-on and type: /run libt_test()

------------------------------------------------------------------------
r16 | humbedooh | 2010-10-18 13:18:27 +0000 (Mon, 18 Oct 2010) | 1 line
Changed paths:
   A /tags/r15-beta (from /trunk:15)

Tagging as r15-beta
------------------------------------------------------------------------
r15 | Humbedooh | 2010-10-10 10:06:49 +0000 (Sun, 10 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

Added Stretch(duration, orientation) and Squeeze(duration, orientation)
------------------------------------------------------------------------
r14 | Humbedooh | 2010-10-09 23:10:57 +0000 (Sat, 09 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

Added some commentary (and made an API doc thing!)
------------------------------------------------------------------------
r13 | Humbedooh | 2010-10-09 22:44:06 +0000 (Sat, 09 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

Added a stopAlpha argument to FadeIn and FadeOut
------------------------------------------------------------------------
r12 | Humbedooh | 2010-10-09 22:19:57 +0000 (Sat, 09 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

Allowing for transition durations of zero seconds.
------------------------------------------------------------------------
r11 | Humbedooh | 2010-10-09 22:07:33 +0000 (Sat, 09 Oct 2010) | 2 lines
Changed paths:
   M /trunk/LibTransition-1.0.lua

Changed the way the queue system compiles new transition commands so any previous transition will set the properties of the new compilation.
Added PushIn(direction, duration) and PushOut(direction, duration).
------------------------------------------------------------------------
r10 | Humbedooh | 2010-10-09 12:09:36 +0000 (Sat, 09 Oct 2010) | 2 lines
Changed paths:
   M /trunk/LibTransition-1.0.lua

Fixed some time code issues with Run().
Made '/run libt_test()' more fun to watch.
------------------------------------------------------------------------
r9 | Humbedooh | 2010-10-09 11:54:21 +0000 (Sat, 09 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

LibTransition:Queue and LibTransition:Run both play nice now.
------------------------------------------------------------------------
r8 | Humbedooh | 2010-10-09 11:31:08 +0000 (Sat, 09 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

Wait(duration) implemented.
------------------------------------------------------------------------
r7 | Humbedooh | 2010-10-09 11:24:59 +0000 (Sat, 09 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

FadeIn(duration), FadeOut(duration) and Drop([bounce]) fully implemented.
------------------------------------------------------------------------
r6 | Humbedooh | 2010-10-08 20:38:10 +0000 (Fri, 08 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

Set frame shorthand prototypes to call LibTransition:Queue directly
------------------------------------------------------------------------
r5 | Humbedooh | 2010-10-08 20:17:27 +0000 (Fri, 08 Oct 2010) | 2 lines
Changed paths:
   M /trunk/LibTransition-1.0.lua

More prototypes.
Added LibTransition:Attach([frame]) for attaching libt shorthand functions directly to a frame.
------------------------------------------------------------------------
r4 | Humbedooh | 2010-10-08 13:14:44 +0000 (Fri, 08 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

More prototypes
------------------------------------------------------------------------
r3 | Humbedooh | 2010-10-08 12:42:21 +0000 (Fri, 08 Oct 2010) | 1 line
Changed paths:
   M /trunk/LibTransition-1.0.lua

More prototypes
------------------------------------------------------------------------
r2 | Humbedooh | 2010-10-08 12:35:00 +0000 (Fri, 08 Oct 2010) | 1 line
Changed paths:
   A /trunk/.pkgmeta
   A /trunk/LibTransition-1.0.lua
   A /trunk/LibTransition-1.0.toc

Some prototypes and stuff
------------------------------------------------------------------------
r1 | root | 2010-10-08 12:16:14 +0000 (Fri, 08 Oct 2010) | 1 line
Changed paths:
   A /branches
   A /tags
   A /trunk

"libtransition-1-0/mainline: Initial Import"
------------------------------------------------------------------------

Comments

Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Leaguepedia PAX Skin Giveaway