]> git.pld-linux.org Git - packages/awesome-plugin-effect.git/blame - README
- initial
[packages/awesome-plugin-effect.git] / README
CommitLineData
122ccd5d
ZU
1Effects
2
3With the Effect "class", you can "tween" properties of objects or functions with different transitions
4Its a port of the Mootools Fx classes.
5
6Usage
7
8Simple use (for tweening the opacity):
9see example-tweening-opacity.lua.
10
11When using a function instead of an object it is important
12that the function can set and return your properties via a table.
13
14Example (asuming you want to tween x and y of a client instance c):
15
16 fx = Effect.create(function (geom) {
17 return c:geometry(geom)
18 end
19 fx:start({x = 10, y = 10})
20
21
22
23
24My currently use
25
26You can find a video of it on vimeo (http://vimeo.com/13056382)
27See example-using.lua.
28
This page took 0.04402 seconds and 4 git commands to generate.