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..
how to use this function 'newAnimation'
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- nevon
- Commander of the Circuloids
- Posts: 938
- Joined: Thu Feb 14, 2008 8:25 pm
- Location: Stockholm, Sweden
- Contact:
Re: how to use this function 'newAnimation'
You need to include AnAL first.
Re: how to use this function 'newAnimation'
e..how can i include AnAL? ..require(AnAL)?
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: how to use this function 'newAnimation'
require("AnAL"), but you have to have AnAL.lua in your game directory (ie next to main.lua) first.TonyDwr wrote:e..how can i include AnAL? ..require(AnAL)?
Help us help you: attach a .love.
Re: how to use this function 'newAnimation'
o , i know how to do it
thank you
thank you
Who is online
Users browsing this forum: No registered users and 0 guests