Since it appears everybody has moved to the pre-release builds in attempts to port their projects, I figured I might as well post AnAL now.
What does AnAL do? It replaces the removed Animations functionality in LÖVE 0.6.0
Do I need code changes? Yes, a little, let me list the 2 (!) changes:
- newAnimation instead of love.graphics.newAnimation
- anim:draw() instead of love.graphics.draw(anim)
If you don't want to change this and keep old behavior, add this code before you require the file:
However, notice this does change love.graphics.draw behavior, it now calls the draw field if it exists when there is a table passed to love.graphics.draw.
You can find it in
my love-misc-libs repo on github.
Enough talking, here it is:
- AnAL.zip
- Version 1.5
01102010 - (8.14 KiB) Downloaded 2930 times
^-- contains docs!
- animation.lua
- Version 1.1
September 19th 2009 - (3.72 KiB) Downloaded 1038 times