how to use this function 'newAnimation'
Posted: Tue May 18, 2010 6:25 am
Error:
main.lua:22: attempt to call global 'newAnimation' (a nil value)
what's wrong with function newAnimation?
I don't know how to use it.
can anybody help me?
my code:
function love.load()
...
boss_one_1 = love.graphics.newImage("planetfont.png")
line 22: ani = newAnimation(boss_one_1, 32, 32, 0.1, 0)
end
thank you..
main.lua:22: attempt to call global 'newAnimation' (a nil value)
what's wrong with function newAnimation?
I don't know how to use it.
can anybody help me?
my code:
function love.load()
...
boss_one_1 = love.graphics.newImage("planetfont.png")
line 22: ani = newAnimation(boss_one_1, 32, 32, 0.1, 0)
end
thank you..