Download
(3 Kb)
Download
Updated: 02/17/22 10:13 AM
Compatibility:
Ascending Tide (7.3.5)
Deadlands (7.2.5)
Waking Flame (7.1.5)
Blackwood (7.0.5)
Flames of Ambition (6.3.5)
Markarth (6.2.5)
Updated:02/17/22 10:13 AM
Created:03/13/14 12:47 AM
Monthly downloads:1,718
Total downloads:61,172
Favorites:52
MD5:
LibAnimation-1.0  Popular! (More than 5000 hits)
Version: 2.3
by: Pawkette, Baertram
LibAnimation-1.0 is here to help you create simple property animations from Lua!

Documentation

!This library does not use LibStub anymore!
Please just reference it via the global "class" variable LibAnimation

Example:
Lua Code:
  1. local anim = LibAnimation:New( control )
  2. anim:AlphaTo( 0.5, 200 )
  3. anim:TranslateTo( 200, 300, 200 )
  4. anim:Play()

Reusable:
Lua Code:
  1. local anim = LibAnimation:New()
  2. anim:AlphaTo( 0.5, 200 )
  3. anim:TranslateTo( 200, 300, 200 )
  4. anim:Apply( control )
  5. anim:Play()

Animations:
  • AlphaTo - change alpha from current to x
  • TranslateTo - change anchor offset from current x,y to target x,y
  • ScaleTo - change scale from current
  • ResizeTo - change dimensions from current

2.3 2022-02-17
Updated APIversion
Fixed ZO_OBject
Fixed global LibAnimation


2.2
Removed LibStub
Updated APIversion
Based on versin 2.1 which was only included in some of Pawkette's addons and never released here directly at the library

1.1
early returns, proper use of LibStub
functions on it's own as an addon now.
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Uploader
Date
2.2
3kB
Baertram
02/21/21 10:17 PM
1.1
4kB
Pawkette
03/13/14 08:58 PM
1.0
3kB
Pawkette
03/13/14 12:47 AM


Post A Reply Comment Options
Unread 02/21/21, 11:46 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Here is a version 2.2 without LibStub and a fixed ZO_Object usage:
LibAnimation-1.0 v2.2
Report comment to moderator  
Reply With Quote
Unread 04/26/14, 01:50 AM  
Sideshow
 
Sideshow's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 77
Uploads: 1
This library is outdated. I don't know why Pawkette never updated this, but you should use the version to be found in her own addon's:

http://www.esoui.com/downloads/info6...leText....html

or

http://www.esoui.com/downloads/info3...dAllinOne.html
Report comment to moderator  
Reply With Quote
Unread 03/14/14, 06:54 PM  
Lemon King
 
Lemon King's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 8
Uploads: 0
Needs cubic smoothing.
Last edited by Lemon King : 03/14/14 at 06:54 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: