Requiring Class doesn't work anymore
Posted: Sat May 28, 2011 2:44 pm
Hello,
It's my first löve game and i just met my first big problem:
While i was cutting my project in several littles files, this error appear : Castle.lua:6 attempt to call global 'class'(a nil value)
Do you know the source of my problem?
(I join my project with my message. Just to describe it in few words : 5 Castles which shot bullets and several ships which move in a circle, the game has several 'states' which supposed to be the different part of the game.)
Thanks
It's my first löve game and i just met my first big problem:
While i was cutting my project in several littles files, this error appear : Castle.lua:6 attempt to call global 'class'(a nil value)
Do you know the source of my problem?
(I join my project with my message. Just to describe it in few words : 5 Castles which shot bullets and several ships which move in a circle, the game has several 'states' which supposed to be the different part of the game.)
Thanks