|
|
(13 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
− | AnAL (Animations And Love) is a library to replace [[0.5.0]]'s animations (removed in [[0.6.0]]), with minimum code changes for the [[Lovers|lover]]. | + | {{notice|AnAL was a compatibility library to restore 0.5.0's animation in 0.6.0, it is not actively developed and it is recommended to look at other libraries for new projects}} |
− | | |
− | ==Code Changes==
| |
− | *love.graphics.newAnimation(...) becomes newAnimation(...)
| |
− | *love.graphics.draw(anim, ...) becomes anim:draw(...)
| |
− | | |
− | ===Compat mode===
| |
− | It even features a compat mode, which adds love.graphics.newAnimation and changes love.graphics.draw.
| |
− | | |
− | <code>
| |
− | Animations_legacy_support = true
| |
− | </code>
| |
− | | |
− | Disadvantage is the changed behavior of love.graphics.draw, it calls a custom draw field on all tables passed.
| |
− | | |
− | ==Docs==
| |
− | Further documentation coming soon.
| |
− | | |
− | ==See Also==
| |
− | [[User:Bartbes|Bartbes]], creator and maintainer of AnAL.
| |
− | | |
− | {{#set:LOVE Version=0.6.1}}
| |
− | {{#set:Description=Animations for 0.6.0+}}
| |
− | | |
− | [[Category:Libraries]]
| |