LibTransition-1.0

This project has become inactive.

This project is inactive and its default file will likely not work with the most recent version of World of Warcraft. The author may have abandoned it, or it may have outlived its usefulness.

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()

You must login to post a comment. Don't have an account? Register to get one!

  • 1 comment
  • Avatar of oldchap oldchap Oct 25, 2010 at 08:42 UTC - 0 likes

    i tried to set the alpha to 0.5 using frame:FadeOut(2,0.5) but when it start it does fade to 0.5 alpha and then just hide the frame instaed of keeping it at the requested alpha.

  • 1 comment

Facts

Date created
Oct 08, 2010
Categories
Last update
Oct 19, 2010
Development stage
Inactive
License
All Rights Reserved
Curse link
LibTransition-1.0
Downloads
1,143
Recent files
  • A: r18 for 4.0.1 Oct 19, 2010
  • A: r17 for 4.0.1 Oct 18, 2010
  • B: r15-beta for 4.0.1 Oct 18, 2010
  • B: r15 for 4.0.1 Oct 10, 2010
  • A: r14 for 4.0.1 Oct 09, 2010

Authors

Relationships

Embedded library
LibStub